MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / QueryWorkingSet

Function QueryWorkingSet

pkg/sys/zsyscall_windows.go:269–275  ·  view source on GitHub ↗
(handle windows.Handle, ws *MemoryWorkingSetExInformation, size uint32)

Source from the content-addressed store, hash-verified

267}
268
269func QueryWorkingSet(handle windows.Handle, ws *MemoryWorkingSetExInformation, size uint32) (err error) {
270 r1, _, e1 := syscall.Syscall(procQueryWorkingSetEx.Addr(), 3, uintptr(handle), uintptr(unsafe.Pointer(ws)), uintptr(size))
271 if r1 == 0 {
272 err = errnoErr(e1)
273 }
274 return
275}
276
277func SHGetStockIconInfo(id int32, flags uint32, icon *ShStockIcon) (err error) {
278 r1, _, e1 := syscall.Syscall(procSHGetStockIconInfo.Addr(), 3, uintptr(id), uintptr(flags), uintptr(unsafe.Pointer(icon)))

Callers 1

ws.goFile · 0.92

Calls 1

errnoErrFunction · 0.70

Tested by

no test coverage detected