public IntPtr DsmMemAlloc(uint a_u32Size)
{
IntPtr intptr;
// Use the DSM...
...
// Do it ourselves, Windows...
if (ms_platform == Platform.WINDOWS)
{
intptr = (IntPtr)NativeMethods.GlobalAlloc((uint)a_u32Size, (UIntPtr)0x0042 /* GHND */);
The first parameter should be the flag, as defined below
The first parameter should be the flag, as defined below