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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for