ITMSPAddress::GetEvent method (msp.h)
The GetEvent method retrieves event information.
HRESULT GetEvent( [in, out] DWORD *pdwSize, byte *pEventBuffer );
[in, out] pdwSize
A pointer to a DWORD that contains the size, in bytes, of pEventBuffer. On success, pdwSize returns the actual number of bytes in pEventBuffer. If pEventBuffer is not large enough, the method returns TAPI_E_NOTENOUGHMEMORY and this parameter returns the number, in bytes, required.
[in, out, size_is(*pdwSize)] A pointer to buffer that contains MSP event_info information.
This method can return one of these values.
||Method not implemented.|
||The pdwSize or pEventBuffer parameter is not a valid pointer.|
||Insufficient memory exists to perform the operation.|
||The pdwSize parameter was not large enough for the buffer.|
||No event has occurred.|
TAPI3 calls this method when the event handle given in initialize is signaled. TAPI will call this method repeatedly until it fails so it can get multiple events. Each call should return only one event structure.
Users of the MSP base classes: This method locks the event list.
|Header||msp.h (include Tapi3.h)|