We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dbf058 commit ea9d59cCopy full SHA for ea9d59c
src/Files.App.CsWin32/Windows.Win32.ComPtr.cs
@@ -49,7 +49,7 @@ public readonly ComPtr<U> As<U>() where U : unmanaged
49
}
50
51
[MethodImpl(MethodImplOptions.AggressiveInlining)]
52
- public readonly HRESULT CoCreateInstance<U>(CLSCTX dwClsContext = CLSCTX.CLSCTX_LOCAL_SERVER) where U : unmanaged
+ public readonly HRESULT CoCreateInstance<U>(CLSCTX dwClsContext = CLSCTX.CLSCTX_LOCAL_SERVER)
53
{
54
Guid iid = typeof(T).GUID, clsid = typeof(U).GUID;
55
return PInvoke.CoCreateInstance(&clsid, null, dwClsContext, &iid, (void**)this.GetAddressOf());
0 commit comments