IAFS_File::Write Method

From PDF XChange 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 Write(void* pv, [in] LONGLONG cb, [out] LONGLONG* pcbWritten, [in, optional] IString* pErrDetails, [in, optional] IFlag* pCancelFlag);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Write(void* pv, [in] LONGLONG cb, [out] LONGLONG* pcbWritten, [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:48, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

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

Parameters

pv
Pointer to void.
cb
[in] Value of LONGLONG.
pcbWritten
[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.