15.7 Storing Into a Resource Database

To store resources into the database, use XrmPutResource() or XrmQPutResource(). Both functions take a partial resource specification, a representation type, and a value. This value is copied into the specified database.

To add a resource that is specified as a string, use XrmPutStringResource().

To add a string resource using quarks as a specification, use XrmQPutStringResource().

To add a single resource entry that is specified as a string that contains both a name and a value, use XrmPutLineResource().

Next: Enumerating Database Entries

Christophe Tronche, ch.tronche@computer.org