2025-04-27 07:49:33 -04:00

62 lines
1.7 KiB
Plaintext

//----------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation, 1996.
//
// File: AcptNtfy.IDL
//
// Contents: IAcceptNotify interface
//
// History: 4-26-96 SSanu Sync'd to latest spec
//
//
//----------------------------------------------------------------------------
[
object,
uuid(541eaaf0-717b-11cf-86cb-00aa00b4e1b8),
pointer_default(unique)
]
interface IAcceptNotify : IUnknown
{
import "unknwn.idl";
import "wtypes.idl";
cpp_quote("#ifndef _LPSINDEXNOTIFYDEFINED")
cpp_quote("#define _LPSINDEXNOTIFYDEFINED")
typedef IAcceptNotify * LPACCEPTNOTIFY;
cpp_quote("#endif ")
#include "acntdefs.h"
HRESULT InitNotify(
[in, string] LPCSTR pszScopeName,
[in,string] LPCSTR pszServerName,
[in] DWORD dwReserved
);
//pszScopeName in the succeeding can be NULL.
//it defaults to pszScope in Init() if it is not specified.
HRESULT SetMapping (
[in, string] LPCSTR pszScopeName,
[in] DWORD eANMSetting,
[in, string] LPCSTR pszPhysicalPrefix,
[in, string] LPCSTR pszLogicalPrefix
);
HRESULT OnDataChange(
[in, string] LPCSTR pszScopeName,
[in] DWORD eANDChAdvise,
[in, string] LPCSTR pszPhysicaAddress,
[in, string] LPCSTR pszLogicalAddress,
[in] NOTIFYDATA *pndData
);
HRESULT OnStatusChange(
[in,string] LPCSTR pszScopeName,
[in] DWORD eANSStatusChange
);
}