Macros | Functions | Variables
pty_conpty_win.c File Reference
#include <uv.h>
#include "nvim/os/os.h"
#include "nvim/os/pty_conpty_win.h"
#include "nvim/vim.h"

Macros

#define EXTENDED_STARTUPINFO_PRESENT   0x00080000
 
#define PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE   0x00020016
 

Functions

 HRESULT (WINAPI *pCreatePseudoConsole)(COORD
 
 void (WINAPI *pClosePseudoConsole)(HPCON)
 
bool os_has_conpty_working (void)
 
TriState os_dyn_conpty_init (void)
 
conpty_tos_conpty_init (char **in_name, char **out_name, uint16_t width, uint16_t height)
 
bool os_conpty_spawn (conpty_t *conpty_object, HANDLE *process_handle, wchar_t *name, wchar_t *cmd_line, wchar_t *cwd, wchar_t *env)
 
void os_conpty_set_size (conpty_t *conpty_object, uint16_t width, uint16_t height)
 
void os_conpty_free (conpty_t *conpty_object)
 

Variables

 HANDLE
 
 DWORD
 
HPCON COORD
 

Macro Definition Documentation

◆ EXTENDED_STARTUPINFO_PRESENT

#define EXTENDED_STARTUPINFO_PRESENT   0x00080000

◆ PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE

#define PROC_THREAD_ATTRIBUTE_PSEUDOCONSOLE   0x00020016

Function Documentation

◆ HRESULT()

HPCON * HRESULT ( WINAPI *  pCreatePseudoConsole)

◆ os_conpty_free()

void os_conpty_free ( conpty_t conpty_object)

◆ os_conpty_init()

conpty_t* os_conpty_init ( char **  in_name,
char **  out_name,
uint16_t  width,
uint16_t  height 
)

◆ os_conpty_set_size()

void os_conpty_set_size ( conpty_t conpty_object,
uint16_t  width,
uint16_t  height 
)

◆ os_conpty_spawn()

bool os_conpty_spawn ( conpty_t conpty_object,
HANDLE process_handle,
wchar_t *  name,
wchar_t *  cmd_line,
wchar_t *  cwd,
wchar_t *  env 
)

◆ os_dyn_conpty_init()

TriState os_dyn_conpty_init ( void  )

◆ os_has_conpty_working()

bool os_has_conpty_working ( void  )

◆ void()

void ( WINAPI *  pClosePseudoConsole)

Variable Documentation

◆ COORD

HPCON COORD

◆ DWORD

DWORD

◆ HANDLE

HANDLE