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.

62 lines
1.7 KiB

  1. //+-----------------------------------------------------------------------
  2. //
  3. // File: intkerb.idl
  4. //
  5. // Contents: internal structures and definitions for Win4 Kerberos
  6. //
  7. //
  8. // History: Created 6 Dec 1991 richardw
  9. // 20-Dec-93 WadeR Created the IDL from richard's .h file.
  10. //
  11. //------------------------------------------------------------------------
  12. [
  13. uuid(00000001-0001-0000-C000-000000000071),
  14. version(1.0),
  15. pointer_default(unique)
  16. ]
  17. interface Pac
  18. {
  19. import "pacimp.idl";
  20. typedef struct _PAC_SID_AND_ATTRIBUTES {
  21. PISID Sid;
  22. ULONG Attributes;
  23. } PAC_SID_AND_ATTRIBUTES, * PPAC_SID_AND_ATTRIBUTES;
  24. typedef struct _PAC_LUID_AND_ATTRIBUTES {
  25. LUID Luid;
  26. ULONG Attributes;
  27. } PAC_LUID_AND_ATTRIBUTES, * PPAC_LUID_AND_ATTRIBUTES;
  28. typedef struct _PAC_TOKEN_GROUPS {
  29. ULONG GroupCount;
  30. [size_is(GroupCount)]
  31. PAC_SID_AND_ATTRIBUTES Groups[*];
  32. } PAC_TOKEN_GROUPS, *PPAC_TOKEN_GROUPS;
  33. typedef struct _PAC_TOKEN_PRIVILEGES {
  34. ULONG PrivilegeCount;
  35. [size_is(PrivilegeCount)]
  36. PAC_LUID_AND_ATTRIBUTES Privileges[*];
  37. } PAC_TOKEN_PRIVILEGES, *PPAC_TOKEN_PRIVILEGES;
  38. typedef struct _KERB_TOKEN_RESTRICTIONS {
  39. ULONG Flags;
  40. PPAC_TOKEN_GROUPS GroupsToDisable;
  41. PPAC_TOKEN_GROUPS RestrictedSids;
  42. PPAC_TOKEN_PRIVILEGES PrivilegesToDelete;
  43. } KERB_TOKEN_RESTRICTIONS, *PKERB_TOKEN_RESTRICTIONS;
  44. typedef NETLOGON_VALIDATION_SAM_INFO3 PAC_IDL_VALIDATION_INFO, *PPAC_IDL_VALIDATION_INFO;
  45. typedef SECPKG_SUPPLEMENTAL_CRED_ARRAY PAC_IDL_CREDENTIAL_DATA, *PPAC_IDL_CREDENTIAL_DATA;
  46. //ULONG
  47. //DummyFunction(
  48. // [in,out,unique] PPAC_IDL_VALIDATION_INFO ValidationInfo,
  49. // [in,out,unique] PPAC_IDL_CREDENTIAL_DATA CredentialData
  50. // );
  51. }