IAPI::AllocString

property AllocString.

Allocates a memory block for C-String data.

 

HRESULT AllocString(
  long stringSize,
  long *pVal
);

Parameters

stringSize

[in] . Size in bytes for allocating

pVal

[out, retval] The returned value is a valid memory pointer or 0 if failed.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI