VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispMpLogger.h@ 64186

Last change on this file since 64186 was 63019, checked in by vboxsync, 8 years ago

GA/NT/Graphics: warnings

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
1/* $Id: VBoxDispMpLogger.h 63019 2016-08-04 23:41:09Z vboxsync $ */
2/** @file
3 * VBox WDDM Display backdoor logger API
4 */
5
6/*
7 * Copyright (C) 2012-2016 Oracle Corporation
8 *
9 * This file is part of VirtualBox Open Source Edition (OSE), as
10 * available from http://www.virtualbox.org. This file is free software;
11 * you can redistribute it and/or modify it under the terms of the GNU
12 * General Public License (GPL) as published by the Free Software
13 * Foundation, in version 2 as it comes in the "COPYING" file of the
14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16 */
17
18/* We're unable to use standard r3 vbgl-based backdoor logging API because win8 Metro apps
19 * can not do CreateFile/Read/Write by default
20 * this is why we use miniport escape functionality to issue backdoor log string to the miniport
21 * and submit it to host via standard r0 backdoor logging api accordingly */
22
23#ifndef ___VBoxDispMpLogger_h__
24#define ___VBoxDispMpLogger_h__
25
26#include <iprt/cdefs.h>
27
28#if 0
29/* enable this in case we include this in a dll*/
30# ifdef IN_VBOXCRHGSMI
31# define VBOXDISPMPLOGGER_DECL(a_Type) DECLEXPORT(a_Type) RTCALL
32# else
33# define VBOXDISPMPLOGGER_DECL(a_Type) DECLIMPORT(a_Type) RTCALL
34# endif
35#else
36/*enable this in case we include this in a static lib*/
37# define VBOXDISPMPLOGGER_DECL(a_Type) a_Type RTCALL
38#endif
39
40RT_C_DECLS_BEGIN
41
42VBOXDISPMPLOGGER_DECL(int) VBoxDispMpLoggerInit(void);
43
44VBOXDISPMPLOGGER_DECL(int) VBoxDispMpLoggerTerm(void);
45
46VBOXDISPMPLOGGER_DECL(void) VBoxDispMpLoggerLog(const char *pszString);
47
48VBOXDISPMPLOGGER_DECL(void) VBoxDispMpLoggerLogF(const char *pszString, ...);
49
50RT_C_DECLS_END
51
52#endif /* #ifndef ___VBoxDispMpLogger_h__ */
53
Note: See TracBrowser for help on using the repository browser.

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