VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/difxapi.h@ 85805

Last change on this file since 85805 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1/*
2 * Copyright (c) 2013 André Hentschel
3 *
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.
8 *
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.
13 *
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
17 */
18
19/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_DIFXAPI_H
29#define __WINE_DIFXAPI_H
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35typedef struct _INSTALLERINFO_A
36{
37 PSTR pApplicationId;
38 PSTR pDisplayName;
39 PSTR pProductName;
40 PSTR pMfgName;
41} INSTALLERINFO_A, *PINSTALLERINFO_A;
42typedef const PINSTALLERINFO_A PCINSTALLERINFO_A;
43
44typedef struct _INSTALLERINFO_W
45{
46 PWSTR pApplicationId;
47 PWSTR pDisplayName;
48 PWSTR pProductName;
49 PWSTR pMfgName;
50} INSTALLERINFO_W, *PINSTALLERINFO_W;
51typedef const PINSTALLERINFO_W PCINSTALLERINFO_W;
52
53typedef enum _DIFXAPI_LOG
54{
55 DIFXAPI_SUCCESS,
56 DIFXAPI_INFO,
57 DIFXAPI_WARNING,
58 DIFXAPI_ERROR,
59} DIFXAPI_LOG;
60
61typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID);
62typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID);
63
64VOID WINAPI DIFXAPISetLogCallbackA(DIFXAPILOGCALLBACK_A,VOID*);
65VOID WINAPI DIFXAPISetLogCallbackW(DIFXAPILOGCALLBACK_W,VOID*);
66DWORD WINAPI DriverPackageGetPathA(PCSTR,PSTR,DWORD*);
67DWORD WINAPI DriverPackageGetPathW(PCWSTR,PWSTR,DWORD*);
68DWORD WINAPI DriverPackageInstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
69DWORD WINAPI DriverPackageInstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
70DWORD WINAPI DriverPackagePreinstallA(PCSTR,DWORD);
71DWORD WINAPI DriverPackagePreinstallW(PCWSTR,DWORD);
72DWORD WINAPI DriverPackageUninstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
73DWORD WINAPI DriverPackageUninstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif /* __WINE_DIFXAPI_H */
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette