  ; ===========================================
  ; dnsrpc.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF DNSRPC_INC
DNSRPC_INC equ <1>

ADnsRecordConvert PROTO :DWORD
ARpcRecordConvert PROTO :DWORD,:DWORD
DNSSRV_RPC_HANDLE_bind PROTO :DWORD
DNSSRV_RPC_HANDLE_unbind PROTO :DWORD,:DWORD
DnsConvertRecordToRpcBuffer PROTO :DWORD
DnsConvertRpcBuffer PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsConvertRpcBufferNode PROTO :DWORD,:DWORD,:DWORD
DnsConvertRpcBufferToRecords PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_IpArray PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_Lock PROTO 
DnsPrint_Node PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_NodeList PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_Record PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RecordSet PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcDpEnum PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcDpInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcDpList PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcIpArrayPlusParameters PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcNode PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcRecordsInBuffer PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcServerInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcServerInfo_W2K PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcSingleStat PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcStatRaw PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcStatsBuffer PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcUnion PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcZone PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcZoneInfo PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcZoneInfoList PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcZoneInfo_W2K PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcZoneList PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcZoneList_W2K PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_RpcZone_W2K PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_String PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnsPrint_Unlock PROTO 
DnsRpc_ConvertToCurrent PROTO :DWORD,:DWORD
DnsRpc_ConvertToUnversioned PROTO :DWORD,:DWORD,:DWORD
Dns_Alloc PROTO :DWORD
Dns_AllocateRecord PROTO :DWORD
Dns_Assert PROTO :DWORD,:DWORD,:DWORD
Dns_BuildIpArray PROTO :DWORD,:DWORD
Dns_Free PROTO :DWORD
Dns_GetBufferLengthForStringCopy PROTO :DWORD,:DWORD,:DWORD,:DWORD
Dns_Ip6AddressToString_A PROTO :DWORD,:DWORD
Dns_Ip6AddressToString_ equ <Dns_Ip6AddressToString_A>

