Partager via


OomUICallback_CloseWindow (Windows Embedded CE 6.0)

1/6/2010

This function is used by the Oomui component to attempt to close a window.

Syntax

BOOL OomUICallback_CloseWindow( 
  WINDOWINFO* pwi 
);

Parameters

  • pwi
    Pointer to a WINDOWINFO structure.

Return Value

Returns TRUE if WM_CLOSE was sent; otherwise, returns FALSE.

Remarks

This function is not implemented by the Oomui component. It is used by the Oomui component.

A TRUE return value does not indicate that the specified window was actually closed. TRUE indicates only that an attempt has been made to either close a window or wait to allow an application to continue closing. If no attempt to close a window was successful, the Oomui component should not exit, because no memory has been freed. The Oomui component should allow the Out of Memory window to remain displayed so that the user can select another application to close.

Requirements

Header oomui.h
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Out of Memory User Interface Functions