Partager via


FCACHE_CREATE_CALLBACK function pointer

A callback function that is used to create items in the cache. It is called by the CacheCreateFile function.

Syntax

typedef HANDLE ( __stdcall *FCACHE_CREATE_CALLBACK)(
  _In_  LPSTR  lpstrName,
  _In_  LPVOID lpvData,
  _Out_ DWORD  *cbFileSize,
  _Out_ DWORD  *cbFileSizeHigh
);

Parameters

  • lpstrName [in]
    The name of the file.

  • lpvData [in]
    User-provided data to CacheCreateFile.

  • cbFileSize [out]
    The size of the file.

  • cbFileSizeHigh [out]
    The location to return the high DWORD of the file size.

Return value

Returns a handle to the file created in the cache.

Requirements

Header

Filehc.h

See also

CacheCreateFile