chsvlib
chsv helper source code

◆ DECLARE_COM_QUERY_INTERFACE

#define DECLARE_COM_QUERY_INTERFACE   virtual HRESULT __stdcall QueryInterface(REFIID refiid, void** ppv);

#include <chsvwinutil.h>

Defines a declaration of the standard QueryInterface function, as required by the IUnknown interface.

The directive must be placed inside a body of a class or a structure implementing it.

For the example code see COM help directives.