; --------------------------------------------------------------------------------------------------
;                            nmapi.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF NMAPI_INC
NMAPI_INC equ <1>

AbortExpert PROTO STDCALL :DWORD
AddAddress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
AddExpertToGroup PROTO STDCALL :DWORD,:DWORD
AddGroup PROTO STDCALL :DWORD,:DWORD
AddProperty PROTO STDCALL :DWORD,:DWORD
AddressTypeToMacType PROTO STDCALL :DWORD
AdjustSystemTime PROTO STDCALL :DWORD,:DWORD,:DWORD
AttachPropertyInstance PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
AttachPropertyInstanceEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
BHGetLastError PROTO STDCALL
BHSetLastError PROTO STDCALL :DWORD
CCHeapAlloc PROTO STDCALL :DWORD,:DWORD
CCHeapFree PROTO STDCALL :DWORD
CCHeapReAlloc PROTO STDCALL :DWORD,:DWORD,:DWORD
CCHeapSize PROTO STDCALL :DWORD
CompareAddresses PROTO STDCALL :DWORD,:DWORD
CompareFrameDestAddress PROTO STDCALL :DWORD,:DWORD
CompareFrameSourceAddress PROTO STDCALL :DWORD,:DWORD
CompareRawAddresses PROTO STDCALL :DWORD,:DWORD,:DWORD
CreateAddressDatabase PROTO STDCALL
CreateCapture PROTO STDCALL :DWORD,:DWORD
CreateErrorLogEntry PROTO STDCALL
CreateFilter PROTO STDCALL
CreateFrame PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
CreateHandoffTable PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
CreatePropertyDatabase PROTO STDCALL :DWORD,:DWORD
CreateProtocol PROTO STDCALL :DWORD,:DWORD,:DWORD
DebugGetFrameLocks PROTO STDCALL :DWORD,:DWORD,:DWORD
DebugShowLocks PROTO STDCALL :DWORD
DecodeSNMPObjectIdentifier PROTO STDCALL :DWORD,:DWORD,:DWORD
DeleteAddress PROTO STDCALL :DWORD,:DWORD
DeleteExpertFromGroup PROTO STDCALL :DWORD,:DWORD
DeleteFrame PROTO STDCALL :DWORD,:DWORD
DeleteGroup PROTO STDCALL :DWORD
DestroyAddressDatabase PROTO STDCALL :DWORD
DestroyCapture PROTO STDCALL :DWORD
DestroyFilter PROTO STDCALL :DWORD
DestroyFrame PROTO STDCALL :DWORD
DestroyHandoffTable PROTO STDCALL :DWORD
DestroyPropertyDatabase PROTO STDCALL :DWORD
DestroyProtocol PROTO STDCALL :DWORD
DisableParserFilter PROTO STDCALL :DWORD,:DWORD
DisableProtocol PROTO STDCALL :DWORD,:DWORD
EmptyAddressDatabase PROTO STDCALL :DWORD
EnableParserFilter PROTO STDCALL :DWORD,:DWORD
EnableProtocol PROTO STDCALL :DWORD,:DWORD
EncodeSNMPObjectIdentifier PROTO STDCALL :DWORD,:DWORD,:DWORD
EnumAddresses PROTO STDCALL :DWORD,:DWORD
EnumExpertHandles PROTO STDCALL :DWORD,:DWORD,:DWORD
EnumExpertInfos PROTO STDCALL :DWORD,:DWORD,:DWORD
EnumGroups PROTO STDCALL :DWORD,:DWORD
EnumProtocols PROTO STDCALL
ExpertAllocMemory PROTO STDCALL :DWORD,:DWORD,:DWORD
ExpertFreeMemory PROTO STDCALL :DWORD,:DWORD
ExpertGetFrame PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExpertGetStartupInfo PROTO STDCALL :DWORD,:DWORD
ExpertIndicateStatus PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ExpertMemorySize PROTO STDCALL :DWORD,:DWORD
ExpertReallocMemory PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
ExpertSubmitEvent PROTO STDCALL :DWORD,:DWORD
FilterAddObject PROTO STDCALL :DWORD,:DWORD
FilterAttachesProperties PROTO STDCALL :DWORD
FilterDuplicate PROTO STDCALL :DWORD
FilterFindFrame PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FilterFindPropertyInstance PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FilterFlushBits PROTO STDCALL :DWORD
FilterFrame PROTO STDCALL :DWORD,:DWORD,:DWORD
FindAddressInfoByAddress PROTO STDCALL :DWORD,:DWORD
FindAddressInfoByName PROTO STDCALL :DWORD,:DWORD,:DWORD
FindNextFrame PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FindPreviousFrame PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FindPropertyInstance PROTO STDCALL :DWORD,:DWORD
FindPropertyInstanceRestart PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
FormatPropertyInstance PROTO C :VARARG
FrameRecognize PROTO STDCALL :DWORD
GetASRThWnd PROTO STDCALL
GetAddressDatabaseInstanceData PROTO STDCALL :DWORD
GetAddressInfo PROTO STDCALL :DWORD,:DWORD
GetAddressInfoByName PROTO STDCALL :DWORD,:DWORD
GetCCInstPtr PROTO STDCALL
GetCaptureAddressDB PROTO STDCALL :DWORD
GetCaptureComment PROTO STDCALL :DWORD
GetCaptureCommentFromFilename PROTO STDCALL :DWORD,:DWORD,:DWORD
GetCaptureInstanceData PROTO STDCALL :DWORD
GetCaptureMacType PROTO STDCALL :DWORD
GetCaptureTimeStamp PROTO STDCALL :DWORD
GetCaptureTotalFrames PROTO STDCALL :DWORD
GetCurrentFilter PROTO STDCALL
GetEnabledProtocols PROTO STDCALL :DWORD
GetExpertFromName PROTO STDCALL :DWORD,:DWORD
GetExpertInfo PROTO STDCALL :DWORD,:DWORD
GetExpertStatus PROTO STDCALL :DWORD,:DWORD
GetFrame PROTO STDCALL :DWORD,:DWORD
GetFrameCaptureHandle PROTO STDCALL :DWORD
GetFrameDestAddress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetFrameDstAddressOffset PROTO STDCALL :DWORD,:DWORD,:DWORD
GetFrameFromFrameHandle PROTO STDCALL :DWORD
GetFrameLength PROTO STDCALL :DWORD
GetFrameMacHeaderLength PROTO STDCALL :DWORD
GetFrameMacType PROTO STDCALL :DWORD
GetFrameNumber PROTO STDCALL :DWORD
GetFrameRecognizeData PROTO STDCALL :DWORD
GetFrameRoutingInformation PROTO STDCALL :DWORD,:DWORD
GetFrameSourceAddress PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetFrameSrcAddressOffset PROTO STDCALL :DWORD,:DWORD,:DWORD
GetFrameStoredLength PROTO STDCALL :DWORD
GetFrameTimeStamp PROTO STDCALL :DWORD
GetGroupName PROTO STDCALL :DWORD,:DWORD
GetMaxAmountOfProtocols PROTO STDCALL
GetPreviousProtocolOffsetByName PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetProperty PROTO STDCALL :DWORD,:DWORD
GetPropertyInfo PROTO STDCALL :DWORD
GetPropertyText PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
GetProtocolDLLName PROTO STDCALL :DWORD
GetProtocolFromName PROTO STDCALL :DWORD
GetProtocolFromProperty PROTO STDCALL :DWORD
GetProtocolFromProtocolID PROTO STDCALL :DWORD
GetProtocolFromTable PROTO STDCALL :DWORD,:DWORD,:DWORD
GetProtocolInfo PROTO STDCALL :DWORD
GetProtocolStartOffset PROTO STDCALL :DWORD,:DWORD
GetProtocolStartOffsetHandle PROTO STDCALL :DWORD,:DWORD
GetSystemPath PROTO STDCALL :DWORD,:DWORD
HelperFormatUnicodeString PROTO STDCALL :DWORD,:DWORD,:DWORD
InsertFrame PROTO STDCALL :DWORD,:DWORD,:DWORD
IsRawIPXEnabled PROTO STDCALL :DWORD,:DWORD,:DWORD
IsValidSNMPObjectIdentifier PROTO STDCALL :DWORD

