Specifies 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 with which the source data is associated, relative to the path of hMDSourceHandle. For example, if the handle references the /LM key, you could specify the Web services subkey using the path /W3SVC.
Specifies a handle, returned by IMSAdminBase::OpenKey, that has write permission. METADATA_MASTER_ROOT_HANDLE is not a valid value for this parameter.
Points to the path of the key for data to be copied to, relative to the path of hMDDestHandle.
The flags, contained in the METADATA_RECORD structure, used to get the data.
A DWORD that specifies the user type of the data. If not set to ALL_METADATA, only metadata of the specified user type will be copied or moved. The following user types are defined for IIS:
Copy or move all data, regardless of user type.
The entry contains information specific to ASP application configuration.
Copy or move only data specific to a file, such as access permissions or logon methods.
Copy or move only data specific to the server, such as ports in use and IP addresses.
The entry contains information specific to Web application management.
A DWORD that specifies the type of data to retrieve. If dwMDDataType is not set to ALL_METADATA, only metadata of the specified type will be copied or moved. This parameter can be one of the following values:
Copy or move all data, regardless of type.
Binary data in any form.
An unsigned 32-bit number.
A null-terminated string that contains unexpanded environment variables, such as %PATH%.
An array of null-terminated strings, terminated by two null characters.
A null-terminated ASCII string.
A Boolean value that specifies whether to copy or move the data. If this parameter is set to TRUE, the data is copied. If it is FALSE, the data is moved. If dwMDAttributes contains the flag METADATA_INHERIT, this parameter must be set to TRUE.