For P/Invoke purposes like you’ve listed, you should use IntPtr.Zero in place of NULL. Note that this is not equivalent to the C# null keyword, however.
For P/Invoke purposes like you’ve listed, you should use IntPtr.Zero in place of NULL. Note that this is not equivalent to the C# null keyword, however.