Export (0) Print
Expand All
Expand Minimize

DRMSetIntervalTime function

[The AD RMS SDK leveraging functionality exposed by the client in Msdrm.dll is available for use in Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7, Windows Server 2012, and Windows 8. It may be altered or unavailable in subsequent versions. Instead, use Active Directory Rights Management Services SDK 2.0, which leverages functionality exposed by the client in Msipc.dll.]

The DRMSetIntervalTime function specifies the number of days from issuance that can pass before an end–user license must be renewed. This value is specified in an issuance license.

Syntax


HRESULT DRMSetIntervalTime(
  _In_  DRMPUBHANDLE hIssuanceLicense,
  _In_  UINT cDays
);

Parameters

hIssuanceLicense [in]

The handle of the issuance license in which to set the interval time.

cDays [in]

An unsigned integer value that specifies the interval period, in days. For example, if you specify 30, the end–user license must be renewed within 30 days of the day it was issued.

Return value

If the function succeeds, the function returns S_OK.

If the function fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Product

Rights Management Services client 1.0 SP2 or later

Header

Msdrm.h

Library

Msdrm.lib

DLL

Msdrm.dll

See also

DRMGetIntervalTime

 

 

Show:
© 2014 Microsoft