|Microsoft DirectX 9.0|
The GetNextEvent method returns information about the next message in the buffer and advances the read pointer.
HRESULT GetNextEvent( LPREFERENCE_TIME prt, LPDWORD pdwChannelGroup, LPDWORD pdwLength, LPBYTE* ppData );
Address of a variable that receives the time of the message.
Address of a variable that receives the channel group of the message.
Address of a variable that receives the length, in bytes, of the message.
Address of a variable that receives a pointer to the message data.
If the method succeeds, the return value is S_OK, or S_FALSE if there are no messages in the buffer.
If it fails, the method can return E_POINTER.
Any of the passed pointers can be NULL if the item is not needed.
The pointer returned in ppData is valid only for the lifetime of the buffer object.
Header: Declared in dmusicc.h.