UalInstrument function

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 WINAPI UalInstrument(
  _In_  PUAL_DATA_BLOB Data
);

Parameters

Data [in]

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.

Examples

For an example of how to use this function, see How to report user access to server roles.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Ual.h

Library

Ualapi.lib

DLL

Ualapi.dll

See also

UalStart
UalStop

 

 

Show:
© 2014 Microsoft