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

Revision as of 02:09, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT nRead([in]   LONGLONG   nPos,
             [in]   void*      pPv,
             [in]   LONGLONG   cb,
             [out]  LONGLONG*  nRead,
             [in]   IString*   pErrDetails,
             [in]   IFlag*     pCancelFlag,
             [in]   LONGLONG   cbLeftToRead);

Parameters

nPos
[in] Value of LONGLONG.
pPv
[in] Pointer to void.
cb
[in] Value of LONGLONG.
nRead
[out] Pointer to LONGLONG.
pErrDetails
[in] Pointer to IString.
pCancelFlag
[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