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.
#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;
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. |