Frees memory, previously allocated from from the process' unmanaged, native heap.
[Visual Basic] Public Shared Sub FreeHGlobal( _ ByVal hglobal As Integer _ ) [C#] public static void FreeHGlobal( int hglobal ); [C++] public: static void FreeHGlobal( int hglobal ); [JScript] public static function FreeHGlobal( hglobal : int );
Exception Type | Condition |
---|---|
System.Runtime.InteropServices.ArgumentException | if there is any failure. |
Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace