Hi there,
I am having to pass a ULONG_PTR
in unsafe code in C#.
I understand that the reason for ULONG_PTR
is to allow for a single codebase for both 32bit and 64bit operating systems.
Is this a case for C#'s UIntPtr
? Can I be confident when passing a .Net UIntPtr
as an ULONG_PTR
parameter?
Thanks!