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
26 typedef struct _INSTALLERINFO_A
32 } INSTALLERINFO_A
, *PINSTALLERINFO_A
;
33 typedef const PINSTALLERINFO_A PCINSTALLERINFO_A
;
35 typedef struct _INSTALLERINFO_W
41 } INSTALLERINFO_W
, *PINSTALLERINFO_W
;
42 typedef const PINSTALLERINFO_W PCINSTALLERINFO_W
;
44 typedef enum _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
*);
74 #endif /* __WINE_DIFXAPI_H */