BdaCommitChanges - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// bdasup.h

NTSTATUS BdaCommitChanges(
  [in] PIRP pIrp
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-bdasup-bdacommitchanges)

Description

The BdaCommitChanges function commits the changes to BDA topology that have occurred since the last call to the BdaStartChanges function.

Parameters

pIrp [in]

Points to the IRP for the request to commit changes. The BDA minidriver receives this IRP with the KSMETHOD_BDA_COMMIT_CHANGES request.

Return value

Returns STATUS_SUCCESS or an appropriate error code.

Remarks

A BDA minidriver calls the BdaCommitChanges function to commit a set of BDA topology changes after the minidriver receives a KSMETHOD_BDA_COMMIT_CHANGES request of the KSMETHODSETID_BdaChangeSync method set from the network provider. BDA minidrivers define dispatch and filter-automation tables so that those minidrivers either dispatch the BdaCommitChanges function directly or intercept this request using an internal method (KStrMethodHandler), which then calls the BdaCommitChanges function. For example, BDA minidrivers that intercept this request can obtain a pointer to the BDA filter from the passed IRP so that they can:

See Defining Automation Tables and Changing BDA Filter Properties for more information.

See also

BDA_CHANGE_STATE

BdaCheckChanges

BdaStartChanges

KSMETHODSETID_BdaChangeSync

KSMETHOD_BDA_COMMIT_CHANGES

KStrMethodHandler