LoadCaptureW PROTO STDCALL :DWORD,:DWORD
IFDEF __UNICODE__
  LoadCapture equ <LoadCaptureW>
ENDIF

LoadExpertConfiguration PROTO STDCALL :DWORD,:DWORD,:DWORD
LockFrame PROTO STDCALL :DWORD
LockFramePropertyTable PROTO STDCALL :DWORD
LockFrameText PROTO STDCALL :DWORD
MacTypeToAddressType PROTO STDCALL :DWORD
ModifyFrame PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
ObjectIdentifierContains PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
PanicMessage PROTO STDCALL :DWORD,:DWORD,:DWORD
ParserTemporaryLockFrame PROTO STDCALL :DWORD
PopupExpertConfigurationUI PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
QueryProtocolState PROTO STDCALL :DWORD,:DWORD
ReleaseFrame PROTO STDCALL :DWORD
ResetPropertyInstanceLength PROTO STDCALL :DWORD,:DWORD,:DWORD
RunExperts PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD

SaveCaptureW PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IFDEF __UNICODE__
  SaveCapture equ <SaveCaptureW>
ENDIF

SaveDownLevelCapture PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SaveExpertConfiguration PROTO STDCALL :DWORD,:DWORD,:DWORD
SetAddressDatabaseInstanceData PROTO STDCALL :DWORD,:DWORD
SetCCInstPtr PROTO STDCALL :DWORD
SetCaptureAddressDB PROTO STDCALL :DWORD,:DWORD
SetCaptureInstanceData PROTO STDCALL :DWORD,:DWORD
SetCaptureMacType PROTO STDCALL :DWORD,:DWORD
SetCaptureTimeStamp PROTO STDCALL :DWORD,:DWORD
SetCurrentFilter PROTO STDCALL :DWORD
SetGroupName PROTO STDCALL :DWORD,:DWORD
SetMaxAmountOfProtocols PROTO C :VARARG
UnlockFrame PROTO STDCALL :DWORD
UnlockFramePropertyTable PROTO STDCALL :DWORD
UnlockFrameText PROTO STDCALL :DWORD
bInsert PROTO C :VARARG
  ; eprintf arg type unknown

ELSE
  echo ----------------------------------------
  echo WARNING duplicate include file nmapi.inc
  echo ----------------------------------------
ENDIF
