please dont rip this site

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. This structure contains information about the data, such as 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 data's type and storage method. 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 to receive the data. Your program must allocate the buffer into which the data will be retrieved, and pass a pointer to it in the pbMDData member of the METADATA_RECORD structure.

The GetAllData method retrieves multiple data entries from a key. In this case, you 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.

© 1997 by Microsoft Corporation. All rights reserved.

file: /Techref/inet/iis/iis/htm/sdk/abba57mp.htm, 2KB, , updated: 2002/5/22 16:36, local time: 2024/4/21 01:12,

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Setting and Retrieving Data</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!