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:cfgmgr32.CM_Modify_Res_Des_Ex |
CM_Modify_Res_Des_Ex function (cfgmgr32.h) |
The CM_Modify_Res_Des_Ex function modifies a specified resource descriptor on a local or a remote machine. |
|
devinst\cm_modify_res_des_ex.htm |
devinst |
6bb4af46-995e-4487-9c5f-89c72abb0ec5 |
12/05/2018 |
CM_Modify_Res_Des_Ex, CM_Modify_Res_Des_Ex function [Device and Driver Installation], cfgmgr32/CM_Modify_Res_Des_Ex, cfgmgrfn_62acb8c0-8f2c-4475-8f66-deed331699ba.xml, devinst.cm_modify_res_des_ex |
cfgmgr32.h |
Cfgmgr32.h |
Desktop |
Available in Microsoft Windows 2000 and later versions of Windows. |
Cfgmgr32.lib |
Cfgmgr32.dll |
Windows |
19H1 |
|
|
|
|
|
|
[Beginning with Windows 8 and Windows Server 2012, this function has been deprecated. Please use CM_Modify_Res_Des instead.]
The CM_Modify_Res_Des_Ex function modifies a specified resource descriptor on a local or a remote machine.
Pointer to a location to receive a handle to the modified resource descriptor.
Caller-supplied handle to the resource descriptor to be modified. This handle must have been previously obtained by calling one of the following functions:
CM_Modify_Res_Des_Ex
Caller-supplied resource type identifier. This must be one of the ResType_-prefixed constants defined in Cfgmgr32.h.
Caller-supplied pointer to a resource descriptor, which can be one of the structures listed under the CM_Add_Res_Des_Ex function's description of ResourceData.
Caller-supplied length of the structure pointed to by ResourceData.
Not used, must be zero.
Caller-supplied machine handle, obtained from a previous call to CM_Connect_Machine.
If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
The caller-supplied resource descriptor data replaces the existing data. The values specified for ResourceID and ResourceLen do not have to match the existing resource descriptor.
If the value specified for ResourceID is ResType_ClassSpecific, then the specified resource descriptor must be the last one associated with the logical configuration.
Callers of CM_Modify_Res_Des_Ex must call CM_Free_Res_Des_Handle to deallocate the resource descriptor handle, after it is no longer needed.
Callers of this function must have SeLoadDriverPrivilege. (Privileges are described in the Microsoft Windows SDK documentation.)
Functionality to access remote machines has been removed in Windows 8 and Windows Server 2012 and later operating systems thus you cannot access remote machines when running on these versions of Windows.