9#ifndef LLDB_HOST_WINDOWS_WINDOWSFILEACTION_H
10#define LLDB_HOST_WINDOWS_WINDOWSFILEACTION_H
void Clear()
Reset this FileAction to its default state.
HANDLE GetHandle() const
Get the Windows HANDLE for this action's file.
HANDLE GetActionArgumentHandle() const
Get the Windows HANDLE argument for eFileActionDuplicate actions.
WindowsFileAction(const FileAction &fa)
Allow implicit conversion from a base FileAction.
bool Open(HANDLE fh, const FileSpec &file_spec, bool read, bool write)
Configure this action to associate a Windows file handle with a file.
void Clear()
Reset this WindowsFileAction to its default state.
WindowsFileAction()=default
bool Duplicate(HANDLE fh, HANDLE dup_fh)
Configure this action to duplicate a Windows file handle.
#define LLDB_INVALID_PIPE
A class that represents a running process on the host machine.