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  Offset,
+
<pre class="brush:cpp;gutter:false">HRESULT Read([in]                      ULONG_PTR  nOffset,
             [in]                      void*      Dest,
+
             [in]                      void*      pDest,
             [in]                      ULONG_PTR  DestSize,
+
             [in]                      ULONG_PTR  nDestSize,
             [out, defaultvalue(NULL)]  ULONG_PTR*  ReadSize);</pre>
+
             [out, defaultvalue(NULL)]  ULONG_PTR*  nReadSize);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Offset
+
;nOffset
 
:[in]  Value of ULONG_PTR.
 
:[in]  Value of ULONG_PTR.
;Dest
+
;pDest
 
:[in]  Pointer to void.
 
:[in]  Pointer to void.
;DestSize
+
;nDestSize
 
:[in]  Value of ULONG_PTR.
 
:[in]  Value of ULONG_PTR.
;ReadSize
+
;nReadSize
 
:[out, defaultvalue(NULL)]  Pointer to ULONG_PTR.
 
:[out, defaultvalue(NULL)]  Pointer to ULONG_PTR.
  

Latest revision as of 03:17, 15 June 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, defaultvalue(NULL)]  ULONG_PTR*  nReadSize);

Parameters

nOffset
[in] Value of ULONG_PTR.
pDest
[in] Pointer to void.
nDestSize
[in] Value of ULONG_PTR.
nReadSize
[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