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

Revision as of 08:41, 10 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Write([in]                      LONGLONG   Pos,
              [in]                      void*      pv,
              [in]                      LONGLONG   cbWrite,
              [out]                     LONGLONG*  Written,
              [in, defaultvalue(NULL)]  IString*   ErrDetails,
              [in, defaultvalue(NULL)]  IFlag*     CancelFlag);

Parameters

Pos
[in] Value of LONGLONG.
pv
[in] Pointer to void.
cbWrite
[in] Value of LONGLONG.
Written
[out] Pointer to LONGLONG.
ErrDetails
[in, defaultvalue(NULL)] Pointer to IString.
CancelFlag
[in, defaultvalue(NULL)] Pointer to IFlag.

Return Value

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

See Also

IAFS_FileCache