Dns_NameCompare_UTF8 PROTO :DWORD,:DWORD
Dns_RecordListFreeEx PROTO :DWORD,:DWORD
Dns_RecordStringForType PROTO :DWORD
Dns_RecordTableIndexForType PROTO :DWORD
Dns_SecurityKeyToBase64String PROTO :DWORD,:DWORD,:DWORD
Dns_SigTimeString PROTO :DWORD,:DWORD
Dns_StartDebug PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
Dns_StringCopy PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
Dns_StringCopyAllocate PROTO :DWORD,:DWORD,:DWORD,:DWORD
Dns_SystemHourToSystemTime PROTO :DWORD,:DWORD
Dns_ValidateName_UTF8 PROTO :DWORD,:DWORD
Dns_WinsRecordFlagString PROTO :DWORD,:DWORD
DnscmdWmi_Free PROTO 
DnscmdWmi_GetStatistics PROTO :DWORD
DnscmdWmi_Initialize PROTO :DWORD
DnscmdWmi_ProcessDnssrvOperation PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnscmdWmi_ProcessDnssrvQuery PROTO :DWORD,:DWORD
DnscmdWmi_ProcessEnumRecords PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnscmdWmi_ProcessEnumZones PROTO :DWORD
DnscmdWmi_ProcessRecordAdd PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnscmdWmi_ProcessResetForwarders PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnscmdWmi_ProcessResetZoneSecondaries PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnscmdWmi_ProcessZoneInfo PROTO :DWORD
DnscmdWmi_ResetProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvAddARecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvAddCnameRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvAddMxRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvAddNsRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvChangeZoneDirectoryPartition PROTO :DWORD,:DWORD,:DWORD
DnssrvClearStatistics PROTO :DWORD
DnssrvComplexOperationEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvConcatDnsNames PROTO :DWORD,:DWORD,:DWORD
DnssrvCopyRpcNameToBuffer PROTO :DWORD,:DWORD
DnssrvCreateDsNodeName PROTO :DWORD,:DWORD,:DWORD
DnssrvCreateDsServerName PROTO :DWORD
DnssrvCreateDsZoneName PROTO :DWORD,:DWORD
DnssrvCreateZone PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvCreateZoneEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvCreateZoneForDcPromo PROTO :DWORD,:DWORD,:DWORD
DnssrvCreateZoneInDirectoryPartition PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvDeleteARecord PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvDeleteCnameRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvDeleteMxRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvDeleteNode PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvDeleteNsRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvDeleteRecordSet PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvDeleteZone PROTO :DWORD,:DWORD
DnssrvDirectoryPartitionInfo PROTO :DWORD,:DWORD,:DWORD
DnssrvEnlistDirectoryPartition PROTO :DWORD,:DWORD,:DWORD
DnssrvEnumDirectoryPartitions PROTO :DWORD,:DWORD,:DWORD
DnssrvEnumRecordsAndConvertNodes PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvEnumRecordsEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvEnumZones PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvExportZone PROTO :DWORD,:DWORD,:DWORD
DnssrvFillOutSingleIndirectionRecord PROTO :DWORD,:DWORD,:DWORD
DnssrvFillRecordHeader PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvFindStatisticsInBuffer PROTO :DWORD,:DWORD
DnssrvForceAging PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvFreeDirectoryPartitionEnum PROTO :DWORD
DnssrvFreeDirectoryPartitionInfo PROTO :DWORD
DnssrvFreeDirectoryPartitionList PROTO :DWORD
DnssrvFreeNode PROTO :DWORD,:DWORD
DnssrvFreeNodeList PROTO :DWORD,:DWORD
DnssrvFreeRpcBuffer PROTO :DWORD
DnssrvFreeServerInfo PROTO :DWORD
DnssrvFreeZone PROTO :DWORD
DnssrvFreeZoneInfo PROTO :DWORD
DnssrvFreeZoneList PROTO :DWORD
DnssrvGetServerInfo PROTO :DWORD,:DWORD
DnssrvGetStatistics PROTO :DWORD,:DWORD,:DWORD
DnssrvGetWksServicesInRecord PROTO :DWORD
DnssrvGetZoneInfo PROTO :DWORD,:DWORD,:DWORD
DnssrvIncrementZoneVersion PROTO :DWORD,:DWORD
DnssrvInitializeDebug PROTO 
DnssrvMatchDnsRpcName PROTO :DWORD,:DWORD
DnssrvMidlAllocZero PROTO :DWORD
DnssrvOperationEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvPauseZone PROTO :DWORD,:DWORD
DnssrvQueryDwordPropertyEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvQueryEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvQueryZoneDwordProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvRenameZone PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetDwordPropertyEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetForwarders PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetIPListPropertyEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetServerDwordProperty PROTO :DWORD,:DWORD,:DWORD
DnssrvResetServerListenAddresses PROTO :DWORD,:DWORD,:DWORD
DnssrvResetStringPropertyEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetZoneDatabase PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetZoneMasters PROTO :DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetZoneMastersEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetZoneSecondaries PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetZoneType PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResetZoneTypeEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvResumeZone PROTO :DWORD,:DWORD
DnssrvSbsAddClientToIspZone PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvSbsDeleteRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvSetupDefaultDirectoryPartitions PROTO :DWORD,:DWORD
DnssrvUpdateRecordEx PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
DnssrvValidityCheckStatistic PROTO :DWORD
DnssrvWriteDirtyZones PROTO :DWORD
DnssrvWriteNameToFlatBuffer PROTO :DWORD,:DWORD
FindProtocolToUse PROTO :DWORD
FindProtocolToUseNt4 PROTO :DWORD
FlatDnsRecordConvert PROTO :DWORD
FlatRpcRecordConvert PROTO :DWORD,:DWORD
MIDL_user_allocate PROTO :DWORD
MIDL_user_free PROTO :DWORD
MinfoDnsRecordConvert PROTO :DWORD
MinfoRpcRecordConvert PROTO :DWORD,:DWORD
MxDnsRecordConvert PROTO :DWORD
MxRpcRecordConvert PROTO :DWORD,:DWORD
NbstatDnsRecordConvert PROTO :DWORD
NbstatRpcRecordConvert PROTO :DWORD,:DWORD
NxtDnsRecordConvert PROTO :DWORD
PtrDnsRecordConvert PROTO :DWORD
PtrRpcRecordConvert PROTO :DWORD,:DWORD
R_DnssrvComplexOperation2 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvComplexOperation PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvEnumRecords2 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvEnumRecords PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvOperation2 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvOperation PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvQuery2 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvQuery PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvUpdateRecord2 PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
R_DnssrvUpdateRecord PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
Rpc_AllocateRecord PROTO :DWORD
SigDnsRecordConvert PROTO :DWORD
SoaDnsRecordConvert PROTO :DWORD
SoaRpcRecordConvert PROTO :DWORD,:DWORD
SrvDnsRecordConvert PROTO :DWORD
SrvRpcRecordConvert PROTO :DWORD,:DWORD
TxtDnsRecordConvert PROTO :DWORD
TxtRpcRecordConvert PROTO :DWORD,:DWORD
UnicodeToUtf8 PROTO :DWORD,:DWORD,:DWORD,:DWORD
_security_check_cookie PROTO :DWORD
partitionDisplayName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
printStatTypeArray PROTO :DWORD,:DWORD,:DWORD,:DWORD
truncateStringA PROTO :DWORD,:DWORD,:DWORD
truncateString equ <truncateStringA>

truncateStringW PROTO :DWORD,:DWORD,:DWORD
zoneTypeString PROTO :DWORD,:DWORD,:DWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file dnsrpc.inc
echo -----------------------------------------
ENDIF
