Microsoft Windows CE 3.0  

CSourceStream::ThreadProc

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Implements the thread procedure.

virtual DWORD ThreadProc(void);

Return Values

Returns 0 if the thread completed successfully and 1 otherwise. If 1, the thread's resources might still be allocated.

Remarks

When this member function returns, the thread exits. Override this member function if the provided version is not sophisticated enough.

See Samples\Multimedia\DShow\src\Vidcap in the DirectX Media SDK for an example.