Microsoft DirectX 9.0 |
The OnThreadDestroy method is called when the streaming thread is about to exit.
Syntax
virtual HRESULT OnThreadDestroy(void);
Return Value
Returns S_OK.
Remarks
The thread procedure, CSourceStream::ThreadProc, calls this method before it exits. The method does nothing in the base class; it is available for the derived class to override. If the derived class returns an error code, the thread exits with an error.
See Also