Share via


CSourceStream::ThreadProc

Implements the thread procedure.

virtual DWORD ThreadProc(void);

Parameters

None.

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.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.