windows-nt/Source/XPSP1/NT/inetsrv/iis/svcs/cmp/asp51/randgen.h
2020-09-26 16:20:57 +08:00

31 lines
681 B
C

/*===================================================================
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