Share via


CeFreeNotification (EDB) (Windows CE 5.0)

Send Feedback

This function is used to free a CENOTIFICATION pointer that was posted to a client's notification window.

This function does not work with CEDB databases. For more information about CEDB, see CEDB Reference.

BOOL CeFreeNotification(CENOTIFYREQUEST*pRequest,CENOTIFICATION*pNotification);

Parameters

  • pRequest
    [in] A pointer to the CENOTIFYREQUEST structure that was passed into the CeOpenDatabaseInSession (EDB) function when registering for notifications. The *pRequest->*hHeap member is used to free the memory.
  • pNotification
    [in] A pointer to the CENOTIFICATION structure that was posted to a notification window handle.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. The following table lists possible values returned by possible values returned by:

Return Value Description
ERROR_INVALID_PARAMETER Indicates that pRequest or pNotification is NULL.

Remarks

Failure to call this function results in leaked memory.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Windbase.h.
Link Library: Coredll.lib.

See Also

CeOpenDatabaseInSession (EDB) | CENOTIFICATION

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.