1.2.5.7.24 DRV_MIIM_RegisterCallback Function
C
DRV_MIIM_CALLBACK_HANDLE DRV_MIIM_RegisterCallback(DRV_HANDLE handle, DRV_MIIM_OPERATION_CALLBACK cbFunction, DRV_MIIM_RESULT* pRegResult);
Returns
a valid DRV_MIIM_CALLBACK_HANDLE if the operation succeeded.
NULL otherwise
Description
This function registers a client callback function. The function will be called by the MIIM driver when a scheduled operation is completed.
Remarks
There is only one notification callback function available per client. To register a new callback function use DRV_MIIM_DeregisterCallback first.
Preconditions
The DRV_MIIM_Initialize routine must have been called.
DRV_MIIM_Open must have been called to obtain a valid opened device handle.