EldoS
MsgConnect home / Documentation / MCMemAlloc function
Navigation
Web site
Support
Table Of Contents

Filter: C++  Pascal  ActiveX  C#  VB.NET  Java SE  Java ME  Palm  DLL 


MCMemAlloc

See also    


Allocates block of memory of specified size and returns a pointer to this block.

Declaration

[C++]
    void* MCMemAlloc(long Size);

[Pascal]
    function MCMemAlloc(Size : integer) : pointer;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[C#]
    public static byte[] MCMemAlloc(Size);

[VB.NET]
    Public Shared Function MCMemAlloc(ByVal size As Integer) As Byte()

[Java]
    not applicable, use standard byte array allocation;

[Java ME]
    not applicable, use standard byte array allocation;

[Palm]
    void* MCMemAlloc(long Size);

[DLL]
    __stdcall void* MCMemAlloc(long Size);

Parameters

  • Size - size of the memory block to be allocated

Return value

    Pointer to the requested block or NULL (nil) if memory allocation failed.

Description

    Use this method to allocate a memory block suitable for use with MCMessage structure.

See also:     MCMessage structure     MCMemFree    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation