The WaitForNovaEvent waits for a Windows event that will be signaled by the printer
HRESULT WaitForNovaEvent(
[ in ] LONG p_nMilliseconds
[ out ] BOOL* p_bTimeout
);
Parameters:
p_nMilliseconds
[in] Number of milliseconds to wait for the event. See How to use events for more details.
p_bTimeout
[out] returns TRUE if a the wait function return with a timeout, and FALSE otherwise
Return values:
S_OK - on success
S_FALSE - event was not found