Source code of Windows XP (NT5)
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.

65 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1992-1996 Microsoft Corporation
  3. Module Name:
  4. dlog_tbl.h
  5. Abstract:
  6. Define all of the structures and routines used in the domain logon list
  7. table.
  8. Environment:
  9. User Mode - Win32
  10. Revision History:
  11. 10-May-1996 DonRyan
  12. Removed banner from Technology Dynamics, Inc.
  13. --*/
  14. #ifndef dlog_tbl_h
  15. #define dlog_tbl_h
  16. //--------------------------- PUBLIC CONSTANTS ------------------------------
  17. #include <snmp.h>
  18. #define DLOG_USER_FIELD 1
  19. #define DLOG_MACHINE_FIELD 2
  20. //--------------------------- PUBLIC STRUCTS --------------------------------
  21. // Entries in the domain logon table
  22. typedef struct dom_logon_entry
  23. {
  24. AsnObjectIdentifier Oid;
  25. AsnDisplayString domLogonUser; // Index
  26. AsnDisplayString domLogonMachine; // Index
  27. } DOM_LOGON_ENTRY;
  28. // Domain logon table definition
  29. typedef struct
  30. {
  31. UINT Len;
  32. DOM_LOGON_ENTRY *Table;
  33. } DOM_LOGON_TABLE;
  34. //--------------------------- PUBLIC VARIABLES --(same as in module.c file)--
  35. extern DOM_LOGON_TABLE MIB_DomLogonTable;
  36. //--------------------------- PUBLIC PROTOTYPES -----------------------------
  37. SNMPAPI MIB_dlogons_lmget(
  38. void
  39. );
  40. //------------------------------- END ---------------------------------------
  41. #endif /* dlog_tbl_h */