-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Hi Jon,
Not a bug and not sure if it is even an issue... I was implementing named pipes for an app using the following UDT and enum (which work). I always like to normalize api declares against WinDevLib but I couldn't find STDIO_BUFFER type and the CRTFileDescriptorModeFlags enum. Do these look familiar to you? I found the CRT file descriptor mode flags from here. Wondering if these exist in WinDevLib under different names?
'packing alignment set to 1 because crt_flags and os_handle must reside in contiguous memory
[PackingAlignment(1)]
Private Type STDIO_BUFFER
number_of_fds As Long
crt_flags(0 To 4) As Byte
os_handle(0 To 4) As LongPtr
End Type
Private Enum CRTFileDescriptorModeFlags
FOPEN = &H00000001
FEOFLAG = &H00000002
FCRLF = &H00000004
FPIPE = &H00000008
FNOINHERIT = &H00000010
FAPPEND = &H00000020
FDEV = &H00000040
FTEXT = &H00000080
End Enum
Metadata
Metadata
Assignees
Labels
No labels