include: Add ConnectionEventsVt definition.

Signed-off-by: Aaro Altonen <a.altonen@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Aaro Altonen 2020-06-17 15:36:13 +03:00 committed by Alexandre Julliard
parent 67ef515174
commit a436833c41
1 changed files with 65 additions and 0 deletions

View File

@ -47,6 +47,7 @@ interface Property;
interface Recordset15;
interface Recordset20;
interface Recordset21;
interface ConnectionEventsVt;
dispinterface ConnectionEvents;
dispinterface RecordsetEvents;
@ -1581,6 +1582,70 @@ interface _Command : Command25
[out, retval] VARIANT_BOOL *named_parameters);
};
[
uuid(00000402-0000-0010-8000-00aa006d2ea4),
odl,
hidden
]
interface ConnectionEventsVt : IUnknown
{
HRESULT InfoMessage(
[in] Error *error,
[in, out] EventStatusEnum *status,
[in] _Connection *connection);
HRESULT BeginTransComplete(
[in] LONG TransactionLevel,
[in] Error *error,
[in, out] EventStatusEnum *status,
[in] _Connection *connection);
HRESULT CommitTransComplete(
[in] Error *error,
[in, out] EventStatusEnum *status,
[in] _Connection *connection);
HRESULT RollbackTransComplete(
[in] Error *error,
[in, out] EventStatusEnum *status,
[in] _Connection *connection);
HRESULT WillExecute(
[in, out] BSTR *source,
[in, out] CursorTypeEnum *cursor_type,
[in, out] LockTypeEnum *lock_type,
[in, out] LONG *options,
[in, out] EventStatusEnum *status,
[in] _Command *command,
[in] _Recordset *record_set,
[in] _Connection *connection);
HRESULT ExecuteComplete(
[in] LONG records_affected,
[in] Error *error,
[in, out] EventStatusEnum *status,
[in] _Command *command,
[in] _Recordset *record_set,
[in] _Connection *connection);
HRESULT WillConnect(
[in, out] BSTR *string,
[in, out] BSTR *userid,
[in, out] BSTR *password,
[in, out] LONG *options,
[in, out] EventStatusEnum *status,
[in] _Connection *connection);
HRESULT ConnectComplete(
[in] Error *error,
[in, out] EventStatusEnum *status,
[in] _Connection *connection);
HRESULT Disconnect(
[in, out] EventStatusEnum *status,
[in] _Connection *connection);
};
[
uuid(00000400-0000-0010-8000-00aa006d2ea4)
]