blob: 711c5f53e89732faa0e660485a09eb28372613a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/********************************************************/
/* ntapi: Native API core library */
/* Copyright (C) 2013--2017 Z. Gilboa */
/* Released under GPLv2 and GPLv3; see COPYING.NTAPI. */
/********************************************************/
#ifndef ___NTAPI_PTY_H_
#define ___NTAPI_PTY_H_
#include <psxtypes/psxtypes.h>
#include <ntapi/nt_status.h>
#include <ntapi/nt_guid.h>
#include <ntapi/nt_sync.h>
#include <ntapi/nt_tty.h>
#define __PTY_READ 0
#define __PTY_WRITE 1
typedef struct nt_pty_context {
nt_sync_block sync[2];
void * addr;
size_t size;
void * hport;
void * hpty;
void * section;
void * section_addr;
size_t section_size;
nt_guid guid;
nt_luid luid;
uint32_t access;
uint32_t flags;
uint32_t share;
uint32_t options;
nt_iosb iosb;
} nt_pty;
#endif
|