Share via


MockVsActivityLog.LogEntryHrPath Method

Definition

Makes a log entry specifying entry type, package name, event text, an HRESULT to store in the event record, and a full file path to store in the event record.

public int LogEntryHrPath (uint actType, string pszSource, string pszDescription, int hr, string pszPath);
abstract member LogEntryHrPath : uint32 * string * string * int * string -> int
override this.LogEntryHrPath : uint32 * string * string * int * string -> int
Public Function LogEntryHrPath (actType As UInteger, pszSource As String, pszDescription As String, hr As Integer, pszPath As String) As Integer

Parameters

actType
UInt32

[in] Type of log entry, a value from the __ACTIVITYLOG_ENTRYTYPE enumeration.

pszSource
String

[in] Pointer to a string containing the name of the package or component making the call.

pszDescription
String

[in] Pointer to a string describing the event.

hr
Int32

[in] An HRESULT to include in the event record.

pszPath
String

[in] A string containing a full file path to include in the event record.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to