UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:ntmsapi.BeginNtmsDeviceChangeDetection |
BeginNtmsDeviceChangeDetection function (ntmsapi.h) |
The BeginNtmsDeviceChangeDetection function allows the application to begin a device change detection session. |
|
fs\beginntmsdevicechangedetection.htm |
fs |
d325a10a-5bf9-4431-8a6a-a50c4cf46728 |
12/05/2018 |
BeginNtmsDeviceChangeDetection, BeginNtmsDeviceChangeDetection function [Files], _zaw_beginntmsdevicechangedetection, base.beginntmsdevicechangedetection, fs.beginntmsdevicechangedetection, ntmsapi/BeginNtmsDeviceChangeDetection |
ntmsapi.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Ntmsapi.lib |
Ntmsapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
[Removable Storage Manager is no longer available as of Windows 7 and Windows Server 2008 R2.]
The BeginNtmsDeviceChangeDetection function allows the application to begin a device change detection session.
Handle to the session returned by the OpenNtmsSession function.
Pointer to variable that receives the device change detection handle.
This function returns one of the following values.
Value | Meaning |
---|---|
|
The value of the hSession parameter is not a valid session handle. |
|
The operator request has been canceled. |
After calling BeginNtmsDeviceChangeDetection, the application can 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.