Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "CoTaskMemFree" in [All]

secur32

.
DynamicLoader
ole32/CoTaskMemFree
.
DynamicLoader
api-ms-win-downlevel-ole32-l1-1-0/CoTaskMemFree

advapi32

.

As explained [here], memory for the returned unmanaged string must be freed by calling LocalFree. Therefore, you must define the string as an IntPtr in managed code and call LocalFree yourself. Otherwise, the marshaler would call CoTaskMemFree which is not correct in this case.

credui

.

public static extern void CoTaskMemFree(IntPtr ptr);

.

         CoTaskMemFree(outCredBuffer);

ole32

.
Summary
.

static extern void CoTaskMemFree(IntPtr pv);

.
Documentation
[CoTaskMemFree] on MSDN

Interfaces

.

    // ppwszTip will be freed by marshler using CoTaskMemFree()


 
Access PInvoke.net directly from VS: