IAFS_FileCacheCallbacks::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]  LONGLONG  nPos,
+
<pre class="brush:cpp;gutter:false">HRESULT Read([in]  LONGLONG  Pos,
             [in]  void*      pPv,
+
             [in]  void*      pv,
 
             [in]  LONGLONG  cb,
 
             [in]  LONGLONG  cb,
             [out]  LONGLONG*  nRead,
+
             [out]  LONGLONG*  Read,
             [in]  IString*  pErrDetails,
+
             [in]  IString*  ErrDetails,
             [in]  IFlag*    pCancelFlag,
+
             [in]  IFlag*    CancelFlag,
 
             [in]  LONGLONG  cbLeftToRead);</pre>
 
             [in]  LONGLONG  cbLeftToRead);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nPos
+
;Pos
 
:[in]  Value of LONGLONG.
 
:[in]  Value of LONGLONG.
;pPv
+
;pv
 
:[in]  Pointer to void.
 
:[in]  Pointer to void.
 
;cb
 
;cb
 
:[in]  Value of LONGLONG.
 
:[in]  Value of LONGLONG.
;nRead
+
;Read
 
:[out]  Pointer to LONGLONG.
 
:[out]  Pointer to LONGLONG.
;pErrDetails
+
;ErrDetails
 
:[in]  Pointer to [[PXV:IString|IString]].
 
:[in]  Pointer to [[PXV:IString|IString]].
;pCancelFlag
+
;CancelFlag
 
:[in]  Pointer to [[PXV:IFlag|IFlag]].
 
:[in]  Pointer to [[PXV:IFlag|IFlag]].
 
;cbLeftToRead
 
;cbLeftToRead

Revision as of 08:41, 10 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Read([in]   LONGLONG   Pos,
             [in]   void*      pv,
             [in]   LONGLONG   cb,
             [out]  LONGLONG*  Read,
             [in]   IString*   ErrDetails,
             [in]   IFlag*     CancelFlag,
             [in]   LONGLONG   cbLeftToRead);

Parameters

Pos
[in] Value of LONGLONG.
pv
[in] Pointer to void.
cb
[in] Value of LONGLONG.
Read
[out] Pointer to LONGLONG.
ErrDetails
[in] Pointer to IString.
CancelFlag
[in] Pointer to IFlag.
cbLeftToRead
[in] Value of LONGLONG.

Return Value

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

See Also

IAFS_FileCacheCallbacks