C language function:DRMActivate sample codes

Search sample code in the internet.It is the result.

TITLE : Rights Account Certificate Code Example (Windows)
HRESULT DRMActivate(.......

TITLE : DRMInitEnvironment function (Windows)
NoteDue to updates to enable cryptographic mode-2, DRMActivate(machine) will write two machine certificates to the store. Unless an application makes direct calls to the certification web method on the RMS server, the calling application does not need to distinguish between the two machine certificates; the machine certificate that corresponds to the server cryptographic mode will be used........
search Google