Compartilhar via


CMsgThread::CreateThread (Compact 2013)

3/26/2014

Creates a thread.

Syntax

BOOL CreateThread( );

Parameters

None.

Return Value

Returns one of the following values.

Value

Description

TRUE

Thread was created.

FALSE

Thread was not created.

Remarks

The thread will loop, blocking until a request is queued (through the CMsgThread::PutThreadMsg member function) and then calling the CMsgThread::ThreadMessageProc member function with each message.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CMsgThread Class