Share via


ISpThreadTask::WindowMessage (Windows Embedded CE 6.0)

1/6/2010

This application-specific method processes window messages, if the application needs a window. If the caller of ISpThreadControl::StartThread passes a non-null window pointer, this method must be implemented. In this case, the implementation must use a MessageWaitForMultipleObjects loop in its ISpThreadTask::ThreadProc method.

Syntax

virtual LRESULT STDMETHODCALLTYPE WindowMessage(
  void* pvTaskData,
  HWND hWnd,
  UINT Msg,
  WPARAM wParam,
  LPARAM lParam
) = 0;

Parameters

  • hWnd
    [in] Window handle.
  • Msg
    [in] Window message.
  • wParam
    [in] Information that depends on the message specified by the Msg parameter.
  • lParam
    [in] Information that depends on the message specified by the Msg parameter.

Return Value

The return value is message specific.

Requirements

Header sapiddk.h, sapiddk.idl
Library sapilib.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Reference

ISpThreadTask
SAPI Interfaces