IIXC_Image::LoadFromMemory Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 7: Line 7:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT LoadFromMemory([in]  UCHAR*  nData,
+
<pre class="brush:cpp;gutter:false">HRESULT LoadFromMemory([in]  UCHAR*  Data,
                       [in]  ULONG  nDataSize);</pre>
+
                       [in]  ULONG  DataSize);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nData
+
;Data
 
:[in]  Specifies a pointer to a memory buffer containing image information.
 
:[in]  Specifies a pointer to a memory buffer containing image information.
;nDataSize
+
;DataSize
:[in]  Specifies the size of the buffer pointed to by '''nData'''.
+
:[in]  Specifies the size of the buffer pointed to by '''Data'''.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 06:49, 12 June 2015

The method loads an image from a memory buffer.

Syntax

HRESULT LoadFromMemory([in]  UCHAR*  Data,
                       [in]  ULONG   DataSize);

Parameters

Data
[in] Specifies a pointer to a memory buffer containing image information.
DataSize
[in] Specifies the size of the buffer pointed to by Data.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IIXC_Image