IMemBlock::Read Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Read([in] ULONG_PTR nOffset, [in] void* pDest, [in] ULONG_PTR nDestSize, [out, optional] ULONG_PTR* pReadSize);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Read([in] ULONG_PTR nOffset, [in] void* pDest, [in] ULONG_PTR nDestSize, [out, optional, defaultvalue(NULL)] ULONG_PTR* pReadSize);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 15: Line 15:
 
:[in]  Value of ULONG_PTR.
 
:[in]  Value of ULONG_PTR.
 
;''pReadSize''
 
;''pReadSize''
:[out, optional]  Pointer to ULONG_PTR.
+
:[out, optional, defaultvalue(NULL)]  Pointer to ULONG_PTR.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 10:44, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Read([in] ULONG_PTR nOffset, [in] void* pDest, [in] ULONG_PTR nDestSize, [out, optional, defaultvalue(NULL)] ULONG_PTR* pReadSize);

Parameters

nOffset
[in] Value of ULONG_PTR.
pDest
[in] Pointer to void.
nDestSize
[in] Value of ULONG_PTR.
pReadSize
[out, optional, defaultvalue(NULL)] Pointer to ULONG_PTR.

Return Value

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

See Also

See also IMemBlock.