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.

49 lines
874 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. dispatch.h
  5. Abstract:
  6. This files contains declarations for the NAT IRP dispatch code.
  7. Author:
  8. Abolade Gbadegesin (t-abolag) 11-July-1997
  9. Revision History:
  10. --*/
  11. #ifndef _NAT_DISPATCH_H_
  12. #define _NAT_DISPATCH_H_
  13. extern KSPIN_LOCK NatFileObjectLock;
  14. extern HANDLE NatOwnerProcessId;
  15. extern ULONG NatFileObjectCount;
  16. NTSTATUS
  17. NatDispatch(
  18. PDEVICE_OBJECT DeviceObject,
  19. PIRP Irp
  20. );
  21. BOOLEAN
  22. NatFastIoDeviceControl(
  23. PFILE_OBJECT FileObject,
  24. BOOLEAN Wait,
  25. PVOID InputBuffer,
  26. ULONG InputBufferLength,
  27. PVOID OutputBuffer,
  28. ULONG OutputBufferLength,
  29. ULONG IoControlCode,
  30. PIO_STATUS_BLOCK IoStatus,
  31. PDEVICE_OBJECT DeviceObject
  32. );
  33. extern FAST_IO_DISPATCH NatFastIoDispatch;
  34. #endif // _NAT_DISPATCH_H_