IMemBlock::Read Method

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

Revision as of 06:51, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Read([in]                       ULONG_PTR   Offset,
             [in]                       void*       Dest,
             [in]                       ULONG_PTR   DestSize,
             [out, defaultvalue(NULL)]  ULONG_PTR*  ReadSize);

Parameters

Offset
[in] Value of ULONG_PTR.
Dest
[in] Pointer to void.
DestSize
[in] Value of ULONG_PTR.
ReadSize
[out, defaultvalue(NULL)] Pointer to ULONG_PTR.

Return Value

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

See Also

IMemBlock