AcxTargetElementGetId function (acxtargets.h)
The AcxTargetElementGetId function given an existing ACXTARGETELEMENT object, returns its corresponding ID value.
Syntax
ULONG AcxTargetElementGetId(
ACXTARGETELEMENT TargetElement
);
Parameters
TargetElement
An existing ACXTARGETELEMENT Object. For more information about ACX objects, see Summary of ACX Objects.
Return value
The ID value associated with the element.
Remarks
Example
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);
ACX requirements
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.
Requirements
Requirement | Value |
---|---|
Header | acxtargets.h |
IRQL | <= DISPATCH_LEVEL |