CdromIsDigitalPlaybackEnabled function (storprop.h)
Determines whether digital playback is enabled for the specified CD-ROM or DVD drive.
Syntax
LONG CdromIsDigitalPlaybackEnabled(
[in] HDEVINFO DevInfo,
[in] PSP_DEVINFO_DATA DevInfoData,
[out] PBOOLEAN Enabled
);
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.
[out] Enabled
A pointer to a variable that receives TRUE if digital playback is enabled, and FALSE otherwise.
Return value
If the function succeeds the return value is ERROR_SUCCESS. Otherwise, it is an error code.
Remarks
To enable digital playback for the specified CD-ROM or DVD drive, use the CdromEnableDigitalPlayback function. To disable digital playback for the specified CD-ROM or DVD drive, use the CdromDisableDigitalPlayback 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 |