OleRegGetUserType

[DllImport("ole32.dll", SetLastError = true)]
public static extern int OleRegGetUserType(
   ref Guid clsid,
   uint dwFormOfType,
   out IntPtr pszUserType
);

Microsoft documentation: Link

Last updated