다음을 통해 공유


FbwfIsCachePreAllocationEnabled (Standard 7 SP1)

7/8/2014

This function retrieves the state of the pre-allocation flag for both the current and next sessions.

Syntax

ULONG FbwfIsCachePreAllocationEnabled(
    PULONG currentSession,
    PULONG nextSession
);

Parameters

  • currentSession
    [out] Boolean value, true if the pre-allocation is enabled for the current session.
  • nextSession
    [out] Boolean value, true if pre-allocation will be enabled for the next session.

Return Value

This function may return the following:

Return value

Description

ERROR_SUCCESS

The operation completed successfully.

ERROR_INVALID_PARMETER

If the currentSession or nextSession parameter is NULL.

Requirements

OS Versions: Standard 7

Header: Fbwfapi.h

Link Library: Fbwflib.lib

See Also

Reference

FbwfEnableCachePreAllocation
FbwfDisableCachePreAllocation

Concepts

FBWF API