[in] Event handler function address.
This function must be declared as HNFN_STATECHANGE.
Param
[in] Event handler parameter. This parameter is sent to the event handler each time it is called.
Return values:
If the function succeeds the return value will be the value of the pfOnStateChange parameter.
Description:
Use AdpSetOnStateChange to set the address and the parameter value for the OnStateChange
event handler. This event handler is called immediately after the network adapter state is changed, e.g.
it has been unplugged etc.