-
Notifications
You must be signed in to change notification settings - Fork 1
/
xfsspi.H
62 lines (38 loc) · 2.32 KB
/
xfsspi.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/******************************************************************************
* *
* xfsspi.h XFS - SPI functions, types, and definitions *
* *
* Version 3.00 -- 10/18/00 *
* *
******************************************************************************/
#ifndef __inc_xfsspi__h
#define __inc_xfsspi__h
#ifdef __cplusplus
extern "C" {
#endif
//#define SPI_API extern WINAPI
#define SPI_API __declspec(dllexport)
#include <xfsapi.h>
typedef HANDLE HPROVIDER;
#include <xfsconf.h>
#include <xfsadmin.h>
/* be aware of alignment */
#pragma pack(push,1)
/****** SPI functions ********************************************************/
HRESULT SPI_API WFPCancelAsyncRequest ( HSERVICE hService, REQUESTID RequestID);
HRESULT SPI_API WFPClose ( HSERVICE hService, HWND hWnd, REQUESTID ReqID);
HRESULT SPI_API WFPDeregister ( HSERVICE hService, DWORD dwEventClass, HWND hWndReg, HWND hWnd, REQUESTID ReqID);
HRESULT SPI_API WFPExecute ( HSERVICE hService, DWORD dwCommand, LPVOID lpCmdData, DWORD dwTimeOut, HWND hWnd, REQUESTID ReqID);
HRESULT SPI_API WFPGetInfo ( HSERVICE hService, DWORD dwCategory, LPVOID lpQueryDetails, DWORD dwTimeOut, HWND hWnd, REQUESTID ReqID);
HRESULT SPI_API WFPLock ( HSERVICE hService, DWORD dwTimeOut, HWND hWnd, REQUESTID ReqID);
HRESULT SPI_API WFPOpen ( HSERVICE hService, LPSTR lpszLogicalName, HAPP hApp, LPSTR lpszAppID, DWORD dwTraceLevel, DWORD dwTimeOut, HWND hWnd, REQUESTID ReqID, HPROVIDER hProvider, DWORD dwSPIVersionsRequired, LPWFSVERSION lpSPIVersion, DWORD dwSrvcVersionsRequired, LPWFSVERSION lpSrvcVersion);
HRESULT SPI_API WFPRegister ( HSERVICE hService, DWORD dwEventClass, HWND hWndReg, HWND hWnd, REQUESTID ReqID);
HRESULT SPI_API WFPSetTraceLevel ( HSERVICE hService, DWORD dwTraceLevel);
HRESULT SPI_API WFPUnloadService ( );
HRESULT SPI_API WFPUnlock ( HSERVICE hService, HWND hWnd, REQUESTID ReqID);
/* restore alignment */
#pragma pack(pop)
#ifdef __cplusplus
} /*extern "C"*/
#endif
#endif /* __inc_xfsspi__h */