AcxObjectBagAddString function (acxmisc.h)
The AcxObjectBagAddString function adds a WDFSTRING object to an existing, initialized AcxObjectBag. For more information about WDFSTRING, see wdfstring.h header.
Syntax
NTSTATUS AcxObjectBagAddString(
ACXOBJECTBAG ObjectBag,
PCUNICODE_STRING ValueName,
WDFSTRING Value
);
Parameters
ObjectBag
An initialized ObjectBag ACX object. For more information, see ACX - Summary of ACX Objects.
ValueName
A ValueName that will be associated with the added string and can be used to retrieve the stored string.
Value
The value of the WDFSTRING object to be stored in the ObjectBag.
Return value
Returns STATUS_SUCCESS
if the call was successful. Otherwise, it returns an appropriate error code. For more information, see Using NTSTATUS Values.
Remarks
ACX requirements
Minimum ACX version: 1.0
For more information about ACX versions, see ACX version overview.
Requirements
Requirement | Value |
---|---|
Header | acxmisc.h |
IRQL | PASSIVE_LEVEL |