wptypes.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:2k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*-------------------------------------------------------*
  2.  *
  3.  * Copyright (c) 1999 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. #ifndef __WPTYPES_H__
  15. #define __WPTYPES_H__
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. //
  20. // Site info structures
  21. //
  22. typedef struct tagWPSITEINFOA {
  23. DWORD dwSize;
  24. DWORD dwFlags;
  25. LPSTR lpszSiteName;
  26. LPSTR lpszSiteURL;
  27. } WPSITEINFOA, *LPWPSITEINFOA;
  28. typedef struct tagWPSITEINFOW {
  29. DWORD dwSize;
  30. DWORD dwFlags;
  31. LPWSTR lpszSiteName;
  32. LPWSTR lpszSiteURL;
  33. } WPSITEINFOW, *LPWPSITEINFOW;
  34. //
  35. // Provider info structures
  36. //
  37. typedef struct tagWPPROVINFOA {
  38. DWORD dwSize;
  39. DWORD dwFlags;
  40. DWORD dwPriority;
  41. LPSTR lpszProviderName;
  42. LPSTR lpszProviderCLSID;
  43. LPSTR lpszDllPath;
  44. } WPPROVINFOA, *LPWPPROVINFOA;
  45. typedef struct tagWPPROVINFOW {
  46. DWORD dwSize;
  47. DWORD dwFlags;
  48. DWORD dwPriority;
  49. LPWSTR lpszProviderName;
  50. LPWSTR lpszProviderCLSID;
  51. LPWSTR lpszDllPath;
  52. } WPPROVINFOW, *LPWPPROVINFOW;
  53. #ifdef UNICODE
  54. #define WPSITEINFO WPSITEINFOW
  55. #define LPWPSITEINFO LPWPSITEINFOW
  56. #define WPPROVINFO WPPROVINFOW
  57. #define LPWPPROVINFO LPWPPROVINFOW
  58. #else
  59. #define WPSITEINFO WPSITEINFOA
  60. #define LPWPSITEINFO LPWPSITEINFOA
  61. #define WPPROVINFO WPPROVINFOA
  62. #define LPWPPROVINFO LPWPPROVINFOA
  63. #endif
  64. #ifdef __cplusplus
  65. }
  66. #endif
  67. #endif  // __WPTYPES_H__