DRM_ACTSERV_INFO structure (msdrmdefs.h)

Note

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.1, which leverages functionality exposed by the client in Msipc.dll.

The DRM_ACTSERV_INFO structure stores information about the activation server.

Syntax

typedef struct _DRM_ACTSERV_INFO {
  UINT  uVersion;
  PWSTR wszPubKey;
  PWSTR wszURL;
  void  _DRM_ACTSERV_INFO();
} DRM_ACTSERV_INFO;

Members

uVersion

Version of this structure, for backward compatibility. When using C, this value should be initialized to DRMACTSERVINFOVERSION. In C++ this is done automatically.

wszPubKey

This member is reserved and must be set to NULL.

wszURL

URL for a service that performs activation. Use DRMGetServiceLocation to find a service location if none is known, or pass in NULL to use Passport service discovery. The URL should have the form http://CompanyName/_wmcs/certification, for example, http://blueyonderairlines/_wmcs/certification. The parameter defaults to NULL in C++.

void _DRM_ACTSERV_INFO()

TBD

Remarks

This structure has a C++ default constructor that takes no parameters and sets members to the default values described above.

Requirements

Requirement Value
Header msdrmdefs.h

See also

AD RMS Structures

DRMActivate

DRMIsActivated