Platform SDK: Removable Storage Manager |
The BeginNtmsDeviceChangeDetection function allows the application to begin a device change detection session. The application can then set the stand-alone libraries for which media change detection is required using the SetNtmsDeviceChangeDetection function. The Removable Storage Manager continues to detect changes for the devices specified until the change detection session is closed using the EndNtmsDeviceChangeDetection function.
DWORD WINAPI BeginNtmsDeviceChangeDetection( HANDLE hSession, LPHANDLE lpDetectHandle );
Value | Meaning |
---|---|
ERROR_INVALID_HANDLE | Invalid session. |
ERROR_SUCCESS | The operator request has been canceled. |
Windows NT/2000: Requires Windows 2000.
Header: Declared in Ntmsapi.h.
Library: Use Ntmsapi.lib.