Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrEmptyBuffer is returned when a nil or zero-sized buffer is provided // to a system call. ErrEmptyBuffer = errors.New("nil or empty buffer provided") )
Functions ¶
func ProcessCommandLine ¶
ProcessCommandLine requests the command line of a process from the NT kernel. It calls ProcessInfo.
This call is only supported on Windows 10 1511 or newer.
func ProcessInfo ¶
func ProcessInfo(process syscall.Handle, class processinfo.Class, buffer []byte) (n uint32, err error)
ProcessInfo requests information about a process from the NT kernel. It calls the NtQueryInformationProcess NT native API function.
The type of information to be retrieved is defined by the given information class.
https://docs.microsoft.com/en-us/windows/desktop/api/winternl/nf-winternl-ntqueryinformationprocess
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.