Ole32CoTaskMemFree Method
Frees a block of task memory previously allocated through a call to the
CoTaskMemAlloc or CoTaskMemRealloc function.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Ole32.dll")]
public static void CoTaskMemFree(
IntPtr pv
)
<DllImportAttribute("Ole32.dll">]
Public Shared Sub CoTaskMemFree (
pv As IntPtr
)
Dim pv As IntPtr
Ole32.CoTaskMemFree(pv)
public:
[DllImportAttribute(L"Ole32.dll")]
static void CoTaskMemFree(
IntPtr pv
)
[<DllImportAttribute("Ole32.dll")>]
static member CoTaskMemFree :
pv : IntPtr -> unit
No code example is currently available or this language may not be supported.
Parameters
- pv IntPtr
-
A pointer to the memory block to be freed. If this parameter is Zero, the function has no effect.