CloseNtmsNotification

[This is preliminary documentation and subject to change.]

The CloseNtmsNotification function closes the specified notification channel.

DWORD WINAPI CloseNtmsNotification(
  HANDLE hSession,
  HANDLE hNotification
);
 

Parameters

hSession
Handle to the session returned by the OpenNtmsSession function.
hNotification
Notification handle generated by the OpenNtmsNotification function.

Return Values

ERROR_DATABASE_FAILURE
The database query or update failed.
ERROR_INVALID_HANDLE
The value specified in the hNotification parameter is invalid or NULL.
ERROR_NOT_CONNECTED
Unable to connect to the RSM service.
ERROR_SUCCESS
The function was successful.

Remarks

If the CloseNtmsNotification function is called while there is an outstanding call to the WaitForNtmsNotification function, an error returns.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in ntmsapi.h.
  Import Library: Use ntmsapi.lib.

See Also

Database Notification Functions, OpenNtmsNotification, WaitForNtmsNotification