Nope. BOOL is long, so 32 bits. The declaration was correct with INTEGER as result type.
Vlad
>BTW, I made a mistake in my declare that shouldn't have any effect; the type of the declaration should be SHORT rather than INTEGER, since BOOLs (the actual type of LogonUser) return a 16 bit WORD, with true being any value other than 0.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only