// acxmisc.h
NTSTATUS AcxObjectBagAddMultiString(
ACXOBJECTBAG ObjectBag,
PCUNICODE_STRING ValueName,
WDFCOLLECTION Values
);
View the official Windows Driver Kit DDI referenceNo description available.
The AcxObjectBagAddMultiString function adds a MultiString to an existing, initialized AcxObjectBag.
ObjectBagAn initialized ObjectBag ACX object. For more information, see ACX - Summary of ACX Objects.
ValueNameThe name of the value that will be used to access the value.
ValuesThe Value to be added to the ObjectBag.
Returns STATUS_SUCCESS if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.
This example shows the use of AcxObjectBagAddMultiString.
// Add multi-string value in bag.
//
status = AcxObjectBagAddMultiString(objBag, inParams->ValueName, (LPCWSTR)inParams->Data);
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.