--- mstools/samples/snmp/testdll/testdll.c 2018/08/09 18:23:40 1.1 +++ mstools/samples/snmp/testdll/testdll.c 2018/08/09 18:25:56 1.1.1.2 @@ -26,7 +26,7 @@ Revision History: --*/ -static char *vcsid = "@(#) $Logfile: N:/xtest/vcs/testdll.c_v $ $Revision: 1.1 $"; +static char *vcsid = "@(#) $Logfile: N:/xtest/vcs/testdll.c_v $ $Revision: 1.1.1.2 $"; // General notes: @@ -105,7 +105,7 @@ BOOL WINAPI DllMain( // for communicating occurence of traps, and an object identifier representing // the root of the MIB subtree that the Extension Agent supports. -BOOL SnmpExtensionInit( +BOOL WINAPI SnmpExtensionInit( IN DWORD dwTimeZeroReference, OUT HANDLE *hPollForTrapEvent, OUT AsnObjectIdentifier *supportedView) @@ -152,7 +152,7 @@ BOOL SnmpExtensionInit( // will repetedly call this entry point until FALSE is returned, indicating // that all outstanding traps have been processed. -BOOL SnmpExtensionTrap( +BOOL WINAPI SnmpExtensionTrap( OUT AsnObjectIdentifier *enterprise, OUT AsnInteger *genericTrap, OUT AsnInteger *specificTrap, @@ -223,7 +223,7 @@ BOOL SnmpExtensionTrap( // for MIB variables in their supported MIB view (supplied at initialization // time). The requestType is Get/GetNext/Set. -BOOL SnmpExtensionQuery( +BOOL WINAPI SnmpExtensionQuery( IN BYTE requestType, IN OUT RFC1157VarBindList *variableBindings, OUT AsnInteger *errorStatus,