CdromDisableDigitalPlayback function (storprop.h)

Disables digital playback for the specified CD-ROM or DVD drive.

Syntax

LONG CdromDisableDigitalPlayback(
  [in] HDEVINFO         DevInfo,
  [in] PSP_DEVINFO_DATA DevInfoData
);

Parameters

[in] DevInfo

A handle to a device information set listing the devices for which information is to be returned. This handle is typically returned by the SetupDiGetClassDevs or SetupDiGetClassDevsEx function.

[in] DevInfoData

A pointer to an SP_DEVINFO_DATA structure that defines the device instance.

Return value

If the function succeeds, the return value is ERROR_SUCCESS.

If the function fails, the return value is an error code.

Remarks

To enable digital playback for the specified CD-ROM or DVD drive, use the CdromEnableDigitalPlayback function. To determine whether digital playback is enabled or disabled, use the CdromIsDigitalPlaybackEnabled function.

This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to StorProp.dll.

Requirements

Requirement Value
Minimum supported client Windows XP
Minimum supported server Windows Server 2003
Target Platform Windows
Header storprop.h
DLL StorProp.dll

See also

CdromEnableDigitalPlayback

CdromIsDigitalPlaybackEnabled

Device Management Functions