/*++

Copyright (c) 1993  Microsoft Corporation

Module Name:

    dosspool.h

Abstract:

    Prototypes and manifests to support dosspool.C.

Author:

    congpay    22-Jan-1993

Environment:

Notes:

Revision History:

    22-Jan-1993     congpay	Created

--*/
#include <winspool.h>

typedef
BOOL
(*PF_ClosePrinter)(
    HANDLE hPrinter
);

typedef
BOOL
(*PF_EnumJobsA)(
    HANDLE  hPrinter,
    DWORD   FirstJob,
    DWORD   NoJobs,
    DWORD   Level,
    LPBYTE  pJob,
    DWORD   cbBuf,
    LPDWORD pcbNeeded,
    LPDWORD pcReturned
);

typedef
BOOL
(*PF_EnumPrintersA)(
    DWORD   Flags,
    LPSTR   Name,
    DWORD   Level,
    LPBYTE  pPrinterEnum,
    DWORD   cbBuf,
    LPDWORD pcbNeeded,
    LPDWORD pcReturned
);

typedef
BOOL
(*PF_GetJobA)(
   HANDLE   hPrinter,
   DWORD    JobId,
   DWORD    Level,
   LPBYTE   pJob,
   DWORD    cbBuf,
   LPDWORD  pcbNeeded
);

typedef
BOOL
(*PF_GetPrinterA)(
    HANDLE  hPrinter,
    DWORD   Level,
    LPBYTE  pPrinter,
    DWORD   cbBuf,
    LPDWORD pcbNeeded
);

typedef
BOOL
(*PF_OpenPrinterA)(
   LPSTR    pPrinterName,
   LPHANDLE phPrinter,
   LPPRINTER_DEFAULTSA pDefault
);

typedef
BOOL
(*PF_OpenPrinterW)(
   LPWSTR   pPrinterName,
   LPHANDLE phPrinter,
   LPPRINTER_DEFAULTSW pDefault
);

typedef
BOOL
(*PF_SetJobA)(
    HANDLE  hPrinter,
    DWORD   JobId,
    DWORD   Level,
    LPBYTE  pJob,
    DWORD   Command
);


