usp10: Handle dangling joiners when processing Indic GlyphProps.
[wine.git] / include / evntprov.h
blob34262fe18aca24a07caff2d16be1a3e0f6a03a38
1 /*
2 * Copyright 2010 Hans Leidekker for CodeWeavers
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 _EVNTPROV_H_
20 #define _EVNTPROV_H_
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 #define EVENT_LEVEL_MIN 0x00
27 #define EVENT_LEVEL_MAX 0xff
29 typedef ULONGLONG REGHANDLE, *PREGHANDLE;
31 typedef struct _EVENT_DESCRIPTOR
33 USHORT Id;
34 UCHAR Version;
35 UCHAR Channel;
36 UCHAR Level;
37 UCHAR Opcode;
38 USHORT Task;
39 ULONGLONG Keyword;
40 } EVENT_DESCRIPTOR;
42 typedef EVENT_DESCRIPTOR *PEVENT_DESCRIPTOR;
43 typedef const EVENT_DESCRIPTOR *PCEVENT_DESCRIPTOR;
45 typedef struct _EVENT_FILTER_DESCRIPTOR
47 ULONGLONG Ptr;
48 ULONG Size;
49 ULONG Type;
51 } EVENT_FILTER_DESCRIPTOR, *PEVENT_FILTER_DESCRIPTOR;
53 typedef VOID (NTAPI *PENABLECALLBACK)(LPCGUID,ULONG,UCHAR,ULONGLONG,ULONGLONG,PEVENT_FILTER_DESCRIPTOR,PVOID);
55 BOOLEAN WINAPI EventEnabled(REGHANDLE, PCEVENT_DESCRIPTOR);
56 ULONG WINAPI EventRegister(LPCGUID,PENABLECALLBACK,PVOID,PREGHANDLE);
57 ULONG WINAPI EventUnregister(REGHANDLE);
59 #ifdef __cplusplus
61 #endif
63 #endif /* _EVNTPROV_H_ */