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.

#define MD_CHANGE_OBJECT     MD_CHANGE_OBJECT_W 
#define PMD_CHANGE_OBJECT    PMD_CHANGE_OBJECT_W 
typedef struct  _MD_CHANGE_OBJECT_W 
    { 
    /* [string] */ LPWSTR pszMDPath; 
    DWORD dwMDChangeType; 
    DWORD dwMDNumDataIDs; 
    /* [size_is][unique] */ DWORD __RPC_FAR *pdwMDDataIDs; 
    }   MD_CHANGE_OBJECT_W; 
 
typedef struct _MD_CHANGE_OBJECT_W __RPC_FAR *PMD_CHANGE_OBJECT_W; 
 

Members

pszMDPath
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
A pointer to an array containing the identifiers of the data entries that were changed. The array is dwMDNumDataIDs in length.