OPM_RANDOM_NUMBER structure (ksopmapi.h)

Contains a 128-bit random number for use with Output Protection Manager (OPM).

Syntax

typedef struct _OPM_RANDOM_NUMBER {
  BYTE abRandomNumber[16];
} OPM_RANDOM_NUMBER, *POPM_RANDOM_NUMBER;

Members

abRandomNumber[16]

A 128-bit array that contains a random number.

Remarks

Always use a cryptographically secure random-number generator to fill in this structure. The CryptGenRandom function is recommended, although not required.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header ksopmapi.h (include Opmapi.h)

See also

OPM Structures

Output Protection Manager