home *** CD-ROM | disk | FTP | other *** search
/ Total Destruction / Total_Destruction.iso / addons / Lccwin32.exe / Lccwin32 / lccpub / include / wpapi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-11  |  1.5 KB  |  49 lines

  1. #ifndef _lcc_wpapi_h_
  2. #define _lcc_wpapi_h_
  3. typedef struct tagWPSITEINFOA {
  4.     DWORD    dwSize;
  5.     DWORD    dwFlags;
  6.     LPSTR    lpszSiteName;
  7.     LPSTR    lpszSiteURL;
  8. } WPSITEINFOA, *LPWPSITEINFOA;
  9. typedef struct tagWPSITEINFOW {
  10.     DWORD    dwSize;
  11.     DWORD    dwFlags;
  12.     LPWSTR    lpszSiteName;
  13.     LPWSTR    lpszSiteURL;
  14. } WPSITEINFOW, *LPWPSITEINFOW;
  15. #define WPSF_CAN_BROWSE_DIR        1
  16. #define WPSF_NEEDS_COMMIT        2
  17. #define WPSF_CONNECTED_TO_NETWORK    4
  18. #define WPSF_LOGGED_IN_TO_SERVER    8
  19. #ifdef UNICODE
  20. #define WPSITEINFO    WPSITEINFOW
  21. #define LPWPSITEINFO    LPWPSITEINFOW
  22. #else
  23. #define WPSITEINFO    WPSITEINFOA
  24. #define LPWPSITEINFO    LPWPSITEINFOA
  25. #endif
  26. #define WPF_NO_RECURSIVE_POST    1
  27. #define WPF_NO_WIZARD        2
  28. #define WPF_MINIMAL_UI        4
  29. DWORD WINAPI WpPostW(HWND,DWORD,LPWSTR *,LPDWORD,LPWSTR,LPDWORD,LPWSTR,DWORD);
  30. DWORD WINAPI WpListSitesW(LPDWORD,LPWPSITEINFOW,LPDWORD);
  31. DWORD WINAPI WpDeleteSiteW(LPCWSTR);
  32. DWORD WINAPI WpBindToSiteW(HWND,LPCWSTR,LPCWSTR,DWORD,DWORD,PVOID *);
  33. DWORD WINAPI WpPostA(HWND,DWORD,LPSTR *,LPDWORD,LPSTR,LPDWORD,LPSTR,DWORD);
  34. DWORD WINAPI WpListSitesA(LPDWORD,LPWPSITEINFOA,LPDWORD);
  35. DWORD WINAPI WpDeleteSiteA(LPCSTR);
  36. DWORD WINAPI WpBindToSiteA(HWND,LPCSTR,LPCSTR,DWORD,DWORD,PVOID *);
  37. #ifdef UNICODE
  38. #define WpPost    WpPostW
  39. #define WpListSites    WpListSitesW
  40. #define WpDeleteSite    WpDeleteSiteW
  41. #define WpBindToSite    WpBindToSiteW
  42. #else
  43. #define WpPost        WpPostA
  44. #define WpListSites    WpListSitesA
  45. #define WpDeleteSite    WpDeleteSiteA
  46. #define WpBindToSite    WpBindToSiteA
  47. #endif
  48. #endif
  49.