NativeMethods.GlobalFree Method

Frees the specified global memory object and invalidates its handle.

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function GlobalFree ( _
    handle As HandleRef _
) As IntPtr
'Usage
Dim handle As HandleRef
Dim returnValue As IntPtr

returnValue = NativeMethods.GlobalFree(handle)
public static IntPtr GlobalFree(
    HandleRef handle
)
public:
static IntPtr GlobalFree(
    HandleRef handle
)
public static function GlobalFree(
    handle : HandleRef
) : IntPtr
static member GlobalFree : 
        handle:HandleRef -> IntPtr 

Parameters

Return Value

Type: System.IntPtr
Returns null if the method succeeds; otherwise, the return value is equal to a handle to the global memory object.

.NET Framework Security

See Also

Reference

NativeMethods Class

NativeMethods Members

Microsoft.VisualStudio Namespace