NtDllRtlComputeCrc32 Method
Calculate the CRC-32 checksum of 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")]
public static uint RtlComputeCrc32(
uint initialValue,
IntPtr buffer,
uint bufferLen
)
<DllImportAttribute("NtDll.dll">]
Public Shared Function RtlComputeCrc32 (
initialValue As UInteger,
buffer As IntPtr,
bufferLen As UInteger
) As UInteger
Dim initialValue As UInteger
Dim buffer As IntPtr
Dim bufferLen As UInteger
Dim returnValue As UInteger
returnValue = NtDll.RtlComputeCrc32(initialValue,
buffer, bufferLen)
public:
[DllImportAttribute(L"NtDll.dll")]
static unsigned int RtlComputeCrc32(
[InAttribute] unsigned int initialValue,
[InAttribute] IntPtr buffer,
[InAttribute] unsigned int bufferLen
)
[<DllImportAttribute("NtDll.dll")>]
static member RtlComputeCrc32 :
initialValue : uint32 *
buffer : IntPtr *
bufferLen : uint32 -> uint32
No code example is currently available or this language may not be supported.
- initialValue UInt32
-
The value used to initialize the CRC value/register.
- buffer IntPtr
-
The block of bytes to calculate its CRC-32.
- bufferLen UInt32
-
Length of buffer, in bytes.
UInt32
The cumulative CRC-32 checksum of
initialValue and
bufferLen bytes of
buffer.