source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wpspihlp.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 1.9 KB
RevLine 
[1166]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
16typedef HRESULT (WINAPI *PFN_WPPBINDTOSITEA)(HWND hwnd,LPCSTR sSiteName,LPCSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
17typedef HRESULT (WINAPI *PFN_WPPLISTSITESA)(LPDWORD pdwSitesBufLen,LPWPSITEINFOA pSitesBuffer,LPDWORD pdwNumSites);
18typedef HRESULT (WINAPI *PFN_WPPDELETESITEA)(LPCSTR sSiteName);
19typedef HRESULT (WINAPI *PFN_WPPBINDTOSITEW)(HWND hwnd,LPCWSTR sSiteName,LPCWSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
20typedef HRESULT (WINAPI *PFN_WPPLISTSITESW)(LPDWORD pdwSitesBufLen,LPWPSITEINFOW pSitesBuffer,LPDWORD pdwNumSites);
21typedef HRESULT (WINAPI *PFN_WPPDELETESITEW)(LPCWSTR sSiteName);
22
23HRESULT WPPFUNC WINAPI WppBindToSiteA(HWND hwnd,LPCSTR sSiteName,LPCSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
24HRESULT WPPFUNC WINAPI WppListSitesA(LPDWORD pdwSitesBufLen,LPWPSITEINFOA pSitesBuffer,LPDWORD pdwNumSites);
25HRESULT WPPFUNC WINAPI WppDeleteSiteA(LPCSTR sSiteName);
26HRESULT WPPFUNC WINAPI WppBindToSiteW(HWND hwnd,LPCWSTR sSiteName,LPCWSTR sURL,REFIID riid,DWORD dwFlag,DWORD dwReserved,PVOID *ppvUnk);
27HRESULT WPPFUNC WINAPI WppListSitesW(LPDWORD pdwSitesBufLen,LPWPSITEINFOW pSitesBuffer,LPDWORD pdwNumSites);
28HRESULT 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
Note: See TracBrowser for help on using the repository browser.