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
49 lines
874 B
/*++
|
|
|
|
Copyright (c) 1997 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
dispatch.h
|
|
|
|
Abstract:
|
|
|
|
This files contains declarations for the NAT IRP dispatch code.
|
|
|
|
Author:
|
|
|
|
Abolade Gbadegesin (t-abolag) 11-July-1997
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#ifndef _NAT_DISPATCH_H_
|
|
#define _NAT_DISPATCH_H_
|
|
|
|
extern KSPIN_LOCK NatFileObjectLock;
|
|
extern HANDLE NatOwnerProcessId;
|
|
extern ULONG NatFileObjectCount;
|
|
|
|
NTSTATUS
|
|
NatDispatch(
|
|
PDEVICE_OBJECT DeviceObject,
|
|
PIRP Irp
|
|
);
|
|
|
|
BOOLEAN
|
|
NatFastIoDeviceControl(
|
|
PFILE_OBJECT FileObject,
|
|
BOOLEAN Wait,
|
|
PVOID InputBuffer,
|
|
ULONG InputBufferLength,
|
|
PVOID OutputBuffer,
|
|
ULONG OutputBufferLength,
|
|
ULONG IoControlCode,
|
|
PIO_STATUS_BLOCK IoStatus,
|
|
PDEVICE_OBJECT DeviceObject
|
|
);
|
|
|
|
extern FAST_IO_DISPATCH NatFastIoDispatch;
|
|
|
|
#endif // _NAT_DISPATCH_H_
|