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)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Write([in]                      LONGLONG  Pos,
+
<pre class="brush:cpp;gutter:false">HRESULT Write([in]                      LONGLONG  nPos,
               [in]                      void*      pv,
+
               [in]                      void*      pPv,
 
               [in]                      LONGLONG  cbWrite,
 
               [in]                      LONGLONG  cbWrite,
               [out]                    LONGLONG*  pcbWritten,
+
               [out]                    LONGLONG*  nWritten,
 
               [in, defaultvalue(NULL)]  IString*  pErrDetails,
 
               [in, defaultvalue(NULL)]  IString*  pErrDetails,
 
               [in, defaultvalue(NULL)]  IFlag*    pCancelFlag);</pre>
 
               [in, defaultvalue(NULL)]  IFlag*    pCancelFlag);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Pos
+
;nPos
 
:[in]  Value of LONGLONG.
 
:[in]  Value of LONGLONG.
;pv
+
;pPv
 
:[in]  Pointer to void.
 
:[in]  Pointer to void.
 
;cbWrite
 
;cbWrite
 
:[in]  Value of LONGLONG.
 
:[in]  Value of LONGLONG.
;pcbWritten
+
;nWritten
 
:[out]  Pointer to LONGLONG.
 
:[out]  Pointer to LONGLONG.
 
;pErrDetails
 
;pErrDetails

Latest revision as of 02:09, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT Write([in]                      LONGLONG   nPos,
              [in]                      void*      pPv,
              [in]                      LONGLONG   cbWrite,
              [out]                     LONGLONG*  nWritten,
              [in, defaultvalue(NULL)]  IString*   pErrDetails,
              [in, defaultvalue(NULL)]  IFlag*     pCancelFlag);

Parameters

nPos
[in] Value of LONGLONG.
pPv
[in] Pointer to void.
cbWrite
[in] Value of LONGLONG.
nWritten
[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

IAFS_FileCache