Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM handling of C declarations
#9
Ok, seems o be that way

in MSDN

"The invocation of the callback function specified in the Callback parameter is serialized.
The callback function should be defined as a function of type VOID"

Is ! = VOID in QM (not sure i actually saw it in QM doc, with byte IIRC),

and PVOID is !* then?

so callback function is type void, must it begin with function! <---- ! for void type?

if (NotifyIpInterfaceChange(family,
(PIPINTERFACE_CHANGE_CALLBACK)InterfaceChangeCallback,
this,
(BOOLEAN)initialNotification, //FALSE, 2009/09/26
&hNotification) == NO_ERROR)

how code the third element, which is "this" from a QM macro/function, maybe important to make code work

I put 0 in my code, but maybe an handle to main routine is needed?


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)