//-----------------------------------------------------------------------------
// File:			rstwtn.idl
//
// Copyright:		Copyright (c) Microsoft Corporation          
//
// Contents: 		OLE DB interface definition
//
// Comments: 		
//
//-----------------------------------------------------------------------------

#include "idlmulti.h"
//  
    
#if( OLEDBVER >= 0x0200 )
    REMOTED_INTERFACE(0c733a44-2a1c-11ce-ade5-00aa0044773d)
#else
    LOCAL_INTERFACE(0c733a44-2a1c-11ce-ade5-00aa0044773d)
#endif

    
interface IRowsetWatchNotify : IUnknown {

	//
	//	DBWATCHNOTIFY and related definitions
	//

typedef DWORD DBWATCHNOTIFY;

enum DBWATCHNOTIFYENUM {
	DBWATCHNOTIFY_ROWSCHANGED     = 1,
	DBWATCHNOTIFY_QUERYDONE       = 2,
	DBWATCHNOTIFY_QUERYREEXECUTED = 3
};

	HRESULT OnChange(
		[in] IRowset * pRowset,
		[in] DBWATCHNOTIFY eChangeReason
	);

}

