SndGetWaitHandle
4/8/2010
This function returns a handle to an event that is set when the sound is done playing.
Syntax
HRESULT SndGetWaitHandle (
HSOUND hSound,
HANDLE* phDoneEvent
);
Parameters
- hSound
[in] The sound handle.
- phDoneEvent
[out] Upon successful return, contains the handle to an event that is set when the sound is done playing.
Return Value
The function returns S_OK if successful, otherwise it returns a standard HRESULT error code.
Requirements
Header | soundfile.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later, Windows Mobile 6 Standard and later |