CeGetUserNotificationPreferences

This function queries the user for notification settings by displaying a dialog box showing options that are valid for the current hardware platform.

BOOL CeGetUserNotificationPreferences(
  HWND hWndParent, 
  PCE_USER_NOTIFICATION lpNotification 
); 

Parameters

  • hWndParent
    [in] Handle to the parent window for the notification settings dialog box.
  • lpNotification
    [in, out] Long pointer to a CE_USER_NOTIFICATION structure. When calling CeGetUserNotificationPreferences, this structure contains data used to initialize the notification settings dialog box. When the function returns, this structure contains the user's notification settings.

Return Values

TRUE indicates success. FALSE indicates failure or that the user did not change the settings.

Remarks

If the function returns TRUE, the settings returned in the CE_USER_NOTIFICATION structure should be saved and considered when calling CeSetUserNotification.

Requirements

OS Versions: Windows CE 1.01 and later.
Header: Notify.h.
Link Library: Coredll.lib.

See Also

CeSetUserNotification | CE_USER_NOTIFICATION | Notify Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.