Purpose
Gets the content in the format of a string with the given size.
Syntax
MIGetContentBuffer( ByVal hContent As CString, pBuffer As String,
ByVal nLen As Integer As SmallInt
hContent is a CString handle.
pBuffer is a reference to a string that receives the content of the file.
nLen is the size of pBuffer in number of characters or bytes.
Return Value
Nonzero if successful; otherwise 0. To determine the cause of the failure, call the MIGetErrorMessage() function.
Description
Use MIGetContentBuffer() to get the content of the file in string format with a given size. You have to allocate memory for pBuffer before calling this function.