Microsoft DirectX 9.0

CAMThread::InitialThreadProc

The InitialThreadProc method calls the main thread procedure.

Syntax

DWORD InitialThreadProc(
    LPVOID pv
);

Parameters

pv

this pointer.

Return Value

Returns the DWORD returned by CAMThread::ThreadProc. The derived class defines this value.

Remarks

The CAMThread::Create method uses this method for the thread procedure when it creates the thread. It uses the this pointer as the thread argument.

This method calls the CAMThread::CoInitializeHelper method and then ThreadProc.

See Also