OPM_RANDOM_NUMBER structure

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

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

   
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