Microsoft DirectX 9.0 |
The Close method waits for the thread to exit, then releases its resources.
Syntax
void Close(void);
Return Value
No return value.
Remarks
Before calling this method, you must provide a way for the thread to exit. For example, in your CAMThread::ThreadProc method, define a request that signals the thread to exit. Then call the CAMThread::CallWorker method with that value.
The ~CAMThread destructor method calls this method.
See Also