Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
711 B

/*===================================================================
Microsoft Denali
Microsoft Confidential.
Copyright 1997 Microsoft Corporation. All Rights Reserved.
Component: Random number generator
File: randgen.h
Owner: DmitryR
This file contains the definitons for the random number
generator.
===================================================================*/
#ifndef RANDGEN_H
#define RANDGEN_H
// To be called from DllInit()
HRESULT InitRandGenerator();
// To be called from DllUnInit()
HRESULT UnInitRandGenerator();
// The generator funcions
DWORD GenerateRandomDword();
HRESULT GenerateRandomDwords(DWORD *pdwDwords, DWORD cDwords);
#endif // RANDGEN_H