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.

72 lines
1.2 KiB

  1. /*++
  2. Copyright (c) 1989-1993 Microsoft Corporation
  3. Module Name:
  4. spxntdef.h
  5. Abstract:
  6. Missing nt definitions in ntddk.h
  7. Author:
  8. Nikhil Kamkolkar (nikhilk) 11-November-1993
  9. Environment:
  10. Kernel mode
  11. Revision History:
  12. --*/
  13. NTSTATUS
  14. NTAPI
  15. NtCreateFile(
  16. OUT PHANDLE FileHandle,
  17. IN ACCESS_MASK DesiredAccess,
  18. IN POBJECT_ATTRIBUTES ObjectAttributes,
  19. OUT PIO_STATUS_BLOCK IoStatusBlock,
  20. IN PLARGE_INTEGER AllocationSize OPTIONAL,
  21. IN ULONG FileAttributes,
  22. IN ULONG ShareAccess,
  23. IN ULONG CreateDisposition,
  24. IN ULONG CreateOptions,
  25. IN PVOID EaBuffer OPTIONAL,
  26. IN ULONG EaLength
  27. );
  28. NTSTATUS
  29. NTAPI
  30. NtClose(
  31. IN HANDLE Handle
  32. );
  33. NTSTATUS
  34. NTAPI
  35. NtDeviceIoControlFile(
  36. IN HANDLE FileHandle,
  37. IN HANDLE Event OPTIONAL,
  38. IN PIO_APC_ROUTINE ApcRoutine OPTIONAL,
  39. IN PVOID ApcContext OPTIONAL,
  40. OUT PIO_STATUS_BLOCK IoStatusBlock,
  41. IN ULONG IoControlCode,
  42. IN PVOID InputBuffer OPTIONAL,
  43. IN ULONG InputBufferLength,
  44. OUT PVOID OutputBuffer OPTIONAL,
  45. IN ULONG OutputBufferLength
  46. );
  47. NTSTATUS
  48. NTAPI
  49. NtWaitForSingleObject(
  50. IN HANDLE Handle,
  51. IN BOOLEAN Alertable,
  52. IN PLARGE_INTEGER Timeout OPTIONAL
  53. );