Skip to content

Instantly share code, notes, and snippets.

@Tocchann
Created August 27, 2020 03:02
Show Gist options
  • Save Tocchann/6575ceb6d32b4d567da2b7c025049697 to your computer and use it in GitHub Desktop.
Save Tocchann/6575ceb6d32b4d567da2b7c025049697 to your computer and use it in GitHub Desktop.
IUnknown の IDL上の定義(cpp_quote除外版)
[
local,
object,
uuid(00000000-0000-0000-C000-000000000046),
pointer_default(unique)
]
interface IUnknown
{
typedef [unique] IUnknown *LPUNKNOWN;
HRESULT QueryInterface( [in] REFIID riid, [out, iid_is(riid), annotation("_COM_Outptr_")] void **ppvObject );
ULONG AddRef();
ULONG Release();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment