Platform SDK: Removable Storage Manager |
The CloseNtmsNotification function closes the specified open notification channel.
DWORD WINAPI CloseNtmsNotification( HANDLE hNotification );
Value | Meaning |
---|---|
ERROR_DATABASE_FAILURE | The database query or update failed. |
ERROR_INVALID_HANDLE | The value specified in the hSession parameter is invalid or NULL. |
ERROR_NOT_CONNECTED | Unable to connect to the RSM service. |
ERROR_SUCCESS | The function was successful. |
If the CloseNtmsNotification function is called while there is an outstanding call to the WaitForNtmsNotification function, an error returns.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Ntmsapi.h.
Library: Use Ntmsapi.lib.
Database Notification Functions, OpenNtmsNotification, WaitForNtmsNotification