windows-nt/Source/XPSP1/NT/public/sdk/inc/ntddnpfs.h

65 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++ BUILD Version: 0001 // Increment this if a change has global effects
Copyright (c) 1990-1999 Microsoft Corporation
Module Name:
ntddnpfs.h
Abstract:
This is the include file that defines all constants and types for
accessing the Named pipe file system device.
Author:
Steve Wood (stevewo) 27-May-1990
Revision History:
--*/
#ifndef _NTDDNPFS_
#define _NTDDNPFS_
#if _MSC_VER > 1000
#pragma once
#endif
#ifdef __cplusplus
extern "C" {
#endif
//
// Device Name - this string is the name of the device. It is the name
// that should be passed to NtOpenFile when accessing the device.
//
// Note: For devices that support multiple units, it should be suffixed
// with the Ascii representation of the unit number.
//
#define DD_NPFS_DEVICE_NAME "\\Device\\UNKNOWN"
//
// NtDeviceIoControlFile IoControlCode values for this device.
//
// Warning: Remember that the low two bits of the code specify how the
// buffers are passed to the driver!
//
#define IOCTL_NPFS_BASE FILE_DEVICE_NAMED_PIPE
//
// NtDeviceIoControlFile InputBuffer/OutputBuffer record structures for
// this device.
//
#ifdef __cplusplus
}
#endif
#endif // _NTDDNPFS_