Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + const ObjectNameInformationClass — windows/amd64 + const ObjectTypeInformationClass — windows/amd64 + const Th32csSnapProcess — windows/amd64 + type API interface — windows/amd64 + CloseHandle func(h windows.Handle) error + CreateToolhelp32Snapshot func(flags uint32, pID uint32) (windows.Handle, error) + CurrentProcess func() windows.Handle + DuplicateHandle func(hSourceProcessHandle windows.Handle, hSourceHandle windows.Handle, ...) error + GetObjectName func(handle windows.Handle) (string, error) + GetObjectType func(handle windows.Handle) (string, error) + IsProcessInJob func(procHandle windows.Handle, jobHandle windows.Handle, result *bool) error + OpenProcess func(desiredAccess uint32, inheritHandle bool, pID uint32) (windows.Handle, error) + Process32First func(snapshot windows.Handle, procEntry *windows.ProcessEntry32) error + Process32Next func(snapshot windows.Handle, procEntry *windows.ProcessEntry32) error + QuerySystemExtendedHandleInformation func() ([]SystemHandleInformationExItem, error) + type Helper interface — windows/amd64 + GetContainerIDByProcess func(pID int32, log hclog.Logger) (string, error) + func CreateHelper() Helper + type ObjectTypeInformation struct — windows/amd64 + TotalNonPagedPoolUsage uint32 + TotalNumberOfHandles uint32 + TotalNumberOfObjects uint32 + TotalPagedPoolUsage uint32 + TypeName UnicodeString + type SystemExtendedHandleInformation struct — windows/amd64 + Handles [1]SystemHandleInformationExItem + NumberOfHandles uintptr + Reserved uintptr + type SystemHandleInformationExItem struct — windows/amd64 + CreatorBackTraceIndex uint16 + GrantedAccess uint32 + HandleAttributes uint32 + HandleValue uintptr + Object uintptr + ObjectTypeIndex uint16 + Reserved uint32 + UniqueProcessID uintptr + type UnicodeString struct — windows/amd64 + AllocatedSize uint16 + Length uint16 + WString *byte + func (u UnicodeString) String() string