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

Function CryptCatalogAdminAcquireContext

pkg/sys/zsyscall_windows.go:341–347  ·  view source on GitHub ↗
(handle *windows.Handle, subsystem *windows.GUID, hashAlgorithm *uint16, hashPolicy uintptr, flags uint32)

Source from the content-addressed store, hash-verified

339}
340
341func CryptCatalogAdminAcquireContext(handle *windows.Handle, subsystem *windows.GUID, hashAlgorithm *uint16, hashPolicy uintptr, flags uint32) (err error) {
342 r1, _, e1 := syscall.Syscall6(procCryptCATAdminAcquireContext2.Addr(), 5, uintptr(unsafe.Pointer(handle)), uintptr(unsafe.Pointer(subsystem)), uintptr(unsafe.Pointer(hashAlgorithm)), uintptr(hashPolicy), uintptr(flags), 0)
343 if r1 == 0 {
344 err = errnoErr(e1)
345 }
346 return
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)

Callers 1

OpenMethod · 0.85

Calls 1

errnoErrFunction · 0.70

Tested by

no test coverage detected