Re: cffi.e
- Posted by petelomax Feb 17, 2021
- 1102 views
The structure and function need different definitions. You need something like this:
constant tShell_NotifyIconA = """ BOOL Shell_NotifyIcon( _In_ DWORD dwMessage, _In_ PNOTIFYICONDATA lpdata ); """ -- --constant Shell_NotifyIconA = define_cffi_func(SHELL32,tNOTIFYICONDATA) constant Shell_NotifyIconA = define_cffi_func(SHELL32,tShell_NotifyIconA)