Partager via


CAMThread::Close (Compact 2013)

3/26/2014

Blocks until the thread has exited and released its resources.

Syntax

void Close(void);

Parameters

None.

Return Value

None.

Remarks

You must instruct the thread to exit by some other means; for example, call the CAMThread::CallWorker member function with a request that is interpreted by the derived class to mean complete and exit.

If the thread is still running when the CAMThread object is destroyed, the CAMThread::Close member function is called internally.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CAMThread Class