Share via


WMRMRights.GetSAPMode

banner art

Previous Next

WMRMRights.GetSAPMode

The GetSAPMode method retrieves the secure audio path (SAP) mode required for this license.

The SAP mode is set automatically when you specify a protection level of 300 or 400 for digital audio output. For more information, see Output Protection Levels for Playback.

Syntax

  WMRMRights.
  GetSAPMode(
  pvarAllowDigitalOut
  , pvarCheckDriverCerts, pvarMinDriverSecurity)

Parameters

pvarAllowDigitalOut

[in, out] Variant indicating whether the license permits digital output.

pvarCheckDriverCerts

[in, out] Variant indicating whether the license requires the DRM kernel component to verify that all drivers in the audio stack have been certified by Microsoft as SAP-compliant.

pvarMinDriverSecurity

[in, out] Variant that specifies the minimum driver security level.

Return Values

If the method succeeds, it sets S_OK in the error object. If it fails, it returns a number in the error object.

Return code Description
0xC0042905 The property has not been set.

Requirements

Version: Windows Media Rights Manager 7 SDK or later

Reference: wmrmobjs 1.0 Type Library

Library: wmrmobjs.dll

Platform: Windows Server 2003

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.