VirtualBox

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

Last change on this file since 53201 was 53201, checked in by vboxsync, 11 years ago

Devices/Main: vmsvga updates

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1/*
2 * Copyright 2010 Hans Leidekker for CodeWeavers
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 _EVNTPROV_H_
20#define _EVNTPROV_H_
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#define EVENT_LEVEL_MIN 0x00
27#define EVENT_LEVEL_MAX 0xff
28
29typedef ULONGLONG REGHANDLE, *PREGHANDLE;
30
31typedef struct _EVENT_DATA_DESCRIPTOR
32{
33 ULONGLONG Ptr;
34 ULONG Size;
35 ULONG Reserved;
36} EVENT_DATA_DESCRIPTOR, *PEVENT_DATA_DESCRIPTOR;
37
38typedef struct _EVENT_DESCRIPTOR
39{
40 USHORT Id;
41 UCHAR Version;
42 UCHAR Channel;
43 UCHAR Level;
44 UCHAR Opcode;
45 USHORT Task;
46 ULONGLONG Keyword;
47} EVENT_DESCRIPTOR;
48
49typedef EVENT_DESCRIPTOR *PEVENT_DESCRIPTOR;
50typedef const EVENT_DESCRIPTOR *PCEVENT_DESCRIPTOR;
51
52typedef struct _EVENT_FILTER_DESCRIPTOR
53{
54 ULONGLONG Ptr;
55 ULONG Size;
56 ULONG Type;
57
58} EVENT_FILTER_DESCRIPTOR, *PEVENT_FILTER_DESCRIPTOR;
59
60typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PEVENT_FILTER_DESCRIPTOR,PVOID);
61
62BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR);
63ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE);
64ULONG WINAPI EventUnregister(REGHANDLE);
65ULONG WINAPI EventWrite(REGHANDLE,PCEVENT_DESCRIPTOR,ULONG,PEVENT_DATA_DESCRIPTOR);
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* _EVNTPROV_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