/********************************************************
*                                                       *
*   Copyright (C) Microsoft. All rights reserved.       *
*                                                       *
********************************************************/

//-----------------------------------------------------------------------------
// File:			rstvw.idl
//
// Contents: 		OLE DB interface definition
//
// Comments: 		
//
//-----------------------------------------------------------------------------

cpp_quote("#include <winapifamily.h>")

#pragma region Desktop Family
cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")

#include "idlmulti.h"
//
    REMOTED_INTERFACE(0c733a99-2a1c-11ce-ade5-00aa0044773d)

interface IRowsetView : IUnknown {

	[local]
	HRESULT CreateView(
		[in, annotation("_In_opt_")] IUnknown * pUnkOuter,
		[in, annotation("_In_")] REFIID riid,
		[out, iid_is(riid), annotation("_Outptr_")] IUnknown ** ppView
	);

	[call_as(CreateView)]
	HRESULT RemoteCreateView(
		[in] IUnknown * pUnkOuter,
		[in] REFIID riid,
		[out, iid_is(riid)] IUnknown ** ppView,
		[out] IErrorInfo ** ppErrorInfoRem
	);

	[local]
	HRESULT GetView(
		[in] HCHAPTER hChapter,
		[in, annotation("_In_")] REFIID riid,
		[out, annotation("_Out_")] HCHAPTER * phChapterSource,
		[out, iid_is(riid), annotation("_Outptr_")] IUnknown ** ppView
	);

	[call_as(GetView)]
	HRESULT RemoteGetView(
		[in] HCHAPTER hChapter,
		[in] REFIID riid,
		[out] HCHAPTER * phChapterSource,
		[out, iid_is(riid)] IUnknown ** ppView,
		[out] IErrorInfo ** ppErrorInfoRem
	);

}

cpp_quote("#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */")
#pragma endregion

