IAFS_File::Read Method

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

Revision as of 01:47, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

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

Parameters

pv
Pointer to void.
cb
Value of LONGLONG.
pcbRead
[out] Pointer to LONGLONG.
pErrDetails
[in, optional, defaultvalue(NULL)] Pointer to IString.
pCancelFlag
[in, optional, 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_File.