IAFS_FileCachesMap::CreateNewCache Method

From Tracker Software PDF SDK
Revision as of 03:09, 15 June 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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