Click to return to the Content     
IsLoggingEnabled Function     Hit Logging Structures     Hit Logging API    
Web Workshop  |  Content & Component Delivery

WriteHitLogging Function


Writes an entry into the log for the given resource.

Syntax

BOOL WriteHitLogging (
    IN LPHIT_LOGGING_INFO lpLogginginfo
);

Parameters

lpLogginginfo
Address of the HIT_LOGGING_INFO structure that contains the information to add to the log.

Return Value

Returns TRUE if the entry was written into the log, or FALSE otherwise.

Call GetLastError for specific error information. Can return one of the following error codes:

ERROR_FILE_NOT_FOUND The URL was not located in the cache log index.
ERROR_NOT_ENOUGH_MEMORY Insufficient memory is available in the cache to write this log.

Function Information

Windows NT Use version 4.0. Implemented as ANSI and Unicode functions.
Windows Use Windows 95 and later. Implemented as ANSI and Unicode functions.
Header Declared in Urlmon.h.
Import Library Link with Urlmon.lib.
Minimum availability Internet Explorer 4.0


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.