Click here to Skip to main content
15,891,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionget the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
JoneLe8627-Jul-13 9:43
JoneLe8627-Jul-13 9:43 
AnswerRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 9:57
pasztorpisti27-Jul-13 9:57 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
JoneLe8627-Jul-13 10:00
JoneLe8627-Jul-13 10:00 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 10:01
pasztorpisti27-Jul-13 10:01 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 10:03
pasztorpisti27-Jul-13 10:03 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
Richard Andrew x6427-Jul-13 14:10
professionalRichard Andrew x6427-Jul-13 14:10 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 14:50
pasztorpisti27-Jul-13 14:50 
QuestionRegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Vaclav_24-Jul-13 12:20
Vaclav_24-Jul-13 12:20 
The dbt.h is included with #define WINVER 0x510.
This is the only thing - commentary (?) I have been able to find in dbt.h ( Windows7.1 SDK) version.
This header does not defines the RegisterDeviceNotification!

So where is RegisterDeviceNotification actually defined? In which SDK ??
What am I missing ??

typedef struct _DEV_BROADCAST_HANDLE {
DWORD dbch_size;
DWORD dbch_devicetype;
DWORD dbch_reserved;
HANDLE dbch_handle; // file handle used in call to RegisterDeviceNotification
HDEVNOTIFY dbch_hdevnotify; // returned from RegisterDeviceNotification
//
// The following 3 fields are only valid if wParam is DBT_CUSTOMEVENT.
//
GUID dbch_eventguid;
LONG dbch_nameoffset; // offset (bytes) of variable-length string buffer (-1 if none)
BYTE dbch_data[1]; // variable-sized buffer, potentially containing binary and/or text data
} DEV_BROADCAST_HANDLE, *PDEV_BROADCAST_HANDLE;

Any constructive help would be greatly appreciated.
Cheers Vaclav
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Richard Andrew x6424-Jul-13 14:08
professionalRichard Andrew x6424-Jul-13 14:08 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
«_Superman_»24-Jul-13 18:38
professional«_Superman_»24-Jul-13 18:38 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
«_Superman_»24-Jul-13 18:40
professional«_Superman_»24-Jul-13 18:40 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Richard MacCutchan24-Jul-13 21:24
mveRichard MacCutchan24-Jul-13 21:24 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Vaclav_25-Jul-13 7:17
Vaclav_25-Jul-13 7:17 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Jochen Arndt25-Jul-13 7:43
professionalJochen Arndt25-Jul-13 7:43 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? SOLVED Pin
Vaclav_26-Jul-13 5:50
Vaclav_26-Jul-13 5:50 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? SOLVED Pin
Richard Andrew x6426-Jul-13 12:26
professionalRichard Andrew x6426-Jul-13 12:26 
GeneralRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Richard MacCutchan25-Jul-13 9:14
mveRichard MacCutchan25-Jul-13 9:14 
QuestionProblem with loop in C++ Pin
Kripa Khanal24-Jul-13 5:40
Kripa Khanal24-Jul-13 5:40 
AnswerRe: Problem with loop in C++ Pin
pasztorpisti24-Jul-13 7:21
pasztorpisti24-Jul-13 7:21 
GeneralRe: Problem with loop in C++ Pin
Kripa Khanal25-Jul-13 12:06
Kripa Khanal25-Jul-13 12:06 
GeneralRe: Problem with loop in C++ Pin
pasztorpisti25-Jul-13 22:59
pasztorpisti25-Jul-13 22:59 
AnswerRe: Problem with loop in C++ Pin
Member 1014853124-Jul-13 16:13
Member 1014853124-Jul-13 16:13 
QuestionSerial Port Functor Pin
Jonathan Davies24-Jul-13 1:51
Jonathan Davies24-Jul-13 1:51 
AnswerRe: Serial Port Functor Pin
pasztorpisti24-Jul-13 3:29
pasztorpisti24-Jul-13 3:29 
AnswerRe: Serial Port Functor Pin
Chris Losinger24-Jul-13 10:26
professionalChris Losinger24-Jul-13 10:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.