Kernel32EncodePointer(IntPtr) Method
Encodes the specified pointer.
Encoded pointers can be used to provide another layer of protection for pointer values.
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("Kernel32.dll", ExactSpelling = true)]
public static IntPtr EncodePointer(
IntPtr ptr
)
<DllImportAttribute("Kernel32.dll", ExactSpelling := true>]
Public Shared Function EncodePointer (
ptr As IntPtr
) As IntPtr
Dim ptr As IntPtr
Dim returnValue As IntPtr
returnValue = Kernel32.EncodePointer(ptr)
public:
[DllImportAttribute(L"Kernel32.dll", ExactSpelling = true)]
static IntPtr EncodePointer(
[InAttribute] IntPtr ptr
)
[<DllImportAttribute("Kernel32.dll", ExactSpelling = true)>]
static member EncodePointer :
ptr : IntPtr -> IntPtr
No code example is currently available or this language may not be supported.
- ptr IntPtr
-
The pointer to be encoded.
IntPtr
Returns the encoded pointer.