File Index Symbol Index

#include <winapifamily.h>
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Module Name: rpcnsi.h Abstract: This file contains the types and function definitions to use the Name Service Independent APIs. --*/
#ifndef __RPCNSI_H__
#define __RPCNSI_H__
#if _MSC_VER > 1000
#pragma once
#endif
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#define RPC_C_NS_SYNTAX_DEFAULT 0
#define RPC_C_NS_SYNTAX_DCE 3
#define RPC_C_PROFILE_DEFAULT_ELT 0
#define RPC_C_PROFILE_ALL_ELT 1
#define RPC_C_PROFILE_ALL_ELTS RPC_C_PROFILE_ALL_ELT
#define RPC_C_PROFILE_MATCH_BY_IF 2
#define RPC_C_PROFILE_MATCH_BY_MBR 3
#define RPC_C_PROFILE_MATCH_BY_BOTH 4
#define RPC_C_NS_DEFAULT_EXP_AGE -1
/* Server APIs */
RpcNsBindingExportA
( );
RpcNsBindingUnexportA
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsBindingExportW
( );
RpcNsBindingUnexportW
( );
#endif
/* Server PnP APIs */
RpcNsBindingExportPnPA
( );
RpcNsBindingUnexportPnPA
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsBindingExportPnPW
( );
RpcNsBindingUnexportPnPW
( );
#endif
/* Client APIs */
RpcNsBindingLookupBeginA
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsBindingLookupBeginW
( );
#endif
RpcNsBindingLookupNext
( );
RpcNsBindingLookupDone
( );
/* Group APIs */
RpcNsGroupDeleteA
( );
RpcNsGroupMbrAddA
( );
RpcNsGroupMbrRemoveA
( );
RpcNsGroupMbrInqBeginA
( );
RpcNsGroupMbrInqNextA
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsGroupDeleteW
( );
RpcNsGroupMbrAddW
( );
RpcNsGroupMbrRemoveW
( );
RpcNsGroupMbrInqBeginW
( );
RpcNsGroupMbrInqNextW
( );
#endif
RpcNsGroupMbrInqDone
( );
/* Profile APIs */
RpcNsProfileDeleteA
( );
RpcNsProfileEltAddA
( );
RpcNsProfileEltRemoveA
( );
RpcNsProfileEltInqBeginA
( );
RpcNsProfileEltInqNextA
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsProfileDeleteW
( );
RpcNsProfileEltAddW
( );
RpcNsProfileEltRemoveW
( );
RpcNsProfileEltInqBeginW
( );
RpcNsProfileEltInqNextW
( );
#endif
RpcNsProfileEltInqDone
( );
/* Entry object APIs */
RpcNsEntryObjectInqBeginA
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsEntryObjectInqBeginW
( );
#endif
RpcNsEntryObjectInqNext
( );
RpcNsEntryObjectInqDone
( );
/* Management and MISC APIs */
RpcNsEntryExpandNameA
( );
RpcNsMgmtBindingUnexportA
( );
RpcNsMgmtEntryCreateA
( );
RpcNsMgmtEntryDeleteA
( );
RpcNsMgmtEntryInqIfIdsA
( );
RpcNsMgmtHandleSetExpAge
( );
RpcNsMgmtInqExpAge
( );
RpcNsMgmtSetExpAge
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsEntryExpandNameW
( );
RpcNsMgmtBindingUnexportW
( );
RpcNsMgmtEntryCreateW
( );
RpcNsMgmtEntryDeleteW
( );
RpcNsMgmtEntryInqIfIdsW
( );
#endif
/* Client API's implemented in wrappers. */
RpcNsBindingImportBeginA
( );
#ifdef RPC_UNICODE_SUPPORTED
RpcNsBindingImportBeginW
( );
#endif
RpcNsBindingImportNext
( );
RpcNsBindingImportDone
( );
RpcNsBindingSelect
( );
#ifdef UNICODE
#define RpcNsBindingLookupBegin RpcNsBindingLookupBeginW
#define RpcNsBindingImportBegin RpcNsBindingImportBeginW
#define RpcNsBindingExport RpcNsBindingExportW
#define RpcNsBindingUnexport RpcNsBindingUnexportW
#define RpcNsGroupDelete RpcNsGroupDeleteW
#define RpcNsGroupMbrAdd RpcNsGroupMbrAddW
#define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveW
#define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginW
#define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextW
#define RpcNsEntryExpandName RpcNsEntryExpandNameW
#define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginW
#define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportW
#define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateW
#define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteW
#define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsW
#define RpcNsProfileDelete RpcNsProfileDeleteW
#define RpcNsProfileEltAdd RpcNsProfileEltAddW
#define RpcNsProfileEltRemove RpcNsProfileEltRemoveW
#define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginW
#define RpcNsProfileEltInqNext RpcNsProfileEltInqNextW
#define RpcNsBindingExportPnP RpcNsBindingExportPnPW
#define RpcNsBindingUnexportPnP RpcNsBindingUnexportPnPW
#else
#define RpcNsBindingLookupBegin RpcNsBindingLookupBeginA
#define RpcNsBindingImportBegin RpcNsBindingImportBeginA
#define RpcNsBindingExport RpcNsBindingExportA
#define RpcNsBindingUnexport RpcNsBindingUnexportA
#define RpcNsGroupDelete RpcNsGroupDeleteA
#define RpcNsGroupMbrAdd RpcNsGroupMbrAddA
#define RpcNsGroupMbrRemove RpcNsGroupMbrRemoveA
#define RpcNsGroupMbrInqBegin RpcNsGroupMbrInqBeginA
#define RpcNsGroupMbrInqNext RpcNsGroupMbrInqNextA
#define RpcNsEntryExpandName RpcNsEntryExpandNameA
#define RpcNsEntryObjectInqBegin RpcNsEntryObjectInqBeginA
#define RpcNsMgmtBindingUnexport RpcNsMgmtBindingUnexportA
#define RpcNsMgmtEntryCreate RpcNsMgmtEntryCreateA
#define RpcNsMgmtEntryDelete RpcNsMgmtEntryDeleteA
#define RpcNsMgmtEntryInqIfIds RpcNsMgmtEntryInqIfIdsA
#define RpcNsProfileDelete RpcNsProfileDeleteA
#define RpcNsProfileEltAdd RpcNsProfileEltAddA
#define RpcNsProfileEltRemove RpcNsProfileEltRemoveA
#define RpcNsProfileEltInqBegin RpcNsProfileEltInqBeginA
#define RpcNsProfileEltInqNext RpcNsProfileEltInqNextA
#define RpcNsBindingExportPnP RpcNsBindingExportPnPA
#define RpcNsBindingUnexportPnP RpcNsBindingUnexportPnPA #endif /* UNICODE */
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif /* __RPCNSI_H__ */