Source code of Windows XP (NT5)
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
681 B

  1. /*===================================================================
  2. Microsoft Denali
  3. Microsoft Confidential.
  4. Copyright 1997 Microsoft Corporation. All Rights Reserved.
  5. Component: Random number generator
  6. File: randgen.h
  7. Owner: DmitryR
  8. This file contains the definitons for the random number
  9. generator.
  10. ===================================================================*/
  11. #ifndef RANDGEN_H
  12. #define RANDGEN_H
  13. // To be called from DllInit()
  14. HRESULT InitRandGenerator();
  15. // To be called from DllUnInit()
  16. HRESULT UnInitRandGenerator();
  17. // The generator funcions
  18. DWORD GenerateRandomDword();
  19. HRESULT GenerateRandomDwords(DWORD *pdwDwords, DWORD cDwords);
  20. #endif // RANDGEN_H