winex11.drv: Map coordinates before calling send_mouse_input.
[wine/zf.git] / include / difxapi.h
blob21d43c90de6a306b9472f9edf3842b4d06cc0217
1 /*
2 * Copyright (c) 2013 André Hentschel
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_DIFXAPI_H
20 #define __WINE_DIFXAPI_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 typedef struct _INSTALLERINFO_A
28 PSTR pApplicationId;
29 PSTR pDisplayName;
30 PSTR pProductName;
31 PSTR pMfgName;
32 } INSTALLERINFO_A, *PINSTALLERINFO_A;
33 typedef const PINSTALLERINFO_A PCINSTALLERINFO_A;
35 typedef struct _INSTALLERINFO_W
37 PWSTR pApplicationId;
38 PWSTR pDisplayName;
39 PWSTR pProductName;
40 PWSTR pMfgName;
41 } INSTALLERINFO_W, *PINSTALLERINFO_W;
42 typedef const PINSTALLERINFO_W PCINSTALLERINFO_W;
44 typedef enum _DIFXAPI_LOG
46 DIFXAPI_SUCCESS,
47 DIFXAPI_INFO,
48 DIFXAPI_WARNING,
49 DIFXAPI_ERROR,
50 } DIFXAPI_LOG;
52 typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID);
53 typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID);
54 typedef VOID (CALLBACK *DIFXLOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID);
55 typedef VOID (CALLBACK *DIFXLOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID);
57 VOID WINAPI DIFXAPISetLogCallbackA(DIFXAPILOGCALLBACK_A,VOID*);
58 VOID WINAPI DIFXAPISetLogCallbackW(DIFXAPILOGCALLBACK_W,VOID*);
59 DWORD WINAPI DriverPackageGetPathA(PCSTR,PSTR,DWORD*);
60 DWORD WINAPI DriverPackageGetPathW(PCWSTR,PWSTR,DWORD*);
61 DWORD WINAPI DriverPackageInstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
62 DWORD WINAPI DriverPackageInstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
63 DWORD WINAPI DriverPackagePreinstallA(PCSTR,DWORD);
64 DWORD WINAPI DriverPackagePreinstallW(PCWSTR,DWORD);
65 DWORD WINAPI DriverPackageUninstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
66 DWORD WINAPI DriverPackageUninstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
67 VOID WINAPI SetDifxLogCallbackA(DIFXLOGCALLBACK_A,VOID*);
68 VOID WINAPI SetDifxLogCallbackW(DIFXLOGCALLBACK_W,VOID*);
70 #ifdef __cplusplus
72 #endif
74 #endif /* __WINE_DIFXAPI_H */