Share via


CSourceStream::ThreadProc (Compact 2013)

3/26/2014

Implements the thread procedure.

Syntax

virtual DWORD ThreadProc(void);

Parameters

None.

Return Value

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CSourceStream Class