Kernel32EncodeSystemPointer(UIntPtr) Method

Encodes the specified pointer with a system-specific value.

Encoded pointers can be used to provide another layer of protection for pointer values.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", ExactSpelling = true)]
public static UIntPtr EncodeSystemPointer(
	UIntPtr ptr
)

Parameters

ptr  UIntPtr
The system pointer to be encoded.

Return Value

UIntPtr
Returns the encoded pointer.

Remarks

See Also