|Microsoft DirectX 9.0|
The OnThreadCreate method is called when the streaming thread is initialized.
virtual HRESULT OnThreadCreate(void);
The thread procedure, CSourceStream::ThreadProc, calls this method when it first receives a CSourceStream::Init request. The method does nothing in the base class. The derived class can override this method to perform thread initializations. If the derived class returns an error code, the thread exits with an error.