home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / wptypes.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  100 lines

  1. /*-------------------------------------------------------*\
  2.  *
  3.  *    Copyright 1997 - 1998 Microsoft Corporation
  4.  *
  5.  *    Module Name:
  6.  *
  7.  *        wptypes.h
  8.  *
  9.  *    Abstract:
  10.  *
  11.  *        Data types for the Microsoft Web Publishing API.
  12.  *
  13. \*-------------------------------------------------------*/
  14.  
  15.  
  16. #ifndef __WPTYPES_H__
  17. #define __WPTYPES_H__
  18.  
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. //
  26. //    Site info structures
  27. //
  28.  
  29. typedef struct tagWPSITEINFOA {
  30.  
  31.     DWORD dwSize;
  32.     DWORD dwFlags;
  33.     LPSTR lpszSiteName;
  34.     LPSTR lpszSiteURL;
  35.  
  36. } WPSITEINFOA, *LPWPSITEINFOA;
  37.  
  38. typedef struct tagWPSITEINFOW {
  39.  
  40.     DWORD dwSize;
  41.     DWORD dwFlags;
  42.     LPWSTR lpszSiteName;
  43.     LPWSTR lpszSiteURL;
  44.  
  45. } WPSITEINFOW, *LPWPSITEINFOW;
  46.  
  47.  
  48. //
  49. //    Provider info structures
  50. //
  51.  
  52. typedef struct tagWPPROVINFOA {
  53.  
  54.     DWORD dwSize;
  55.     DWORD dwFlags;
  56.     DWORD dwPriority;
  57.     LPSTR lpszProviderName;
  58.     LPSTR lpszProviderCLSID;
  59.     LPSTR lpszDllPath;
  60.  
  61. } WPPROVINFOA, *LPWPPROVINFOA;
  62.  
  63. typedef struct tagWPPROVINFOW {
  64.  
  65.     DWORD dwSize;
  66.     DWORD dwFlags;
  67.     DWORD dwPriority;
  68.     LPWSTR lpszProviderName;
  69.     LPWSTR lpszProviderCLSID;
  70.     LPWSTR lpszDllPath;
  71.  
  72. } WPPROVINFOW, *LPWPPROVINFOW;
  73.  
  74.  
  75. #ifdef UNICODE
  76.  
  77. #define WPSITEINFO                WPSITEINFOW
  78. #define LPWPSITEINFO            LPWPSITEINFOW
  79. #define WPPROVINFO                WPPROVINFOW
  80. #define LPWPPROVINFO            LPWPPROVINFOW
  81.  
  82. #else
  83.  
  84. #define WPSITEINFO                WPSITEINFOA
  85. #define LPWPSITEINFO            LPWPSITEINFOA
  86. #define WPPROVINFO                WPPROVINFOA
  87. #define LPWPPROVINFO            LPWPPROVINFOA
  88.  
  89. #endif
  90.  
  91.  
  92. #ifdef __cplusplus
  93. }
  94. #endif
  95.  
  96.  
  97.  
  98. #endif  // __WPTYPES_H__
  99.  
  100.