windowscodecs/tests: Release decoder after use.
[wine/hramrach.git] / include / ddk / winddiui.h
blob7c6e775b588a939f1193b8479ac729019c2c97c4
1 /*
2 * Header for the Device Driver Interface - User Interface library
4 * Copyright 2007 Marcel Partap
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_WINDDIUI_H
22 #define __WINE_WINDDIUI_H
24 #include <ddk/compstui.h>
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
30 #define DRIVER_EVENT_INITIALIZE 1
31 #define DRIVER_EVENT_DELETE 2
33 #define PRINTER_EVENT_ADD_CONNECTION 1
34 #define PRINTER_EVENT_DELETE_CONNECTION 2
35 #define PRINTER_EVENT_INITIALIZE 3
36 #define PRINTER_EVENT_DELETE 4
37 #define PRINTER_EVENT_CACHE_REFRESH 5
38 #define PRINTER_EVENT_CACHE_DELETE 6
39 #define PRINTER_EVENT_ATTRIBUTES_CHANGED 7
41 #define PRINTER_EVENT_FLAG_NO_UI 1
43 BOOL WINAPI DrvDriverEvent(DWORD, DWORD, LPBYTE, LPARAM);
44 BOOL WINAPI DrvPrinterEvent(LPWSTR, INT, DWORD, LPARAM);
46 #ifdef __cplusplus
47 } /* extern "C" */
48 #endif
50 #endif /* __WINE_WINDDIUI_H */