Append a key-value pair to a linked list of options. The key and value strings are duplicated into newly allocated memory, so the calling function retains ownership of the string parameters.

Declaration Syntax

Parameters
- options (
IntPtr
%)
-
Address of the pointer to the head of the option list. For an empty list *options will be null.
- key (String)
-
A String holding the option key.
- value (String)
-
A String holding the option value.

Return Value
- 1 indicates success.
- 0 indicates memory allocation failure.
Assembly:
libao-sharp (Module: libao-sharp) Version: 0.8.8.18341