Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function writes an entry into the log for the given resource.

Syntax

BOOL WriteHitLogging (
  LPHIT_LOGGING_INFO 
lpLogginginfo
);

Parameters

lpLogginginfo

[in] Address of the HIT_LOGGING_INFOstructure that contains the information to add to the log.

Return Value

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

For more specific information, call GetLastError.

This function can return one of the error codes shown in the following table.

Value Description

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.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also