UalInstrument function (ual.h)

Records the specified data to the User Access Logging (UAL) framework by using information from a UAL_DATA_BLOB structure.

You must call the UalStart function before calling the UalInstrument function. When you have finished calling this function, call the UalStop function to clean up resources.

Syntax

HRESULT UalInstrument(
  [in] PUAL_DATA_BLOB Data
);

Parameters

[in] Data

A pointer to a UAL_DATA_BLOB structure that specifies session information.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header ual.h
Library Ualapi.lib
DLL Ualapi.dll

See also

UalStart

UalStop