CM_Delete_Device_Interface_KeyW function (cfgmgr32.h)
The CM_Delete_Device_Interface_Key function deletes the registry subkey that is used by applications and drivers to store interface-specific information.
Syntax
CMAPI CONFIGRET CM_Delete_Device_Interface_KeyW(
[in] LPCWSTR pszDeviceInterface,
[in] ULONG ulFlags
);
Parameters
[in] pszDeviceInterface
Pointer to a string that identifies the device interface instance of the registry subkey to delete.
[in] ulFlags
Reserved. Must be set to zero.
Return value
If the operation succeeds, the function returns CR_SUCCESS. Otherwise, it returns one of the CR_-prefixed error codes defined in Cfgmgr32.h.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Microsoft Windows Vista and later versions of Windows. |
Target Platform | Universal |
Header | cfgmgr32.h (include Cfgmgr32.h) |
Library | Cfgmgr32.lib |