CAMThread.GetRequestHandle method
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The GetRequestHandle
method retrieves a handle to the event that is signaled by the CAMThread::CallWorker method.
Syntax
HANDLE GetRequestHandle() const;
Parameters
This method has no parameters.
Return value
Returns an event handle.
Remarks
The CAMEvent class keeps a private manual-reset event, which is set by CallWorker and reset by the CAMThread::Reply method.
If you call a function such as WaitForMultipleObjects, use GetRequestHandle to retrieve the event handle.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|