Win32 API Declarations
Here's a question for Robert, or other experts.
I had based my API declarations on the Visual Basic API file. These
declarations turn out not to be as complete as they need to be. For example,
I had declared an API call as C_LONG when it should have been C_UINT; this
caused it to fail under WinNT.
Win95 seems fairly lax about handling parameters. For example, I've declared
CheckMenuItem as {C_LONG, C_LONG, C_LONG}, whereas the WIN.H prototype
suggests {C_POINTER,C_UINT,C_UINT}.
So now I need to go back through my declarations and make sure they are set
up correctly. I'm not sure how to map all the arguments, though.
Specifically, BOOL and handles. I would guess a handle maps to a C_POINTER;
I'm less sure about BOOL.
Thanks!
-- David Cuny
|
Not Categorized, Please Help
|
|