globalalloc (kernel32)
Last changed: genidiot@genidiot.com-68.21.231.134

.
Summary

C# Signature:

[DllImport("kernel32.dll")]
static extern IntPtr GlobalAlloc(uint uFlags, UIntPtr dwBytes);

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

None.

Documentation
GlobalAlloc on MSDN

VB.Net Signature:

   <DllImport("kernel32.dll", ExactSpelling:=True)> _
    Friend Shared Function GlobalAlloc(ByVal flags As Integer, ByVal size As Integer) As IntPtr
    End Function

or try...

    <DllImport("KERNEL32.DLL", EntryPoint:="GlobalAlloc", _
       SetLastError:=True, CharSet:=CharSet.Unicode, _
       ExactSpelling:=True, _
       CallingConvention:=CallingConvention.StdCall)> _
    Public Shared Function GlobalAlloc(ByVal src As Long, ByVal dst As Long) As Integer
    ' Leave function empty!
    End Function

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

None.

Documentation
GlobalAlloc on MSDN