Cygwin: ntdll.h: Add some missing pipe-related definitions
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
f6ce72e623
commit
c0df506b83
|
@ -157,8 +157,14 @@ extern GUID __cygwin_socket_guid;
|
||||||
#define FILE_VC_VALID_MASK 0x000003ff
|
#define FILE_VC_VALID_MASK 0x000003ff
|
||||||
|
|
||||||
/* IOCTL code to impersonate client of named pipe. */
|
/* IOCTL code to impersonate client of named pipe. */
|
||||||
#define FSCTL_PIPE_IMPERSONATE CTL_CODE(FILE_DEVICE_NAMED_PIPE, 7, \
|
#define FSCTL_PIPE_DISCONNECT CTL_CODE(FILE_DEVICE_NAMED_PIPE, 1, \
|
||||||
METHOD_BUFFERED, FILE_ANY_ACCESS)
|
METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||||
|
#define FSCTL_PIPE_LISTEN CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2, \
|
||||||
|
METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||||
|
#define FSCTL_PIPE_WAIT CTL_CODE(FILE_DEVICE_NAMED_PIPE, 6, \
|
||||||
|
METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||||
|
#define FSCTL_PIPE_IMPERSONATE CTL_CODE(FILE_DEVICE_NAMED_PIPE, 7, \
|
||||||
|
METHOD_BUFFERED, FILE_ANY_ACCESS)
|
||||||
|
|
||||||
typedef enum _FILE_INFORMATION_CLASS
|
typedef enum _FILE_INFORMATION_CLASS
|
||||||
{
|
{
|
||||||
|
@ -1002,6 +1008,23 @@ typedef struct _FILE_PIPE_LOCAL_INFORMATION
|
||||||
ULONG NamedPipeEnd;
|
ULONG NamedPipeEnd;
|
||||||
} FILE_PIPE_LOCAL_INFORMATION, *PFILE_PIPE_LOCAL_INFORMATION;
|
} FILE_PIPE_LOCAL_INFORMATION, *PFILE_PIPE_LOCAL_INFORMATION;
|
||||||
|
|
||||||
|
/* Checked on 64 bit. */
|
||||||
|
typedef struct _FILE_PIPE_PEEK_BUFFER {
|
||||||
|
ULONG NamedPipeState;
|
||||||
|
ULONG ReadDataAvailable;
|
||||||
|
ULONG NumberOfMessages;
|
||||||
|
ULONG MessageLength;
|
||||||
|
CHAR Data[1];
|
||||||
|
} FILE_PIPE_PEEK_BUFFER, *PFILE_PIPE_PEEK_BUFFER;
|
||||||
|
|
||||||
|
/* Checked on 64 bit. */
|
||||||
|
typedef struct _FILE_PIPE_WAIT_FOR_BUFFER {
|
||||||
|
LARGE_INTEGER Timeout;
|
||||||
|
ULONG NameLength;
|
||||||
|
BOOLEAN TimeoutSpecified;
|
||||||
|
WCHAR Name[1];
|
||||||
|
} FILE_PIPE_WAIT_FOR_BUFFER, *PFILE_PIPE_WAIT_FOR_BUFFER;
|
||||||
|
|
||||||
/* Checked on 64 bit. */
|
/* Checked on 64 bit. */
|
||||||
typedef struct _FILE_COMPRESSION_INFORMATION
|
typedef struct _FILE_COMPRESSION_INFORMATION
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue