The IMSAdminBase::GetDataSetNumber method retrieves all the data set numbers associated with a key in the metabase. A data set number is a unique number identifying the data items at that key, including inherited data items. Keys with the same data set number have identical data.
Specifies a handle to the metabase, either METADATA_MASTER_ROOT_HANDLE or a handle with read permission returned by the IMSAdminBase::OpenKey method.
Points to a string that contains the path of the key to have its data set number retrieved, relative to the path of hMDHandle. For example, if the handle references the /LM key, you could specify the Web services subkey by using the path /W3SVC.
Points to a DWORD that receives the number associated with this data set. You can use this value to identify data sets common to multiple keys.