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.

46 lines
932 B

  1. #pragma once
  2. typedef struct _tagRTLSXS_ASM_IDENT_HANDLE_TABLE_SLOT {
  3. USHORT usGeneration;
  4. PASSEMBLY_IDENTITY *pIdentity;
  5. }
  6. RTLSXS_ASM_IDENT_HANDLE_TABLE_SLOT, *PRTLSXS_ASM_IDENT_HANDLE_TABLE_SLOT;
  7. typedef struct _tagRTLSXS_ASM_IDENT_HANDLE_TABLE {
  8. ULONG ulInlineCount;
  9. ULONG ulHeapCount;
  10. PRTLSXS_ASM_IDENT_HANDLE_TABLE_SLOT InlineList;
  11. PRTLSXS_ASM_IDENT_HANDLE_TABLE_SLOT HeapList;
  12. }
  13. RTLSXS_ASM_IDENT_HANDLE_TABLE, *PRTLSXS_ASM_IDENT_HANDLE_TABLE;
  14. NTSTATUS
  15. RtlAllocateIdentityHandle(
  16. PRTLSXS_ASM_IDENT_HANDLE_TABLE pHandleTable,
  17. PHANDLE pHandle,
  18. PASSEMBLY_IDENTITY pIdentity
  19. );
  20. NTSTATUS
  21. RtlFreeIdentityHandle(
  22. PRTLSXS_ASM_IDENT_HANDLE_TABLE pHandleTable,
  23. PHANDLE pHandle
  24. );
  25. NTSTATUS
  26. RtlDerefIdentityHandle(
  27. PRTLSXS_ASM_IDENT_HANDLE_TABLE pHandleTable,
  28. HANDLE hHandle,
  29. PASSEMBLY_IDENTITY *ppAsmIdent
  30. );