home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Internet 2000 May
/
MICD_2000_05.iso
/
CBuilder5
/
INSTALL
/
DATA1.CAB
/
Program_Built_Files
/
Include
/
wpspihlp.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-02-01
|
3KB
|
136 lines
/*------------------------------------------------*\
*
* Copyright 1997 - 1998 Microsoft Corporation
*
* Module Name:
*
* wpspihlp.h
*
* Abstract:
*
* Declaration of Microsoft Web Publishing
* Service Provider helper functions.
*
* Note:
*
* If you are #including this file in
* a Web Publishing Service Provider
* implementation, you should first
* #define IN_WPPDLL.
*
\*------------------------------------------------*/
#ifndef __WPSPIHLP_H__
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
#define __WPSPIHLP_H__
#include <windows.h>
#include "wptypes.h"
#if defined(IN_WPPDLL)
#define WPPFUNC __declspec( dllexport )
#else
#define WPPFUNC __declspec( dllimport )
#endif // IN_WPPDLL
//
// Flags
//
#define WPF_FORCE_BIND 0x00000100 // WppBindToSite
//
// Helper function declarations and typedefs
//
HRESULT WPPFUNC WINAPI WppBindToSiteA(
HWND hwnd,
LPCSTR sSiteName,
LPCSTR sURL,
REFIID riid,
DWORD dwFlag,
DWORD dwReserved,
PVOID *ppvUnk);
typedef HRESULT (WINAPI *PFN_WPPBINDTOSITEA)(
HWND hwnd,
LPCSTR sSiteName,
LPCSTR sURL,
REFIID riid,
DWORD dwFlag,
DWORD dwReserved,
PVOID *ppvUnk);
HRESULT WPPFUNC WINAPI WppListSitesA(
LPDWORD pdwSitesBufLen,
LPWPSITEINFOA pSitesBuffer,
LPDWORD pdwNumSites);
typedef HRESULT (WINAPI *PFN_WPPLISTSITESA)(
LPDWORD pdwSitesBufLen,
LPWPSITEINFOA pSitesBuffer,
LPDWORD pdwNumSites);
HRESULT WPPFUNC WINAPI WppDeleteSiteA(LPCSTR sSiteName);
typedef HRESULT (WINAPI *PFN_WPPDELETESITEA)(LPCSTR sSiteName);
HRESULT WPPFUNC WINAPI WppBindToSiteW(
HWND hwnd,
LPCWSTR sSiteName,
LPCWSTR sURL,
REFIID riid,
DWORD dwFlag,
DWORD dwReserved,
PVOID *ppvUnk);
typedef HRESULT (WINAPI *PFN_WPPBINDTOSITEW)(
HWND hwnd,
LPCWSTR sSiteName,
LPCWSTR sURL,
REFIID riid,
DWORD dwFlag,
DWORD dwReserved,
PVOID *ppvUnk);
HRESULT WPPFUNC WINAPI WppListSitesW(
LPDWORD pdwSitesBufLen,
LPWPSITEINFOW pSitesBuffer,
LPDWORD pdwNumSites);
typedef HRESULT (WINAPI *PFN_WPPLISTSITESW)(
LPDWORD pdwSitesBufLen,
LPWPSITEINFOW pSitesBuffer,
LPDWORD pdwNumSites);
HRESULT WPPFUNC WINAPI WppDeleteSiteW(LPCWSTR sSiteName);
typedef HRESULT (WINAPI *PFN_WPPDELETESITEW)(LPCWSTR sSiteName);
//
// Entry Points
//
#define EP_WPPBINDTOSITEW "WppBindToSiteW"
#define EP_WPPLISTSITESW "WppListSitesW"
#define EP_WPPDELETESITEW "WppDeleteSiteW"
#define EP_WPPBINDTOSITEA "WppBindToSiteA"
#define EP_WPPLISTSITESA "WppListSitesA"
#define EP_WPPDELETESITEA "WppDeleteSiteA"
#pragma option pop /*P_O_Pop*/
#endif // __WPSPIHLP_H__