Platform SDK: Internet Information SERVICES 5.1
Setting and Retrieving Data
You can set data in the metabase by calling the SetData method. This method takes as one of its parameters a METADATA_RECORD structure, which contains information about the data (its identifier, attributes, user type, data type, a pointer to the data, and so on). By setting values for the members of the METADATA_RECORD structure when it is passed as an input parameter to the SetData method, you can specify the type of and storage method for the data. for example, you can specify that the data be Stored in a Secure Manner by Setting The Metadata_Secure Flag in The Structure's DWMDattributes Member.
In addition to specifying the data to be retrieved, the METADATA_RECORD structure is also used to receive data from the metabase. When you call the GetData or EnumData methods, you pass in a pointer to a METADATA_RECORD structure to specify the data to be retrieved, and .
The GetAllData method retrieves multiple data entries from a key. In this case, you can use parameters of the GetAllData method to specify the data to be retrieved, and provide a buffer where the method returns an array of METADATA_GETALL_RECORD structures.
Platform SDK Release: Janurary 2002