Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SinkNotify method, when implemented in your application, this sink method is called when a metabase key or its associated data is changed.
HRESULT SinkNotify(
DWORD dwMDNumElements,
MD_CHANGE_OBJECT_W pcoChangeList[dwMDNumElements]
);
Parameters
dwMDNumElements
[in]pcoChangeList
[in] The size is specified by dwMDNumElements.
Remarks
The parameter dwMDNumElements receives the number of elements that have changed. The maximum number of change entries that are sent on a single call to the callback method is specified by the constant MD_MAX_CHANGE_ENTRIES. If more notifications are required, the method is called multiple times.
Example Code
Your callback method must implement the following prototype as a minimum:
HRESULT SinkNotify(
DWORD dwMDNumElements
MD_CHANGE_OBJECT pcoChangeList[]
);
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 iadmw.h; include iiscnfg.h.