Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides information about the creation or closing of sessions for a connection.
Remote Desktop Gateway (RD Gateway) calls this method to pass information to an authorization plug-in.
Syntax
HRESULT DoAccounting(
[in] AAAccountingDataType accountingDataType,
[in] AAAccountingData accountingData
);
Parameters
[in] accountingDataType
A value of the AAAccountingDataType enumeration type that specifies the type of event that occurred.
[in] accountingData
An AAAccountingData structure that contains information about the event that occurred.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 |
| Minimum supported server | Windows Server 2008 R2 |
| Target Platform | Windows |
| Header | tsgpolicyengine.h |