DrainDelayedBootWork (Compact 2013)

3/28/2014

This function is used by the system begin the queued tasks. The tasks are signaled when the system is in an idle state.

Syntax

HRESULT DrainDelayedBootWork(
  HWND hwndPing,
  UINT uMsg,
  WPARAM wParam,
}

Parameters

  • hwindPing
    The window handle to which the system should post the ping messages when determining the state of the system. If the system does not handle the messages within a specified amount of time, it is considered to be busy.
  • uMsg
    The message that the system sends to the specified window.
  • wParam
    The WPARAM that the system sends to the specified window.

Return Value

If successful, this function returns S_OK.

Remarks

The LPARAM of the ping message is an event. Your application should signal the event to notify the system that the message was received. Your application should not close the event handle.

Your application does not call this function; it is called by the system.

Requirements

Header

delayedbootwork.h

See Also

Reference

Kernel Functions
RegisterDelayedBootWork
DelayedBootWorkComplete