Using void object as a generic object type in C++
<p>I have a dll that honours an interface I was given.  In this there are a number of methods that rely on an object type defined in a header I do not have.  For example</p>

<pre><code>STDMETHOD(OnPrepareNextScan)(BOOL* isSurvey, long curExp, ExtractMethod* pEM,
            unsigned long scanTime, double* selectedMass, double* selectedIntensity) = 0;
</code></pre>

<p>The header defines the ExtrctMethod type  However, I dot care about this object, I am not going to use it, so I as wondering if I could use a void pointer instead.</p>
