Re: cffi.e

new topic     » goto parent     » topic index » view thread      » older message » newer message

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)    
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu