Skip to content

Commit

Permalink
Use api-set instead of combase.dll (dotnet/coreclr#18981)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/coreclr@63cbbaf
  • Loading branch information
jkotas authored and stephentoub committed Jul 18, 2018
1 parent 0839d97 commit 005aec4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<!-- Not a bug, these APIs are in the allowed list but under kernel32 and we need it under normaliz.dll -->
normaliz.dll!IsNormalizedString
normaliz.dll!NormalizeString
combase.dll!RoGetActivationFactory
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ internal static extern int EnumerateTraceGuidsEx(
}

#if FEATURE_COMINTEROP
[DllImport("combase.dll", PreserveSig = true)]
[DllImport("api-ms-win-core-winrt-l1-1-0.dll", PreserveSig = true)]
internal static extern int RoGetActivationFactory(
[MarshalAs(UnmanagedType.HString)] string activatableClassId,
[In] ref Guid iid,
Expand Down

0 comments on commit 005aec4

Please sign in to comment.