11-02-2016, 04:16 PM
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?
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?