File.windowsHandleOpen

First calls detach (throwing on failure), and then attempts to associate the given Windows HANDLE with the File. The mode must be compatible with the access attributes of the handle. Windows only.

struct File
version(StdDdoc)
void
windowsHandleOpen
(
HANDLE handle
,
scope const(char)[] stdioOpenmode
)

Throws

ErrnoException in case of error.

Meta