home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / cluster / smbsmp / smbsmpex / smbsmpex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-29  |  1.6 KB  |  57 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. //    Copyright (c) 1997 <company name>
  4. //
  5. //    Module Name:
  6. //        SmbSmpEx.h
  7. //
  8. //    Abstract:
  9. //        Global definitions across the DLL.
  10. //
  11. //    Implementation File:
  12. //        SmbSmpEx.cpp
  13. //
  14. //    Author:
  15. //        <name> (<e-mail name>) Mmmm DD, 1997
  16. //
  17. //    Revision History:
  18. //
  19. //    Notes:
  20. //
  21. /////////////////////////////////////////////////////////////////////////////
  22.  
  23. #ifndef _SMBSMPEX_H_
  24. #define _SMBSMPEX_H_
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // Include Files
  28. /////////////////////////////////////////////////////////////////////////////
  29.  
  30. #ifndef __AFXWIN_H__
  31.     #error include 'stdafx.h' before including this file for PCH
  32. #endif
  33.  
  34. #include "resource.h"        // main symbols
  35.  
  36. /////////////////////////////////////////////////////////////////////////////
  37. // Constant Definitions
  38. /////////////////////////////////////////////////////////////////////////////
  39.  
  40. #define REGPARAM_SMBSMP_SHARENAME L"ShareName"
  41. #define REGPARAM_SMBSMP_PATH L"Path"
  42. #define REGPARAM_SMBSMP_REMARK L"Remark"
  43.  
  44. /////////////////////////////////////////////////////////////////////////////
  45. // Global Function Declarations
  46. /////////////////////////////////////////////////////////////////////////////
  47.  
  48. void FormatError(CString & rstrError, DWORD dwError);
  49.  
  50. // Defined in Extensn.cpp
  51. extern const WCHAR g_wszResourceTypeNames[];
  52. extern const DWORD g_cchResourceTypeNames;
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.  
  56. #endif // _SMBSMPEX_H_
  57.