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
Download Visual Studio Add-In

Search Results for "LocalAlloc" in [All]

rapi

.

    outBuffer = (LPTSTR) LocalAlloc( LPTR, sizeof(TCHAR) * MAXSTRINGLENGTH );

kernel32

.

static extern IntPtr LocalAlloc(uint uFlags, UIntPtr uBytes);

.

The following method wraps LocalAlloc in order to allocate a zeroed memory block of the specified size:

.

    IntPtr memPtr = LocalAlloc(LocalMemoryFlags.LPTR, new UIntPtr((uint)size));

.
Documentation
[LocalAlloc] on MSDN
.

LocalAlloc

Enums

.

These flags may be used with the LocalAlloc function.

.

See the [LocalAlloc] function on MSDN.


 
Access PInvoke.net directly from VS: