Specifies a handle to the metabase. This can be either METADATA_MASTER_ROOT_HANDLE or a handle returned by the IMSAdminBase::OpenKey method with read permission.
Specifies the path of the key that contains the data. This path is relative to the path of hMDHandle. For example, if the handle references the /LM key, you could specify the Web services subkey using the path /W3SVC.
Points to a METADATA_RECORD structure that specifies the data to retrieve and receives the retrieved data.
Receives the data length of the required buffer size if the buffer size specified by pmdrMDData-> dwMDDataLen is not large enough to hold the data returned ( HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER) is returned).