Platform invoke #define directive : <p>I am trying to understand platform invokes. So, i understood many concepts but how can i invoke <code>#define</code> directives in c#.</p>

<p>Example:</p>

<p>in C++ side i have this: </p>

<pre><code>#define dont_care_how_you_invoke_me (ptr)   
</code></pre>

<p>I've tried this:</p>

<pre><code>[DllImport("mydll.dll")]
static extern void dont_care_how_you_invoke_me(IntPtr ptr);
</code></pre>

<p>This didn't work. I've searched on google for a while and couldn't find anything so i'm not even sure if this is possible or not.</p>

<p>Thanks in advance</p>
