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


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

#if( OLEDBVER >= 0x0200 )
    REMOTED_INTERFACE(0c733aa7-2a1c-11ce-ade5-00aa0044773d)
#else
    LOCAL_INTERFACE(0c733aa7-2a1c-11ce-ade5-00aa0044773d)
#endif


interface ICommandPersist : IUnknown {

	HRESULT	DeleteCommand(
		[in]	DBID *	pCommandID
	); 
 

	HRESULT	GetCurrentCommand(
		[out]	DBID **	ppCommandID
	); 

	HRESULT	LoadCommand(
		[in]	DBID *		pCommandID,
		[in]	DWORD		dwFlags
	); 

	HRESULT	SaveCommand(
		[in]	DBID *		pCommandID,
		[in]	DWORD		dwFlags
	); 

}

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

