#define FIREAPI(type) FIREAPI_DLL_SPEC type WINAPI
FIREAPI(ULONG) C1394GetMaxSpeedToNode ( IN HANDLE C1394AdapterHandle, IN ULONG DestinationNodeID );
int _tmain(int argc, _TCHAR* argv[]) { ULONG x = C1394GetMaxSpeedToNode return 0; } //------------------------------------------------------------------------------------
Now move to the end of the "ULONG x = " line and type a left parenthesis as if you are trying to complete the function call. You will see some incorrect behavior. We use this macro for all the functions that our SDK provides to clients, so we would appreciate a timely fix.
Yes, VA gets "trapped" into FIREAPI(ULONG) even as I type the second parameter to this function. This gets a little annoying on functions with 5-8 parameters, especially if you are used to always seeing the tooltip for each parameter as you type in the actual argument.