RegisterDeviceNotification declaration with MFC headers
Posted on 2003-10-28
I'm trying to use RegisterDeviceNotification in a test mfc dialog for proof of concept of something before I turn it into a sevice. However, I cannot get the function declaration to work that is in winuser.h Either by letting mfc includes get or by explicity declaring it.
Is there some define that has to be set for those things to be included in the header correctly? Like how in VS6, you have to redeclare WINVER to be 0x0500 for the structure typedefs that you use with RegisterDeviceNotification to be included correctly in dbt.h