NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Marshal.FreeCoTaskMem

Frees a block of memory allocated by the unmanaged COM task memory allocator.

[Visual Basic]
Public Shared Sub FreeCoTaskMem( _
   ByVal ptr As Integer _
)
[C#]
public static void FreeCoTaskMem(
   int ptr
);
[C++]
public: static void FreeCoTaskMem(
   int ptr
);
[JScript]
public static function FreeCoTaskMem(
   ptr : int
);

Parameters

ptr
Integer representation of the address of the memory to be freed.

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace