共用方式為


FbwfUninitializeNotifications (Standard 7 SP1)

7/8/2014

This function stops the worker thread that sends cache-threshold notifications.

Syntax

ULONG WINAPI FbwfUninitializeNotifications(VOID);

Parameters

None.

Return Value

This function may return the following:

Return value

Description

ERROR_SUCCESS

The operation completed successfully.

Remarks

This function is called by the application for the current session.

When using the FBWF API FbwfCacheThresholdNotification function, call FbwfInitializeNotifications and FbwfUninitializeNotifications to start and stop respectively the worker thread required for sending cache-threshold notifications.

The function call sequence

  1. Call FbwfInitializeNotifications (to start notifications).

  2. Call FbwfCacheThresholdNotification (to set the cache-memory threshold; call zero or more times).

  3. Call FbwfUninitializeNotifications (to stop notifications when they are no longer required).

You must call FbwfUninitializeNotifications once for each successful call you make to the FbwfInitializeNotifications function within a process.

Because there is no way to control the order that in-process servers are loaded or unloaded, do not call FbwfInitializeNotifications or FbwfUninitializeNotifications from the DllMain function.

Requirements

OS Versions: Standard 7

Header: Fbwfapi.h

Link Library: Fbwflib.lib

See Also

Reference

FbwfCacheThresholdNotification
FbwfInitializeNotifications

Concepts

FBWF API