📄 ils.idl
字号:
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IIlsUser interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC982-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IIlsUser : IUnknown
{
typedef [unique] IIlsUser *LPILS_USER;
HRESULT GetState(
[out] ILS_STATE *pState);
HRESULT GetStandardAttribute(
[in] ILS_STD_ATTR_NAME StdAttr,
[out] BSTR *pbstrValue);
HRESULT SetStandardAttribute(
[in] ILS_STD_ATTR_NAME StdAttr,
[in] BSTR bstrValue);
HRESULT GetExtendedAttribute (
[in] BSTR bstrName,
[out] BSTR *pbstrValue );
HRESULT SetExtendedAttribute (
[in] BSTR bstrName,
[in] BSTR bstrValue );
HRESULT RemoveExtendedAttribute (
[in] BSTR bstrName );
HRESULT GetAllExtendedAttributes(
[out] IIlsAttributes **ppAttributes);
HRESULT IsWritable(
[in] BOOL *pValue);
HRESULT Register(
[in] IIlsServer *pServer,
[out] ULONG *puReqID);
HRESULT Unregister(
[out] ULONG *puReqID);
HRESULT Update(
[out] ULONG *puReqID);
HRESULT GetVisible(
[out] DWORD *pfVisible);
HRESULT SetVisible(
[in] DWORD fVisible);
HRESULT GetGuid(
[out] GUID *pGuid);
HRESULT SetGuid(
[in] GUID *pGuid);
HRESULT CreateProtocol(
[in] BSTR bstrProtocolName,
[in] ULONG uPortNumber,
[in] BSTR bstrMimeType,
[out] IIlsProtocol **ppProtocol);
HRESULT AddProtocol(
[in] IIlsProtocol *pProtocol,
[out] ULONG *puReqID);
HRESULT RemoveProtocol(
[in] IIlsProtocol *pProtocol,
[out] ULONG *puReqID);
HRESULT GetProtocol(
[in] BSTR bstrProtocolName,
[in] IIlsAttributes *pAttributes,
[out] IIlsProtocol **ppProtocol,
[out] ULONG *puReqID);
HRESULT EnumProtocols(
[in] IIlsFilter *pFilter,
[in] IIlsAttributes *pAttributes,
[out] IEnumIlsProtocols **ppEnumProtocol,
[out] ULONG *puReqID);
HRESULT Clone (
[out] IIlsUser **ppUser );
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IIlsProtocol interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC985-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IIlsProtocol : IUnknown
{
typedef [unique] IIlsProtocol *LPILS_PROTOCOL;
HRESULT IsWritable(
[in] BOOL *pValue);
HRESULT GetPortNumber(
[out] ULONG *pulPortNumber);
HRESULT GetStandardAttribute(
[in] ILS_STD_ATTR_NAME StdAttr,
[out] BSTR *pbstrValue);
HRESULT SetStandardAttribute(
[in] ILS_STD_ATTR_NAME StdAttr,
[in] BSTR bstrValue);
HRESULT GetExtendedAttribute (
[in] BSTR bstrName,
[out] BSTR *pbstrValue );
HRESULT SetExtendedAttribute (
[in] BSTR bstrName,
[in] BSTR bstrValue );
HRESULT RemoveExtendedAttribute (
[in] BSTR bstrName );
HRESULT GetAllExtendedAttributes(
[out] IIlsAttributes **ppAttributes);
HRESULT Update(
[out] ULONG *puReqID );
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IIlsProtocolNotify interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC986-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IIlsProtocolNotify : IUnknown
{
typedef [unique] IIlsProtocolNotify *LPILS_PROTOCOLNOTIFY;
HRESULT UpdateResult(
[in] ULONG uReqID,
[in] HRESULT hResult);
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IIlsUserNotify interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC988-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IIlsUserNotify : IUnknown
{
typedef [unique] IIlsUserNotify *LPILS_USERNOTIFY;
HRESULT RegisterResult(
[in] ULONG uReqID,
[in] HRESULT hResult);
HRESULT UpdateResult(
[in] ULONG uReqID,
[in] HRESULT hResult);
HRESULT ProtocolChangeResult(
[in] ULONG uReqID,
[in] HRESULT hResult);
HRESULT GetProtocolResult(
[in] ULONG uReqID,
[in] IIlsProtocol *pProtocol,
[in] HRESULT hResult);
HRESULT EnumProtocolsResult(
[in] ULONG uReqID,
[in] IEnumIlsNames *pEnumProtocol,
[in] HRESULT hResult);
HRESULT StateChanged(
[in] ULONG fPrimary,
[in] BSTR bstrServerName );
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IIlsAttributes interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC98C-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IIlsAttributes : IUnknown
{
typedef [unique] IIlsAttributes *LPILS_ATTRIBUTES;
HRESULT SetAttribute(
[in] BSTR bstrName,
[in] BSTR bstrValue);
HRESULT GetAttribute(
[in] BSTR bstrName,
[out] BSTR *pbstrValue);
HRESULT EnumAttributes(
[out] IEnumIlsNames **ppEnumAttribute);
HRESULT SetAttributeName (
[in] BSTR bstrName );
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IIlsUserFilter interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC98D-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IIlsFilter : IUnknown
{
typedef [unique] IIlsFilter *LPILS_FILTER;
cpp_quote("// Composite filter operations")
HRESULT AddSubFilter (
[in] IIlsFilter *pFilter );
HRESULT RemoveSubFilter (
[in] IIlsFilter *pFilter );
HRESULT GetCount (
[out] ULONG *pcElements );
cpp_quote("// Simple filter operations")
HRESULT SetStandardAttributeName (
[in] ILS_STD_ATTR_NAME usrStdAttr);
HRESULT SetExtendedAttributeName (
[in] BSTR bstrAnyAttrName );
HRESULT SetAttributeValue (
[in] BSTR bstrAttrValue );
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IEnumIlsProtocols interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC98E-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IEnumIlsProtocols : IUnknown
{
typedef [unique] IEnumIlsProtocols *LPENUM_ILS_PROTOCOLS;
HRESULT Next(
[in] ULONG cProtocols,
[out] IIlsProtocol **rgpProtocol,
[out] ULONG *pcFetched);
HRESULT Skip(
[in] ULONG cProtocols);
HRESULT Reset();
HRESULT Clone(
[out] IEnumIlsProtocols **ppEnumProtocol);
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IEnumIlsUsers interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC98F-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IEnumIlsUsers : IUnknown
{
typedef [unique] IEnumIlsUsers *LPENUM_ILS_USERS;
HRESULT Next(
[in] ULONG cUsers,
[out] IIlsUser **rgpUsers,
[out] ULONG *pcFetched);
HRESULT Skip(
[in] ULONG cUsers);
HRESULT Reset();
HRESULT Clone(
[out] IEnumIlsUsers **ppEnumUser);
}
//+---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996 - 1997.
//
// Contents: IEnumIlsNames interface definition
//
//----------------------------------------------------------------------------
[
object,
uuid(440CC990-20E6-11d0-8796-444553540000),
pointer_default(unique)
]
interface IEnumIlsNames : IUnknown
{
typedef [unique] IEnumIlsNames *LPENUM_ILS_NAMES;
HRESULT Next(
[in] ULONG cNames,
[out] BSTR *rgpbstrName,
[out] ULONG *pcFetched);
HRESULT Skip(
[in] ULONG cNames);
HRESULT Reset();
HRESULT Clone(
[out] IEnumIlsNames **ppEnumName);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -