Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Note
The Network Access Protection platform is not available starting with Windows 10
The INapSystemHealthAgentBinding::FlushCache method is called by an SHA to flush its SoH cache.
Syntax
HRESULT FlushCache();
Parameters
This method has no parameters.
Return value
Other COM-specific error codes also may be returned.
| Return code | Description |
|---|---|
|
Operation succeeded. |
|
Permissions error, access denied. |
|
System resource limit, could not perform the operation. |
|
The NapAgent has been stopped. This object will recover automatically and rebind to the NapAgent, once it restarts. |
Remarks
The NapAgent maintains a cache of recent SoHs provided by different SHAs. This cache is useful to optimize boot-time performance, when SHAs may or may not be bound to the system.
The SHA must call Initialize before calling this method or any other method of the INapSystemHealthAgentBinding2 interface.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2008 [desktop apps only] |
| Header |
|
| IDL |
|
| DLL |
|