IAFS_FileCache::Read Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (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] LONGLONG Pos, [in] void* pv, LONGLONG cbRead, [out] LONGLONG* pcbRead, [in, optional, defaultvalue(NULL)] IString* pErrDetails, [in, optional, defaultvalue(NULL)] IFlag* pCancelFlag);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Read([in] LONGLONG Pos, [in] void* pv, LONGLONG cbRead, [out] LONGLONG* pcbRead, [in, defaultvalue(NULL)] IString* pErrDetails, [in, defaultvalue(NULL)] IFlag* pCancelFlag);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 17: Line 17:
 
:[out]  Pointer to LONGLONG.
 
:[out]  Pointer to LONGLONG.
 
;''pErrDetails''
 
;''pErrDetails''
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IString|IString]].
 
;''pCancelFlag''
 
;''pCancelFlag''
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IFlag|IFlag]].
  
 
== Return Value ==
 
== Return Value ==

Revision as of 12:12, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Read([in] LONGLONG Pos, [in] void* pv, LONGLONG cbRead, [out] LONGLONG* pcbRead, [in, defaultvalue(NULL)] IString* pErrDetails, [in, defaultvalue(NULL)] IFlag* pCancelFlag);

Parameters

Pos
[in] Value of LONGLONG.
pv
[in] Pointer to void.
cbRead
Value of LONGLONG.
pcbRead
[out] Pointer to LONGLONG.
pErrDetails
[in, defaultvalue(NULL)] Pointer to IString.
pCancelFlag
[in, defaultvalue(NULL)] Pointer to IFlag.

Return Value

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

See Also

See also IAFS_FileCache.