IAFS_FileCachesMap::CreateNewCache Method

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
Line 16: Line 16:
 
                       [in, defaultvalue(0)]  LONG                      nReadBufferSize,
 
                       [in, defaultvalue(0)]  LONG                      nReadBufferSize,
 
                       [in, defaultvalue(0)]  LONG                      nWriteBufferSize,
 
                       [in, defaultvalue(0)]  LONG                      nWriteBufferSize,
                       [out, retval]          IAFS_FileCache**          ppCache);</pre>
+
                       [out, retval]          IAFS_FileCache**          pCache);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 33: Line 33:
 
;nWriteBufferSize
 
;nWriteBufferSize
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;ppCache
+
;pCache
 
:[out, retval]  Pointer to [[PXV:IAFS_FileCache|IAFS_FileCache]].
 
:[out, retval]  Pointer to [[PXV:IAFS_FileCache|IAFS_FileCache]].
  

Latest revision as of 03:09, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewCache([in]                   IAFS_File*                pFile,
                       [in]                   IAFS_FileCacheCallbacks*  pCb,
                       [in]                   LONG                      nCacheFlags,
                       [in]                   LONGLONG                  nFileSize,
                       [in]                   VARIANT_BOOL              bNewFile,
                       [in, defaultvalue(0)]  LONG                      nReadBufferSize,
                       [in, defaultvalue(0)]  LONG                      nWriteBufferSize,
                       [out, retval]          IAFS_FileCache**          pCache);

Parameters

pFile
[in] Pointer to IAFS_File.
pCb
[in] Pointer to IAFS_FileCacheCallbacks.
nCacheFlags
[in] Value of LONG.
nFileSize
[in] Value of LONGLONG.
bNewFile
[in] Value of VARIANT_BOOL.
nReadBufferSize
[in, defaultvalue(0)] Value of LONG.
nWriteBufferSize
[in, defaultvalue(0)] Value of LONG.
pCache
[out, retval] Pointer to IAFS_FileCache.

Return Value

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

See Also

IAFS_FileCachesMap