af062818b47340eef15700d2f0211576ba3506eevboxsync/*
af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright 2005 Francois Gouget
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync *
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
af062818b47340eef15700d2f0211576ba3506eevboxsync */
af062818b47340eef15700d2f0211576ba3506eevboxsync
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/*
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * a choice of LGPL license versions is made available with the language indicating
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync * of the LGPL is applied is otherwise unspecified.
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsyncimport "oaidl.idl";
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsynctypedef enum
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_CREATE_CHILD = 0x00000001,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_DELETE_CHILD = 0x00000002,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_ACTRL_DS_LIST = 0x00000004,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_SELF = 0x00000008,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_READ_PROP = 0x00000010,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_WRITE_PROP = 0x00000020,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_DELETE_TREE = 0x00000040,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_LIST_OBJECT = 0x00000080,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DS_CONTROL_ACCESS = 0x00000100,
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_DELETE = 0x00010000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_READ_CONTROL = 0x00020000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_WRITE_DAC = 0x00040000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_WRITE_OWNER = 0x00080000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_SYNCHRONIZE = 0x00100000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_ACCESS_SYSTEM_SECURITY = 0x00200000,
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_GENERIC_ALL = 0x10000000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_GENERIC_EXECUTE = 0x20000000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_GENERIC_WRITE = 0x40000000,
af062818b47340eef15700d2f0211576ba3506eevboxsync ADS_RIGHT_GENERIC_READ = 0x80000000
af062818b47340eef15700d2f0211576ba3506eevboxsync} ADS_RIGHTS_ENUM;
af062818b47340eef15700d2f0211576ba3506eevboxsync
af062818b47340eef15700d2f0211576ba3506eevboxsync/*****************************************************************************
af062818b47340eef15700d2f0211576ba3506eevboxsync * IADsContainer interface
af062818b47340eef15700d2f0211576ba3506eevboxsync */
af062818b47340eef15700d2f0211576ba3506eevboxsync[
af062818b47340eef15700d2f0211576ba3506eevboxsync object,
af062818b47340eef15700d2f0211576ba3506eevboxsync uuid(001677d0-fd16-11ce-abc4-02608c9e7553)
af062818b47340eef15700d2f0211576ba3506eevboxsync]
af062818b47340eef15700d2f0211576ba3506eevboxsyncinterface IADsContainer: IDispatch
af062818b47340eef15700d2f0211576ba3506eevboxsync{
af062818b47340eef15700d2f0211576ba3506eevboxsync [propget] HRESULT Count(
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] long *retval);
af062818b47340eef15700d2f0211576ba3506eevboxsync [propget, restricted] HRESULT _NewEnum(
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] IUnknown **retval);
af062818b47340eef15700d2f0211576ba3506eevboxsync [propget] HRESULT Filter(
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] VARIANT *pvFilter);
af062818b47340eef15700d2f0211576ba3506eevboxsync [propput] HRESULT Filter(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] VARIANT vFilter);
af062818b47340eef15700d2f0211576ba3506eevboxsync [propget] HRESULT Hints(
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] VARIANT *pvHints);
af062818b47340eef15700d2f0211576ba3506eevboxsync [propput] HRESULT Hints(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] VARIANT vHints);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT GetObject(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrClassName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrRelativeName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] IDispatch **ppObject);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT Create(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrClassName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrRelativeName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] IDispatch **ppObject);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT Delete(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrClassName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrRelativeName);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT CopyHere(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrSourceName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrNewName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] IDispatch **ppObject);
af062818b47340eef15700d2f0211576ba3506eevboxsync HRESULT MoveHere(
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrSourceName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [in] BSTR bstrNewName,
af062818b47340eef15700d2f0211576ba3506eevboxsync [out, retval] IDispatch **ppObject);
af062818b47340eef15700d2f0211576ba3506eevboxsync}