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

Function CryptCatalogAdminCalcHashFromFileHandle

pkg/sys/zsyscall_windows.go:349–355  ·  view source on GitHub ↗
(handle windows.Handle, fd uintptr, size *uint32, hash uintptr, flags uint32)

Source from the content-addressed store, hash-verified

347}
348
349func CryptCatalogAdminCalcHashFromFileHandle(handle windows.Handle, fd uintptr, size *uint32, hash uintptr, flags uint32) (err error) {
350 r1, _, e1 := syscall.Syscall6(procCryptCATAdminCalcHashFromFileHandle2.Addr(), 5, uintptr(handle), uintptr(fd), uintptr(unsafe.Pointer(size)), uintptr(hash), uintptr(flags), 0)
351 if r1 == 0 {
352 err = errnoErr(e1)
353 }
354 return
355}
356
357func CryptCatalogAdminEnumCatalogFromHash(handle windows.Handle, hash uintptr, size uint32, flags uint32, prevCatalog *windows.Handle) (catalog windows.Handle) {
358 r0, _, _ := syscall.Syscall6(procCryptCATAdminEnumCatalogFromHash.Addr(), 5, uintptr(handle), uintptr(hash), uintptr(size), uintptr(flags), uintptr(unsafe.Pointer(prevCatalog)), 0)

Callers 1

OpenMethod · 0.85

Calls 1

errnoErrFunction · 0.70

Tested by

no test coverage detected