NtDllRtlCrc64 Method
Calculates the CRC-64 checksum for a block of bytes.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("NtDll.dll", SetLastError = true)]
public static ulong RtlCrc64(
byte[] buffer,
IntPtr size,
ulong initialValue = 18446744073709551615
)
<DllImportAttribute("NtDll.dll", SetLastError := true>]
Public Shared Function RtlCrc64 (
buffer As Byte(),
size As IntPtr,
Optional initialValue As ULong = 18446744073709551615
) As ULong
Dim buffer As Byte()
Dim size As IntPtr
Dim initialValue As ULong
Dim returnValue As ULong
returnValue = NtDll.RtlCrc64(buffer,
size, initialValue)
public:
[DllImportAttribute(L"NtDll.dll", SetLastError = true)]
static unsigned long long RtlCrc64(
[InAttribute] array<unsigned char>^ buffer,
[InAttribute] IntPtr size,
[InAttribute] unsigned long long initialValue = 18446744073709551615
)
[<DllImportAttribute("NtDll.dll", SetLastError = true)>]
static member RtlCrc64 :
buffer : byte[] *
size : IntPtr *
?initialValue : uint64
(* Defaults:
let _initialValue = defaultArg initialValue 18446744073709551615
*)
-> uint64
No code example is currently available or this language may not be supported.
- buffer Byte
-
The buffer containing the data to calculate its CRC checksum.
- size IntPtr
-
The size of buffer parameter, in bytes.
- initialValue UInt64 (Optional)
-
The value used to initialize the CRC value/register.
UInt64
Returns the resulting CRC-64 checksum.