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.

53 lines
1014 B

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Copyright (C) 1992, Microsoft Corporation
  4. //
  5. // File: ntext.h
  6. //
  7. // Contents: Missing NT Function prototypes.
  8. //
  9. // Classes:
  10. //
  11. // Functions: ZwFsControlFile
  12. //
  13. // History: 12-28-95 Milans Created
  14. //
  15. //-----------------------------------------------------------------------------
  16. #ifndef _NT_EXT_
  17. #define _NT_EXT_
  18. #ifdef KERNEL_MODE
  19. NTSYSAPI
  20. NTSTATUS
  21. NTAPI
  22. ZwFsControlFile(
  23. IN HANDLE FileHandle,
  24. IN HANDLE Event OPTIONAL,
  25. IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
  26. IN PVOID ApcContext OPTIONAL,
  27. OUT PIO_STATUS_BLOCK IoStatusBlock,
  28. IN ULONG FsControlCode,
  29. IN PVOID InputBuffer OPTIONAL,
  30. IN ULONG InputBufferLength,
  31. OUT PVOID OutputBuffer OPTIONAL,
  32. IN ULONG OutputBufferLength);
  33. #else // !KERNEL_MODE
  34. NTSYSAPI
  35. NTSTATUS
  36. NTAPI
  37. NtClose(
  38. IN HANDLE Handle);
  39. NTSYSAPI
  40. VOID
  41. NTAPI
  42. RtlRaiseStatus (
  43. IN NTSTATUS Status);
  44. #endif // KERNEL_MODE
  45. #endif // _NT_EXT_