OomUICallback_CloseWindow

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

BOOL OomUICallback_CloseWindow( 
  WINDOWINFO* pwi 
);

Parameters

  • pwi
    Pointer to a WINDOWINFO structure.

Return Values

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

OS Versions: Windows CE 2.10 and later.
Header: Oomui.h.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.