The ExpertSubmitEvent function indicates that an event condition exists and provides a data structure that describes the condition.
DWORD WINAPI ExpertSubmitEvent( _In_ HEXPERTKEY hExpertKey, _In_ PNMEVENTDATA pExpertEvent );
Unique identifier of the expert. Network Monitor passes hExpertKey to the expert when it calls the Run function.
A pointer to an NMEVENTDATA structure that describes the event condition.
If the function is successful, the return value is NMERR_SUCCESS.
If the function is unsuccessful, the return value indicates the reason for the failure. If the return value is NMERR_EXPERT_TERMINATE, the expert immediately cleans up and returns.
|Minimum supported client
||Windows 2000 Professional [desktop apps only]
|Minimum supported server
||Windows 2000 Server [desktop apps only]