mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1003 B
78 lines
1003 B
/*++
|
|
|
|
Copyright (c) 1992 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
printbuf.h
|
|
|
|
Abstract:
|
|
|
|
This is the include file for the print buffering package
|
|
|
|
Author:
|
|
|
|
Dave Hastings (daveh) 28-Oct-1992
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#ifndef _PRINTBUF_H_
|
|
#define _PRINTBUF_H_
|
|
//
|
|
// Types
|
|
//
|
|
|
|
//
|
|
// Function for invalidation notification
|
|
//
|
|
typedef VOID (*INVALIDATEFUNCTION)(
|
|
HANDLE Window,
|
|
USHORT StartingLine,
|
|
USHORT NumberOfLines,
|
|
USHORT Width
|
|
);
|
|
|
|
//
|
|
// Function Prototypes
|
|
//
|
|
|
|
BOOL
|
|
InitPrintBuffer(
|
|
HANDLE Instance
|
|
);
|
|
|
|
PVOID
|
|
CreatePrintBuffer(
|
|
HANDLE Window,
|
|
INVALIDATEFUNCTION Invalidate,
|
|
USHORT Size
|
|
);
|
|
|
|
VOID
|
|
DestroyPrintBuffer(
|
|
PVOID PrintBuffer
|
|
);
|
|
|
|
BOOL
|
|
PrintToPrintBuffer(
|
|
PVOID PrintBuffer,
|
|
PUCHAR String
|
|
);
|
|
|
|
BOOL
|
|
ClearPrintBuffer(
|
|
PVOID PrintBuffer,
|
|
USHORT FirstLine,
|
|
USHORT NumberOfLines
|
|
);
|
|
|
|
BOOL
|
|
GetLineFromPrintBuffer(
|
|
PVOID PrintBuffer,
|
|
USHORT LineNumber,
|
|
PUCHAR *String,
|
|
PUSHORT Length
|
|
);
|
|
#endif
|