CMsg::CMsg (Windows CE 5.0)

Send Feedback

Constructs a CMsg object.

CMsg(UINTu,DWORDdw,LPVOIDlp,CAMEvent*pEvent);

Parameters

  • u
    Request code, defined by the client of the thread class and understood by the overridden worker thread function.
  • dw
    Flag parameter to the request code.
  • lp
    Data required by the worker thread as parameter or return values. This data should not be stack-based, as it will be referenced some time after completing the queuing operation.
  • pEvent
    Event object that a worker thread can signal to indicate the completion of the operation.

Return Values

None.

Remarks

This member function contains a request for a CMsgThread worker thread to act on.

All parameters are passed to the worker thread function as parameters when this message gets processed.

The meanings of the parameters are defined by the client function that calls the worker thread and the derived class that supplies the worker thread's execution function.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.