Microsoft DirectX 9.0

CAMThread::CoInitializeHelper

The CoInitializeHelper method calls the CoInitializeEx function at the start of the thread.

Syntax

static HRESULT CoInitializeHelper(void);

Return Value

Returns an HRESULT value. The following are possible values.

Value Description
S_FALSE The CoInitializeEx function is not available.
S_OK Success.
E_FAIL Failure.

Remarks

The CAMThread::InitialThreadProc method calls this helper method, which calls the CoInitializeEx function. It uses the COINIT_DISABLE_OLE1DDE flag, to disable Dynamic Data Exchange (DDE). For more information, see the Platform SDK.

See Also