Ciao a tutti
Questo codice,

HRESULT QueryInterface(
[in] REFIID riid,
[out, iid_is(riid), annotation("__RPC__deref_out")] void **ppvObject);
ULONG AddRef();
ULONG Release();

mi da questo errore:

error MIDL2025 : syntax error : expecting ] or , near "annotation"

Non riesco a metterlo a posto
Dove sbaglio?

Grazie