How to find out where a specific macro is defined in Visual Studio
I currently have a visual studio project that uses DirectX. There are several macros in the code, for example
__range(0, m_lBatchSize) LONG m_nBatched;
__field_ecount_opt(m_lBatchSize) IMediaSample ** m_ppSamples;
I wanted to know in which files these macros are defined. Normally in Visual Studio I would choose a goto definition and that would lead me to a specific one. In this case, they won't take me. Does this feature work for macros? Is there a way to find out where this macro is defined?
+1
source to share