windows-nt/Source/XPSP1/NT/inetsrv/iis/svcs/cmp/asp/randgen.h

31 lines
681 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*===================================================================
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