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


//-----------------------------------------------------------------------------
// File:			cmdstrm.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"
//

    LOCAL_INTERFACE(0c733abf-2a1c-11ce-ade5-00aa0044773d)


interface ICommandStream : IUnknown {

	[local]
	HRESULT GetCommandStream(
		[out, annotation("_Out_opt_")] IID * piid,
		[in,out, annotation("_Inout_opt_")] GUID * pguidDialect,
		[out, iid_is(*piid), annotation("_Outptr_")] IUnknown ** ppCommandStream
	);

	[local]
	HRESULT SetCommandStream(
		[in] REFIID riid,
		[in] REFGUID rguidDialect,
		[in, iid_is(riid), annotation("_In_opt_")] IUnknown * pCommandStream
	);

}

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

