1
{******************************************************************************}
3
{ Web Publishing SPI Helper API interface Unit for Object Pascal }
5
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
6
{ Corporation. All Rights Reserved. }
8
{ The original file is: wpspihlp.h, released June 2000. The original Pascal }
9
{ code is: WPSpiHlp.pas, released December 2000. The initial developer of the }
10
{ Pascal code is Marcel van Brakel (brakelm att chello dott nl). }
12
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
13
{ Marcel van Brakel. All Rights Reserved. }
15
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
17
{ You may retrieve the latest version of this file at the Project JEDI }
18
{ APILIB home page, located at http://jedi-apilib.sourceforge.net }
20
{ The contents of this file are used with permission, subject to the Mozilla }
21
{ Public License Version 1.1 (the "License"); you may not use this file except }
22
{ in compliance with the License. You may obtain a copy of the License at }
23
{ http://www.mozilla.org/MPL/MPL-1.1.html }
25
{ Software distributed under the License is distributed on an "AS IS" basis, }
26
{ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
27
{ the specific language governing rights and limitations under the License. }
29
{ Alternatively, the contents of this file may be used under the terms of the }
30
{ GNU Lesser General Public License (the "LGPL License"), in which case the }
31
{ provisions of the LGPL License are applicable instead of those above. }
32
{ If you wish to allow use of your version of this file only under the terms }
33
{ of the LGPL License and not to allow others to use your version of this file }
34
{ under the MPL, indicate your decision by deleting the provisions above and }
35
{ replace them with the notice and other provisions required by the LGPL }
36
{ License. If you do not delete the provisions above, a recipient may use }
37
{ your version of this file under either the MPL or the LGPL License. }
39
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
41
{******************************************************************************}
43
// $Id: jwawpspihlp.pas,v 1.1 2005/04/04 07:56:11 marco Exp $
50
{$HPPEMIT '#include "wpspihlp.h"'}
58
JwaWPTypes, JwaWinType;
65
WPF_FORCE_BIND = $00000100; // WppBindToSite
68
// Helper function declarations and typedefs
71
//function WppBindToSiteA(hwnd: HWND; sSiteName, sURL: LPCSTR; const riid: TGUID;
72
// dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
73
//{$EXTERNALSYM WppBindToSiteA}
76
PFN_WPPBINDTOSITEA = function(hwnd: HWND; sSiteName, sURL: LPCSTR;
77
const riid: TGUID; dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
78
{$EXTERNALSYM PFN_WPPBINDTOSITEA}
80
//function WppListSitesA(var pdwSitesBufLen: DWORD; pSitesBuffer: LPWPSITEINFOA;
81
// pdwNumSites: LPDWORD): HRESULT; stdcall;
82
//{$EXTERNALSYM WppListSitesA}
85
PFN_WPPLISTSITESA = function(var pdwSitesBufLen: DWORD;
86
pSitesBuffer: LPWPSITEINFOA; pdwNumSites: LPDWORD): HRESULT; stdcall;
87
{$EXTERNALSYM PFN_WPPLISTSITESA}
89
//function WppDeleteSiteA(sSiteName: LPCSTR): HRESULT; stdcall;
90
//{$EXTERNALSYM WppDeleteSiteA}
93
PFN_WPPDELETESITEA = function(sSiteName: LPCSTR): HRESULT; stdcall;
94
{$EXTERNALSYM PFN_WPPDELETESITEA}
96
//function WppBindToSiteW(hwnd: HWND; sSiteName, sURL: LPCWSTR; const riid: TGUID;
97
// dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
98
//{$EXTERNALSYM WppBindToSiteW}
101
PFN_WPPBINDTOSITEW = function(hwnd: HWND; sSiteName, sURL: LPCWSTR;
102
const riid: TGUID; dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
103
{$EXTERNALSYM PFN_WPPBINDTOSITEW}
105
//function WppListSitesW(var pdwSitesBufLen: DWORD; pSitesBuffer: LPWPSITEINFOW;
106
// pdwNumSites: LPDWORD): HRESULT; stdcall;
107
//{$EXTERNALSYM WppListSitesW}
110
PFN_WPPLISTSITESW = function(var pdwSitesBufLen: DWORD;
111
pSitesBuffer: LPWPSITEINFOW; pdwNumSites: LPDWORD): HRESULT; stdcall;
112
{$EXTERNALSYM PFN_WPPLISTSITESW}
114
//function WppDeleteSiteW(sSiteName: LPCWSTR): HRESULT; stdcall;
115
//{$EXTERNALSYM WppDeleteSiteW}
118
PFN_WPPDELETESITEW = function(sSiteName: LPCWSTR): HRESULT; stdcall;
119
{$EXTERNALSYM PFN_WPPDELETESITEW}
126
EP_WPPBINDTOSITEW = 'WppBindToSiteW';
127
{$EXTERNALSYM EP_WPPBINDTOSITEW}
128
EP_WPPLISTSITESW = 'WppListSitesW';
129
{$EXTERNALSYM EP_WPPLISTSITESW}
130
EP_WPPDELETESITEW = 'WppDeleteSiteW';
131
{$EXTERNALSYM EP_WPPDELETESITEW}
133
EP_WPPBINDTOSITEA = 'WppBindToSiteA';
134
{$EXTERNALSYM EP_WPPBINDTOSITEA}
135
EP_WPPLISTSITESA = 'WppListSitesA';
136
{$EXTERNALSYM EP_WPPLISTSITESA}
137
EP_WPPDELETESITEA = 'WppDeleteSiteA';
138
{$EXTERNALSYM EP_WPPDELETESITEA}
1
{******************************************************************************}
3
{ Web Publishing SPI Helper API interface Unit for Object Pascal }
5
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
6
{ Corporation. All Rights Reserved. }
8
{ The original file is: wpspihlp.h, released June 2000. The original Pascal }
9
{ code is: WPSpiHlp.pas, released December 2000. The initial developer of the }
10
{ Pascal code is Marcel van Brakel (brakelm att chello dott nl). }
12
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
13
{ Marcel van Brakel. All Rights Reserved. }
15
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
17
{ You may retrieve the latest version of this file at the Project JEDI }
18
{ APILIB home page, located at http://jedi-apilib.sourceforge.net }
20
{ The contents of this file are used with permission, subject to the Mozilla }
21
{ Public License Version 1.1 (the "License"); you may not use this file except }
22
{ in compliance with the License. You may obtain a copy of the License at }
23
{ http://www.mozilla.org/MPL/MPL-1.1.html }
25
{ Software distributed under the License is distributed on an "AS IS" basis, }
26
{ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
27
{ the specific language governing rights and limitations under the License. }
29
{ Alternatively, the contents of this file may be used under the terms of the }
30
{ GNU Lesser General Public License (the "LGPL License"), in which case the }
31
{ provisions of the LGPL License are applicable instead of those above. }
32
{ If you wish to allow use of your version of this file only under the terms }
33
{ of the LGPL License and not to allow others to use your version of this file }
34
{ under the MPL, indicate your decision by deleting the provisions above and }
35
{ replace them with the notice and other provisions required by the LGPL }
36
{ License. If you do not delete the provisions above, a recipient may use }
37
{ your version of this file under either the MPL or the LGPL License. }
39
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
41
{******************************************************************************}
49
{$HPPEMIT '#include "wpspihlp.h"'}
57
JwaWPTypes, JwaWinType;
64
WPF_FORCE_BIND = $00000100; // WppBindToSite
67
// Helper function declarations and typedefs
70
//function WppBindToSiteA(hwnd: HWND; sSiteName, sURL: LPCSTR; const riid: TGUID;
71
// dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
72
//{$EXTERNALSYM WppBindToSiteA}
75
PFN_WPPBINDTOSITEA = function(hwnd: HWND; sSiteName, sURL: LPCSTR;
76
const riid: TGUID; dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
77
{$EXTERNALSYM PFN_WPPBINDTOSITEA}
79
//function WppListSitesA(var pdwSitesBufLen: DWORD; pSitesBuffer: LPWPSITEINFOA;
80
// pdwNumSites: LPDWORD): HRESULT; stdcall;
81
//{$EXTERNALSYM WppListSitesA}
84
PFN_WPPLISTSITESA = function(var pdwSitesBufLen: DWORD;
85
pSitesBuffer: LPWPSITEINFOA; pdwNumSites: LPDWORD): HRESULT; stdcall;
86
{$EXTERNALSYM PFN_WPPLISTSITESA}
88
//function WppDeleteSiteA(sSiteName: LPCSTR): HRESULT; stdcall;
89
//{$EXTERNALSYM WppDeleteSiteA}
92
PFN_WPPDELETESITEA = function(sSiteName: LPCSTR): HRESULT; stdcall;
93
{$EXTERNALSYM PFN_WPPDELETESITEA}
95
//function WppBindToSiteW(hwnd: HWND; sSiteName, sURL: LPCWSTR; const riid: TGUID;
96
// dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
97
//{$EXTERNALSYM WppBindToSiteW}
100
PFN_WPPBINDTOSITEW = function(hwnd: HWND; sSiteName, sURL: LPCWSTR;
101
const riid: TGUID; dwFlag, dwReserved: DWORD; out ppvUnk): HRESULT; stdcall;
102
{$EXTERNALSYM PFN_WPPBINDTOSITEW}
104
//function WppListSitesW(var pdwSitesBufLen: DWORD; pSitesBuffer: LPWPSITEINFOW;
105
// pdwNumSites: LPDWORD): HRESULT; stdcall;
106
//{$EXTERNALSYM WppListSitesW}
109
PFN_WPPLISTSITESW = function(var pdwSitesBufLen: DWORD;
110
pSitesBuffer: LPWPSITEINFOW; pdwNumSites: LPDWORD): HRESULT; stdcall;
111
{$EXTERNALSYM PFN_WPPLISTSITESW}
113
//function WppDeleteSiteW(sSiteName: LPCWSTR): HRESULT; stdcall;
114
//{$EXTERNALSYM WppDeleteSiteW}
117
PFN_WPPDELETESITEW = function(sSiteName: LPCWSTR): HRESULT; stdcall;
118
{$EXTERNALSYM PFN_WPPDELETESITEW}
125
EP_WPPBINDTOSITEW = 'WppBindToSiteW';
126
{$EXTERNALSYM EP_WPPBINDTOSITEW}
127
EP_WPPLISTSITESW = 'WppListSitesW';
128
{$EXTERNALSYM EP_WPPLISTSITESW}
129
EP_WPPDELETESITEW = 'WppDeleteSiteW';
130
{$EXTERNALSYM EP_WPPDELETESITEW}
132
EP_WPPBINDTOSITEA = 'WppBindToSiteA';
133
{$EXTERNALSYM EP_WPPBINDTOSITEA}
134
EP_WPPLISTSITESA = 'WppListSitesA';
135
{$EXTERNALSYM EP_WPPLISTSITESA}
136
EP_WPPDELETESITEA = 'WppDeleteSiteA';
137
{$EXTERNALSYM EP_WPPDELETESITEA}