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

#include "idlmulti.h"
//
#if( OLEDBVER >= 0x0200 )
    REMOTED_INTERFACE(0c733aa3-2a1c-11ce-ade5-00aa0044773d)
#else
    LOCAL_INTERFACE(0c733aa3-2a1c-11ce-ade5-00aa0044773d)
#endif
    
interface IObjectAccessControl : IUnknown {	
	HRESULT GetObjectAccessRights(
	[in] SEC_OBJECT*		pObject,
	[in, out] ULONG*    	pcAccessEntries,
	[in, out] EXPLICIT_ACCESS_W**	prgAccessEntries
	);

	HRESULT GetObjectOwner (
	[in] SEC_OBJECT*		pObject, 
	[out] TRUSTEE_W**		ppOwner 
	);

	HRESULT IsObjectAccessAllowed(
	[in] SEC_OBJECT*		pObject,
	[in] EXPLICIT_ACCESS_W*	pAccessEntry,
	[out] BOOL*				pfResult 
	);

	HRESULT SetObjectAccessRights(
	[in] SEC_OBJECT*		pObject,
	[in] ULONG    			cAccessEntries,
	[in, out] EXPLICIT_ACCESS_W*	prgAccessEntries 
	);

	HRESULT SetObjectOwner(
	[in] SEC_OBJECT*	pObject,
	[in] TRUSTEE_W*		pOwner
	);

}
