wbemprox: Add a stub implementation of Win32_PhysicalMemory.
[wine/wine-gecko.git] / include / difxapi.h
blobf5149b8b0b9f4f5b048517a3f0e9360a1f7a28e3
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);
55 VOID WINAPI DIFXAPISetLogCallbackA(DIFXAPILOGCALLBACK_A,VOID*);
56 VOID WINAPI DIFXAPISetLogCallbackW(DIFXAPILOGCALLBACK_W,VOID*);
57 DWORD WINAPI DriverPackageGetPathA(PCSTR,PSTR,DWORD*);
58 DWORD WINAPI DriverPackageGetPathW(PCWSTR,PWSTR,DWORD*);
59 DWORD WINAPI DriverPackageInstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
60 DWORD WINAPI DriverPackageInstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
61 DWORD WINAPI DriverPackagePreinstallA(PCSTR,DWORD);
62 DWORD WINAPI DriverPackagePreinstallW(PCWSTR,DWORD);
63 DWORD WINAPI DriverPackageUninstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
64 DWORD WINAPI DriverPackageUninstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
66 #ifdef __cplusplus
68 #endif
70 #endif /* __WINE_DIFXAPI_H */