File:  [WindowsNT SDKs] / ntddk / src / input / sermouse / debug.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 18:31:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: ntddk-nov-1993, HEAD
Microsoft Windows NT Build 511 (DDK SDK) 11-01-1993

/*++

Copyright (c) 1993  Microsoft Corporation
Copyright (c) 1993  Logitech Inc.

Module Name:

    debug.h

Abstract:

    Debugging support.

Environment:

    Kernel mode only.

Notes:

Revision History:

--*/

#ifndef DEBUG_H
#define DEBUG_H

#if DBG

#define DBG_SERIAL      0x0001
#define DBG_COLOR       0x0002

VOID
_SerMouSetDebugOutput(
    IN ULONG Destination
    );

#define SerMouSetDebugOutput(x) _SerMouSetDebugOutput(x)

int
_SerMouGetDebugOutput(
    VOID
    );

#define SerMouGetDebugOutput(x) _SerMouGetDebugOutput()

VOID
SerMouDebugPrint(
    ULONG DebugPrintLevel,
    PCSZ DebugMessage,
    ...
    );

extern ULONG SerialMouseDebug;
#define SerMouPrint(x) SerMouDebugPrint x
#define D(x) x
#else
#define SerMouSetDebugOutput(x)
#define SerMouGetDebugOutput(x)
#define SerMouPrint(x)
#define D(x)
#endif


#endif // DEBUG_H

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.