// acxtargets.h
ULONG AcxTargetElementGetId(
ACXTARGETELEMENT TargetElement
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxTargetElementGetId function given an existing ACXTARGETELEMENT object, returns its corresponding ID value.
TargetElementAn existing ACXTARGETELEMENT Object. For more information about ACX objects, see Summary of ACX Objects.
The ID value associated with the element.
ACXTARGETELEMENT targetElement = nullptr;
targetElement = circuitCtx->TargetVolumeHandler;
ACX_REQUEST_PARAMETERS_INIT_PROPERTY(&targetParams,
propertySet,
propertyId,
params.Parameters.Property.Verb,
params.Parameters.Property.ItemType,
AcxTargetElementGetId(targetElement),
params.Parameters.Property.Control,
params.Parameters.Property.ControlCb,
params.Parameters.Property.Value,
params.Parameters.Property.ValueCb);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.