support for .NET framework 3.5

Still have bugs
This commit is contained in:
NaBian committed 2019-01-21 00:43:10 +08:00
1 parent 5878039e21
commit 7d6b491f25
704 files changed
+48273 -33

No files matched your search

@@ -0,0 +1,20 @@
namespace Standard
{
using System;
internal static class CLSID
{
public const string ApplicationDestinations = "86c14003-4d6b-4ef3-a7b4-0506663b2e68";
public const string ApplicationDocumentLists = "86bec222-30f2-47e0-9f25-60d11cd75c28";
public const string DestinationList = "77f10cf0-3db5-4966-b520-b7c54fd35ed6";
public const string EnumerableObjectCollection = "2d3468c1-36a7-43b6-ac24-d3f02fd9607a";
public const string ShellLink = "00021401-0000-0000-C000-000000000046";
public const string TaskbarList = "56FDF344-FD6D-11d0-958A-006097C9A090";
public static T CoCreateInstance<T>(string clsid)
{
return (T) Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid(clsid)));
}
}
}