UalStart function (ual.h)

Starts a User Access Logging (UAL) session.

Syntax

HRESULT UalStart(
  [in] PUAL_DATA_BLOB Data
);

Parameters

[in] Data

A pointer to an UAL_DATA_BLOB structure that specifies session information.

Only the RoleGuid property of the UAL_DATA_BLOB structure is required. All other members can be null.

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

UalInstrument

UalStop