mirror of https://github.com/tongzx/nt5src
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.
64 lines
1.0 KiB
64 lines
1.0 KiB
#ifndef _CACHEMGR_H
|
|
#define _CACHEMGR_H
|
|
|
|
BOOL
|
|
InitGetPrinterCache (
|
|
HANDLE hPort);
|
|
|
|
void
|
|
FreeGetPrinterCache (
|
|
HANDLE hPort);
|
|
|
|
void
|
|
InvalidateGetPrinterCache (
|
|
HANDLE hPort);
|
|
|
|
#if (defined(WINNT32))
|
|
void
|
|
InvalidateGetPrinterCacheForUser(
|
|
HANDLE hPort,
|
|
HANDLE hUser);
|
|
#endif // #if (defined(WINNT32))
|
|
|
|
BOOL
|
|
BeginReadGetPrinterCache (
|
|
HANDLE hPort,
|
|
PPRINTER_INFO_2 *ppinfo2);
|
|
|
|
void
|
|
EndReadGetPrinterCache (
|
|
HANDLE hPort);
|
|
|
|
BOOL
|
|
InitEnumJobsCache (
|
|
HANDLE hPort);
|
|
|
|
void
|
|
FreeEnumJobsCache (
|
|
HANDLE hPort);
|
|
|
|
BOOL
|
|
BeginReadEnumJobsCache (
|
|
HANDLE hPort,
|
|
LPPPJOB_ENUM *ppje);
|
|
|
|
void
|
|
EndReadEnumJobsCache (
|
|
HANDLE hPort);
|
|
|
|
void
|
|
InvalidateEnumJobsCache (
|
|
HANDLE hPort);
|
|
|
|
#if (defined(WINNT32))
|
|
void
|
|
InvalidateEnumJobsCacheForUser(
|
|
HANDLE hPort,
|
|
HANDLE hUser);
|
|
#endif // #if (defined(WINNT32))
|
|
|
|
#endif //#ifndef CACHEMGR_H
|
|
|
|
/**********************************************************************************
|
|
** End of File (cachemgr.h)
|
|
**********************************************************************************/
|