[ NotifyRouteChange2 bugs ? ]-Collection of common programming errors

Hi,I dont think this is the right place to post, but I did notfind a better one.The NotifyRouteChange2 notify upon route changingon Vista and 2k8. Here is the callback prototype (msdnand netioapi.h):typedefVOID(*PIPINTERFACE_CHANGE_CALLBACK) (    IN PVOID CallerContext,    IN PMIB_IPINTERFACE_ROW Row OPTIONAL,    IN MIB_NOTIFICATION_TYPE NotificationType    );When my callback is invoked, a runtime error occurs(not a compile one, the process kind of segfaults).Conventionning my callback with WINAPI removes theerror.The callback should thus be: