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.

51 lines
1.4 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. //
  3. // Copyright (c) 2000 Microsoft Corporation
  4. //
  5. // Module Name:
  6. // GlobalFuncs.h
  7. //
  8. // Description:
  9. // Contains the declarations of a few unrelated global functions
  10. // and variables
  11. //
  12. // Implementation Files:
  13. // GlobalFuncs.cpp
  14. //
  15. // Maintained By:
  16. // Vij Vasu (Vvasu) 06-SEP-2000
  17. //
  18. //////////////////////////////////////////////////////////////////////////////
  19. // Make sure that this file is included only once per compile path.
  20. #pragma once
  21. //////////////////////////////////////////////////////////////////////////////
  22. // Include Files
  23. //////////////////////////////////////////////////////////////////////////////
  24. // For the SmartSz type
  25. #include "CommonDefs.h"
  26. //////////////////////////////////////////////////////////////////////////
  27. // Global variable declarations.
  28. //////////////////////////////////////////////////////////////////////////
  29. // Handle to the instance of this DLL.
  30. extern HINSTANCE g_hInstance;
  31. //////////////////////////////////////////////////////////////////////////
  32. // Global function declarations.
  33. //////////////////////////////////////////////////////////////////////////
  34. // Allocate memory for and load a string from the string table.
  35. DWORD
  36. DwLoadString(
  37. UINT nStringIdIn
  38. , SmartSz & rsszDestOut
  39. );