IAFS_FileCacheCallbacks::Read Method

From PDF XChange PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Read([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