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.

64 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. prnt_tbl.h
  5. Abstract:
  6. Print Queue Table processing routine and structure definitions.
  7. Environment:
  8. User Mode - Win32
  9. Revision History:
  10. 10-May-1996 DonRyan
  11. Removed banner from Technology Dynamics, Inc.
  12. --*/
  13. #ifndef prnt_tbl_h
  14. #define prnt_tbl_h
  15. //--------------------------- PUBLIC CONSTANTS ------------------------------
  16. #include <snmp.h>
  17. #define PRNTQ_NAME_FIELD 1
  18. #define PRNTQ_JOBS_FIELD 2
  19. //--------------------------- PUBLIC STRUCTS --------------------------------
  20. // Entries in the print queue table
  21. typedef struct printq_entry
  22. {
  23. AsnObjectIdentifier Oid;
  24. AsnDisplayString svPrintQName; // Index
  25. AsnInteger svPrintQNumJobs;
  26. } PRINTQ_ENTRY;
  27. // Print Queue table definition
  28. typedef struct
  29. {
  30. UINT Len;
  31. PRINTQ_ENTRY *Table;
  32. } PRINTQ_TABLE;
  33. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  34. extern PRINTQ_TABLE MIB_PrintQTable;
  35. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  36. SNMPAPI MIB_prntq_lmget(
  37. void
  38. );
  39. //------------------------------- END ---------------------------------------
  40. #endif /* prnt_tbl_h */