ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wpspihlp.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 1896 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6 #ifndef __WPSPIHLP_H__
7 #define __WPSPIHLP_H__
8
9 #include <windows.h>
10 #include "wptypes.h"
11
12 #define WPPFUNC __declspec(dllimport)
13
14 #define WPF_FORCE_BIND 0x00000100
15
16 typedef HRESULT (WINAPI *PFN_WPPBINDTOSITEA)(HWND hwnd,LPCSTR sSiteName,LPCSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
17 typedef HRESULT (WINAPI *PFN_WPPLISTSITESA)(LPDWORD pdwSitesBufLen,LPWPSITEINFOA pSitesBuffer,LPDWORD pdwNumSites);
18 typedef HRESULT (WINAPI *PFN_WPPDELETESITEA)(LPCSTR sSiteName);
19 typedef HRESULT (WINAPI *PFN_WPPBINDTOSITEW)(HWND hwnd,LPCWSTR sSiteName,LPCWSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
20 typedef HRESULT (WINAPI *PFN_WPPLISTSITESW)(LPDWORD pdwSitesBufLen,LPWPSITEINFOW pSitesBuffer,LPDWORD pdwNumSites);
21 typedef HRESULT (WINAPI *PFN_WPPDELETESITEW)(LPCWSTR sSiteName);
22
23 HRESULT WPPFUNC WINAPI WppBindToSiteA(HWND hwnd,LPCSTR sSiteName,LPCSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
24 HRESULT WPPFUNC WINAPI WppListSitesA(LPDWORD pdwSitesBufLen,LPWPSITEINFOA pSitesBuffer,LPDWORD pdwNumSites);
25 HRESULT WPPFUNC WINAPI WppDeleteSiteA(LPCSTR sSiteName);
26 HRESULT WPPFUNC WINAPI WppBindToSiteW(HWND hwnd,LPCWSTR sSiteName,LPCWSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
27 HRESULT WPPFUNC WINAPI WppListSitesW(LPDWORD pdwSitesBufLen,LPWPSITEINFOW pSitesBuffer,LPDWORD pdwNumSites);
28 HRESULT WPPFUNC WINAPI WppDeleteSiteW(LPCWSTR sSiteName);
29
30 #define EP_WPPBINDTOSITEW "WppBindToSiteW"
31 #define EP_WPPLISTSITESW "WppListSitesW"
32 #define EP_WPPDELETESITEW "WppDeleteSiteW"
33
34 #define EP_WPPBINDTOSITEA "WppBindToSiteA"
35 #define EP_WPPLISTSITESA "WppListSitesA"
36 #define EP_WPPDELETESITEA "WppDeleteSiteA"
37 #endif