WriteHitLogging function

Obsolete. Writes an entry into the log for the given resource.

Syntax

BOOL WriteHitLogging(
  _In_ LPHIT_LOGGING_INFO lpLogginginfo
);

Parameters

  • lpLogginginfo [in]
    The 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.

Return code 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

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Urlmon.h

Library

Urlmon.lib

DLL

Urlmon.dll