Skip to content

Latest commit

 

History

History
119 lines (94 loc) · 3.5 KB

nf-ntmsapi-beginntmsdevicechangedetection.md

File metadata and controls

119 lines (94 loc) · 3.5 KB
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.
BeginNtmsDeviceChangeDetection
BeginNtmsDeviceChangeDetection function [Files]
_zaw_beginntmsdevicechangedetection
base.beginntmsdevicechangedetection
fs.beginntmsdevicechangedetection
ntmsapi/BeginNtmsDeviceChangeDetection
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
BeginNtmsDeviceChangeDetection
ntmsapi/BeginNtmsDeviceChangeDetection
c++
APIRef
kbSyntax
DllExport
Ntmsapi.dll
BeginNtmsDeviceChangeDetection

BeginNtmsDeviceChangeDetection function

-description

[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.

-parameters

-param hSession [in]

Handle to the session returned by the OpenNtmsSession function.

-param lpDetectHandle [out]

Pointer to variable that receives the device change detection handle.

-returns

This function returns one of the following values.

Value Meaning
ERROR_INVALID_HANDLE
The value of the hSession parameter is not a valid session handle.
ERROR_SUCCESS
The operator request has been canceled.

-remarks

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.

-see-also

Change Detection Functions

EndNtmsDeviceChangeDetection

SetNtmsDeviceChangeDetection