Leaked source code of windows server 2003
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.
 
 
 
 
 
 

63 lines
956 B

/*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
prndata.h
Abstract:
Funtions for dealing with printer property data in the registry
Environment:
Fax driver, user and kernel mode
Revision History:
01/09/96 -davidx-
Created it.
dd-mm-yy -author-
description
--*/
#ifndef _PRNDATA_H_
#define _PRNDATA_H_
//
// Default discount rate period: 8:00pm to 7:00am
//
#define DEFAULT_STARTCHEAP MAKELONG(20, 0)
#define DEFAULT_STOPCHEAP MAKELONG(7, 0)
#define PRNDATA_PERMISSION TEXT("Permission")
#define PRNDATA_PAPER_SIZE TEXT("PaperSize")
//
// Get a DWORD value from the registry
//
DWORD
GetPrinterDataDWord(
HANDLE hPrinter,
LPTSTR pRegKey,
DWORD defaultValue
);
//
// Save a DWORD value to the registry
//
BOOL
SetPrinterDataDWord(
HANDLE hPrinter,
LPTSTR pRegKey,
DWORD value
);
#endif // !_PRNDATA_H_