MD_CHANGE_OBJECT
The MD_CHANGE_OBJECT structure receives information about the changes made to a key in the metabase. It is used in the SinkNotify method of a change notify sink operation.
Example Code
#define MD_CHANGE_OBJECT MD_CHANGE_OBJECT_W
#define PMD_CHANGE_OBJECT PMD_CHANGE_OBJECT_W
typedef struct _MD_CHANGE_OBJECT_W
{
LPWSTR pszMDPath;
DWORD dwMDChangeType;
DWORD dwMDNumDataIDs;
DWORD __RPC_FAR *pdwMDDataIDs;
} MD_CHANGE_OBJECT_W;
typedef struct _MD_CHANGE_OBJECT_W __RPC_FAR *PMD_CHANGE_OBJECT_W;
Members
pszMDPath
[string] The path to the modified key.dwMDChangeType
A DWORD that lists the type of changes made. This member can contain one or more of the following flags:Flag
Description
MD_CHANGE_TYPE_ADD_OBJECT
The key was added to the metabase.
MD_CHANGE_TYPE_DELETE_DATA
A data entry was deleted from the key.
MD_CHANGE_TYPE_DELETE_OBJECT
The key was deleted from the metabase.
MD_CHANGE_TYPE_RENAME_OBJECT
The key was renamed.
MD_CHANGE_TYPE_SET_DATA
A data entry was added to or set for the key.
dwMDNumDataIDs
The number of data entries that were changed.pdwMDDataIDs
[size_is][unique] A pointer to an array that contains the identifiers of the data entries that were changed. The array is dwMDNumDataIDs in length.
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS
Header: Declared in Mddefw.h; include iiscnfg.h, iadmw.h.