CdromIsDigitalPlaybackEnabled function
Determines whether digital playback is enabled for the specified CD-ROM or DVD drive.
Syntax
LONG WINAPI CdromIsDigitalPlaybackEnabled( _In_ HDEVINFO DevInfo, _In_ PSP_DEVINFO_DATA DevInfoData, _Out_ PBOOLEAN Enabled );
Parameters
- DevInfo [in]
-
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.
- DevInfoData [in]
-
A pointer to an SP_DEVINFO_DATA structure that defines the device instance.
- Enabled [out]
-
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
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
See also