CdromEnableDigitalPlayback function

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

Syntax


LONG WINAPI CdromEnableDigitalPlayback(
  _In_  HDEVINFO DevInfo,
  _In_  PSP_DEVINFO_DATA DevInfoData,
  _In_  BOOLEAN ForceUnknown
);

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.

ForceUnknown [in]

If this member is TRUE, playback is enabled even if the drive is not known to be good.

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 disable digital playback for the specified CD-ROM or DVD drive, use the CdromDisableDigitalPlayback 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

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

StorProp.h

DLL

StorProp.dll

See also

CdromDisableDigitalPlayback
CdromIsDigitalPlaybackEnabled
CdromKnownGoodDigitalPlayback
Device Management Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft