VirtualBox

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

最後變更 在這個檔案從53201是 53201,由 vboxsync 提交於 10 年 前

Devices/Main: vmsvga updates

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 2.2 KB
 
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#ifndef __WINE_DIFXAPI_H
20#define __WINE_DIFXAPI_H
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26typedef struct _INSTALLERINFO_A
27{
28 PSTR pApplicationId;
29 PSTR pDisplayName;
30 PSTR pProductName;
31 PSTR pMfgName;
32} INSTALLERINFO_A, *PINSTALLERINFO_A;
33typedef const PINSTALLERINFO_A PCINSTALLERINFO_A;
34
35typedef struct _INSTALLERINFO_W
36{
37 PWSTR pApplicationId;
38 PWSTR pDisplayName;
39 PWSTR pProductName;
40 PWSTR pMfgName;
41} INSTALLERINFO_W, *PINSTALLERINFO_W;
42typedef const PINSTALLERINFO_W PCINSTALLERINFO_W;
43
44typedef enum _DIFXAPI_LOG
45{
46 DIFXAPI_SUCCESS,
47 DIFXAPI_INFO,
48 DIFXAPI_WARNING,
49 DIFXAPI_ERROR,
50} DIFXAPI_LOG;
51
52typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_A)(DIFXAPI_LOG,DWORD,PCSTR,PVOID);
53typedef VOID (CALLBACK *DIFXAPILOGCALLBACK_W)(DIFXAPI_LOG,DWORD,PCWSTR,PVOID);
54
55VOID WINAPI DIFXAPISetLogCallbackA(DIFXAPILOGCALLBACK_A,VOID*);
56VOID WINAPI DIFXAPISetLogCallbackW(DIFXAPILOGCALLBACK_W,VOID*);
57DWORD WINAPI DriverPackageGetPathA(PCSTR,PSTR,DWORD*);
58DWORD WINAPI DriverPackageGetPathW(PCWSTR,PWSTR,DWORD*);
59DWORD WINAPI DriverPackageInstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
60DWORD WINAPI DriverPackageInstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
61DWORD WINAPI DriverPackagePreinstallA(PCSTR,DWORD);
62DWORD WINAPI DriverPackagePreinstallW(PCWSTR,DWORD);
63DWORD WINAPI DriverPackageUninstallA(PCSTR,DWORD,PCINSTALLERINFO_A,BOOL*);
64DWORD WINAPI DriverPackageUninstallW(PCWSTR,DWORD,PCINSTALLERINFO_W,BOOL*);
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* __WINE_DIFXAPI_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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