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.

55 lines
1.7 KiB

  1. /***************************************************************************
  2. *
  3. * Copyright (C) 2001 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: dp8simlocals.h
  6. *
  7. * Content: Header for DP8SIM global variables and functions found in
  8. * dp8simdllmain.cpp.
  9. *
  10. * History:
  11. * Date By Reason
  12. * ======== ======== =========
  13. * 04/23/01 VanceO Created.
  14. *
  15. ***************************************************************************/
  16. //=============================================================================
  17. // Defines
  18. //=============================================================================
  19. #define DP8SIM_REG_REALSPDLL L"DP8SimRealSPDLL"
  20. #define DP8SIM_REG_REALSPFRIENDLYNAME L"DP8SimRealSPFriendlyName"
  21. //=============================================================================
  22. // Forward typedefs
  23. //=============================================================================
  24. class CDP8SimCB;
  25. class CDP8SimSP;
  26. class CDP8SimControl;
  27. ///=============================================================================
  28. // External variable references
  29. //=============================================================================
  30. extern volatile LONG g_lOutstandingInterfaceCount;
  31. extern HINSTANCE g_hDLLInstance;
  32. extern DNCRITICAL_SECTION g_csGlobalsLock;
  33. extern CBilink g_blDP8SimSPObjs;
  34. extern CBilink g_blDP8SimControlObjs;
  35. ///=============================================================================
  36. // External functions
  37. //=============================================================================
  38. void InitializeGlobalRand(const DWORD dwSeed);
  39. double GetGlobalRand(void);