Skip to content

Commit

Permalink
api list
Browse files Browse the repository at this point in the history
  • Loading branch information
DjDeveloperr committed Oct 30, 2022
1 parent 60cb985 commit cd24aec
Show file tree
Hide file tree
Showing 2 changed files with 306 additions and 0 deletions.
298 changes: 298 additions & 0 deletions api/all.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,298 @@
[
"Media.Audio",
"UI.Controls",
"Security.Cryptography.Certificates",
"Storage.IscsiDisc",
"Graphics.Direct3D11",
"Graphics.Direct3D12",
"Graphics.Direct3D9",
"Graphics.Hlsl",
"Graphics.DirectWrite",
"System.Diagnostics.Etw",
"Storage.FileSystem",
"Foundation",
"Graphics.Gdi",
"UI.HiDpi",
"Web.MsHtml",
"System.Ioctl",
"System.Js",
"System.Wmi",
"Media.Multimedia",
"NetworkManagement.WiFi",
"System.Ole",
"System.Registry",
"System.RestartManager",
"Storage.DistributedFileSystem",
"Security.Credentials",
"Security.Cryptography",
"System.Services",
"System.ApplicationInstallationAndServicing",
"UI.Shell",
"System.SystemInformation",
"System.SystemServices",
"UI.TabletPC",
"UI.TextServices",
"System.Threading",
"AI.MachineLearning.DirectML",
"AI.MachineLearning.WinML",
"Data.HtmlHelp",
"Data.RightsManagement",
"Data.Xml.MsXml",
"Devices.AllJoyn",
"Devices.BiometricFramework",
"Devices.Bluetooth",
"Devices.Communication",
"Devices.DeviceAccess",
"Devices.DeviceAndDriverInstallation",
"Devices.Display",
"Devices.Enumeration.Pnp",
"Devices.Fax",
"Devices.FunctionDiscovery",
"Devices.Geolocation",
"Devices.HumanInterfaceDevice",
"Devices.ImageAcquisition",
"Devices.PortableDevices",
"Devices.Properties",
"Devices.Pwm",
"Devices.Sensors",
"Devices.SerialCommunication",
"Devices.Tapi",
"Devices.Usb",
"Devices.WebServicesOnDevices",
"Gaming",
"Globalization",
"Graphics.Direct2D",
"Graphics.Direct3D",
"Graphics.Direct3D.Dxc",
"Graphics.Direct3D.Fxc",
"Graphics.Direct3D10",
"Graphics.Direct3D9on12",
"Graphics.DirectComposition",
"Graphics.DirectDraw",
"Graphics.DirectManipulation",
"Graphics.Dwm",
"Graphics.DXCore",
"Graphics.Dxgi.Common",
"Graphics.Dxgi",
"Graphics.Imaging",
"Graphics.OpenGL",
"Graphics.Printing",
"Graphics.Printing.PrintTicket",
"Management.MobileDeviceManagementRegistration",
"Media.Audio.Apo",
"Media.Audio.DirectMusic",
"Media.Audio.DirectSound",
"Media.Audio.Endpoints",
"Media.Audio.XAudio2",
"Media",
"Media.DeviceManager",
"Media.DirectShow",
"Media.DirectShow.Xml",
"Media.DxMediaObjects",
"Media.KernelStreaming",
"Media.MediaFoundation",
"Media.MediaPlayer",
"Media.PictureAcquisition",
"Media.Speech",
"Media.WindowsMediaFormat",
"Networking.ActiveDirectory",
"Networking.BackgroundIntelligentTransferService",
"Networking.Clustering",
"Networking.HttpServer",
"Networking.Ldap",
"Networking.NetworkListManager",
"Networking.RemoteDifferentialCompression",
"Networking.WebSocket",
"Networking.WindowsWebServices",
"Networking.WinHttp",
"Networking.WinInet",
"Networking.WinSock",
"NetworkManagement.Dhcp",
"NetworkManagement.Dns",
"NetworkManagement.InternetConnectionWizard",
"NetworkManagement.IpHelper",
"NetworkManagement.Multicast",
"NetworkManagement.Ndis",
"NetworkManagement.NetBios",
"NetworkManagement.NetManagement",
"NetworkManagement.NetShell",
"NetworkManagement.NetworkDiagnosticsFramework",
"NetworkManagement.NetworkPolicyServer",
"NetworkManagement.P2P",
"NetworkManagement.QoS",
"NetworkManagement.Rras",
"NetworkManagement.Snmp",
"NetworkManagement.WebDav",
"NetworkManagement.WindowsConnectionManager",
"NetworkManagement.WindowsConnectNow",
"NetworkManagement.WindowsFilteringPlatform",
"NetworkManagement.WindowsFirewall",
"NetworkManagement.WindowsNetworkVirtualization",
"NetworkManagement.WNet",
"Security.AppLocker",
"Security.Authentication.Identity",
"Security.Authentication.Identity.Provider",
"Security.Authorization",
"Security.Authorization.UI",
"Security.ConfigurationSnapin",
"Security",
"Security.Cryptography.Catalog",
"Security.Cryptography.Sip",
"Security.Cryptography.UI",
"Security.DirectoryServices",
"Security.ExtensibleAuthenticationProtocol",
"Security.NetworkAccessProtection",
"Security.Tpm",
"Security.WinTrust",
"Security.WinWlx",
"Storage.Cabinets",
"Storage.CloudFilters",
"Storage.Compression",
"Storage.DataDeduplication",
"Storage.EnhancedStorage",
"Storage.FileHistory",
"Storage.FileServerResourceManager",
"Storage.Imapi",
"Storage.IndexServer",
"Storage.InstallableFileSystems",
"Storage.Jet",
"Storage.OfflineFiles",
"Storage.Packaging.Appx",
"Storage.Packaging.Opc",
"Storage.Vhd",
"Storage.VirtualDiskService",
"Storage.Vss",
"Storage.Xps",
"Storage.Xps.Printing",
"System.AddressBook",
"System.ApplicationVerifier",
"System.Com",
"System.Com.StructuredStorage",
"System.Com.Urlmon",
"System.ComponentServices",
"System.Console",
"System.Contacts",
"System.CorrelationVector",
"System.DataExchange",
"System.DeploymentServices",
"System.DesktopSharing",
"System.Diagnostics.Debug",
"System.Diagnostics.ProcessSnapshotting",
"System.Diagnostics.ToolHelp",
"System.DistributedTransactionCoordinator",
"System.Environment",
"System.ErrorReporting",
"System.EventCollector",
"System.EventLog",
"System.EventNotificationService",
"System.GroupPolicy",
"System.Hypervisor",
"System.Iis",
"System.Kernel",
"System.LibraryLoader",
"System.Mapi",
"System.Memory",
"System.MessageQueuing",
"System.MixedReality",
"System.Mmc",
"System.ParentalControls",
"System.Performance",
"System.Pipes",
"System.Power",
"System.ProcessStatus",
"System.RealTimeCommunications",
"System.RemoteAssistance",
"System.RemoteDesktop",
"System.RemoteManagement",
"System.Restore",
"System.Rpc",
"System.Search",
"System.ServerBackup",
"System.SettingsManagementInfrastructure",
"System.Shutdown",
"System.SideShow",
"System.TaskScheduler",
"System.Time",
"System.TpmBaseServices",
"System.UpdateAgent",
"System.VirtualDosMachines",
"System.WindowsProgramming",
"System.WindowsSync",
"System.WinRT",
"System.WinRT.Xaml",
"UI.Accessibility",
"UI.Animation",
"UI.ColorSystem",
"UI.Controls.Dialogs",
"UI.Controls.RichEdit",
"UI.Input.Ime",
"UI.Input.KeyboardAndMouse",
"UI.Input.XboxController",
"UI.LegacyWindowsEnvironmentFeatures",
"UI.Magnification",
"UI.Ribbon",
"UI.Shell.Common",
"UI.Shell.PropertiesSystem",
"UI.WindowsAndMessaging",
"UI.Wpf",
"UI.Xaml.Diagnostics",
"System.Antimalware",
"System.Com.Marshal",
"System.Diagnostics.Ceip",
"System.Com.CallObj",
"System.Com.ChannelCredentials",
"System.Com.Events",
"Graphics.CompositionSwapchain",
"System.Diagnostics.Debug.WebApp",
"Devices.DeviceQuery",
"System.DeveloperLicensing",
"Graphics.Direct3D11on12",
"Security.EnterpriseData",
"System.HostComputeNetwork",
"System.HostComputeSystem",
"UI.Input.Radial",
"UI.Input.Ink",
"UI.InteractionContext",
"System.IO",
"Security.Isolation",
"System.JobObjects",
"NetworkManagement.MobileBroadband",
"System.PasswordManagement",
"Storage.ProjectedFileSystem",
"Security.DiagnosticDataQuery",
"Security.LicenseProtection",
"System.SecurityCenter",
"System.TransactionServer",
"System.UserAccessLogging",
"System.UpdateAssessment",
"UI.Notifications",
"System.SetupAndMigration",
"System.WinRT.AllJoyn",
"System.WinRT.Composition",
"System.WinRT.CoreInputView",
"System.WinRT.Graphics.Direct2D",
"System.WinRT.Direct3D11",
"System.WinRT.Display",
"System.WinRT.Graphics.Capture",
"System.WinRT.Graphics.Imaging",
"System.WinRT.Holographic",
"System.WinRT.Isolation",
"System.WinRT.Media",
"System.WinRT.ML",
"System.WinRT.Pdf",
"System.WinRT.Printing",
"System.WinRT.Storage",
"System.AssessmentTool",
"UI.Input.Touch",
"Media.LibrarySharingServices",
"System.SubsystemForLinux",
"Data.Xml.XmlLite",
"System.Memory.NonVolatile",
"System.StationsAndDesktops",
"UI.Input.Pointer",
"UI.Input",
"Storage.OperationRecorder",
"System.Mailslots",
"System.Recovery",
"System.Performance.HardwareCounterProfiling"
]
8 changes: 8 additions & 0 deletions generator/gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ function sizeof(ty: Deno.NativeResultType) {
}
}

const files: string[] = [];

for (const api in win32) {
if (!api.startsWith("Windows.Win32.")) {
throw new Error(`Invalid API name: ${api}`);
Expand Down Expand Up @@ -533,6 +535,7 @@ for (const api in win32) {
content += `}\n\n`;
}

files.push(path.replaceAll("/", ".").replace(".ts", "").trim());
await Deno.mkdir(TARGET_DIR + "/" + parts.join("/"), { recursive: true })
.catch(() => {});
await Deno.writeTextFile(TARGET_DIR + "/" + path, content);
Expand Down Expand Up @@ -563,3 +566,8 @@ function handleEntries(

const entries = [...Deno.readDirSync(TARGET_DIR)];
handleEntries(TARGET_DIR, entries);

await Deno.writeTextFile(
TARGET_DIR + "/all.json",
JSON.stringify(files, null, 2),
);

0 comments on commit cd24aec

Please sign in to comment.