From 824a25f5954bb9d64cc6ae46a7554c3e02d7bf55 Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Mon, 20 Mar 2023 23:57:25 +0530 Subject: [PATCH] fix: ts error --- README.md | 2 +- api/AI/MachineLearning/DirectML.ts | 54 +- api/AI/MachineLearning/WinML.ts | 36 +- api/Data/HtmlHelp.ts | 22 +- api/Data/RightsManagement.ts | 2 +- api/Devices/AllJoyn.ts | 314 +- api/Devices/BiometricFramework.ts | 142 +- api/Devices/Bluetooth.ts | 118 +- api/Devices/Communication.ts | 4 +- api/Devices/DeviceAndDriverInstallation.ts | 580 ++-- api/Devices/Display.ts | 176 +- api/Devices/Enumeration/Pnp.ts | 2 +- api/Devices/Fax.ts | 22 +- api/Devices/Geolocation.ts | 12 +- api/Devices/HumanInterfaceDevice.ts | 92 +- api/Devices/ImageAcquisition.ts | 26 +- api/Devices/Pwm.ts | 48 +- api/Devices/Sensors.ts | 12 +- api/Devices/SerialCommunication.ts | 2 +- api/Devices/Tapi.ts | 82 +- api/Devices/Usb.ts | 38 +- api/Devices/WebServicesOnDevices.ts | 34 +- api/Foundation.ts | 72 +- api/Gaming.ts | 18 +- api/Globalization.ts | 196 +- api/Graphics/CompositionSwapchain.ts | 6 +- api/Graphics/DXCore.ts | 24 +- api/Graphics/Direct2D.ts | 38 +- api/Graphics/Direct3D.ts | 934 +++--- api/Graphics/Direct3D/Dxc.ts | 6 +- api/Graphics/Direct3D/Fxc.ts | 54 +- api/Graphics/Direct3D10.ts | 134 +- api/Graphics/Direct3D11.ts | 216 +- api/Graphics/Direct3D12.ts | 610 ++-- api/Graphics/Direct3D9.ts | 52 +- api/Graphics/DirectComposition.ts | 60 +- api/Graphics/DirectDraw.ts | 658 ++-- api/Graphics/DirectWrite.ts | 12 +- api/Graphics/Dwm.ts | 208 +- api/Graphics/Dxgi.ts | 126 +- api/Graphics/Gdi.ts | 70 +- api/Graphics/Imaging.ts | 20 +- api/Graphics/OpenGL.ts | 12 +- api/Graphics/Printing.ts | 1200 +++---- api/Graphics/Printing/PrintTicket.ts | 2 +- .../MobileDeviceManagementRegistration.ts | 2 +- api/Media.ts | 2590 +++++++-------- api/Media/Audio.ts | 324 +- api/Media/Audio/Apo.ts | 32 +- api/Media/Audio/DirectMusic.ts | 32 +- api/Media/Audio/DirectSound.ts | 16 +- api/Media/Audio/XAudio2.ts | 18 +- api/Media/DeviceManager.ts | 12 +- api/Media/DirectShow.ts | 424 +-- api/Media/DxMediaObjects.ts | 12 +- api/Media/KernelStreaming.ts | 512 +-- api/Media/MediaFoundation.ts | 776 ++--- api/Media/MediaPlayer.ts | 6 +- api/Media/Multimedia.ts | 646 ++-- api/Media/Speech.ts | 124 +- api/Media/WindowsMediaFormat.ts | 48 +- api/NetworkManagement/Dhcp.ts | 90 +- api/NetworkManagement/Dns.ts | 82 +- api/NetworkManagement/IpHelper.ts | 468 +-- api/NetworkManagement/Ndis.ts | 422 +-- api/NetworkManagement/NetBios.ts | 8 +- api/NetworkManagement/NetManagement.ts | 20 +- api/NetworkManagement/NetShell.ts | 14 +- .../NetworkDiagnosticsFramework.ts | 16 +- api/NetworkManagement/NetworkPolicyServer.ts | 66 +- api/NetworkManagement/P2P.ts | 310 +- api/NetworkManagement/QoS.ts | 56 +- api/NetworkManagement/Rras.ts | 566 ++-- api/NetworkManagement/Snmp.ts | 136 +- api/NetworkManagement/WNet.ts | 12 +- api/NetworkManagement/WebDav.ts | 2 +- api/NetworkManagement/WiFi.ts | 544 ++-- .../WindowsConnectionManager.ts | 2 +- .../WindowsFilteringPlatform.ts | 776 ++--- api/NetworkManagement/WindowsFirewall.ts | 14 +- .../WindowsNetworkVirtualization.ts | 14 +- api/Networking/ActiveDirectory.ts | 174 +- .../BackgroundIntelligentTransferService.ts | 54 +- api/Networking/Clustering.ts | 172 +- api/Networking/HttpServer.ts | 376 +-- api/Networking/Ldap.ts | 14 +- .../RemoteDifferentialCompression.ts | 12 +- api/Networking/WebSocket.ts | 2 +- api/Networking/WinHttp.ts | 76 +- api/Networking/WinInet.ts | 216 +- api/Networking/WinSock.ts | 572 ++-- api/Networking/WindowsWebServices.ts | 82 +- api/Security.ts | 640 ++-- api/Security/AppLocker.ts | 30 +- api/Security/Authentication/Identity.ts | 166 +- api/Security/Authorization.ts | 58 +- api/Security/Authorization/UI.ts | 6 +- api/Security/Credentials.ts | 214 +- api/Security/Cryptography.ts | 238 +- api/Security/Cryptography/Catalog.ts | 32 +- api/Security/Cryptography/Sip.ts | 20 +- api/Security/Cryptography/UI.ts | 66 +- api/Security/DiagnosticDataQuery.ts | 64 +- api/Security/DirectoryServices.ts | 4 +- api/Security/EnterpriseData.ts | 2 +- .../ExtensibleAuthenticationProtocol.ts | 168 +- api/Security/Isolation.ts | 2 +- api/Security/WinTrust.ts | 42 +- api/Security/WinWlx.ts | 52 +- api/Storage/Cabinets.ts | 20 +- api/Storage/CloudFilters.ts | 28 +- api/Storage/Compression.ts | 28 +- api/Storage/DataDeduplication.ts | 54 +- api/Storage/DistributedFileSystem.ts | 18 +- api/Storage/FileHistory.ts | 2 +- api/Storage/FileSystem.ts | 390 +-- api/Storage/IndexServer.ts | 12 +- api/Storage/InstallableFileSystems.ts | 26 +- api/Storage/IscsiDisc.ts | 220 +- api/Storage/Jet.ts | 190 +- api/Storage/Packaging/Appx.ts | 16 +- api/Storage/ProjectedFileSystem.ts | 32 +- api/Storage/Vhd.ts | 48 +- api/Storage/VirtualDiskService.ts | 150 +- api/Storage/Vss.ts | 36 +- api/Storage/Xps.ts | 6 +- api/Storage/Xps/Printing.ts | 2 +- api/System/AddressBook.ts | 30 +- api/System/Antimalware.ts | 6 +- .../ApplicationInstallationAndServicing.ts | 120 +- api/System/ApplicationVerifier.ts | 44 +- api/System/Com.ts | 86 +- api/System/Com/StructuredStorage.ts | 28 +- api/System/Com/Urlmon.ts | 12 +- api/System/ComponentServices.ts | 18 +- api/System/Console.ts | 6 +- api/System/DataExchange.ts | 68 +- api/System/DeploymentServices.ts | 22 +- api/System/DeveloperLicensing.ts | 2 +- api/System/Diagnostics/Debug.ts | 2812 ++++++++--------- api/System/Diagnostics/Etw.ts | 286 +- api/System/Diagnostics/ProcessSnapshotting.ts | 212 +- api/System/Diagnostics/ToolHelp.ts | 56 +- .../DistributedTransactionCoordinator.ts | 60 +- api/System/Environment.ts | 70 +- api/System/ErrorReporting.ts | 56 +- api/System/EventCollector.ts | 36 +- api/System/EventLog.ts | 116 +- api/System/GroupPolicy.ts | 12 +- api/System/HostComputeNetwork.ts | 8 +- api/System/HostComputeSystem.ts | 10 +- api/System/Hypervisor.ts | 754 ++--- api/System/IO.ts | 42 +- api/System/Iis.ts | 170 +- api/System/Ioctl.ts | 1676 +++++----- api/System/JobObjects.ts | 416 +-- api/System/Js.ts | 12 +- api/System/Kernel.ts | 84 +- api/System/LibraryLoader.ts | 36 +- api/System/Mailslots.ts | 2 +- api/System/Memory.ts | 368 +-- api/System/Memory/NonVolatile.ts | 16 +- api/System/MixedReality.ts | 12 +- api/System/Mmc.ts | 68 +- api/System/Ole.ts | 162 +- api/System/Performance.ts | 284 +- .../Performance/HardwareCounterProfiling.ts | 22 +- api/System/Pipes.ts | 2 +- api/System/Power.ts | 86 +- api/System/ProcessStatus.ts | 226 +- api/System/Recovery.ts | 2 +- api/System/Registry.ts | 16 +- api/System/RemoteDesktop.ts | 48 +- api/System/RemoteManagement.ts | 14 +- api/System/RestartManager.ts | 12 +- api/System/Restore.ts | 18 +- api/System/Rpc.ts | 224 +- api/System/Search.ts | 214 +- api/System/SecurityCenter.ts | 2 +- api/System/Services.ts | 24 +- api/System/Shutdown.ts | 2 +- api/System/StationsAndDesktops.ts | 12 +- api/System/SubsystemForLinux.ts | 2 +- api/System/SystemInformation.ts | 136 +- api/System/SystemServices.ts | 568 ++-- api/System/Threading.ts | 194 +- api/System/TpmBaseServices.ts | 12 +- api/System/UserAccessLogging.ts | 6 +- api/System/VirtualDosMachines.ts | 2 +- api/System/WinRT.ts | 38 +- api/System/WindowsProgramming.ts | 198 +- api/System/WindowsSync.ts | 6 +- api/System/Wmi.ts | 1232 ++++---- api/UI/Accessibility.ts | 32 +- api/UI/Animation.ts | 2 +- api/UI/ColorSystem.ts | 134 +- api/UI/Controls.ts | 472 +-- api/UI/Controls/Dialogs.ts | 122 +- api/UI/Controls/RichEdit.ts | 48 +- api/UI/HiDpi.ts | 10 +- api/UI/Input.ts | 126 +- api/UI/Input/Ime.ts | 48 +- api/UI/Input/KeyboardAndMouse.ts | 38 +- api/UI/Input/Pointer.ts | 24 +- api/UI/Input/Touch.ts | 20 +- api/UI/InteractionContext.ts | 2 +- api/UI/Magnification.ts | 8 +- api/UI/Ribbon.ts | 12 +- api/UI/Shell.ts | 200 +- api/UI/Shell/Common.ts | 12 +- api/UI/Shell/PropertiesSystem.ts | 24 +- api/UI/TabletPC.ts | 30 +- api/UI/TextServices.ts | 16 +- api/UI/WindowsAndMessaging.ts | 154 +- api/UI/Xaml/Diagnostics.ts | 36 +- api/Web/MsHtml.ts | 14 +- generator/gen.ts | 2 +- 217 files changed, 16877 insertions(+), 16877 deletions(-) diff --git a/README.md b/README.md index 859b00f..f9becd5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Fast and complete Win32 API bindings for Deno using FFI. import { MB_OKCANCEL, MessageBoxA, -} from "https://win32.deno.dev/0.4.0/UI.WindowsAndMessaging"; +} from "https://win32.deno.dev/0.4.1/UI.WindowsAndMessaging"; const result = MessageBoxA( null, diff --git a/api/AI/MachineLearning/DirectML.ts b/api/AI/MachineLearning/DirectML.ts index 6b6950a..eac62db 100644 --- a/api/AI/MachineLearning/DirectML.ts +++ b/api/AI/MachineLearning/DirectML.ts @@ -280,7 +280,7 @@ export interface DML_BUFFER_TENSOR_DESC { /** ptr */ Strides: Deno.PointerValue | Uint8Array; /** u64 */ - TotalTensorSizeInBytes: Deno.PointerValue; + TotalTensorSizeInBytes: bigint | number; /** u32 */ GuaranteedBaseOffsetAlignment: number; } @@ -349,7 +349,7 @@ export class DML_BUFFER_TENSOR_DESCView { } // 0x20: u64 - get TotalTensorSizeInBytes(): Deno.PointerValue { + get TotalTensorSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -388,7 +388,7 @@ export class DML_BUFFER_TENSOR_DESCView { } // 0x20: u64 - set TotalTensorSizeInBytes(value: Deno.PointerValue) { + set TotalTensorSizeInBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -584,9 +584,9 @@ export interface DML_SCALAR_UNION { /** u32 */ UInt32: number; /** i64 */ - Int64: Deno.PointerValue; + Int64: bigint | number; /** u64 */ - UInt64: Deno.PointerValue; + UInt64: bigint | number; /** f32 */ Float32: number; /** f64 */ @@ -674,12 +674,12 @@ export class DML_SCALAR_UNIONView { // 0x16: pad2 // 0x18: i64 - get Int64(): Deno.PointerValue { + get Int64(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: u64 - get UInt64(): Deno.PointerValue { + get UInt64(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -733,12 +733,12 @@ export class DML_SCALAR_UNIONView { // 0x16: pad2 // 0x18: i64 - set Int64(value: Deno.PointerValue) { + set Int64(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: u64 - set UInt64(value: Deno.PointerValue) { + set UInt64(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -15360,7 +15360,7 @@ export class DML_FEATURE_DATA_FEATURE_LEVELSView { */ export interface D3D12_CPU_DESCRIPTOR_HANDLE { /** usize */ - ptr: Deno.PointerValue; + ptr: bigint | number; } export const sizeofD3D12_CPU_DESCRIPTOR_HANDLE = 8; @@ -15384,12 +15384,12 @@ export class D3D12_CPU_DESCRIPTOR_HANDLEView { } // 0x00: usize - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -15399,7 +15399,7 @@ export class D3D12_CPU_DESCRIPTOR_HANDLEView { */ export interface D3D12_GPU_DESCRIPTOR_HANDLE { /** u64 */ - ptr: Deno.PointerValue; + ptr: bigint | number; } export const sizeofD3D12_GPU_DESCRIPTOR_HANDLE = 8; @@ -15423,12 +15423,12 @@ export class D3D12_GPU_DESCRIPTOR_HANDLEView { } // 0x00: u64 - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -15529,9 +15529,9 @@ export interface DML_BINDING_PROPERTIES { /** u32 */ RequiredDescriptorCount: number; /** u64 */ - TemporaryResourceSize: Deno.PointerValue; + TemporaryResourceSize: bigint | number; /** u64 */ - PersistentResourceSize: Deno.PointerValue; + PersistentResourceSize: bigint | number; } export const sizeofDML_BINDING_PROPERTIES = 24; @@ -15567,12 +15567,12 @@ export class DML_BINDING_PROPERTIESView { // 0x04: pad4 // 0x08: u64 - get TemporaryResourceSize(): Deno.PointerValue { + get TemporaryResourceSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get PersistentResourceSize(): Deno.PointerValue { + get PersistentResourceSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -15584,12 +15584,12 @@ export class DML_BINDING_PROPERTIESView { // 0x04: pad4 // 0x08: u64 - set TemporaryResourceSize(value: Deno.PointerValue) { + set TemporaryResourceSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set PersistentResourceSize(value: Deno.PointerValue) { + set PersistentResourceSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -15660,9 +15660,9 @@ export interface DML_BUFFER_BINDING { /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ Buffer: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; } export const sizeofDML_BUFFER_BINDING = 24; @@ -15696,12 +15696,12 @@ export class DML_BUFFER_BINDINGView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -15711,12 +15711,12 @@ export class DML_BUFFER_BINDINGView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } diff --git a/api/AI/MachineLearning/WinML.ts b/api/AI/MachineLearning/WinML.ts index 540afe9..134fd62 100644 --- a/api/AI/MachineLearning/WinML.ts +++ b/api/AI/MachineLearning/WinML.ts @@ -185,9 +185,9 @@ export class WINML_TENSOR_BINDING_DESCView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -213,22 +213,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -363,11 +363,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -419,7 +419,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -430,7 +430,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -466,7 +466,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -477,7 +477,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -514,7 +514,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -543,7 +543,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -555,7 +555,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1286,7 +1286,7 @@ export interface WINML_MODEL_DESC { /** Windows.Win32.Foundation.PWSTR */ Description: string | null | Uint8Array | Uint16Array; /** usize */ - Version: Deno.PointerValue; + Version: bigint | number; } export const sizeofWINML_MODEL_DESC = 40; @@ -1354,7 +1354,7 @@ export class WINML_MODEL_DESCView { } // 0x20: usize - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1383,7 +1383,7 @@ export class WINML_MODEL_DESCView { } // 0x20: usize - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } diff --git a/api/Data/HtmlHelp.ts b/api/Data/HtmlHelp.ts index 750b4ac..bddfc6b 100644 --- a/api/Data/HtmlHelp.ts +++ b/api/Data/HtmlHelp.ts @@ -280,7 +280,7 @@ export const PRIORITY_HIGH = 2; // Structs -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.UI.Controls.NMHDR (size: 24) @@ -289,7 +289,7 @@ export interface NMHDR { /** Windows.Win32.Foundation.HWND */ hwndFrom: Deno.PointerValue; /** usize */ - idFrom: Deno.PointerValue; + idFrom: bigint | number; /** u32 */ code: number; } @@ -326,7 +326,7 @@ export class NMHDRView { } // 0x08: usize - get idFrom(): Deno.PointerValue { + get idFrom(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -343,7 +343,7 @@ export class NMHDRView { } // 0x08: usize - set idFrom(value: Deno.PointerValue) { + set idFrom(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -416,7 +416,7 @@ export class HHN_NOTIFYView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Foundation.POINT (size: 8) @@ -1957,9 +1957,9 @@ export class HHNTRACKView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1985,22 +1985,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Data/RightsManagement.ts b/api/Data/RightsManagement.ts index c5a482e..8027df1 100644 --- a/api/Data/RightsManagement.ts +++ b/api/Data/RightsManagement.ts @@ -719,7 +719,7 @@ export type HRESULT = number; export type BOOL = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/Devices/AllJoyn.ts b/api/Devices/AllJoyn.ts index 3e20b18..63d9f0c 100644 --- a/api/Devices/AllJoyn.ts +++ b/api/Devices/AllJoyn.ts @@ -514,13 +514,13 @@ export interface alljoyn_certificateid { /** ptr */ serial: Deno.PointerValue | Uint8Array; /** usize */ - serialLen: Deno.PointerValue; + serialLen: bigint | number; /** ptr */ issuerPublicKey: Deno.PointerValue | Uint8Array; /** ptr */ issuerAki: Deno.PointerValue | Uint8Array; /** usize */ - issuerAkiLen: Deno.PointerValue; + issuerAkiLen: bigint | number; } export const sizeofAlljoyn_certificateid = 40; @@ -558,7 +558,7 @@ export class alljoyn_certificateidView { } // 0x08: usize - get serialLen(): Deno.PointerValue { + get serialLen(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -575,7 +575,7 @@ export class alljoyn_certificateidView { } // 0x20: usize - get issuerAkiLen(): Deno.PointerValue { + get issuerAkiLen(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -585,7 +585,7 @@ export class alljoyn_certificateidView { } // 0x08: usize - set serialLen(value: Deno.PointerValue) { + set serialLen(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -600,7 +600,7 @@ export class alljoyn_certificateidView { } // 0x20: usize - set issuerAkiLen(value: Deno.PointerValue) { + set issuerAkiLen(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -610,7 +610,7 @@ export class alljoyn_certificateidView { */ export interface alljoyn_certificateidarray { /** usize */ - count: Deno.PointerValue; + count: bigint | number; /** ptr */ ids: Deno.PointerValue | Uint8Array; } @@ -638,7 +638,7 @@ export class alljoyn_certificateidarrayView { } // 0x00: usize - get count(): Deno.PointerValue { + get count(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -649,7 +649,7 @@ export class alljoyn_certificateidarrayView { } // 0x00: usize - set count(value: Deno.PointerValue) { + set count(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -664,7 +664,7 @@ export class alljoyn_certificateidarrayView { */ export interface alljoyn_manifestarray { /** usize */ - count: Deno.PointerValue; + count: bigint | number; /** ptr */ xmls: Deno.PointerValue | Uint8Array; } @@ -692,7 +692,7 @@ export class alljoyn_manifestarrayView { } // 0x00: usize - get count(): Deno.PointerValue { + get count(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -703,7 +703,7 @@ export class alljoyn_manifestarrayView { } // 0x00: usize - set count(value: Deno.PointerValue) { + set count(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1208,7 +1208,7 @@ export class alljoyn_buslistener_callbacksView { } } -export type alljoyn_interfacedescription = Deno.PointerValue; +export type alljoyn_interfacedescription = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -2014,65 +2014,65 @@ export class alljoyn_observerlistener_callbackView { } } -export type alljoyn_aboutdata = Deno.PointerValue; +export type alljoyn_aboutdata = bigint | number; -export type alljoyn_aboutdatalistener = Deno.PointerValue; +export type alljoyn_aboutdatalistener = bigint | number; -export type alljoyn_aboutlistener = Deno.PointerValue; +export type alljoyn_aboutlistener = bigint | number; -export type alljoyn_aboutobj = Deno.PointerValue; +export type alljoyn_aboutobj = bigint | number; -export type alljoyn_aboutobjectdescription = Deno.PointerValue; +export type alljoyn_aboutobjectdescription = bigint | number; -export type alljoyn_aboutproxy = Deno.PointerValue; +export type alljoyn_aboutproxy = bigint | number; -export type alljoyn_applicationstatelistener = Deno.PointerValue; +export type alljoyn_applicationstatelistener = bigint | number; -export type alljoyn_authlistener = Deno.PointerValue; +export type alljoyn_authlistener = bigint | number; -export type alljoyn_autopinger = Deno.PointerValue; +export type alljoyn_autopinger = bigint | number; -export type alljoyn_busattachment = Deno.PointerValue; +export type alljoyn_busattachment = bigint | number; -export type alljoyn_buslistener = Deno.PointerValue; +export type alljoyn_buslistener = bigint | number; -export type alljoyn_busobject = Deno.PointerValue; +export type alljoyn_busobject = bigint | number; -export type alljoyn_credentials = Deno.PointerValue; +export type alljoyn_credentials = bigint | number; -export type alljoyn_keystore = Deno.PointerValue; +export type alljoyn_keystore = bigint | number; -export type alljoyn_keystorelistener = Deno.PointerValue; +export type alljoyn_keystorelistener = bigint | number; -export type alljoyn_message = Deno.PointerValue; +export type alljoyn_message = bigint | number; -export type alljoyn_msgarg = Deno.PointerValue; +export type alljoyn_msgarg = bigint | number; -export type alljoyn_observer = Deno.PointerValue; +export type alljoyn_observer = bigint | number; -export type alljoyn_observerlistener = Deno.PointerValue; +export type alljoyn_observerlistener = bigint | number; -export type alljoyn_permissionconfigurationlistener = Deno.PointerValue; +export type alljoyn_permissionconfigurationlistener = bigint | number; -export type alljoyn_permissionconfigurator = Deno.PointerValue; +export type alljoyn_permissionconfigurator = bigint | number; -export type alljoyn_pinglistener = Deno.PointerValue; +export type alljoyn_pinglistener = bigint | number; -export type alljoyn_proxybusobject = Deno.PointerValue; +export type alljoyn_proxybusobject = bigint | number; -export type alljoyn_proxybusobject_ref = Deno.PointerValue; +export type alljoyn_proxybusobject_ref = bigint | number; -export type alljoyn_securityapplicationproxy = Deno.PointerValue; +export type alljoyn_securityapplicationproxy = bigint | number; -export type alljoyn_sessionlistener = Deno.PointerValue; +export type alljoyn_sessionlistener = bigint | number; -export type alljoyn_sessionopts = Deno.PointerValue; +export type alljoyn_sessionopts = bigint | number; -export type alljoyn_sessionportlistener = Deno.PointerValue; +export type alljoyn_sessionportlistener = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type BOOL = number; @@ -4369,14 +4369,14 @@ export function alljoyn_msgarg_destroy( } export function alljoyn_msgarg_array_create( - size: Deno.PointerValue /* usize */, + size: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */ { return libMSAJApi_dll.alljoyn_msgarg_array_create(size); } export function alljoyn_msgarg_array_element( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */ { return libMSAJApi_dll.alljoyn_msgarg_array_element(util.toPointer(arg), index); } @@ -4425,7 +4425,7 @@ export function alljoyn_msgarg_array_set( export function alljoyn_msgarg_array_get( args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, signature: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_array_get(util.toPointer(args), numArgs, util.pstrToFfi(signature)); @@ -4434,36 +4434,36 @@ export function alljoyn_msgarg_array_get( export function alljoyn_msgarg_tostring( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, str: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - buf: Deno.PointerValue /* usize */, - indent: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + buf: bigint | number /* usize */, + indent: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_msgarg_tostring(util.toPointer(arg), util.pstrToFfi(str), buf, indent); } export function alljoyn_msgarg_array_tostring( args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, str: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - buf: Deno.PointerValue /* usize */, - indent: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + buf: bigint | number /* usize */, + indent: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_msgarg_array_tostring(util.toPointer(args), numArgs, util.pstrToFfi(str), buf, indent); } export function alljoyn_msgarg_signature( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, str: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - buf: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + buf: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_msgarg_signature(util.toPointer(arg), util.pstrToFfi(str), buf); } export function alljoyn_msgarg_array_signature( values: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numValues: Deno.PointerValue /* usize */, + numValues: bigint | number /* usize */, str: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - buf: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + buf: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_msgarg_array_signature(util.toPointer(values), numValues, util.pstrToFfi(str), buf); } @@ -4501,7 +4501,7 @@ export function alljoyn_msgarg_stabilize( export function alljoyn_msgarg_array_set_offset( args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - argOffset: Deno.PointerValue /* usize */, + argOffset: bigint | number /* usize */, numArgs: Deno.PointerValue | Uint8Array /* ptr */, signature: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { @@ -4559,14 +4559,14 @@ export function alljoyn_msgarg_set_uint32( export function alljoyn_msgarg_set_int64( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - x: Deno.PointerValue /* i64 */, + x: bigint | number /* i64 */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_int64(util.toPointer(arg), x); } export function alljoyn_msgarg_set_uint64( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - t: Deno.PointerValue /* u64 */, + t: bigint | number /* u64 */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_uint64(util.toPointer(arg), t); } @@ -4692,7 +4692,7 @@ export function alljoyn_msgarg_get_variant( export function alljoyn_msgarg_set_uint8_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, ay: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_uint8_array(util.toPointer(arg), length, util.toPointer(ay)); @@ -4700,7 +4700,7 @@ export function alljoyn_msgarg_set_uint8_array( export function alljoyn_msgarg_set_bool_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, ab: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_bool_array(util.toPointer(arg), length, util.toPointer(ab)); @@ -4708,7 +4708,7 @@ export function alljoyn_msgarg_set_bool_array( export function alljoyn_msgarg_set_int16_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, an: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_int16_array(util.toPointer(arg), length, util.toPointer(an)); @@ -4716,7 +4716,7 @@ export function alljoyn_msgarg_set_int16_array( export function alljoyn_msgarg_set_uint16_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, aq: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_uint16_array(util.toPointer(arg), length, util.toPointer(aq)); @@ -4724,7 +4724,7 @@ export function alljoyn_msgarg_set_uint16_array( export function alljoyn_msgarg_set_int32_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, ai: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_int32_array(util.toPointer(arg), length, util.toPointer(ai)); @@ -4732,7 +4732,7 @@ export function alljoyn_msgarg_set_int32_array( export function alljoyn_msgarg_set_uint32_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, au: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_uint32_array(util.toPointer(arg), length, util.toPointer(au)); @@ -4740,7 +4740,7 @@ export function alljoyn_msgarg_set_uint32_array( export function alljoyn_msgarg_set_int64_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, ax: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_int64_array(util.toPointer(arg), length, util.toPointer(ax)); @@ -4748,7 +4748,7 @@ export function alljoyn_msgarg_set_int64_array( export function alljoyn_msgarg_set_uint64_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, at: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_uint64_array(util.toPointer(arg), length, util.toPointer(at)); @@ -4756,7 +4756,7 @@ export function alljoyn_msgarg_set_uint64_array( export function alljoyn_msgarg_set_double_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, ad: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_double_array(util.toPointer(arg), length, util.toPointer(ad)); @@ -4764,7 +4764,7 @@ export function alljoyn_msgarg_set_double_array( export function alljoyn_msgarg_set_string_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, as: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_string_array(util.toPointer(arg), length, util.toPointer(as)); @@ -4772,7 +4772,7 @@ export function alljoyn_msgarg_set_string_array( export function alljoyn_msgarg_set_objectpath_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, ao: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_objectpath_array(util.toPointer(arg), length, util.toPointer(ao)); @@ -4780,7 +4780,7 @@ export function alljoyn_msgarg_set_objectpath_array( export function alljoyn_msgarg_set_signature_array( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - length: Deno.PointerValue /* usize */, + length: bigint | number /* usize */, ag: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_set_signature_array(util.toPointer(arg), length, util.toPointer(ag)); @@ -4869,13 +4869,13 @@ export function alljoyn_msgarg_get_variant_array( export function alljoyn_msgarg_get_array_numberofelements( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_msgarg_get_array_numberofelements(util.toPointer(arg)); } export function alljoyn_msgarg_get_array_element( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, element: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { return libMSAJApi_dll.alljoyn_msgarg_get_array_element(util.toPointer(arg), index, util.toPointer(element)); @@ -4883,7 +4883,7 @@ export function alljoyn_msgarg_get_array_element( export function alljoyn_msgarg_get_array_elementsignature( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, ): string | null /* Windows.Win32.Foundation.PSTR */ { return util.pstrFromFfi(libMSAJApi_dll.alljoyn_msgarg_get_array_elementsignature(util.toPointer(arg), index)); } @@ -4911,20 +4911,20 @@ export function alljoyn_msgarg_setdictentry( export function alljoyn_msgarg_setstruct( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, struct_members: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - num_members: Deno.PointerValue /* usize */, + num_members: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_msgarg_setstruct(util.toPointer(arg), util.toPointer(struct_members), num_members); } export function alljoyn_msgarg_getnummembers( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_msgarg_getnummembers(util.toPointer(arg)); } export function alljoyn_msgarg_getmember( arg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */ { return libMSAJApi_dll.alljoyn_msgarg_getmember(util.toPointer(arg), index); } @@ -4977,7 +4977,7 @@ export function alljoyn_aboutdata_createfrommsgarg( export function alljoyn_aboutdata_setappid( data: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_aboutdata */, appId: Deno.PointerValue | Uint8Array /* ptr */, - num: Deno.PointerValue /* usize */, + num: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_aboutdata_setappid(util.toPointer(data), util.toPointer(appId), num); } @@ -5097,8 +5097,8 @@ export function alljoyn_aboutdata_setsupportedlanguage( export function alljoyn_aboutdata_getsupportedlanguages( data: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_aboutdata */, languageTags: Deno.PointerValue | Uint8Array /* ptr */, - num: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + num: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_aboutdata_getsupportedlanguages(util.toPointer(data), util.toPointer(languageTags), num); } @@ -5202,8 +5202,8 @@ export function alljoyn_aboutdata_getfield( export function alljoyn_aboutdata_getfields( data: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_aboutdata */, fields: Deno.PointerValue | Uint8Array /* ptr */, - num_fields: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + num_fields: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_aboutdata_getfields(util.toPointer(data), util.toPointer(fields), num_fields); } @@ -5272,7 +5272,7 @@ export function alljoyn_abouticon_setcontent( icon: Deno.PointerValue | Uint8Array /* ptr */, type: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, data: Deno.PointerValue | Uint8Array /* ptr */, - csize: Deno.PointerValue /* usize */, + csize: bigint | number /* usize */, ownsData: number /* u8 */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_abouticon_setcontent(util.toPointer(icon), util.pstrToFfi(type), util.toPointer(data), csize, ownsData); @@ -5397,10 +5397,10 @@ export function alljoyn_permissionconfigurator_claim( caKey: Deno.PointerValue | Uint8Array /* ptr */, identityCertificateChain: Deno.PointerValue | Uint8Array /* ptr */, groupId: Deno.PointerValue | Uint8Array /* ptr */, - groupSize: Deno.PointerValue /* usize */, + groupSize: bigint | number /* usize */, groupAuthority: Deno.PointerValue | Uint8Array /* ptr */, manifestsXmls: Deno.PointerValue | Uint8Array /* ptr */, - manifestsCount: Deno.PointerValue /* usize */, + manifestsCount: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_permissionconfigurator_claim(util.toPointer(configurator), util.toPointer(caKey), util.toPointer(identityCertificateChain), util.toPointer(groupId), groupSize, util.toPointer(groupAuthority), util.toPointer(manifestsXmls), manifestsCount); } @@ -5409,7 +5409,7 @@ export function alljoyn_permissionconfigurator_updateidentity( configurator: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_permissionconfigurator */, identityCertificateChain: Deno.PointerValue | Uint8Array /* ptr */, manifestsXmls: Deno.PointerValue | Uint8Array /* ptr */, - manifestsCount: Deno.PointerValue /* usize */, + manifestsCount: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_permissionconfigurator_updateidentity(util.toPointer(configurator), util.toPointer(identityCertificateChain), util.toPointer(manifestsXmls), manifestsCount); } @@ -5443,7 +5443,7 @@ export function alljoyn_permissionconfigurator_manifestarray_cleanup( export function alljoyn_permissionconfigurator_installmanifests( configurator: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_permissionconfigurator */, manifestsXmls: Deno.PointerValue | Uint8Array /* ptr */, - manifestsCount: Deno.PointerValue /* usize */, + manifestsCount: bigint | number /* usize */, append: number /* i32 */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_permissionconfigurator_installmanifests(util.toPointer(configurator), util.toPointer(manifestsXmls), manifestsCount, append); @@ -5518,10 +5518,10 @@ export function alljoyn_permissionconfigurator_installmembership( export function alljoyn_permissionconfigurator_removemembership( configurator: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_permissionconfigurator */, serial: Deno.PointerValue | Uint8Array /* ptr */, - serialLen: Deno.PointerValue /* usize */, + serialLen: bigint | number /* usize */, issuerPublicKey: Deno.PointerValue | Uint8Array /* ptr */, issuerAki: Deno.PointerValue | Uint8Array /* ptr */, - issuerAkiLen: Deno.PointerValue /* usize */, + issuerAkiLen: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_permissionconfigurator_removemembership(util.toPointer(configurator), util.toPointer(serial), serialLen, util.toPointer(issuerPublicKey), util.toPointer(issuerAki), issuerAkiLen); } @@ -5747,7 +5747,7 @@ export function alljoyn_message_getargs( export function alljoyn_message_getarg( msg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_message */, - argN: Deno.PointerValue /* usize */, + argN: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */ { return libMSAJApi_dll.alljoyn_message_getarg(util.toPointer(msg), argN); } @@ -5836,16 +5836,16 @@ export function alljoyn_message_geterrorname( export function alljoyn_message_tostring( msg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_message */, str: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - buf: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + buf: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_message_tostring(util.toPointer(msg), util.pstrToFfi(str), buf); } export function alljoyn_message_description( msg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_message */, str: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - buf: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + buf: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_message_description(util.toPointer(msg), util.pstrToFfi(str), buf); } @@ -5914,7 +5914,7 @@ export function alljoyn_authlistenerasync_destroy( export function alljoyn_authlistener_setsharedsecret( listener: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_authlistener */, sharedSecret: Deno.PointerValue | Uint8Array /* ptr */, - sharedSecretSize: Deno.PointerValue /* usize */, + sharedSecretSize: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_authlistener_setsharedsecret(util.toPointer(listener), util.toPointer(sharedSecret), sharedSecretSize); } @@ -6035,13 +6035,13 @@ export function alljoyn_buslistener_destroy( export function alljoyn_interfacedescription_member_getannotationscount( member: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_member_getannotationscount(util.toPointer(member)); } export function alljoyn_interfacedescription_member_getannotationatindex( member: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, name: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, name_size: Deno.PointerValue | Uint8Array /* ptr */, value: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6062,14 +6062,14 @@ export function alljoyn_interfacedescription_member_getannotation( export function alljoyn_interfacedescription_member_getargannotationscount( member: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, argName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_member_getargannotationscount(util.toPointer(member), util.pstrToFfi(argName)); } export function alljoyn_interfacedescription_member_getargannotationatindex( member: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, argName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, name: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, name_size: Deno.PointerValue | Uint8Array /* ptr */, value: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6090,13 +6090,13 @@ export function alljoyn_interfacedescription_member_getargannotation( export function alljoyn_interfacedescription_property_getannotationscount( property: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_property */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_property_getannotationscount(util.toPointer(property)); } export function alljoyn_interfacedescription_property_getannotationatindex( property: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_property */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, name: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, name_size: Deno.PointerValue | Uint8Array /* ptr */, value: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6139,13 +6139,13 @@ export function alljoyn_interfacedescription_getannotation( export function alljoyn_interfacedescription_getannotationscount( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getannotationscount(util.toPointer(iface)); } export function alljoyn_interfacedescription_getannotationatindex( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, - index: Deno.PointerValue /* usize */, + index: bigint | number /* usize */, name: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, name_size: Deno.PointerValue | Uint8Array /* ptr */, value: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6196,8 +6196,8 @@ export function alljoyn_interfacedescription_getmemberannotation( export function alljoyn_interfacedescription_getmembers( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, members: Deno.PointerValue | Uint8Array /* ptr */, - numMembers: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numMembers: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getmembers(util.toPointer(iface), util.toPointer(members), numMembers); } @@ -6260,8 +6260,8 @@ export function alljoyn_interfacedescription_getproperty( export function alljoyn_interfacedescription_getproperties( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, props: Deno.PointerValue | Uint8Array /* ptr */, - numProps: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numProps: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getproperties(util.toPointer(iface), util.toPointer(props), numProps); } @@ -6315,9 +6315,9 @@ export function alljoyn_interfacedescription_getname( export function alljoyn_interfacedescription_introspect( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, str: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - buf: Deno.PointerValue /* usize */, - indent: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + buf: bigint | number /* usize */, + indent: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_introspect(util.toPointer(iface), util.pstrToFfi(str), buf, indent); } @@ -6343,16 +6343,16 @@ export function alljoyn_interfacedescription_setdescriptionlanguage( export function alljoyn_interfacedescription_getdescriptionlanguages( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, languages: Deno.PointerValue | Uint8Array /* ptr */, - size: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + size: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getdescriptionlanguages(util.toPointer(iface), util.toPointer(languages), size); } export function alljoyn_interfacedescription_getdescriptionlanguages2( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, languages: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - languagesSize: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + languagesSize: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getdescriptionlanguages2(util.toPointer(iface), util.pstrToFfi(languages), languagesSize); } @@ -6374,9 +6374,9 @@ export function alljoyn_interfacedescription_setdescriptionforlanguage( export function alljoyn_interfacedescription_getdescriptionforlanguage( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, description: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - maxLanguageLength: Deno.PointerValue /* usize */, + maxLanguageLength: bigint | number /* usize */, languageTag: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getdescriptionforlanguage(util.toPointer(iface), util.pstrToFfi(description), maxLanguageLength, util.pstrToFfi(languageTag)); } @@ -6401,9 +6401,9 @@ export function alljoyn_interfacedescription_getmemberdescriptionforlanguage( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, member: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, description: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - maxLanguageLength: Deno.PointerValue /* usize */, + maxLanguageLength: bigint | number /* usize */, languageTag: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getmemberdescriptionforlanguage(util.toPointer(iface), util.pstrToFfi(member), util.pstrToFfi(description), maxLanguageLength, util.pstrToFfi(languageTag)); } @@ -6431,9 +6431,9 @@ export function alljoyn_interfacedescription_getargdescriptionforlanguage( member: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, arg: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, description: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - maxLanguageLength: Deno.PointerValue /* usize */, + maxLanguageLength: bigint | number /* usize */, languageTag: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getargdescriptionforlanguage(util.toPointer(iface), util.pstrToFfi(member), util.pstrToFfi(arg), util.pstrToFfi(description), maxLanguageLength, util.pstrToFfi(languageTag)); } @@ -6458,9 +6458,9 @@ export function alljoyn_interfacedescription_getpropertydescriptionforlanguage( iface: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription */, property: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, description: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - maxLanguageLength: Deno.PointerValue /* usize */, + maxLanguageLength: bigint | number /* usize */, languageTag: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_interfacedescription_getpropertydescriptionforlanguage(util.toPointer(iface), util.pstrToFfi(property), util.pstrToFfi(description), maxLanguageLength, util.pstrToFfi(languageTag)); } @@ -6560,7 +6560,7 @@ export function alljoyn_busobject_emitpropertieschanged( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busobject */, ifcName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, propNames: Deno.PointerValue | Uint8Array /* ptr */, - numProps: Deno.PointerValue /* usize */, + numProps: bigint | number /* usize */, id: number /* u32 */, ): void /* void */ { return libMSAJApi_dll.alljoyn_busobject_emitpropertieschanged(util.toPointer(bus), util.pstrToFfi(ifcName), util.toPointer(propNames), numProps, id); @@ -6569,8 +6569,8 @@ export function alljoyn_busobject_emitpropertieschanged( export function alljoyn_busobject_getname( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busobject */, buffer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - bufferSz: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + bufferSz: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_busobject_getname(util.toPointer(bus), util.pstrToFfi(buffer), bufferSz); } @@ -6593,7 +6593,7 @@ export function alljoyn_busobject_addmethodhandler( export function alljoyn_busobject_addmethodhandlers( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busobject */, entries: Deno.PointerValue | Uint8Array /* ptr */, - numEntries: Deno.PointerValue /* usize */, + numEntries: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_busobject_addmethodhandlers(util.toPointer(bus), util.toPointer(entries), numEntries); } @@ -6602,7 +6602,7 @@ export function alljoyn_busobject_methodreply_args( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busobject */, msg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_message */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_busobject_methodreply_args(util.toPointer(bus), util.toPointer(msg), util.toPointer(args), numArgs); } @@ -6636,7 +6636,7 @@ export function alljoyn_busobject_signal( sessionId: number /* u32 */, signal: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, timeToLive: number /* u16 */, flags: number /* u8 */, msg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_message */, @@ -6667,8 +6667,8 @@ export function alljoyn_busobject_issecure( export function alljoyn_busobject_getannouncedinterfacenames( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busobject */, interfaces: Deno.PointerValue | Uint8Array /* ptr */, - numInterfaces: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numInterfaces: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_busobject_getannouncedinterfacenames(util.toPointer(bus), util.toPointer(interfaces), numInterfaces); } @@ -6728,8 +6728,8 @@ export function alljoyn_proxybusobject_addinterface_by_name( export function alljoyn_proxybusobject_getchildren( proxyObj: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_proxybusobject */, children: Deno.PointerValue | Uint8Array /* ptr */, - numChildren: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numChildren: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_proxybusobject_getchildren(util.toPointer(proxyObj), util.toPointer(children), numChildren); } @@ -6819,7 +6819,7 @@ export function alljoyn_proxybusobject_registerpropertieschangedlistener( proxyObj: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_proxybusobject */, iface: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, properties: Deno.PointerValue | Uint8Array /* ptr */, - numProperties: Deno.PointerValue /* usize */, + numProperties: bigint | number /* usize */, callback: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_proxybusobject_listener_propertieschanged_ptr */, context: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { @@ -6851,7 +6851,7 @@ export function alljoyn_proxybusobject_methodcall( ifaceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, methodName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, replyMsg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_message */, timeout: number /* u32 */, flags: number /* u8 */, @@ -6863,7 +6863,7 @@ export function alljoyn_proxybusobject_methodcall_member( proxyObj: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_proxybusobject */, method: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, replyMsg: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_message */, timeout: number /* u32 */, flags: number /* u8 */, @@ -6876,7 +6876,7 @@ export function alljoyn_proxybusobject_methodcall_noreply( ifaceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, methodName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, flags: number /* u8 */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_proxybusobject_methodcall_noreply(util.toPointer(proxyObj), util.pstrToFfi(ifaceName), util.pstrToFfi(methodName), util.toPointer(args), numArgs, flags); @@ -6886,7 +6886,7 @@ export function alljoyn_proxybusobject_methodcall_member_noreply( proxyObj: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_proxybusobject */, method: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, flags: number /* u8 */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_proxybusobject_methodcall_member_noreply(util.toPointer(proxyObj), util.toPointer(method), util.toPointer(args), numArgs, flags); @@ -6898,7 +6898,7 @@ export function alljoyn_proxybusobject_methodcallasync( methodName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, replyFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_messagereceiver_replyhandler_ptr */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, context: Deno.PointerValue | Uint8Array /* ptr */, timeout: number /* u32 */, flags: number /* u8 */, @@ -6911,7 +6911,7 @@ export function alljoyn_proxybusobject_methodcallasync_member( method: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_interfacedescription_member */, replyFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_messagereceiver_replyhandler_ptr */, args: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_msgarg */, - numArgs: Deno.PointerValue /* usize */, + numArgs: bigint | number /* usize */, context: Deno.PointerValue | Uint8Array /* ptr */, timeout: number /* u32 */, flags: number /* u8 */, @@ -6951,8 +6951,8 @@ export function alljoyn_proxybusobject_getinterface( export function alljoyn_proxybusobject_getinterfaces( proxyObj: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_proxybusobject */, ifaces: Deno.PointerValue | Uint8Array /* ptr */, - numIfaces: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numIfaces: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_proxybusobject_getinterfaces(util.toPointer(proxyObj), util.toPointer(ifaces), numIfaces); } @@ -7323,8 +7323,8 @@ export function alljoyn_busattachment_createinterfacesfromxml( export function alljoyn_busattachment_getinterfaces( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busattachment */, ifaces: Deno.PointerValue | Uint8Array /* ptr */, - numIfaces: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numIfaces: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_busattachment_getinterfaces(util.toPointer(bus), util.toPointer(ifaces), numIfaces); } @@ -7614,7 +7614,7 @@ export function alljoyn_busattachment_unregisterallaboutlisteners( export function alljoyn_busattachment_whoimplements_interfaces( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busattachment */, implementsInterfaces: Deno.PointerValue | Uint8Array /* ptr */, - numberInterfaces: Deno.PointerValue /* usize */, + numberInterfaces: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_busattachment_whoimplements_interfaces(util.toPointer(bus), util.toPointer(implementsInterfaces), numberInterfaces); } @@ -7629,7 +7629,7 @@ export function alljoyn_busattachment_whoimplements_interface( export function alljoyn_busattachment_cancelwhoimplements_interfaces( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busattachment */, implementsInterfaces: Deno.PointerValue | Uint8Array /* ptr */, - numberInterfaces: Deno.PointerValue /* usize */, + numberInterfaces: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_busattachment_cancelwhoimplements_interfaces(util.toPointer(bus), util.toPointer(implementsInterfaces), numberInterfaces); } @@ -7782,8 +7782,8 @@ export function alljoyn_aboutobjectdescription_destroy( export function alljoyn_aboutobjectdescription_getpaths( description: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_aboutobjectdescription */, paths: Deno.PointerValue | Uint8Array /* ptr */, - numPaths: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numPaths: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_aboutobjectdescription_getpaths(util.toPointer(description), util.toPointer(paths), numPaths); } @@ -7791,8 +7791,8 @@ export function alljoyn_aboutobjectdescription_getinterfaces( description: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_aboutobjectdescription */, path: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, interfaces: Deno.PointerValue | Uint8Array /* ptr */, - numInterfaces: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numInterfaces: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_aboutobjectdescription_getinterfaces(util.toPointer(description), util.pstrToFfi(path), util.toPointer(interfaces), numInterfaces); } @@ -7800,8 +7800,8 @@ export function alljoyn_aboutobjectdescription_getinterfacepaths( description: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_aboutobjectdescription */, interfaceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, paths: Deno.PointerValue | Uint8Array /* ptr */, - numPaths: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + numPaths: bigint | number /* usize */, +): bigint | number /* usize */ { return libMSAJApi_dll.alljoyn_aboutobjectdescription_getinterfacepaths(util.toPointer(description), util.pstrToFfi(interfaceName), util.toPointer(paths), numPaths); } @@ -8028,7 +8028,7 @@ export function alljoyn_observerlistener_destroy( export function alljoyn_observer_create( bus: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_busattachment */, mandatoryInterfaces: Deno.PointerValue | Uint8Array /* ptr */, - numMandatoryInterfaces: Deno.PointerValue /* usize */, + numMandatoryInterfaces: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_observer */ { return libMSAJApi_dll.alljoyn_observer_create(util.toPointer(bus), util.toPointer(mandatoryInterfaces), numMandatoryInterfaces); } @@ -8111,10 +8111,10 @@ export function alljoyn_securityapplicationproxy_claim( caKey: Deno.PointerValue | Uint8Array /* ptr */, identityCertificateChain: Deno.PointerValue | Uint8Array /* ptr */, groupId: Deno.PointerValue | Uint8Array /* ptr */, - groupSize: Deno.PointerValue /* usize */, + groupSize: bigint | number /* usize */, groupAuthority: Deno.PointerValue | Uint8Array /* ptr */, manifestsXmls: Deno.PointerValue | Uint8Array /* ptr */, - manifestsCount: Deno.PointerValue /* usize */, + manifestsCount: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_securityapplicationproxy_claim(util.toPointer(proxy), util.toPointer(caKey), util.toPointer(identityCertificateChain), util.toPointer(groupId), groupSize, util.toPointer(groupAuthority), util.toPointer(manifestsXmls), manifestsCount); } @@ -8184,7 +8184,7 @@ export function alljoyn_securityapplicationproxy_updateidentity( proxy: Uint8Array | Deno.PointerValue /* Windows.Win32.Devices.AllJoyn.alljoyn_securityapplicationproxy */, identityCertificateChain: Deno.PointerValue | Uint8Array /* ptr */, manifestsXmls: Deno.PointerValue | Uint8Array /* ptr */, - manifestsCount: Deno.PointerValue /* usize */, + manifestsCount: bigint | number /* usize */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_securityapplicationproxy_updateidentity(util.toPointer(proxy), util.toPointer(identityCertificateChain), util.toPointer(manifestsXmls), manifestsCount); } @@ -8267,7 +8267,7 @@ export function alljoyn_securityapplicationproxy_setmanifestsignature( unsignedManifestXml: Deno.PointerValue | Uint8Array /* ptr */, identityCertificatePem: Deno.PointerValue | Uint8Array /* ptr */, signature: Deno.PointerValue | Uint8Array /* ptr */, - signatureSize: Deno.PointerValue /* usize */, + signatureSize: bigint | number /* usize */, signedManifestXml: Deno.PointerValue | Uint8Array /* ptr */, ): QStatus /* Windows.Win32.Devices.AllJoyn.QStatus */ { return libMSAJApi_dll.alljoyn_securityapplicationproxy_setmanifestsignature(util.toPointer(unsignedManifestXml), util.toPointer(identityCertificatePem), util.toPointer(signature), signatureSize, util.toPointer(signedManifestXml)); diff --git a/api/Devices/BiometricFramework.ts b/api/Devices/BiometricFramework.ts index fcdb810..5f00a5a 100644 --- a/api/Devices/BiometricFramework.ts +++ b/api/Devices/BiometricFramework.ts @@ -700,9 +700,9 @@ export class WINBIO_REGISTERED_FORMATView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -728,22 +728,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -822,7 +822,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -862,7 +862,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -877,7 +877,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -1144,7 +1144,7 @@ export class WINBIO_BIR_HEADERView { */ export interface WINBIO_BDB_ANSI_381_HEADER { /** u64 */ - RecordLength: Deno.PointerValue; + RecordLength: bigint | number; /** u32 */ FormatIdentifier: number; /** u32 */ @@ -1225,7 +1225,7 @@ export class WINBIO_BDB_ANSI_381_HEADERView { } // 0x00: u64 - get RecordLength(): Deno.PointerValue { + get RecordLength(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1303,7 +1303,7 @@ export class WINBIO_BDB_ANSI_381_HEADERView { // 0x2a: pad6 // 0x00: u64 - set RecordLength(value: Deno.PointerValue) { + set RecordLength(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1547,7 +1547,7 @@ export interface WINBIO_SECURE_BUFFER_HEADER_V1 { /** u32 */ Flags: number; /** u64 */ - ValidationTag: Deno.PointerValue; + ValidationTag: bigint | number; } export const sizeofWINBIO_SECURE_BUFFER_HEADER_V1 = 24; @@ -1595,7 +1595,7 @@ export class WINBIO_SECURE_BUFFER_HEADER_V1View { // 0x0c: pad4 // 0x10: u64 - get ValidationTag(): Deno.PointerValue { + get ValidationTag(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1617,7 +1617,7 @@ export class WINBIO_SECURE_BUFFER_HEADER_V1View { // 0x0c: pad4 // 0x10: u64 - set ValidationTag(value: Deno.PointerValue) { + set ValidationTag(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -2434,9 +2434,9 @@ export interface WINBIO_PRESENCE { /** Windows.Win32.Devices.BiometricFramework.WINBIO_IDENTITY */ Identity: Uint8Array | Deno.PointerValue; /** u64 */ - TrackingId: Deno.PointerValue; + TrackingId: bigint | number; /** u64 */ - Ticket: Deno.PointerValue; + Ticket: bigint | number; /** Windows.Win32.Devices.BiometricFramework.WINBIO_PRESENCE_PROPERTIES */ Properties: Uint8Array | Deno.PointerValue; /** _Authorization_e__Struct */ @@ -2513,12 +2513,12 @@ export class WINBIO_PRESENCEView { } // 0x20: u64 - get TrackingId(): Deno.PointerValue { + get TrackingId(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get Ticket(): Deno.PointerValue { + get Ticket(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -2564,12 +2564,12 @@ export class WINBIO_PRESENCEView { } // 0x20: u64 - set TrackingId(value: Deno.PointerValue) { + set TrackingId(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set Ticket(value: Deno.PointerValue) { + set Ticket(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -3685,7 +3685,7 @@ export class WINBIO_ANTI_SPOOF_POLICYView { */ export interface WINBIO_EXTENDED_ENROLLMENT_PARAMETERS { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** u8 */ SubFactor: number; } @@ -3714,7 +3714,7 @@ export class WINBIO_EXTENDED_ENROLLMENT_PARAMETERSView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3726,7 +3726,7 @@ export class WINBIO_EXTENDED_ENROLLMENT_PARAMETERSView { // 0x09: pad7 // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3808,9 +3808,9 @@ export interface WINBIO_PROTECTION_POLICY { /** System.Guid */ DatabaseId: Uint8Array | Deno.PointerValue; /** u64 */ - UserState: Deno.PointerValue; + UserState: bigint | number; /** usize */ - PolicySize: Deno.PointerValue; + PolicySize: bigint | number; /** array */ Policy: Deno.PointerValue; } @@ -3866,12 +3866,12 @@ export class WINBIO_PROTECTION_POLICYView { } // 0x18: u64 - get UserState(): Deno.PointerValue { + get UserState(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get PolicySize(): Deno.PointerValue { + get PolicySize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -3899,12 +3899,12 @@ export class WINBIO_PROTECTION_POLICYView { } // 0x18: u64 - set UserState(value: Deno.PointerValue) { + set UserState(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set PolicySize(value: Deno.PointerValue) { + set PolicySize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -3919,7 +3919,7 @@ export class WINBIO_PROTECTION_POLICYView { */ export interface WINBIO_GESTURE_METADATA { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** u32 */ BiometricType: number; /** u32 */ @@ -3956,7 +3956,7 @@ export class WINBIO_GESTURE_METADATAView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3978,7 +3978,7 @@ export class WINBIO_GESTURE_METADATAView { // 0x14: pad4 // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4009,9 +4009,9 @@ export interface WINBIO_ASYNC_RESULT { /** u32 */ Operation: number; /** u64 */ - SequenceNumber: Deno.PointerValue; + SequenceNumber: bigint | number; /** i64 */ - TimeStamp: Deno.PointerValue; + TimeStamp: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ApiStatus: Uint8Array | Deno.PointerValue; /** u32 */ @@ -4068,12 +4068,12 @@ export class WINBIO_ASYNC_RESULTView { } // 0x08: u64 - get SequenceNumber(): Deno.PointerValue { + get SequenceNumber(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: i64 - get TimeStamp(): Deno.PointerValue { + get TimeStamp(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -4113,12 +4113,12 @@ export class WINBIO_ASYNC_RESULTView { } // 0x08: u64 - set SequenceNumber(value: Deno.PointerValue) { + set SequenceNumber(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: i64 - set TimeStamp(value: Deno.PointerValue) { + set TimeStamp(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -4156,15 +4156,15 @@ export interface WINBIO_STORAGE_RECORD { /** ptr */ IndexVector: Deno.PointerValue | Uint8Array; /** usize */ - IndexElementCount: Deno.PointerValue; + IndexElementCount: bigint | number; /** ptr */ TemplateBlob: Deno.PointerValue | Uint8Array; /** usize */ - TemplateBlobSize: Deno.PointerValue; + TemplateBlobSize: bigint | number; /** ptr */ PayloadBlob: Deno.PointerValue | Uint8Array; /** usize */ - PayloadBlobSize: Deno.PointerValue; + PayloadBlobSize: bigint | number; } export const sizeofWINBIO_STORAGE_RECORD = 64; @@ -4222,7 +4222,7 @@ export class WINBIO_STORAGE_RECORDView { } // 0x18: usize - get IndexElementCount(): Deno.PointerValue { + get IndexElementCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4233,7 +4233,7 @@ export class WINBIO_STORAGE_RECORDView { } // 0x28: usize - get TemplateBlobSize(): Deno.PointerValue { + get TemplateBlobSize(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -4244,7 +4244,7 @@ export class WINBIO_STORAGE_RECORDView { } // 0x38: usize - get PayloadBlobSize(): Deno.PointerValue { + get PayloadBlobSize(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -4266,7 +4266,7 @@ export class WINBIO_STORAGE_RECORDView { } // 0x18: usize - set IndexElementCount(value: Deno.PointerValue) { + set IndexElementCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -4276,7 +4276,7 @@ export class WINBIO_STORAGE_RECORDView { } // 0x28: usize - set TemplateBlobSize(value: Deno.PointerValue) { + set TemplateBlobSize(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -4286,12 +4286,12 @@ export class WINBIO_STORAGE_RECORDView { } // 0x38: usize - set PayloadBlobSize(value: Deno.PointerValue) { + set PayloadBlobSize(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Devices.BiometricFramework.WINBIO_PIPELINE (size: 80) @@ -4535,7 +4535,7 @@ export interface WINBIO_SENSOR_INTERFACE { /** u32 */ Type: number; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** System.Guid */ AdapterId: Uint8Array | Deno.PointerValue; /** Windows.Win32.Devices.BiometricFramework.PIBIO_SENSOR_ATTACH_FN */ @@ -4705,7 +4705,7 @@ export class WINBIO_SENSOR_INTERFACEView { // 0x0c: pad4 // 0x10: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4914,7 +4914,7 @@ export class WINBIO_SENSOR_INTERFACEView { // 0x0c: pad4 // 0x10: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5088,7 +5088,7 @@ export interface WINBIO_ENGINE_INTERFACE { /** u32 */ Type: number; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** System.Guid */ AdapterId: Uint8Array | Deno.PointerValue; /** Windows.Win32.Devices.BiometricFramework.PIBIO_ENGINE_ATTACH_FN */ @@ -5298,7 +5298,7 @@ export class WINBIO_ENGINE_INTERFACEView { // 0x0c: pad4 // 0x10: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5567,7 +5567,7 @@ export class WINBIO_ENGINE_INTERFACEView { // 0x0c: pad4 // 0x10: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5791,7 +5791,7 @@ export interface WINBIO_STORAGE_INTERFACE { /** u32 */ Type: number; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** System.Guid */ AdapterId: Uint8Array | Deno.PointerValue; /** Windows.Win32.Devices.BiometricFramework.PIBIO_STORAGE_ATTACH_FN */ @@ -5957,7 +5957,7 @@ export class WINBIO_STORAGE_INTERFACEView { // 0x0c: pad4 // 0x10: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6160,7 +6160,7 @@ export class WINBIO_STORAGE_INTERFACEView { // 0x0c: pad4 // 0x10: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -6329,7 +6329,7 @@ export interface WINBIO_FRAMEWORK_INTERFACE { /** u32 */ Type: number; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** System.Guid */ AdapterId: Uint8Array | Deno.PointerValue; /** Windows.Win32.Devices.BiometricFramework.PIBIO_FRAMEWORK_SET_UNIT_STATUS_FN */ @@ -6551,7 +6551,7 @@ export class WINBIO_FRAMEWORK_INTERFACEView { // 0x0c: pad4 // 0x10: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6838,7 +6838,7 @@ export class WINBIO_FRAMEWORK_INTERFACEView { // 0x0c: pad4 // 0x10: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8333,7 +8333,7 @@ export class WINBIO_NOTIFY_WAKEView { // 0x14: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries @@ -8635,7 +8635,7 @@ export function WinBioOpenSession( PoolType: WINBIO_POOL /* Windows.Win32.Devices.BiometricFramework.WINBIO_POOL */, Flags: number /* u32 */, UnitArray: Deno.PointerValue | Uint8Array /* ptr */, - UnitCount: Deno.PointerValue /* usize */, + UnitCount: bigint | number /* usize */, DatabaseId: Deno.PointerValue | Uint8Array /* ptr */, SessionHandle: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -8647,7 +8647,7 @@ export function WinBioAsyncOpenSession( PoolType: WINBIO_POOL /* Windows.Win32.Devices.BiometricFramework.WINBIO_POOL */, Flags: number /* u32 */, UnitArray: Deno.PointerValue | Uint8Array /* ptr */, - UnitCount: Deno.PointerValue /* usize */, + UnitCount: bigint | number /* usize */, DatabaseId: Deno.PointerValue | Uint8Array /* ptr */, NotificationMethod: WINBIO_ASYNC_NOTIFICATION_METHOD /* Windows.Win32.Devices.BiometricFramework.WINBIO_ASYNC_NOTIFICATION_METHOD */, TargetWindow: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, @@ -8742,7 +8742,7 @@ export function WinBioEnrollBegin( export function WinBioEnrollSelect( SessionHandle: number /* u32 */, - SelectorValue: Deno.PointerValue /* u64 */, + SelectorValue: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libwinbio_dll.WinBioEnrollSelect(SessionHandle, SelectorValue); } @@ -8872,9 +8872,9 @@ export function WinBioControlUnit( Component: WINBIO_COMPONENT /* Windows.Win32.Devices.BiometricFramework.WINBIO_COMPONENT */, ControlCode: number /* u32 */, SendBuffer: Deno.PointerValue | Uint8Array /* ptr */, - SendBufferSize: Deno.PointerValue /* usize */, + SendBufferSize: bigint | number /* usize */, ReceiveBuffer: Deno.PointerValue | Uint8Array /* ptr */, - ReceiveBufferSize: Deno.PointerValue /* usize */, + ReceiveBufferSize: bigint | number /* usize */, ReceiveDataSize: Deno.PointerValue | Uint8Array /* ptr */, OperationStatus: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -8887,9 +8887,9 @@ export function WinBioControlUnitPrivileged( Component: WINBIO_COMPONENT /* Windows.Win32.Devices.BiometricFramework.WINBIO_COMPONENT */, ControlCode: number /* u32 */, SendBuffer: Deno.PointerValue | Uint8Array /* ptr */, - SendBufferSize: Deno.PointerValue /* usize */, + SendBufferSize: bigint | number /* usize */, ReceiveBuffer: Deno.PointerValue | Uint8Array /* ptr */, - ReceiveBufferSize: Deno.PointerValue /* usize */, + ReceiveBufferSize: bigint | number /* usize */, ReceiveDataSize: Deno.PointerValue | Uint8Array /* ptr */, OperationStatus: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -8917,7 +8917,7 @@ export function WinBioSetProperty( Identity: Deno.PointerValue | Uint8Array /* ptr */, SubFactor: number /* u8 */, PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, - PropertyBufferSize: Deno.PointerValue /* usize */, + PropertyBufferSize: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libwinbio_dll.WinBioSetProperty(SessionHandle, PropertyType, PropertyId, UnitId, util.toPointer(Identity), SubFactor, util.toPointer(PropertyBuffer), PropertyBufferSize); } @@ -8931,7 +8931,7 @@ export function WinBioFree( export function WinBioSetCredential( Type: WINBIO_CREDENTIAL_TYPE /* Windows.Win32.Devices.BiometricFramework.WINBIO_CREDENTIAL_TYPE */, Credential: Deno.PointerValue | Uint8Array /* ptr */, - CredentialSize: Deno.PointerValue /* usize */, + CredentialSize: bigint | number /* usize */, Format: WINBIO_CREDENTIAL_FORMAT /* Windows.Win32.Devices.BiometricFramework.WINBIO_CREDENTIAL_FORMAT */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libwinbio_dll.WinBioSetCredential(Type, util.toPointer(Credential), CredentialSize, Format); diff --git a/api/Devices/Bluetooth.ts b/api/Devices/Bluetooth.ts index 860034e..950fc9c 100644 --- a/api/Devices/Bluetooth.ts +++ b/api/Devices/Bluetooth.ts @@ -846,16 +846,16 @@ export const CharacteristicValueChangedEvent = 0; // Structs -export type HANDLE_SDP_TYPE = Deno.PointerValue; +export type HANDLE_SDP_TYPE = bigint | number; /** * Windows.Win32.Devices.Bluetooth.SDP_LARGE_INTEGER_16 (size: 16) */ export interface SDP_LARGE_INTEGER_16 { /** u64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** i64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeofSDP_LARGE_INTEGER_16 = 16; @@ -881,22 +881,22 @@ export class SDP_LARGE_INTEGER_16View { } // 0x00: u64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: u64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -906,9 +906,9 @@ export class SDP_LARGE_INTEGER_16View { */ export interface SDP_ULARGE_INTEGER_16 { /** u64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** u64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeofSDP_ULARGE_INTEGER_16 = 16; @@ -934,22 +934,22 @@ export class SDP_ULARGE_INTEGER_16View { } // 0x00: u64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1151,7 +1151,7 @@ export interface BTH_DEVICE_INFO { /** u32 */ flags: number; /** u64 */ - address: Deno.PointerValue; + address: bigint | number; /** u32 */ classOfDevice: number; /** array */ @@ -1194,7 +1194,7 @@ export class BTH_DEVICE_INFOView { // 0x04: pad4 // 0x08: u64 - get address(): Deno.PointerValue { + get address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1219,7 +1219,7 @@ export class BTH_DEVICE_INFOView { // 0x04: pad4 // 0x08: u64 - set address(value: Deno.PointerValue) { + set address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1300,7 +1300,7 @@ export class BTH_RADIO_IN_RANGEView { */ export interface BTH_L2CAP_EVENT_INFO { /** u64 */ - bthAddress: Deno.PointerValue; + bthAddress: bigint | number; /** u16 */ psm: number; /** u8 */ @@ -1337,7 +1337,7 @@ export class BTH_L2CAP_EVENT_INFOView { } // 0x00: u64 - get bthAddress(): Deno.PointerValue { + get bthAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1359,7 +1359,7 @@ export class BTH_L2CAP_EVENT_INFOView { // 0x0c: pad4 // 0x00: u64 - set bthAddress(value: Deno.PointerValue) { + set bthAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1386,7 +1386,7 @@ export class BTH_L2CAP_EVENT_INFOView { */ export interface BTH_HCI_EVENT_INFO { /** u64 */ - bthAddress: Deno.PointerValue; + bthAddress: bigint | number; /** u8 */ connectionType: number; /** u8 */ @@ -1419,7 +1419,7 @@ export class BTH_HCI_EVENT_INFOView { } // 0x00: u64 - get bthAddress(): Deno.PointerValue { + get bthAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1436,7 +1436,7 @@ export class BTH_HCI_EVENT_INFOView { // 0x0a: pad6 // 0x00: u64 - set bthAddress(value: Deno.PointerValue) { + set bthAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1458,9 +1458,9 @@ export class BTH_HCI_EVENT_INFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1486,22 +1486,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2251,7 +2251,7 @@ export class BLUETOOTH_AUTHENTICATION_CALLBACK_PARAMSView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Devices.Bluetooth.BLUETOOTH_DEVICE_SEARCH_PARAMS (size: 40) @@ -2461,7 +2461,7 @@ export class BLUETOOTH_COD_PAIRSView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Devices.Bluetooth.BLUETOOTH_SELECT_DEVICE_PARAMS (size: 88) @@ -3253,7 +3253,7 @@ export interface _data_e__Union { /** Windows.Win32.Devices.Bluetooth.SDP_LARGE_INTEGER_16 */ int128: Uint8Array | Deno.PointerValue; /** i64 */ - int64: Deno.PointerValue; + int64: bigint | number; /** i32 */ int32: number; /** i16 */ @@ -3263,7 +3263,7 @@ export interface _data_e__Union { /** Windows.Win32.Devices.Bluetooth.SDP_ULARGE_INTEGER_16 */ uint128: Uint8Array | Deno.PointerValue; /** u64 */ - uint64: Deno.PointerValue; + uint64: bigint | number; /** u32 */ uint32: number; /** u16 */ @@ -3351,7 +3351,7 @@ export class _data_e__UnionView { } // 0x08: i64 - get int64(): Deno.PointerValue { + get int64(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -3379,7 +3379,7 @@ export class _data_e__UnionView { } // 0x20: u64 - get uint64(): Deno.PointerValue { + get uint64(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -3451,7 +3451,7 @@ export class _data_e__UnionView { } // 0x08: i64 - set int64(value: Deno.PointerValue) { + set int64(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -3478,7 +3478,7 @@ export class _data_e__UnionView { } // 0x20: u64 - set uint64(value: Deno.PointerValue) { + set uint64(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -4401,7 +4401,7 @@ export interface BLUETOOTH_GATT_VALUE_CHANGED_EVENT { /** u16 */ ChangedAttributeHandle: number; /** usize */ - CharacteristicValueDataSize: Deno.PointerValue; + CharacteristicValueDataSize: bigint | number; /** ptr */ CharacteristicValue: Deno.PointerValue | Uint8Array; } @@ -4439,7 +4439,7 @@ export class BLUETOOTH_GATT_VALUE_CHANGED_EVENTView { // 0x02: pad6 // 0x08: usize - get CharacteristicValueDataSize(): Deno.PointerValue { + get CharacteristicValueDataSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4457,7 +4457,7 @@ export class BLUETOOTH_GATT_VALUE_CHANGED_EVENTView { // 0x02: pad6 // 0x08: usize - set CharacteristicValueDataSize(value: Deno.PointerValue) { + set CharacteristicValueDataSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -4474,7 +4474,7 @@ export interface SOCKADDR_BTH { /** u16 */ addressFamily: number; /** u64 */ - btAddr: Deno.PointerValue; + btAddr: bigint | number; /** System.Guid */ serviceClassId: Uint8Array | Deno.PointerValue; /** u32 */ @@ -4517,7 +4517,7 @@ export class SOCKADDR_BTHView { // 0x02: pad6 // 0x08: u64 - get btAddr(): Deno.PointerValue { + get btAddr(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4542,7 +4542,7 @@ export class SOCKADDR_BTHView { // 0x02: pad6 // 0x08: u64 - set btAddr(value: Deno.PointerValue) { + set btAddr(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5206,7 +5206,7 @@ export class RFCOMM_COMMANDView { */ export interface BTH_PING_REQ { /** u64 */ - btAddr: Deno.PointerValue; + btAddr: bigint | number; /** u8 */ dataLen: number; /** array */ @@ -5239,7 +5239,7 @@ export class BTH_PING_REQView { } // 0x00: u64 - get btAddr(): Deno.PointerValue { + get btAddr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5257,7 +5257,7 @@ export class BTH_PING_REQView { } // 0x00: u64 - set btAddr(value: Deno.PointerValue) { + set btAddr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5338,7 +5338,7 @@ export class BTH_PING_RSPView { */ export interface BTH_INFO_REQ { /** u64 */ - btAddr: Deno.PointerValue; + btAddr: bigint | number; /** u16 */ infoType: number; } @@ -5367,7 +5367,7 @@ export class BTH_INFO_REQView { } // 0x00: u64 - get btAddr(): Deno.PointerValue { + get btAddr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5379,7 +5379,7 @@ export class BTH_INFO_REQView { // 0x0a: pad6 // 0x00: u64 - set btAddr(value: Deno.PointerValue) { + set btAddr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5671,19 +5671,19 @@ try { export function BluetoothFindFirstRadio( pbtfrp: Deno.PointerValue | Uint8Array /* ptr */, phRadio: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libBluetoothApis_dll.BluetoothFindFirstRadio(util.toPointer(pbtfrp), util.toPointer(phRadio)); } export function BluetoothFindNextRadio( - hFind: Deno.PointerValue /* isize */, + hFind: bigint | number /* isize */, phRadio: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libBluetoothApis_dll.BluetoothFindNextRadio(hFind, util.toPointer(phRadio))); } export function BluetoothFindRadioClose( - hFind: Deno.PointerValue /* isize */, + hFind: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libBluetoothApis_dll.BluetoothFindRadioClose(hFind)); } @@ -5698,19 +5698,19 @@ export function BluetoothGetRadioInfo( export function BluetoothFindFirstDevice( pbtsp: Deno.PointerValue | Uint8Array /* ptr */, pbtdi: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libBluetoothApis_dll.BluetoothFindFirstDevice(util.toPointer(pbtsp), util.toPointer(pbtdi)); } export function BluetoothFindNextDevice( - hFind: Deno.PointerValue /* isize */, + hFind: bigint | number /* isize */, pbtdi: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libBluetoothApis_dll.BluetoothFindNextDevice(hFind, util.toPointer(pbtdi))); } export function BluetoothFindDeviceClose( - hFind: Deno.PointerValue /* isize */, + hFind: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libBluetoothApis_dll.BluetoothFindDeviceClose(hFind)); } @@ -5845,7 +5845,7 @@ export function BluetoothRegisterForAuthenticationEx( } export function BluetoothUnregisterAuthentication( - hRegHandle: Deno.PointerValue /* isize */, + hRegHandle: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libBluetoothApis_dll.BluetoothUnregisterAuthentication(hRegHandle)); } @@ -6004,7 +6004,7 @@ export function BluetoothGATTSetCharacteristicValue( hDevice: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Characteristic: Deno.PointerValue | Uint8Array /* ptr */, CharacteristicValue: Deno.PointerValue | Uint8Array /* ptr */, - ReliableWriteContext: Deno.PointerValue /* u64 */, + ReliableWriteContext: bigint | number /* u64 */, Flags: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libBluetoothApis_dll.BluetoothGATTSetCharacteristicValue(util.toPointer(hDevice), util.toPointer(Characteristic), util.toPointer(CharacteristicValue), ReliableWriteContext, Flags); @@ -6012,7 +6012,7 @@ export function BluetoothGATTSetCharacteristicValue( export function BluetoothGATTEndReliableWrite( hDevice: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ReliableWriteContext: Deno.PointerValue /* u64 */, + ReliableWriteContext: bigint | number /* u64 */, Flags: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libBluetoothApis_dll.BluetoothGATTEndReliableWrite(util.toPointer(hDevice), ReliableWriteContext, Flags); @@ -6020,7 +6020,7 @@ export function BluetoothGATTEndReliableWrite( export function BluetoothGATTAbortReliableWrite( hDevice: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ReliableWriteContext: Deno.PointerValue /* u64 */, + ReliableWriteContext: bigint | number /* u64 */, Flags: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libBluetoothApis_dll.BluetoothGATTAbortReliableWrite(util.toPointer(hDevice), ReliableWriteContext, Flags); @@ -6048,7 +6048,7 @@ export function BluetoothGATTRegisterEvent( } export function BluetoothGATTUnregisterEvent( - EventHandle: Deno.PointerValue /* isize */, + EventHandle: bigint | number /* isize */, Flags: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libBluetoothApis_dll.BluetoothGATTUnregisterEvent(EventHandle, Flags); diff --git a/api/Devices/Communication.ts b/api/Devices/Communication.ts index 562f30d..dcb3d8e 100644 --- a/api/Devices/Communication.ts +++ b/api/Devices/Communication.ts @@ -1530,7 +1530,7 @@ export class COMMCONFIGView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type BOOL = number; @@ -1538,7 +1538,7 @@ export type PSTR = Deno.PointerValue | Uint8Array; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/Devices/DeviceAndDriverInstallation.ts b/api/Devices/DeviceAndDriverInstallation.ts index 74e1f9f..537fbe4 100644 --- a/api/Devices/DeviceAndDriverInstallation.ts +++ b/api/Devices/DeviceAndDriverInstallation.ts @@ -1493,9 +1493,9 @@ export const PRIORITY_HIGH = 2; // Structs -export type HCMNOTIFICATION = Deno.PointerValue; +export type HCMNOTIFICATION = bigint | number; -export type HDEVINFO = Deno.PointerValue; +export type HDEVINFO = bigint | number; /** * Windows.Win32.Devices.DeviceAndDriverInstallation.INFCONTEXT (size: 24) @@ -1653,9 +1653,9 @@ export class SP_INF_INFORMATIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1681,22 +1681,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4292,7 +4292,7 @@ export interface SP_DEVINFO_DATA { /** u32 */ DevInst: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofSP_DEVINFO_DATA = 32; @@ -4344,7 +4344,7 @@ export class SP_DEVINFO_DATAView { // 0x14: pad4 // 0x18: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4368,7 +4368,7 @@ export class SP_DEVINFO_DATAView { // 0x14: pad4 // 0x18: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4384,7 +4384,7 @@ export interface SP_DEVICE_INTERFACE_DATA { /** u32 */ Flags: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofSP_DEVICE_INTERFACE_DATA = 32; @@ -4436,7 +4436,7 @@ export class SP_DEVICE_INTERFACE_DATAView { // 0x14: pad4 // 0x18: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4460,7 +4460,7 @@ export class SP_DEVICE_INTERFACE_DATAView { // 0x14: pad4 // 0x18: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4583,7 +4583,7 @@ export class SP_DEVICE_INTERFACE_DETAIL_DATA_WView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Devices.DeviceAndDriverInstallation.SP_DEVINFO_LIST_DETAIL_DATA_A (size: 32) @@ -4763,7 +4763,7 @@ export class SP_DEVINFO_LIST_DETAIL_DATA_WView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Devices.DeviceAndDriverInstallation.SP_DEVINSTALL_PARAMS_A (size: 72) @@ -4784,7 +4784,7 @@ export interface SP_DEVINSTALL_PARAMS_A { /** ptr */ FileQueue: Deno.PointerValue | Uint8Array; /** usize */ - ClassInstallReserved: Deno.PointerValue; + ClassInstallReserved: bigint | number; /** u32 */ Reserved: number; /** array */ @@ -4873,7 +4873,7 @@ export class SP_DEVINSTALL_PARAMS_AView { } // 0x30: usize - get ClassInstallReserved(): Deno.PointerValue { + get ClassInstallReserved(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4928,7 +4928,7 @@ export class SP_DEVINSTALL_PARAMS_AView { } // 0x30: usize - set ClassInstallReserved(value: Deno.PointerValue) { + set ClassInstallReserved(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -4964,7 +4964,7 @@ export interface SP_DEVINSTALL_PARAMS_W { /** ptr */ FileQueue: Deno.PointerValue | Uint8Array; /** usize */ - ClassInstallReserved: Deno.PointerValue; + ClassInstallReserved: bigint | number; /** u32 */ Reserved: number; /** array */ @@ -5053,7 +5053,7 @@ export class SP_DEVINSTALL_PARAMS_WView { } // 0x30: usize - get ClassInstallReserved(): Deno.PointerValue { + get ClassInstallReserved(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5108,7 +5108,7 @@ export class SP_DEVINSTALL_PARAMS_WView { } // 0x30: usize - set ClassInstallReserved(value: Deno.PointerValue) { + set ClassInstallReserved(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5645,7 +5645,7 @@ export class SP_DETECTDEVICE_PARAMSView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Devices.DeviceAndDriverInstallation.SP_INSTALLWIZARD_DATA (size: 56) @@ -6093,7 +6093,7 @@ export interface SP_DRVINFO_DATA_V2_A { /** u32 */ DriverType: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** array */ Description: Deno.PointerValue; /** array */ @@ -6103,7 +6103,7 @@ export interface SP_DRVINFO_DATA_V2_A { /** Windows.Win32.Foundation.FILETIME */ DriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - DriverVersion: Deno.PointerValue; + DriverVersion: bigint | number; } export const sizeofSP_DRVINFO_DATA_V2_A = 56; @@ -6151,7 +6151,7 @@ export class SP_DRVINFO_DATA_V2_AView { } // 0x08: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6180,7 +6180,7 @@ export class SP_DRVINFO_DATA_V2_AView { } // 0x30: u64 - get DriverVersion(): Deno.PointerValue { + get DriverVersion(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -6195,7 +6195,7 @@ export class SP_DRVINFO_DATA_V2_AView { } // 0x08: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6220,7 +6220,7 @@ export class SP_DRVINFO_DATA_V2_AView { } // 0x30: u64 - set DriverVersion(value: Deno.PointerValue) { + set DriverVersion(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -6234,7 +6234,7 @@ export interface SP_DRVINFO_DATA_V2_W { /** u32 */ DriverType: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** array */ Description: Deno.PointerValue; /** array */ @@ -6244,7 +6244,7 @@ export interface SP_DRVINFO_DATA_V2_W { /** Windows.Win32.Foundation.FILETIME */ DriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - DriverVersion: Deno.PointerValue; + DriverVersion: bigint | number; } export const sizeofSP_DRVINFO_DATA_V2_W = 56; @@ -6292,7 +6292,7 @@ export class SP_DRVINFO_DATA_V2_WView { } // 0x08: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6321,7 +6321,7 @@ export class SP_DRVINFO_DATA_V2_WView { } // 0x30: u64 - get DriverVersion(): Deno.PointerValue { + get DriverVersion(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -6336,7 +6336,7 @@ export class SP_DRVINFO_DATA_V2_WView { } // 0x08: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6361,7 +6361,7 @@ export class SP_DRVINFO_DATA_V2_WView { } // 0x30: u64 - set DriverVersion(value: Deno.PointerValue) { + set DriverVersion(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -6375,7 +6375,7 @@ export interface SP_DRVINFO_DATA_V1_A { /** u32 */ DriverType: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** array */ Description: Deno.PointerValue; /** array */ @@ -6425,7 +6425,7 @@ export class SP_DRVINFO_DATA_V1_AView { } // 0x08: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6458,7 +6458,7 @@ export class SP_DRVINFO_DATA_V1_AView { } // 0x08: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6487,7 +6487,7 @@ export interface SP_DRVINFO_DATA_V1_W { /** u32 */ DriverType: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** array */ Description: Deno.PointerValue; /** array */ @@ -6537,7 +6537,7 @@ export class SP_DRVINFO_DATA_V1_WView { } // 0x08: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6570,7 +6570,7 @@ export class SP_DRVINFO_DATA_V1_WView { } // 0x08: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6603,7 +6603,7 @@ export interface SP_DRVINFO_DETAIL_DATA_A { /** u32 */ CompatIDsLength: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** array */ SectionName: Deno.PointerValue; /** array */ @@ -6675,7 +6675,7 @@ export class SP_DRVINFO_DETAIL_DATA_AView { } // 0x18: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6726,7 +6726,7 @@ export class SP_DRVINFO_DETAIL_DATA_AView { } // 0x18: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6764,7 +6764,7 @@ export interface SP_DRVINFO_DETAIL_DATA_W { /** u32 */ CompatIDsLength: number; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** array */ SectionName: Deno.PointerValue; /** array */ @@ -6836,7 +6836,7 @@ export class SP_DRVINFO_DETAIL_DATA_WView { } // 0x18: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6887,7 +6887,7 @@ export class SP_DRVINFO_DETAIL_DATA_WView { } // 0x18: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6923,7 +6923,7 @@ export interface SP_DRVINSTALL_PARAMS { /** u32 */ Flags: number; /** usize */ - PrivateData: Deno.PointerValue; + PrivateData: bigint | number; /** u32 */ Reserved: number; } @@ -6976,7 +6976,7 @@ export class SP_DRVINSTALL_PARAMSView { // 0x0c: pad4 // 0x10: usize - get PrivateData(): Deno.PointerValue { + get PrivateData(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7005,7 +7005,7 @@ export class SP_DRVINSTALL_PARAMSView { // 0x0c: pad4 // 0x10: usize - set PrivateData(value: Deno.PointerValue) { + set PrivateData(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7087,7 +7087,7 @@ export class COINSTALLER_CONTEXT_DATAView { } } -export type HIMAGELIST = Deno.PointerValue; +export type HIMAGELIST = bigint | number; /** * Windows.Win32.Devices.DeviceAndDriverInstallation.SP_CLASSIMAGELIST_DATA (size: 24) @@ -7098,7 +7098,7 @@ export interface SP_CLASSIMAGELIST_DATA { /** Windows.Win32.UI.Controls.HIMAGELIST */ ImageList: Uint8Array | Deno.PointerValue; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofSP_CLASSIMAGELIST_DATA = 24; @@ -7140,7 +7140,7 @@ export class SP_CLASSIMAGELIST_DATAView { } // 0x10: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7157,7 +7157,7 @@ export class SP_CLASSIMAGELIST_DATAView { } // 0x10: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -8232,7 +8232,7 @@ export interface CONFLICT_DETAILS_A { /** u32 */ CD_dnDevInst: number; /** usize */ - CD_rdResDes: Deno.PointerValue; + CD_rdResDes: bigint | number; /** u32 */ CD_ulFlags: number; /** array */ @@ -8289,7 +8289,7 @@ export class CONFLICT_DETAILS_AView { // 0x0c: pad4 // 0x10: usize - get CD_rdResDes(): Deno.PointerValue { + get CD_rdResDes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8324,7 +8324,7 @@ export class CONFLICT_DETAILS_AView { // 0x0c: pad4 // 0x10: usize - set CD_rdResDes(value: Deno.PointerValue) { + set CD_rdResDes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8352,7 +8352,7 @@ export interface CONFLICT_DETAILS_W { /** u32 */ CD_dnDevInst: number; /** usize */ - CD_rdResDes: Deno.PointerValue; + CD_rdResDes: bigint | number; /** u32 */ CD_ulFlags: number; /** array */ @@ -8409,7 +8409,7 @@ export class CONFLICT_DETAILS_WView { // 0x0c: pad4 // 0x10: usize - get CD_rdResDes(): Deno.PointerValue { + get CD_rdResDes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8444,7 +8444,7 @@ export class CONFLICT_DETAILS_WView { // 0x0c: pad4 // 0x10: usize - set CD_rdResDes(value: Deno.PointerValue) { + set CD_rdResDes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8466,13 +8466,13 @@ export class CONFLICT_DETAILS_WView { */ export interface MEM_RANGE { /** u64 */ - MR_Align: Deno.PointerValue; + MR_Align: bigint | number; /** u32 */ MR_nBytes: number; /** u64 */ - MR_Min: Deno.PointerValue; + MR_Min: bigint | number; /** u64 */ - MR_Max: Deno.PointerValue; + MR_Max: bigint | number; /** u32 */ MR_Flags: number; /** u32 */ @@ -8511,7 +8511,7 @@ export class MEM_RANGEView { } // 0x00: u64 - get MR_Align(): Deno.PointerValue { + get MR_Align(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8523,12 +8523,12 @@ export class MEM_RANGEView { // 0x0c: pad4 // 0x10: u64 - get MR_Min(): Deno.PointerValue { + get MR_Min(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MR_Max(): Deno.PointerValue { + get MR_Max(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8543,7 +8543,7 @@ export class MEM_RANGEView { } // 0x00: u64 - set MR_Align(value: Deno.PointerValue) { + set MR_Align(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8555,12 +8555,12 @@ export class MEM_RANGEView { // 0x0c: pad4 // 0x10: u64 - set MR_Min(value: Deno.PointerValue) { + set MR_Min(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MR_Max(value: Deno.PointerValue) { + set MR_Max(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -8584,9 +8584,9 @@ export interface MEM_DES { /** u32 */ MD_Type: number; /** u64 */ - MD_Alloc_Base: Deno.PointerValue; + MD_Alloc_Base: bigint | number; /** u64 */ - MD_Alloc_End: Deno.PointerValue; + MD_Alloc_End: bigint | number; /** u32 */ MD_Flags: number; /** u32 */ @@ -8634,12 +8634,12 @@ export class MEM_DESView { } // 0x08: u64 - get MD_Alloc_Base(): Deno.PointerValue { + get MD_Alloc_Base(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get MD_Alloc_End(): Deno.PointerValue { + get MD_Alloc_End(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8664,12 +8664,12 @@ export class MEM_DESView { } // 0x08: u64 - set MD_Alloc_Base(value: Deno.PointerValue) { + set MD_Alloc_Base(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set MD_Alloc_End(value: Deno.PointerValue) { + set MD_Alloc_End(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8744,13 +8744,13 @@ export class MEM_RESOURCEView { */ export interface MEM_LARGE_RANGE { /** u64 */ - MLR_Align: Deno.PointerValue; + MLR_Align: bigint | number; /** u64 */ - MLR_nBytes: Deno.PointerValue; + MLR_nBytes: bigint | number; /** u64 */ - MLR_Min: Deno.PointerValue; + MLR_Min: bigint | number; /** u64 */ - MLR_Max: Deno.PointerValue; + MLR_Max: bigint | number; /** u32 */ MLR_Flags: number; /** u32 */ @@ -8788,22 +8788,22 @@ export class MEM_LARGE_RANGEView { } // 0x00: u64 - get MLR_Align(): Deno.PointerValue { + get MLR_Align(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get MLR_nBytes(): Deno.PointerValue { + get MLR_nBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get MLR_Min(): Deno.PointerValue { + get MLR_Min(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MLR_Max(): Deno.PointerValue { + get MLR_Max(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8818,22 +8818,22 @@ export class MEM_LARGE_RANGEView { } // 0x00: u64 - set MLR_Align(value: Deno.PointerValue) { + set MLR_Align(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set MLR_nBytes(value: Deno.PointerValue) { + set MLR_nBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set MLR_Min(value: Deno.PointerValue) { + set MLR_Min(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MLR_Max(value: Deno.PointerValue) { + set MLR_Max(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -8857,9 +8857,9 @@ export interface MEM_LARGE_DES { /** u32 */ MLD_Type: number; /** u64 */ - MLD_Alloc_Base: Deno.PointerValue; + MLD_Alloc_Base: bigint | number; /** u64 */ - MLD_Alloc_End: Deno.PointerValue; + MLD_Alloc_End: bigint | number; /** u32 */ MLD_Flags: number; /** u32 */ @@ -8907,12 +8907,12 @@ export class MEM_LARGE_DESView { } // 0x08: u64 - get MLD_Alloc_Base(): Deno.PointerValue { + get MLD_Alloc_Base(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get MLD_Alloc_End(): Deno.PointerValue { + get MLD_Alloc_End(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8937,12 +8937,12 @@ export class MEM_LARGE_DESView { } // 0x08: u64 - set MLD_Alloc_Base(value: Deno.PointerValue) { + set MLD_Alloc_Base(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set MLD_Alloc_End(value: Deno.PointerValue) { + set MLD_Alloc_End(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -9017,17 +9017,17 @@ export class MEM_LARGE_RESOURCEView { */ export interface IO_RANGE { /** u64 */ - IOR_Align: Deno.PointerValue; + IOR_Align: bigint | number; /** u32 */ IOR_nPorts: number; /** u64 */ - IOR_Min: Deno.PointerValue; + IOR_Min: bigint | number; /** u64 */ - IOR_Max: Deno.PointerValue; + IOR_Max: bigint | number; /** u32 */ IOR_RangeFlags: number; /** u64 */ - IOR_Alias: Deno.PointerValue; + IOR_Alias: bigint | number; } export const sizeofIO_RANGE = 48; @@ -9063,7 +9063,7 @@ export class IO_RANGEView { } // 0x00: u64 - get IOR_Align(): Deno.PointerValue { + get IOR_Align(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9075,12 +9075,12 @@ export class IO_RANGEView { // 0x0c: pad4 // 0x10: u64 - get IOR_Min(): Deno.PointerValue { + get IOR_Min(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get IOR_Max(): Deno.PointerValue { + get IOR_Max(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9092,12 +9092,12 @@ export class IO_RANGEView { // 0x24: pad4 // 0x28: u64 - get IOR_Alias(): Deno.PointerValue { + get IOR_Alias(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set IOR_Align(value: Deno.PointerValue) { + set IOR_Align(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9109,12 +9109,12 @@ export class IO_RANGEView { // 0x0c: pad4 // 0x10: u64 - set IOR_Min(value: Deno.PointerValue) { + set IOR_Min(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set IOR_Max(value: Deno.PointerValue) { + set IOR_Max(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -9126,7 +9126,7 @@ export class IO_RANGEView { // 0x24: pad4 // 0x28: u64 - set IOR_Alias(value: Deno.PointerValue) { + set IOR_Alias(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -9140,9 +9140,9 @@ export interface IO_DES { /** u32 */ IOD_Type: number; /** u64 */ - IOD_Alloc_Base: Deno.PointerValue; + IOD_Alloc_Base: bigint | number; /** u64 */ - IOD_Alloc_End: Deno.PointerValue; + IOD_Alloc_End: bigint | number; /** u32 */ IOD_DesFlags: number; } @@ -9187,12 +9187,12 @@ export class IO_DESView { } // 0x08: u64 - get IOD_Alloc_Base(): Deno.PointerValue { + get IOD_Alloc_Base(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get IOD_Alloc_End(): Deno.PointerValue { + get IOD_Alloc_End(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -9214,12 +9214,12 @@ export class IO_DESView { } // 0x08: u64 - set IOD_Alloc_Base(value: Deno.PointerValue) { + set IOD_Alloc_Base(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set IOD_Alloc_End(value: Deno.PointerValue) { + set IOD_Alloc_End(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -9679,7 +9679,7 @@ export interface IRQ_DES_64 { /** u32 */ IRQD_Alloc_Num: number; /** u64 */ - IRQD_Affinity: Deno.PointerValue; + IRQD_Affinity: bigint | number; } export const sizeofIRQ_DES_64 = 24; @@ -9731,7 +9731,7 @@ export class IRQ_DES_64View { } // 0x10: u64 - get IRQD_Affinity(): Deno.PointerValue { + get IRQD_Affinity(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -9756,7 +9756,7 @@ export class IRQ_DES_64View { } // 0x10: u64 - set IRQD_Affinity(value: Deno.PointerValue) { + set IRQD_Affinity(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -10954,7 +10954,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -10994,7 +10994,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -11009,7 +11009,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -12469,11 +12469,11 @@ export class CM_NOTIFY_EVENT_DATAView { } } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.Foundation.RECT (size: 16) @@ -12556,7 +12556,7 @@ export class RECTView { } } -export type HPROPSHEETPAGE = Deno.PointerValue; +export type HPROPSHEETPAGE = bigint | number; // Native Libraries @@ -16056,7 +16056,7 @@ export function SetupQuerySpaceRequiredOnDriveW( export function SetupAdjustDiskSpaceListA( DiskSpace: Deno.PointerValue | Uint8Array /* ptr */, DriveRoot: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - Amount: Deno.PointerValue /* i64 */, + Amount: bigint | number /* i64 */, Reserved1: Deno.PointerValue | Uint8Array /* ptr */, Reserved2: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -16066,7 +16066,7 @@ export function SetupAdjustDiskSpaceListA( export function SetupAdjustDiskSpaceListW( DiskSpace: Deno.PointerValue | Uint8Array /* ptr */, DriveRoot: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Amount: Deno.PointerValue /* i64 */, + Amount: bigint | number /* i64 */, Reserved1: Deno.PointerValue | Uint8Array /* ptr */, Reserved2: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -16076,7 +16076,7 @@ export function SetupAdjustDiskSpaceListW( export function SetupAddToDiskSpaceListA( DiskSpace: Deno.PointerValue | Uint8Array /* ptr */, TargetFilespec: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - FileSize: Deno.PointerValue /* i64 */, + FileSize: bigint | number /* i64 */, Operation: SETUP_FILE_OPERATION /* Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_FILE_OPERATION */, Reserved1: Deno.PointerValue | Uint8Array /* ptr */, Reserved2: number /* u32 */, @@ -16087,7 +16087,7 @@ export function SetupAddToDiskSpaceListA( export function SetupAddToDiskSpaceListW( DiskSpace: Deno.PointerValue | Uint8Array /* ptr */, TargetFilespec: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - FileSize: Deno.PointerValue /* i64 */, + FileSize: bigint | number /* i64 */, Operation: SETUP_FILE_OPERATION /* Windows.Win32.Devices.DeviceAndDriverInstallation.SETUP_FILE_OPERATION */, Reserved1: Deno.PointerValue | Uint8Array /* ptr */, Reserved2: number /* u32 */, @@ -16258,8 +16258,8 @@ export function SetupTermDefaultQueueCallback( export function SetupDefaultQueueCallbackA( Context: Deno.PointerValue | Uint8Array /* ptr */, Notification: number /* u32 */, - Param1: Deno.PointerValue /* usize */, - Param2: Deno.PointerValue /* usize */, + Param1: bigint | number /* usize */, + Param2: bigint | number /* usize */, ): number /* u32 */ { return libSETUPAPI_dll.SetupDefaultQueueCallbackA(util.toPointer(Context), Notification, Param1, Param2); } @@ -16267,8 +16267,8 @@ export function SetupDefaultQueueCallbackA( export function SetupDefaultQueueCallbackW( Context: Deno.PointerValue | Uint8Array /* ptr */, Notification: number /* u32 */, - Param1: Deno.PointerValue /* usize */, - Param2: Deno.PointerValue /* usize */, + Param1: bigint | number /* usize */, + Param2: bigint | number /* usize */, ): number /* u32 */ { return libSETUPAPI_dll.SetupDefaultQueueCallbackW(util.toPointer(Context), Notification, Param1, Param2); } @@ -16497,18 +16497,18 @@ export function SetupCloseLog(): void /* void */ { return libSETUPAPI_dll.SetupCloseLog(); } -export function SetupGetThreadLogToken(): Deno.PointerValue /* u64 */ { +export function SetupGetThreadLogToken(): bigint | number /* u64 */ { return libSETUPAPI_dll.SetupGetThreadLogToken(); } export function SetupSetThreadLogToken( - LogToken: Deno.PointerValue /* u64 */, + LogToken: bigint | number /* u64 */, ): void /* void */ { return libSETUPAPI_dll.SetupSetThreadLogToken(LogToken); } export function SetupWriteTextLog( - LogToken: Deno.PointerValue /* u64 */, + LogToken: bigint | number /* u64 */, Category: number /* u32 */, Flags: number /* u32 */, MessageStr: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -16517,7 +16517,7 @@ export function SetupWriteTextLog( } export function SetupWriteTextLogError( - LogToken: Deno.PointerValue /* u64 */, + LogToken: bigint | number /* u64 */, Category: number /* u32 */, LogFlags: number /* u32 */, Error: number /* u32 */, @@ -16527,7 +16527,7 @@ export function SetupWriteTextLogError( } export function SetupWriteTextLogInfLine( - LogToken: Deno.PointerValue /* u64 */, + LogToken: bigint | number /* u64 */, Flags: number /* u32 */, InfHandle: Deno.PointerValue | Uint8Array /* ptr */, Context: Deno.PointerValue | Uint8Array /* ptr */, @@ -18068,7 +18068,7 @@ export function CM_Add_Empty_Log_Conf_Ex( dnDevInst: number /* u32 */, Priority: PRIORITY /* Windows.Win32.Data.HtmlHelp.PRIORITY */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Add_Empty_Log_Conf_Ex(util.toPointer(plcLogConf), dnDevInst, Priority, ulFlags, hMachine); } @@ -18093,7 +18093,7 @@ export function CM_Add_ID_ExA( dnDevInst: number /* u32 */, pszID: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Add_ID_ExA(dnDevInst, util.pstrToFfi(pszID), ulFlags, hMachine); } @@ -18102,15 +18102,15 @@ export function CM_Add_ID_ExW( dnDevInst: number /* u32 */, pszID: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Add_ID_ExW(dnDevInst, util.pwstrToFfi(pszID), ulFlags, hMachine); } export function CM_Add_Range( - ullStartValue: Deno.PointerValue /* u64 */, - ullEndValue: Deno.PointerValue /* u64 */, - rlh: Deno.PointerValue /* usize */, + ullStartValue: bigint | number /* u64 */, + ullEndValue: bigint | number /* u64 */, + rlh: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Add_Range(ullStartValue, ullEndValue, rlh, ulFlags); @@ -18118,7 +18118,7 @@ export function CM_Add_Range( export function CM_Add_Res_Des( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - lcLogConf: Deno.PointerValue /* usize */, + lcLogConf: bigint | number /* usize */, ResourceID: number /* u32 */, ResourceData: Deno.PointerValue | Uint8Array /* ptr */, ResourceLen: number /* u32 */, @@ -18129,12 +18129,12 @@ export function CM_Add_Res_Des( export function CM_Add_Res_Des_Ex( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - lcLogConf: Deno.PointerValue /* usize */, + lcLogConf: bigint | number /* usize */, ResourceID: number /* u32 */, ResourceData: Deno.PointerValue | Uint8Array /* ptr */, ResourceLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Add_Res_Des_Ex(util.toPointer(prdResDes), lcLogConf, ResourceID, util.toPointer(ResourceData), ResourceLen, ulFlags, hMachine); } @@ -18176,7 +18176,7 @@ export function CM_Create_DevNode_ExA( pDeviceID: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dnParent: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Create_DevNode_ExA(util.toPointer(pdnDevInst), util.pstrToFfi(pDeviceID), dnParent, ulFlags, hMachine); } @@ -18186,7 +18186,7 @@ export function CM_Create_DevNode_ExW( pDeviceID: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dnParent: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Create_DevNode_ExW(util.toPointer(pdnDevInst), util.pwstrToFfi(pDeviceID), dnParent, ulFlags, hMachine); } @@ -18208,7 +18208,7 @@ export function CM_Delete_Class_Key( export function CM_Delete_Class_Key_Ex( ClassGuid: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Delete_Class_Key_Ex(util.toPointer(ClassGuid), ulFlags, hMachine); } @@ -18225,15 +18225,15 @@ export function CM_Delete_DevNode_Key_Ex( dnDevNode: number /* u32 */, ulHardwareProfile: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Delete_DevNode_Key_Ex(dnDevNode, ulHardwareProfile, ulFlags, hMachine); } export function CM_Delete_Range( - ullStartValue: Deno.PointerValue /* u64 */, - ullEndValue: Deno.PointerValue /* u64 */, - rlh: Deno.PointerValue /* usize */, + ullStartValue: bigint | number /* u64 */, + ullEndValue: bigint | number /* u64 */, + rlh: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Delete_Range(ullStartValue, ullEndValue, rlh, ulFlags); @@ -18257,7 +18257,7 @@ export function CM_Detect_Resource_Conflict_Ex( ResourceLen: number /* u32 */, pbConflictDetected: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Detect_Resource_Conflict_Ex(dnDevInst, ResourceID, util.toPointer(ResourceData), ResourceLen, util.toPointer(pbConflictDetected), ulFlags, hMachine); } @@ -18272,20 +18272,20 @@ export function CM_Disable_DevNode( export function CM_Disable_DevNode_Ex( dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Disable_DevNode_Ex(dnDevInst, ulFlags, hMachine); } export function CM_Disconnect_Machine( - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Disconnect_Machine(hMachine); } export function CM_Dup_Range_List( - rlhOld: Deno.PointerValue /* usize */, - rlhNew: Deno.PointerValue /* usize */, + rlhOld: bigint | number /* usize */, + rlhNew: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Dup_Range_List(rlhOld, rlhNew, ulFlags); @@ -18301,7 +18301,7 @@ export function CM_Enable_DevNode( export function CM_Enable_DevNode_Ex( dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Enable_DevNode_Ex(dnDevInst, ulFlags, hMachine); } @@ -18318,7 +18318,7 @@ export function CM_Enumerate_Classes_Ex( ulClassIndex: number /* u32 */, ClassGuid: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Enumerate_Classes_Ex(ulClassIndex, util.toPointer(ClassGuid), ulFlags, hMachine); } @@ -18346,7 +18346,7 @@ export function CM_Enumerate_Enumerators_ExA( Buffer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Enumerate_Enumerators_ExA(ulEnumIndex, util.pstrToFfi(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18356,25 +18356,25 @@ export function CM_Enumerate_Enumerators_ExW( Buffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Enumerate_Enumerators_ExW(ulEnumIndex, util.pwstrToFfi(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } export function CM_Find_Range( pullStart: Deno.PointerValue | Uint8Array /* ptr */, - ullStart: Deno.PointerValue /* u64 */, + ullStart: bigint | number /* u64 */, ulLength: number /* u32 */, - ullAlignment: Deno.PointerValue /* u64 */, - ullEnd: Deno.PointerValue /* u64 */, - rlh: Deno.PointerValue /* usize */, + ullAlignment: bigint | number /* u64 */, + ullEnd: bigint | number /* u64 */, + rlh: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Find_Range(util.toPointer(pullStart), ullStart, ulLength, ullAlignment, ullEnd, rlh, ulFlags); } export function CM_First_Range( - rlh: Deno.PointerValue /* usize */, + rlh: bigint | number /* usize */, pullStart: Deno.PointerValue | Uint8Array /* ptr */, pullEnd: Deno.PointerValue | Uint8Array /* ptr */, preElement: Deno.PointerValue | Uint8Array /* ptr */, @@ -18384,28 +18384,28 @@ export function CM_First_Range( } export function CM_Free_Log_Conf( - lcLogConfToBeFreed: Deno.PointerValue /* usize */, + lcLogConfToBeFreed: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Log_Conf(lcLogConfToBeFreed, ulFlags); } export function CM_Free_Log_Conf_Ex( - lcLogConfToBeFreed: Deno.PointerValue /* usize */, + lcLogConfToBeFreed: bigint | number /* usize */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Log_Conf_Ex(lcLogConfToBeFreed, ulFlags, hMachine); } export function CM_Free_Log_Conf_Handle( - lcLogConf: Deno.PointerValue /* usize */, + lcLogConf: bigint | number /* usize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Log_Conf_Handle(lcLogConf); } export function CM_Free_Range_List( - rlh: Deno.PointerValue /* usize */, + rlh: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Range_List(rlh, ulFlags); @@ -18413,7 +18413,7 @@ export function CM_Free_Range_List( export function CM_Free_Res_Des( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Res_Des(util.toPointer(prdResDes), rdResDes, ulFlags); @@ -18421,15 +18421,15 @@ export function CM_Free_Res_Des( export function CM_Free_Res_Des_Ex( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Res_Des_Ex(util.toPointer(prdResDes), rdResDes, ulFlags, hMachine); } export function CM_Free_Res_Des_Handle( - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Res_Des_Handle(rdResDes); } @@ -18446,7 +18446,7 @@ export function CM_Get_Child_Ex( pdnDevInst: Deno.PointerValue | Uint8Array /* ptr */, dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Child_Ex(util.toPointer(pdnDevInst), dnDevInst, ulFlags, hMachine); } @@ -18474,7 +18474,7 @@ export function CM_Get_Class_Name_ExA( Buffer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Name_ExA(util.toPointer(ClassGuid), util.pstrToFfi(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18484,7 +18484,7 @@ export function CM_Get_Class_Name_ExW( Buffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Name_ExW(util.toPointer(ClassGuid), util.pwstrToFfi(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18512,7 +18512,7 @@ export function CM_Get_Class_Key_Name_ExA( pszKeyName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Key_Name_ExA(util.toPointer(ClassGuid), util.pstrToFfi(pszKeyName), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18522,7 +18522,7 @@ export function CM_Get_Class_Key_Name_ExW( pszKeyName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Key_Name_ExW(util.toPointer(ClassGuid), util.pwstrToFfi(pszKeyName), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18539,7 +18539,7 @@ export function CM_Get_Depth_Ex( pulDepth: Deno.PointerValue | Uint8Array /* ptr */, dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Depth_Ex(util.toPointer(pulDepth), dnDevInst, ulFlags, hMachine); } @@ -18567,7 +18567,7 @@ export function CM_Get_Device_ID_ExA( Buffer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_ID_ExA(dnDevInst, util.pstrToFfi(Buffer), BufferLen, ulFlags, hMachine); } @@ -18577,7 +18577,7 @@ export function CM_Get_Device_ID_ExW( Buffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_ID_ExW(dnDevInst, util.pwstrToFfi(Buffer), BufferLen, ulFlags, hMachine); } @@ -18605,7 +18605,7 @@ export function CM_Get_Device_ID_List_ExA( Buffer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_ID_List_ExA(util.pstrToFfi(pszFilter), util.pstrToFfi(Buffer), BufferLen, ulFlags, hMachine); } @@ -18615,7 +18615,7 @@ export function CM_Get_Device_ID_List_ExW( Buffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_ID_List_ExW(util.pwstrToFfi(pszFilter), util.pwstrToFfi(Buffer), BufferLen, ulFlags, hMachine); } @@ -18640,7 +18640,7 @@ export function CM_Get_Device_ID_List_Size_ExA( pulLen: Deno.PointerValue | Uint8Array /* ptr */, pszFilter: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_ID_List_Size_ExA(util.toPointer(pulLen), util.pstrToFfi(pszFilter), ulFlags, hMachine); } @@ -18649,7 +18649,7 @@ export function CM_Get_Device_ID_List_Size_ExW( pulLen: Deno.PointerValue | Uint8Array /* ptr */, pszFilter: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_ID_List_Size_ExW(util.toPointer(pulLen), util.pwstrToFfi(pszFilter), ulFlags, hMachine); } @@ -18666,7 +18666,7 @@ export function CM_Get_Device_ID_Size_Ex( pulLen: Deno.PointerValue | Uint8Array /* ptr */, dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_ID_Size_Ex(util.toPointer(pulLen), dnDevInst, ulFlags, hMachine); } @@ -18689,7 +18689,7 @@ export function CM_Get_DevNode_Property_ExW( PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, PropertyBufferSize: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_DevNode_Property_ExW(dnDevInst, util.toPointer(PropertyKey), util.toPointer(PropertyType), util.toPointer(PropertyBuffer), util.toPointer(PropertyBufferSize), ulFlags, hMachine); } @@ -18708,7 +18708,7 @@ export function CM_Get_DevNode_Property_Keys_Ex( PropertyKeyArray: Deno.PointerValue | Uint8Array /* ptr */, PropertyKeyCount: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_DevNode_Property_Keys_Ex(dnDevInst, util.toPointer(PropertyKeyArray), util.toPointer(PropertyKeyCount), ulFlags, hMachine); } @@ -18742,7 +18742,7 @@ export function CM_Get_DevNode_Registry_Property_ExA( Buffer: Deno.PointerValue | Uint8Array /* ptr */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_DevNode_Registry_Property_ExA(dnDevInst, ulProperty, util.toPointer(pulRegDataType), util.toPointer(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18754,7 +18754,7 @@ export function CM_Get_DevNode_Registry_Property_ExW( Buffer: Deno.PointerValue | Uint8Array /* ptr */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_DevNode_Registry_Property_ExW(dnDevInst, ulProperty, util.toPointer(pulRegDataType), util.toPointer(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18788,7 +18788,7 @@ export function CM_Get_DevNode_Custom_Property_ExA( Buffer: Deno.PointerValue | Uint8Array /* ptr */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_DevNode_Custom_Property_ExA(dnDevInst, util.pstrToFfi(pszCustomPropertyName), util.toPointer(pulRegDataType), util.toPointer(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18800,7 +18800,7 @@ export function CM_Get_DevNode_Custom_Property_ExW( Buffer: Deno.PointerValue | Uint8Array /* ptr */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_DevNode_Custom_Property_ExW(dnDevInst, util.pwstrToFfi(pszCustomPropertyName), util.toPointer(pulRegDataType), util.toPointer(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18819,7 +18819,7 @@ export function CM_Get_DevNode_Status_Ex( pulProblemNumber: Deno.PointerValue | Uint8Array /* ptr */, dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_DevNode_Status_Ex(util.toPointer(pulStatus), util.toPointer(pulProblemNumber), dnDevInst, ulFlags, hMachine); } @@ -18836,7 +18836,7 @@ export function CM_Get_First_Log_Conf_Ex( plcLogConf: Deno.PointerValue | Uint8Array /* ptr */, dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_First_Log_Conf_Ex(util.toPointer(plcLogConf), dnDevInst, ulFlags, hMachine); } @@ -18851,7 +18851,7 @@ export function CM_Get_Global_State( export function CM_Get_Global_State_Ex( pulState: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Global_State_Ex(util.toPointer(pulState), ulFlags, hMachine); } @@ -18868,7 +18868,7 @@ export function CM_Get_Hardware_Profile_Info_ExA( ulIndex: number /* u32 */, pHWProfileInfo: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Hardware_Profile_Info_ExA(ulIndex, util.toPointer(pHWProfileInfo), ulFlags, hMachine); } @@ -18885,7 +18885,7 @@ export function CM_Get_Hardware_Profile_Info_ExW( ulIndex: number /* u32 */, pHWProfileInfo: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Hardware_Profile_Info_ExW(ulIndex, util.toPointer(pHWProfileInfo), ulFlags, hMachine); } @@ -18913,7 +18913,7 @@ export function CM_Get_HW_Prof_Flags_ExA( ulHardwareProfile: number /* u32 */, pulValue: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_HW_Prof_Flags_ExA(util.pstrToFfi(pDeviceID), ulHardwareProfile, util.toPointer(pulValue), ulFlags, hMachine); } @@ -18923,7 +18923,7 @@ export function CM_Get_HW_Prof_Flags_ExW( ulHardwareProfile: number /* u32 */, pulValue: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_HW_Prof_Flags_ExW(util.pwstrToFfi(pDeviceID), ulHardwareProfile, util.toPointer(pulValue), ulFlags, hMachine); } @@ -18954,7 +18954,7 @@ export function CM_Get_Device_Interface_Alias_ExA( pszAliasDeviceInterface: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_Alias_ExA(util.pstrToFfi(pszDeviceInterface), util.toPointer(AliasInterfaceGuid), util.pstrToFfi(pszAliasDeviceInterface), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18965,7 +18965,7 @@ export function CM_Get_Device_Interface_Alias_ExW( pszAliasDeviceInterface: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_Alias_ExW(util.pwstrToFfi(pszDeviceInterface), util.toPointer(AliasInterfaceGuid), util.pwstrToFfi(pszAliasDeviceInterface), util.toPointer(pulLength), ulFlags, hMachine); } @@ -18996,7 +18996,7 @@ export function CM_Get_Device_Interface_List_ExA( Buffer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_List_ExA(util.toPointer(InterfaceClassGuid), util.pstrToFfi(pDeviceID), util.pstrToFfi(Buffer), BufferLen, ulFlags, hMachine); } @@ -19007,7 +19007,7 @@ export function CM_Get_Device_Interface_List_ExW( Buffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_List_ExW(util.toPointer(InterfaceClassGuid), util.pwstrToFfi(pDeviceID), util.pwstrToFfi(Buffer), BufferLen, ulFlags, hMachine); } @@ -19035,7 +19035,7 @@ export function CM_Get_Device_Interface_List_Size_ExA( InterfaceClassGuid: Deno.PointerValue | Uint8Array /* ptr */, pDeviceID: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_List_Size_ExA(util.toPointer(pulLen), util.toPointer(InterfaceClassGuid), util.pstrToFfi(pDeviceID), ulFlags, hMachine); } @@ -19045,7 +19045,7 @@ export function CM_Get_Device_Interface_List_Size_ExW( InterfaceClassGuid: Deno.PointerValue | Uint8Array /* ptr */, pDeviceID: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_List_Size_ExW(util.toPointer(pulLen), util.toPointer(InterfaceClassGuid), util.pwstrToFfi(pDeviceID), ulFlags, hMachine); } @@ -19068,7 +19068,7 @@ export function CM_Get_Device_Interface_Property_ExW( PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, PropertyBufferSize: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_Property_ExW(util.pwstrToFfi(pszDeviceInterface), util.toPointer(PropertyKey), util.toPointer(PropertyType), util.toPointer(PropertyBuffer), util.toPointer(PropertyBufferSize), ulFlags, hMachine); } @@ -19087,13 +19087,13 @@ export function CM_Get_Device_Interface_Property_Keys_ExW( PropertyKeyArray: Deno.PointerValue | Uint8Array /* ptr */, PropertyKeyCount: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Device_Interface_Property_Keys_ExW(util.pwstrToFfi(pszDeviceInterface), util.toPointer(PropertyKeyArray), util.toPointer(PropertyKeyCount), ulFlags, hMachine); } export function CM_Get_Log_Conf_Priority( - lcLogConf: Deno.PointerValue /* usize */, + lcLogConf: bigint | number /* usize */, pPriority: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { @@ -19101,17 +19101,17 @@ export function CM_Get_Log_Conf_Priority( } export function CM_Get_Log_Conf_Priority_Ex( - lcLogConf: Deno.PointerValue /* usize */, + lcLogConf: bigint | number /* usize */, pPriority: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Log_Conf_Priority_Ex(lcLogConf, util.toPointer(pPriority), ulFlags, hMachine); } export function CM_Get_Next_Log_Conf( plcLogConf: Deno.PointerValue | Uint8Array /* ptr */, - lcLogConf: Deno.PointerValue /* usize */, + lcLogConf: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Next_Log_Conf(util.toPointer(plcLogConf), lcLogConf, ulFlags); @@ -19119,9 +19119,9 @@ export function CM_Get_Next_Log_Conf( export function CM_Get_Next_Log_Conf_Ex( plcLogConf: Deno.PointerValue | Uint8Array /* ptr */, - lcLogConf: Deno.PointerValue /* usize */, + lcLogConf: bigint | number /* usize */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Next_Log_Conf_Ex(util.toPointer(plcLogConf), lcLogConf, ulFlags, hMachine); } @@ -19138,13 +19138,13 @@ export function CM_Get_Parent_Ex( pdnDevInst: Deno.PointerValue | Uint8Array /* ptr */, dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Parent_Ex(util.toPointer(pdnDevInst), dnDevInst, ulFlags, hMachine); } export function CM_Get_Res_Des_Data( - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, @@ -19153,18 +19153,18 @@ export function CM_Get_Res_Des_Data( } export function CM_Get_Res_Des_Data_Ex( - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, BufferLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Res_Des_Data_Ex(rdResDes, util.toPointer(Buffer), BufferLen, ulFlags, hMachine); } export function CM_Get_Res_Des_Data_Size( pulSize: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Res_Des_Data_Size(util.toPointer(pulSize), rdResDes, ulFlags); @@ -19172,9 +19172,9 @@ export function CM_Get_Res_Des_Data_Size( export function CM_Get_Res_Des_Data_Size_Ex( pulSize: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Res_Des_Data_Size_Ex(util.toPointer(pulSize), rdResDes, ulFlags, hMachine); } @@ -19191,7 +19191,7 @@ export function CM_Get_Sibling_Ex( pdnDevInst: Deno.PointerValue | Uint8Array /* ptr */, dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Sibling_Ex(util.toPointer(pdnDevInst), dnDevInst, ulFlags, hMachine); } @@ -19201,7 +19201,7 @@ export function CM_Get_Version(): number /* u16 */ { } export function CM_Get_Version_Ex( - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): number /* u16 */ { return libCFGMGR32_dll.CM_Get_Version_Ex(hMachine); } @@ -19214,24 +19214,24 @@ export function CM_Is_Version_Available( export function CM_Is_Version_Available_Ex( wVersion: number /* u16 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCFGMGR32_dll.CM_Is_Version_Available_Ex(wVersion, hMachine)); } export function CM_Intersect_Range_List( - rlhOld1: Deno.PointerValue /* usize */, - rlhOld2: Deno.PointerValue /* usize */, - rlhNew: Deno.PointerValue /* usize */, + rlhOld1: bigint | number /* usize */, + rlhOld2: bigint | number /* usize */, + rlhNew: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Intersect_Range_List(rlhOld1, rlhOld2, rlhNew, ulFlags); } export function CM_Invert_Range_List( - rlhOld: Deno.PointerValue /* usize */, - rlhNew: Deno.PointerValue /* usize */, - ullMaxValue: Deno.PointerValue /* u64 */, + rlhOld: bigint | number /* usize */, + rlhNew: bigint | number /* usize */, + ullMaxValue: bigint | number /* u64 */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Invert_Range_List(rlhOld, rlhNew, ullMaxValue, ulFlags); @@ -19257,7 +19257,7 @@ export function CM_Locate_DevNode_ExA( pdnDevInst: Deno.PointerValue | Uint8Array /* ptr */, pDeviceID: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Locate_DevNode_ExA(util.toPointer(pdnDevInst), util.pstrToFfi(pDeviceID), ulFlags, hMachine); } @@ -19266,15 +19266,15 @@ export function CM_Locate_DevNode_ExW( pdnDevInst: Deno.PointerValue | Uint8Array /* ptr */, pDeviceID: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Locate_DevNode_ExW(util.toPointer(pdnDevInst), util.pwstrToFfi(pDeviceID), ulFlags, hMachine); } export function CM_Merge_Range_List( - rlhOld1: Deno.PointerValue /* usize */, - rlhOld2: Deno.PointerValue /* usize */, - rlhNew: Deno.PointerValue /* usize */, + rlhOld1: bigint | number /* usize */, + rlhOld2: bigint | number /* usize */, + rlhNew: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Merge_Range_List(rlhOld1, rlhOld2, rlhNew, ulFlags); @@ -19282,7 +19282,7 @@ export function CM_Merge_Range_List( export function CM_Modify_Res_Des( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ResourceID: number /* u32 */, ResourceData: Deno.PointerValue | Uint8Array /* ptr */, ResourceLen: number /* u32 */, @@ -19293,12 +19293,12 @@ export function CM_Modify_Res_Des( export function CM_Modify_Res_Des_Ex( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ResourceID: number /* u32 */, ResourceData: Deno.PointerValue | Uint8Array /* ptr */, ResourceLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Modify_Res_Des_Ex(util.toPointer(prdResDes), rdResDes, ResourceID, util.toPointer(ResourceData), ResourceLen, ulFlags, hMachine); } @@ -19315,7 +19315,7 @@ export function CM_Move_DevNode_Ex( dnFromDevInst: number /* u32 */, dnToDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Move_DevNode_Ex(dnFromDevInst, dnToDevInst, ulFlags, hMachine); } @@ -19331,7 +19331,7 @@ export function CM_Next_Range( export function CM_Get_Next_Res_Des( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ForResource: number /* u32 */, pResourceID: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, @@ -19341,11 +19341,11 @@ export function CM_Get_Next_Res_Des( export function CM_Get_Next_Res_Des_Ex( prdResDes: Deno.PointerValue | Uint8Array /* ptr */, - rdResDes: Deno.PointerValue /* usize */, + rdResDes: bigint | number /* usize */, ForResource: number /* u32 */, pResourceID: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Next_Res_Des_Ex(util.toPointer(prdResDes), rdResDes, ForResource, util.toPointer(pResourceID), ulFlags, hMachine); } @@ -19379,7 +19379,7 @@ export function CM_Open_Class_Key_ExA( Disposition: number /* u32 */, phkClass: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Open_Class_Key_ExA(util.toPointer(ClassGuid), util.pstrToFfi(pszClassName), samDesired, Disposition, util.toPointer(phkClass), ulFlags, hMachine); } @@ -19391,7 +19391,7 @@ export function CM_Open_Class_Key_ExW( Disposition: number /* u32 */, phkClass: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Open_Class_Key_ExW(util.toPointer(ClassGuid), util.pwstrToFfi(pszClassName), samDesired, Disposition, util.toPointer(phkClass), ulFlags, hMachine); } @@ -19414,7 +19414,7 @@ export function CM_Open_DevNode_Key_Ex( Disposition: number /* u32 */, phkDevice: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Open_DevNode_Key_Ex(dnDevNode, samDesired, ulHardwareProfile, Disposition, util.toPointer(phkDevice), ulFlags, hMachine); } @@ -19445,7 +19445,7 @@ export function CM_Open_Device_Interface_Key_ExA( Disposition: number /* u32 */, phkDeviceInterface: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Open_Device_Interface_Key_ExA(util.pstrToFfi(pszDeviceInterface), samDesired, Disposition, util.toPointer(phkDeviceInterface), ulFlags, hMachine); } @@ -19456,7 +19456,7 @@ export function CM_Open_Device_Interface_Key_ExW( Disposition: number /* u32 */, phkDeviceInterface: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Open_Device_Interface_Key_ExW(util.pwstrToFfi(pszDeviceInterface), samDesired, Disposition, util.toPointer(phkDeviceInterface), ulFlags, hMachine); } @@ -19478,7 +19478,7 @@ export function CM_Delete_Device_Interface_KeyW( export function CM_Delete_Device_Interface_Key_ExA( pszDeviceInterface: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Delete_Device_Interface_Key_ExA(util.pstrToFfi(pszDeviceInterface), ulFlags, hMachine); } @@ -19486,7 +19486,7 @@ export function CM_Delete_Device_Interface_Key_ExA( export function CM_Delete_Device_Interface_Key_ExW( pszDeviceInterface: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Delete_Device_Interface_Key_ExW(util.pwstrToFfi(pszDeviceInterface), ulFlags, hMachine); } @@ -19507,7 +19507,7 @@ export function CM_Query_Arbitrator_Free_Data_Ex( dnDevInst: number /* u32 */, ResourceID: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Query_Arbitrator_Free_Data_Ex(util.toPointer(pData), DataLen, dnDevInst, ResourceID, ulFlags, hMachine); } @@ -19526,7 +19526,7 @@ export function CM_Query_Arbitrator_Free_Size_Ex( dnDevInst: number /* u32 */, ResourceID: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Query_Arbitrator_Free_Size_Ex(util.toPointer(pulSize), dnDevInst, ResourceID, ulFlags, hMachine); } @@ -19541,7 +19541,7 @@ export function CM_Query_Remove_SubTree( export function CM_Query_Remove_SubTree_Ex( dnAncestor: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Query_Remove_SubTree_Ex(dnAncestor, ulFlags, hMachine); } @@ -19572,7 +19572,7 @@ export function CM_Query_And_Remove_SubTree_ExA( pszVetoName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulNameLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Query_And_Remove_SubTree_ExA(dnAncestor, util.toPointer(pVetoType), util.pstrToFfi(pszVetoName), ulNameLength, ulFlags, hMachine); } @@ -19583,7 +19583,7 @@ export function CM_Query_And_Remove_SubTree_ExW( pszVetoName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulNameLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Query_And_Remove_SubTree_ExW(dnAncestor, util.toPointer(pVetoType), util.pwstrToFfi(pszVetoName), ulNameLength, ulFlags, hMachine); } @@ -19604,7 +19604,7 @@ export function CM_Request_Device_Eject_ExA( pszVetoName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulNameLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Request_Device_Eject_ExA(dnDevInst, util.toPointer(pVetoType), util.pstrToFfi(pszVetoName), ulNameLength, ulFlags, hMachine); } @@ -19625,7 +19625,7 @@ export function CM_Request_Device_Eject_ExW( pszVetoName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulNameLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Request_Device_Eject_ExW(dnDevInst, util.toPointer(pVetoType), util.pwstrToFfi(pszVetoName), ulNameLength, ulFlags, hMachine); } @@ -19640,7 +19640,7 @@ export function CM_Reenumerate_DevNode( export function CM_Reenumerate_DevNode_Ex( dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Reenumerate_DevNode_Ex(dnDevInst, ulFlags, hMachine); } @@ -19674,7 +19674,7 @@ export function CM_Register_Device_Interface_ExA( pszDeviceInterface: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Register_Device_Interface_ExA(dnDevInst, util.toPointer(InterfaceClassGuid), util.pstrToFfi(pszReference), util.pstrToFfi(pszDeviceInterface), util.toPointer(pulLength), ulFlags, hMachine); } @@ -19686,7 +19686,7 @@ export function CM_Register_Device_Interface_ExW( pszDeviceInterface: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Register_Device_Interface_ExW(dnDevInst, util.toPointer(InterfaceClassGuid), util.pwstrToFfi(pszReference), util.pwstrToFfi(pszDeviceInterface), util.toPointer(pulLength), ulFlags, hMachine); } @@ -19695,7 +19695,7 @@ export function CM_Set_DevNode_Problem_Ex( dnDevInst: number /* u32 */, ulProblem: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_DevNode_Problem_Ex(dnDevInst, ulProblem, ulFlags, hMachine); } @@ -19725,7 +19725,7 @@ export function CM_Unregister_Device_InterfaceW( export function CM_Unregister_Device_Interface_ExA( pszDeviceInterface: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Unregister_Device_Interface_ExA(util.pstrToFfi(pszDeviceInterface), ulFlags, hMachine); } @@ -19733,7 +19733,7 @@ export function CM_Unregister_Device_Interface_ExA( export function CM_Unregister_Device_Interface_ExW( pszDeviceInterface: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Unregister_Device_Interface_ExW(util.pwstrToFfi(pszDeviceInterface), ulFlags, hMachine); } @@ -19748,7 +19748,7 @@ export function CM_Register_Device_Driver( export function CM_Register_Device_Driver_Ex( dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Register_Device_Driver_Ex(dnDevInst, ulFlags, hMachine); } @@ -19763,7 +19763,7 @@ export function CM_Remove_SubTree( export function CM_Remove_SubTree_Ex( dnAncestor: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Remove_SubTree_Ex(dnAncestor, ulFlags, hMachine); } @@ -19786,7 +19786,7 @@ export function CM_Set_DevNode_Property_ExW( PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, PropertyBufferSize: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_DevNode_Property_ExW(dnDevInst, util.toPointer(PropertyKey), PropertyType, util.toPointer(PropertyBuffer), PropertyBufferSize, ulFlags, hMachine); } @@ -19817,7 +19817,7 @@ export function CM_Set_DevNode_Registry_Property_ExA( Buffer: Deno.PointerValue | Uint8Array /* ptr */, ulLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_DevNode_Registry_Property_ExA(dnDevInst, ulProperty, util.toPointer(Buffer), ulLength, ulFlags, hMachine); } @@ -19828,7 +19828,7 @@ export function CM_Set_DevNode_Registry_Property_ExW( Buffer: Deno.PointerValue | Uint8Array /* ptr */, ulLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_DevNode_Registry_Property_ExW(dnDevInst, ulProperty, util.toPointer(Buffer), ulLength, ulFlags, hMachine); } @@ -19851,7 +19851,7 @@ export function CM_Set_Device_Interface_Property_ExW( PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, PropertyBufferSize: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_Device_Interface_Property_ExW(util.pwstrToFfi(pszDeviceInterface), util.toPointer(PropertyKey), PropertyType, util.toPointer(PropertyBuffer), PropertyBufferSize, ulFlags, hMachine); } @@ -19864,7 +19864,7 @@ export function CM_Is_Dock_Station_Present( export function CM_Is_Dock_Station_Present_Ex( pbPresent: Deno.PointerValue | Uint8Array /* ptr */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Is_Dock_Station_Present_Ex(util.toPointer(pbPresent), hMachine); } @@ -19874,7 +19874,7 @@ export function CM_Request_Eject_PC(): CONFIGRET /* Windows.Win32.Devices.Device } export function CM_Request_Eject_PC_Ex( - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Request_Eject_PC_Ex(hMachine); } @@ -19902,7 +19902,7 @@ export function CM_Set_HW_Prof_Flags_ExA( ulConfig: number /* u32 */, ulValue: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_HW_Prof_Flags_ExA(util.pstrToFfi(pDeviceID), ulConfig, ulValue, ulFlags, hMachine); } @@ -19912,7 +19912,7 @@ export function CM_Set_HW_Prof_Flags_ExW( ulConfig: number /* u32 */, ulValue: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_HW_Prof_Flags_ExW(util.pwstrToFfi(pDeviceID), ulConfig, ulValue, ulFlags, hMachine); } @@ -19927,15 +19927,15 @@ export function CM_Setup_DevNode( export function CM_Setup_DevNode_Ex( dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Setup_DevNode_Ex(dnDevInst, ulFlags, hMachine); } export function CM_Test_Range_Available( - ullStartValue: Deno.PointerValue /* u64 */, - ullEndValue: Deno.PointerValue /* u64 */, - rlh: Deno.PointerValue /* usize */, + ullStartValue: bigint | number /* u64 */, + ullEndValue: bigint | number /* u64 */, + rlh: bigint | number /* usize */, ulFlags: number /* u32 */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Test_Range_Available(ullStartValue, ullEndValue, rlh, ulFlags); @@ -19951,7 +19951,7 @@ export function CM_Uninstall_DevNode( export function CM_Uninstall_DevNode_Ex( dnDevInst: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Uninstall_DevNode_Ex(dnDevInst, ulFlags, hMachine); } @@ -19964,7 +19964,7 @@ export function CM_Run_Detection( export function CM_Run_Detection_Ex( ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Run_Detection_Ex(ulFlags, hMachine); } @@ -19979,7 +19979,7 @@ export function CM_Set_HW_Prof( export function CM_Set_HW_Prof_Ex( ulHardwareProfile: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_HW_Prof_Ex(ulHardwareProfile, ulFlags, hMachine); } @@ -19991,26 +19991,26 @@ export function CM_Query_Resource_Conflict_List( ResourceData: Deno.PointerValue | Uint8Array /* ptr */, ResourceLen: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Query_Resource_Conflict_List(util.toPointer(pclConflictList), dnDevInst, ResourceID, util.toPointer(ResourceData), ResourceLen, ulFlags, hMachine); } export function CM_Free_Resource_Conflict_Handle( - clConflictList: Deno.PointerValue /* usize */, + clConflictList: bigint | number /* usize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Free_Resource_Conflict_Handle(clConflictList); } export function CM_Get_Resource_Conflict_Count( - clConflictList: Deno.PointerValue /* usize */, + clConflictList: bigint | number /* usize */, pulCount: Deno.PointerValue | Uint8Array /* ptr */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Resource_Conflict_Count(clConflictList, util.toPointer(pulCount)); } export function CM_Get_Resource_Conflict_DetailsA( - clConflictList: Deno.PointerValue /* usize */, + clConflictList: bigint | number /* usize */, ulIndex: number /* u32 */, pConflictDetails: Deno.PointerValue | Uint8Array /* ptr */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { @@ -20018,7 +20018,7 @@ export function CM_Get_Resource_Conflict_DetailsA( } export function CM_Get_Resource_Conflict_DetailsW( - clConflictList: Deno.PointerValue /* usize */, + clConflictList: bigint | number /* usize */, ulIndex: number /* u32 */, pConflictDetails: Deno.PointerValue | Uint8Array /* ptr */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { @@ -20043,7 +20043,7 @@ export function CM_Get_Class_Property_ExW( PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, PropertyBufferSize: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Property_ExW(util.toPointer(ClassGUID), util.toPointer(PropertyKey), util.toPointer(PropertyType), util.toPointer(PropertyBuffer), util.toPointer(PropertyBufferSize), ulFlags, hMachine); } @@ -20062,7 +20062,7 @@ export function CM_Get_Class_Property_Keys_Ex( PropertyKeyArray: Deno.PointerValue | Uint8Array /* ptr */, PropertyKeyCount: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Property_Keys_Ex(util.toPointer(ClassGUID), util.toPointer(PropertyKeyArray), util.toPointer(PropertyKeyCount), ulFlags, hMachine); } @@ -20085,7 +20085,7 @@ export function CM_Set_Class_Property_ExW( PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, PropertyBufferSize: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_Class_Property_ExW(util.toPointer(ClassGUID), util.toPointer(PropertyKey), PropertyType, util.toPointer(PropertyBuffer), PropertyBufferSize, ulFlags, hMachine); } @@ -20097,7 +20097,7 @@ export function CM_Get_Class_Registry_PropertyA( Buffer: Deno.PointerValue | Uint8Array /* ptr */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Registry_PropertyA(util.toPointer(ClassGuid), ulProperty, util.toPointer(pulRegDataType), util.toPointer(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -20109,7 +20109,7 @@ export function CM_Get_Class_Registry_PropertyW( Buffer: Deno.PointerValue | Uint8Array /* ptr */, pulLength: Deno.PointerValue | Uint8Array /* ptr */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Get_Class_Registry_PropertyW(util.toPointer(ClassGuid), ulProperty, util.toPointer(pulRegDataType), util.toPointer(Buffer), util.toPointer(pulLength), ulFlags, hMachine); } @@ -20120,7 +20120,7 @@ export function CM_Set_Class_Registry_PropertyA( Buffer: Deno.PointerValue | Uint8Array /* ptr */, ulLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_Class_Registry_PropertyA(util.toPointer(ClassGuid), ulProperty, util.toPointer(Buffer), ulLength, ulFlags, hMachine); } @@ -20131,7 +20131,7 @@ export function CM_Set_Class_Registry_PropertyW( Buffer: Deno.PointerValue | Uint8Array /* ptr */, ulLength: number /* u32 */, ulFlags: number /* u32 */, - hMachine: Deno.PointerValue /* isize */, + hMachine: bigint | number /* isize */, ): CONFIGRET /* Windows.Win32.Devices.DeviceAndDriverInstallation.CONFIGRET */ { return libCFGMGR32_dll.CM_Set_Class_Registry_PropertyW(util.toPointer(ClassGuid), ulProperty, util.toPointer(Buffer), ulLength, ulFlags, hMachine); } diff --git a/api/Devices/Display.ts b/api/Devices/Display.ts index 4fc6b1c..32d34ac 100644 --- a/api/Devices/Display.ts +++ b/api/Devices/Display.ts @@ -1249,21 +1249,21 @@ export class DEVPROPKEYView { // 0x0c: pad4 } -export type HSEMAPHORE = Deno.PointerValue; +export type HSEMAPHORE = bigint | number; -export type HSURF = Deno.PointerValue; +export type HSURF = bigint | number; -export type HFASTMUTEX = Deno.PointerValue; +export type HFASTMUTEX = bigint | number; -export type HDRVOBJ = Deno.PointerValue; +export type HDRVOBJ = bigint | number; -export type HDEV = Deno.PointerValue; +export type HDEV = bigint | number; -export type HBM = Deno.PointerValue; +export type HBM = bigint | number; -export type DHSURF = Deno.PointerValue; +export type DHSURF = bigint | number; -export type DHPDEV = Deno.PointerValue; +export type DHPDEV = bigint | number; /** * Windows.Win32.Devices.Display.DISPLAYCONFIG_RATIONAL (size: 8) @@ -1376,9 +1376,9 @@ export class DISPLAYCONFIG_2DREGIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1404,22 +1404,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1484,7 +1484,7 @@ export class _Anonymous_e__UnionView { */ export interface DISPLAYCONFIG_VIDEO_SIGNAL_INFO { /** u64 */ - pixelRate: Deno.PointerValue; + pixelRate: bigint | number; /** Windows.Win32.Devices.Display.DISPLAYCONFIG_RATIONAL */ hSyncFreq: Uint8Array | Deno.PointerValue; /** Windows.Win32.Devices.Display.DISPLAYCONFIG_RATIONAL */ @@ -1533,7 +1533,7 @@ export class DISPLAYCONFIG_VIDEO_SIGNAL_INFOView { } // 0x00: u64 - get pixelRate(): Deno.PointerValue { + get pixelRate(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1575,7 +1575,7 @@ export class DISPLAYCONFIG_VIDEO_SIGNAL_INFOView { // 0x34: pad4 // 0x00: u64 - set pixelRate(value: Deno.PointerValue) { + set pixelRate(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3418,7 +3418,7 @@ export class DISPLAYCONFIG_SET_MONITOR_SPECIALIZATIONView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Devices.Display.PHYSICAL_MONITOR (size: 16) @@ -3755,11 +3755,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -3811,7 +3811,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3822,7 +3822,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3858,7 +3858,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3869,7 +3869,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3906,7 +3906,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -3935,7 +3935,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3947,7 +3947,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7191,7 +7191,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -7231,7 +7231,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -7246,7 +7246,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -8335,7 +8335,7 @@ export class LOGFONTWView { } } -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; /** * Windows.Win32.Devices.Display.DEVINFO (size: 64) @@ -9989,9 +9989,9 @@ export interface FONTOBJ { /** u32 */ flFontType: number; /** usize */ - iTTUniq: Deno.PointerValue; + iTTUniq: bigint | number; /** usize */ - iFile: Deno.PointerValue; + iFile: bigint | number; /** Windows.Win32.Foundation.SIZE */ sizLogResPpi: Uint8Array | Deno.PointerValue; /** u32 */ @@ -10062,12 +10062,12 @@ export class FONTOBJView { } // 0x10: usize - get iTTUniq(): Deno.PointerValue { + get iTTUniq(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get iFile(): Deno.PointerValue { + get iFile(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -10117,12 +10117,12 @@ export class FONTOBJView { } // 0x10: usize - set iTTUniq(value: Deno.PointerValue) { + set iTTUniq(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set iFile(value: Deno.PointerValue) { + set iFile(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -12379,7 +12379,7 @@ export class ENG_TIME_FIELDSView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.Devices.Display.EMFINFO (size: 32) @@ -12870,7 +12870,7 @@ export interface VIDEO_WIN32K_CALLBACKS_PARAMS { /** ptr */ PhysDisp: Deno.PointerValue | Uint8Array; /** usize */ - Param: Deno.PointerValue; + Param: bigint | number; /** i32 */ Status: number; /** Windows.Win32.Foundation.BOOLEAN */ @@ -12933,7 +12933,7 @@ export class VIDEO_WIN32K_CALLBACKS_PARAMSView { } // 0x10: usize - get Param(): Deno.PointerValue { + get Param(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12981,7 +12981,7 @@ export class VIDEO_WIN32K_CALLBACKS_PARAMSView { } // 0x10: usize - set Param(value: Deno.PointerValue) { + set Param(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -16958,35 +16958,35 @@ export interface VIDEO_PERFORMANCE_COUNTER { /** array */ KBytesRestored: Deno.PointerValue; /** u64 */ - NbProcessCommited: Deno.PointerValue; + NbProcessCommited: bigint | number; /** u64 */ - NbAllocationCommited: Deno.PointerValue; + NbAllocationCommited: bigint | number; /** u64 */ - NbAllocationMarked: Deno.PointerValue; + NbAllocationMarked: bigint | number; /** u64 */ - KBytesAllocated: Deno.PointerValue; + KBytesAllocated: bigint | number; /** u64 */ - KBytesAvailable: Deno.PointerValue; + KBytesAvailable: bigint | number; /** u64 */ - KBytesCurMarked: Deno.PointerValue; + KBytesCurMarked: bigint | number; /** u64 */ - Reference: Deno.PointerValue; + Reference: bigint | number; /** u64 */ - Unreference: Deno.PointerValue; + Unreference: bigint | number; /** u64 */ - TrueReference: Deno.PointerValue; + TrueReference: bigint | number; /** u64 */ - NbOfPageIn: Deno.PointerValue; + NbOfPageIn: bigint | number; /** u64 */ - KBytesPageIn: Deno.PointerValue; + KBytesPageIn: bigint | number; /** u64 */ - NbOfPageOut: Deno.PointerValue; + NbOfPageOut: bigint | number; /** u64 */ - KBytesPageOut: Deno.PointerValue; + KBytesPageOut: bigint | number; /** u64 */ - NbOfRotateOut: Deno.PointerValue; + NbOfRotateOut: bigint | number; /** u64 */ - KBytesRotateOut: Deno.PointerValue; + KBytesRotateOut: bigint | number; } export const sizeofVIDEO_PERFORMANCE_COUNTER = 168; @@ -17086,77 +17086,77 @@ export class VIDEO_PERFORMANCE_COUNTERView { } // 0x30: u64 - get NbProcessCommited(): Deno.PointerValue { + get NbProcessCommited(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get NbAllocationCommited(): Deno.PointerValue { + get NbAllocationCommited(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get NbAllocationMarked(): Deno.PointerValue { + get NbAllocationMarked(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get KBytesAllocated(): Deno.PointerValue { + get KBytesAllocated(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get KBytesAvailable(): Deno.PointerValue { + get KBytesAvailable(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get KBytesCurMarked(): Deno.PointerValue { + get KBytesCurMarked(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get Reference(): Deno.PointerValue { + get Reference(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get Unreference(): Deno.PointerValue { + get Unreference(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get TrueReference(): Deno.PointerValue { + get TrueReference(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get NbOfPageIn(): Deno.PointerValue { + get NbOfPageIn(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get KBytesPageIn(): Deno.PointerValue { + get KBytesPageIn(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get NbOfPageOut(): Deno.PointerValue { + get NbOfPageOut(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get KBytesPageOut(): Deno.PointerValue { + get KBytesPageOut(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get NbOfRotateOut(): Deno.PointerValue { + get NbOfRotateOut(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get KBytesRotateOut(): Deno.PointerValue { + get KBytesRotateOut(): bigint | number { return Number(this.view.getBigUint64(160, true)); } @@ -17191,77 +17191,77 @@ export class VIDEO_PERFORMANCE_COUNTERView { } // 0x30: u64 - set NbProcessCommited(value: Deno.PointerValue) { + set NbProcessCommited(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set NbAllocationCommited(value: Deno.PointerValue) { + set NbAllocationCommited(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set NbAllocationMarked(value: Deno.PointerValue) { + set NbAllocationMarked(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set KBytesAllocated(value: Deno.PointerValue) { + set KBytesAllocated(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set KBytesAvailable(value: Deno.PointerValue) { + set KBytesAvailable(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set KBytesCurMarked(value: Deno.PointerValue) { + set KBytesCurMarked(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set Reference(value: Deno.PointerValue) { + set Reference(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set Unreference(value: Deno.PointerValue) { + set Unreference(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set TrueReference(value: Deno.PointerValue) { + set TrueReference(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set NbOfPageIn(value: Deno.PointerValue) { + set NbOfPageIn(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set KBytesPageIn(value: Deno.PointerValue) { + set KBytesPageIn(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set NbOfPageOut(value: Deno.PointerValue) { + set NbOfPageOut(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set KBytesPageOut(value: Deno.PointerValue) { + set KBytesPageOut(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set NbOfRotateOut(value: Deno.PointerValue) { + set NbOfRotateOut(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set KBytesRotateOut(value: Deno.PointerValue) { + set KBytesRotateOut(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } } @@ -19969,13 +19969,13 @@ export class MIPI_DSI_RESETView { } } -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; export type HRESULT = number; export type PSTR = Deno.PointerValue | Uint8Array; -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; // Native Libraries diff --git a/api/Devices/Enumeration/Pnp.ts b/api/Devices/Enumeration/Pnp.ts index 7e2a8d0..4530919 100644 --- a/api/Devices/Enumeration/Pnp.ts +++ b/api/Devices/Enumeration/Pnp.ts @@ -65,7 +65,7 @@ export const SWDeviceLifetimeMax = 2; // Structs -export type HSWDEVICE = Deno.PointerValue; +export type HSWDEVICE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; diff --git a/api/Devices/Fax.ts b/api/Devices/Fax.ts index 017ca31..79ee3e5 100644 --- a/api/Devices/Fax.ts +++ b/api/Devices/Fax.ts @@ -6294,7 +6294,7 @@ export class FAX_PRINT_INFOWView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.Devices.Fax.FAX_CONTEXT_INFOA (size: 24) @@ -7042,9 +7042,9 @@ export interface FAX_ROUTE { /** u32 */ JobId: number; /** u64 */ - ElapsedTime: Deno.PointerValue; + ElapsedTime: bigint | number; /** u64 */ - ReceiveTime: Deno.PointerValue; + ReceiveTime: bigint | number; /** u32 */ PageCount: number; /** Windows.Win32.Foundation.PWSTR */ @@ -7152,12 +7152,12 @@ export class FAX_ROUTEView { } // 0x08: u64 - get ElapsedTime(): Deno.PointerValue { + get ElapsedTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ReceiveTime(): Deno.PointerValue { + get ReceiveTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7241,12 +7241,12 @@ export class FAX_ROUTEView { } // 0x08: u64 - set ElapsedTime(value: Deno.PointerValue) { + set ElapsedTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ReceiveTime(value: Deno.PointerValue) { + set ReceiveTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8087,9 +8087,9 @@ export class STI_DIAGView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Devices.Fax.STISUBSCRIBE (size: 40) @@ -8339,7 +8339,7 @@ export class STI_USD_CAPSView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type HRESULT = number; @@ -8968,7 +8968,7 @@ export function FaxSetRoutingInfoW( export function FaxInitializeEventQueue( FaxHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, CompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - CompletionKey: Deno.PointerValue /* usize */, + CompletionKey: bigint | number /* usize */, hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, MessageStart: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { diff --git a/api/Devices/Geolocation.ts b/api/Devices/Geolocation.ts index 3bfb883..024b5bd 100644 --- a/api/Devices/Geolocation.ts +++ b/api/Devices/Geolocation.ts @@ -1182,9 +1182,9 @@ export class GNSS_LKGFIX_PARAMView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1210,22 +1210,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Devices/HumanInterfaceDevice.ts b/api/Devices/HumanInterfaceDevice.ts index a239e03..79ff65b 100644 --- a/api/Devices/HumanInterfaceDevice.ts +++ b/api/Devices/HumanInterfaceDevice.ts @@ -4116,9 +4116,9 @@ export class DIDATAFORMATView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4144,22 +4144,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4224,7 +4224,7 @@ export class _Anonymous_e__UnionView { */ export interface DIACTIONA { /** usize */ - uAppData: Deno.PointerValue; + uAppData: bigint | number; /** u32 */ dwSemantic: number; /** u32 */ @@ -4272,7 +4272,7 @@ export class DIACTIONAView { } // 0x00: usize - get uAppData(): Deno.PointerValue { + get uAppData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4309,7 +4309,7 @@ export class DIACTIONAView { } // 0x00: usize - set uAppData(value: Deno.PointerValue) { + set uAppData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4349,7 +4349,7 @@ export class DIACTIONAView { */ export interface DIACTIONW { /** usize */ - uAppData: Deno.PointerValue; + uAppData: bigint | number; /** u32 */ dwSemantic: number; /** u32 */ @@ -4397,7 +4397,7 @@ export class DIACTIONWView { } // 0x00: usize - get uAppData(): Deno.PointerValue { + get uAppData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4434,7 +4434,7 @@ export class DIACTIONWView { } // 0x00: usize - set uAppData(value: Deno.PointerValue) { + set uAppData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4469,7 +4469,7 @@ export class DIACTIONWView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Foundation.FILETIME (size: 8) @@ -5144,7 +5144,7 @@ export class DICOLORSETView { export type PSTR = Deno.PointerValue | Uint8Array; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Devices.HumanInterfaceDevice.DICONFIGUREDEVICESPARAMSA (size: 56) @@ -7038,7 +7038,7 @@ export interface DIPROPPOINTER { /** Windows.Win32.Devices.HumanInterfaceDevice.DIPROPHEADER */ diph: Uint8Array | Deno.PointerValue; /** usize */ - uData: Deno.PointerValue; + uData: bigint | number; } export const sizeofDIPROPPOINTER = 16; @@ -7070,7 +7070,7 @@ export class DIPROPPOINTERView { } // 0x08: usize - get uData(): Deno.PointerValue { + get uData(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7080,7 +7080,7 @@ export class DIPROPPOINTERView { } // 0x08: usize - set uData(value: Deno.PointerValue) { + set uData(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7656,7 +7656,7 @@ export interface DIDEVICEOBJECTDATA { /** u32 */ dwSequence: number; /** usize */ - uAppData: Deno.PointerValue; + uAppData: bigint | number; } export const sizeofDIDEVICEOBJECTDATA = 24; @@ -7708,7 +7708,7 @@ export class DIDEVICEOBJECTDATAView { } // 0x10: usize - get uAppData(): Deno.PointerValue { + get uAppData(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7733,7 +7733,7 @@ export class DIDEVICEOBJECTDATAView { } // 0x10: usize - set uAppData(value: Deno.PointerValue) { + set uAppData(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -14273,7 +14273,7 @@ export type HRESULT = number; export type NTSTATUS = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -14499,7 +14499,7 @@ export function joyConfigChanged( } export function HidP_GetCaps( - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Capabilities: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libHID_dll.HidP_GetCaps(PreparsedData, util.toPointer(Capabilities)); @@ -14508,7 +14508,7 @@ export function HidP_GetCaps( export function HidP_GetLinkCollectionNodes( LinkCollectionNodes: Deno.PointerValue | Uint8Array /* ptr */, LinkCollectionNodesLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libHID_dll.HidP_GetLinkCollectionNodes(util.toPointer(LinkCollectionNodes), util.toPointer(LinkCollectionNodesLength), PreparsedData); } @@ -14520,7 +14520,7 @@ export function HidP_GetSpecificButtonCaps( Usage: number /* u16 */, ButtonCaps: Deno.PointerValue | Uint8Array /* ptr */, ButtonCapsLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libHID_dll.HidP_GetSpecificButtonCaps(ReportType, UsagePage, LinkCollection, Usage, util.toPointer(ButtonCaps), util.toPointer(ButtonCapsLength), PreparsedData); } @@ -14529,7 +14529,7 @@ export function HidP_GetButtonCaps( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, ButtonCaps: Deno.PointerValue | Uint8Array /* ptr */, ButtonCapsLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libHID_dll.HidP_GetButtonCaps(ReportType, util.toPointer(ButtonCaps), util.toPointer(ButtonCapsLength), PreparsedData); } @@ -14541,7 +14541,7 @@ export function HidP_GetSpecificValueCaps( Usage: number /* u16 */, ValueCaps: Deno.PointerValue | Uint8Array /* ptr */, ValueCapsLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libHID_dll.HidP_GetSpecificValueCaps(ReportType, UsagePage, LinkCollection, Usage, util.toPointer(ValueCaps), util.toPointer(ValueCapsLength), PreparsedData); } @@ -14550,7 +14550,7 @@ export function HidP_GetValueCaps( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, ValueCaps: Deno.PointerValue | Uint8Array /* ptr */, ValueCapsLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libHID_dll.HidP_GetValueCaps(ReportType, util.toPointer(ValueCaps), util.toPointer(ValueCapsLength), PreparsedData); } @@ -14558,7 +14558,7 @@ export function HidP_GetValueCaps( export function HidP_GetExtendedAttributes( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, DataIndex: number /* u16 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Attributes: Deno.PointerValue | Uint8Array /* ptr */, LengthAttributes: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14568,7 +14568,7 @@ export function HidP_GetExtendedAttributes( export function HidP_InitializeReportForID( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, ReportID: number /* u8 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14579,7 +14579,7 @@ export function HidP_SetData( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, DataList: Deno.PointerValue | Uint8Array /* ptr */, DataLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14590,7 +14590,7 @@ export function HidP_GetData( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, DataList: Deno.PointerValue | Uint8Array /* ptr */, DataLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14599,7 +14599,7 @@ export function HidP_GetData( export function HidP_MaxDataListLength( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): number /* u32 */ { return libHID_dll.HidP_MaxDataListLength(ReportType, PreparsedData); } @@ -14610,7 +14610,7 @@ export function HidP_SetUsages( LinkCollection: number /* u16 */, UsageList: Deno.PointerValue | Uint8Array /* ptr */, UsageLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14623,7 +14623,7 @@ export function HidP_UnsetUsages( LinkCollection: number /* u16 */, UsageList: Deno.PointerValue | Uint8Array /* ptr */, UsageLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14636,7 +14636,7 @@ export function HidP_GetUsages( LinkCollection: number /* u16 */, UsageList: Deno.PointerValue | Uint8Array /* ptr */, UsageLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14648,7 +14648,7 @@ export function HidP_GetUsagesEx( LinkCollection: number /* u16 */, ButtonList: Deno.PointerValue | Uint8Array /* ptr */, UsageLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14658,7 +14658,7 @@ export function HidP_GetUsagesEx( export function HidP_MaxUsageListLength( ReportType: HIDP_REPORT_TYPE /* Windows.Win32.Devices.HumanInterfaceDevice.HIDP_REPORT_TYPE */, UsagePage: number /* u16 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): number /* u32 */ { return libHID_dll.HidP_MaxUsageListLength(ReportType, UsagePage, PreparsedData); } @@ -14669,7 +14669,7 @@ export function HidP_SetUsageValue( LinkCollection: number /* u16 */, Usage: number /* u16 */, UsageValue: number /* u32 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14682,7 +14682,7 @@ export function HidP_SetScaledUsageValue( LinkCollection: number /* u16 */, Usage: number /* u16 */, UsageValue: number /* i32 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14696,7 +14696,7 @@ export function HidP_SetUsageValueArray( Usage: number /* u16 */, UsageValue: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, UsageValueByteLength: number /* u16 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14709,7 +14709,7 @@ export function HidP_GetUsageValue( LinkCollection: number /* u16 */, Usage: number /* u16 */, UsageValue: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14722,7 +14722,7 @@ export function HidP_GetScaledUsageValue( LinkCollection: number /* u16 */, Usage: number /* u16 */, UsageValue: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14736,7 +14736,7 @@ export function HidP_GetUsageValueArray( Usage: number /* u16 */, UsageValue: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, UsageValueByteLength: number /* u16 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14760,7 +14760,7 @@ export function HidP_GetButtonArray( Usage: number /* u16 */, ButtonData: Deno.PointerValue | Uint8Array /* ptr */, ButtonDataLength: Deno.PointerValue | Uint8Array /* ptr */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14774,7 +14774,7 @@ export function HidP_SetButtonArray( Usage: number /* u16 */, ButtonData: Deno.PointerValue | Uint8Array /* ptr */, ButtonDataLength: number /* u16 */, - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, Report: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ReportLength: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { @@ -14813,7 +14813,7 @@ export function HidD_GetPreparsedData( } export function HidD_FreePreparsedData( - PreparsedData: Deno.PointerValue /* isize */, + PreparsedData: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.BOOLEAN */ { return libHID_dll.HidD_FreePreparsedData(PreparsedData); } diff --git a/api/Devices/ImageAcquisition.ts b/api/Devices/ImageAcquisition.ts index 6250395..80eebc5 100644 --- a/api/Devices/ImageAcquisition.ts +++ b/api/Devices/ImageAcquisition.ts @@ -2811,7 +2811,7 @@ export interface WiaTransferParams { /** i32 */ lPercentComplete: number; /** u64 */ - ulTransferredBytes: Deno.PointerValue; + ulTransferredBytes: bigint | number; /** Windows.Win32.Foundation.HRESULT */ hrErrorStatus: Uint8Array | Deno.PointerValue; } @@ -2853,7 +2853,7 @@ export class WiaTransferParamsView { } // 0x08: u64 - get ulTransferredBytes(): Deno.PointerValue { + get ulTransferredBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -2874,7 +2874,7 @@ export class WiaTransferParamsView { } // 0x08: u64 - set ulTransferredBytes(value: Deno.PointerValue) { + set ulTransferredBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2907,7 +2907,7 @@ export interface MINIDRV_TRANSFER_CONTEXT { /** i32 */ tymed: number; /** isize */ - hFile: Deno.PointerValue; + hFile: bigint | number; /** i32 */ cbOffset: number; /** i32 */ @@ -2925,7 +2925,7 @@ export interface MINIDRV_TRANSFER_CONTEXT { /** Windows.Win32.Foundation.BOOL */ bClassDrvAllocBuf: boolean; /** isize */ - lClientAddress: Deno.PointerValue; + lClientAddress: bigint | number; /** Windows.Win32.Devices.ImageAcquisition.IWiaMiniDrvCallBack */ pIWiaMiniDrvCallBack: Uint8Array | Deno.PointerValue; /** i32 */ @@ -3070,7 +3070,7 @@ export class MINIDRV_TRANSFER_CONTEXTView { // 0x2c: pad4 // 0x30: isize - get hFile(): Deno.PointerValue { + get hFile(): bigint | number { return Number(this.view.getBigInt64(48, true)); } @@ -3117,7 +3117,7 @@ export class MINIDRV_TRANSFER_CONTEXTView { } // 0x60: isize - get lClientAddress(): Deno.PointerValue { + get lClientAddress(): bigint | number { return Number(this.view.getBigInt64(96, true)); } @@ -3214,7 +3214,7 @@ export class MINIDRV_TRANSFER_CONTEXTView { // 0x2c: pad4 // 0x30: isize - set hFile(value: Deno.PointerValue) { + set hFile(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } @@ -3259,7 +3259,7 @@ export class MINIDRV_TRANSFER_CONTEXTView { } // 0x60: isize - set lClientAddress(value: Deno.PointerValue) { + set lClientAddress(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } @@ -4837,7 +4837,7 @@ export class WIAS_ENDORSER_INFOView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Devices.ImageAcquisition.DEVICEDIALOGDATA2 (size: 72) @@ -5858,7 +5858,7 @@ export interface VAL { /** ptr */ pScanInfo: Deno.PointerValue | Uint8Array; /** isize */ - handle: Deno.PointerValue; + handle: bigint | number; /** ptr */ ppButtonNames: Deno.PointerValue | Uint8Array; /** ptr */ @@ -5932,7 +5932,7 @@ export class VALView { } // 0x20: isize - get handle(): Deno.PointerValue { + get handle(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -5984,7 +5984,7 @@ export class VALView { } // 0x20: isize - set handle(value: Deno.PointerValue) { + set handle(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } diff --git a/api/Devices/Pwm.ts b/api/Devices/Pwm.ts index 4354481..13ea132 100644 --- a/api/Devices/Pwm.ts +++ b/api/Devices/Pwm.ts @@ -37,13 +37,13 @@ export const PWM_ACTIVE_LOW = 1; */ export interface PWM_CONTROLLER_INFO { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** u32 */ PinCount: number; /** u64 */ - MinimumPeriod: Deno.PointerValue; + MinimumPeriod: bigint | number; /** u64 */ - MaximumPeriod: Deno.PointerValue; + MaximumPeriod: bigint | number; } export const sizeofPWM_CONTROLLER_INFO = 32; @@ -74,7 +74,7 @@ export class PWM_CONTROLLER_INFOView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -86,17 +86,17 @@ export class PWM_CONTROLLER_INFOView { // 0x0c: pad4 // 0x10: u64 - get MinimumPeriod(): Deno.PointerValue { + get MinimumPeriod(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MaximumPeriod(): Deno.PointerValue { + get MaximumPeriod(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -108,12 +108,12 @@ export class PWM_CONTROLLER_INFOView { // 0x0c: pad4 // 0x10: u64 - set MinimumPeriod(value: Deno.PointerValue) { + set MinimumPeriod(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MaximumPeriod(value: Deno.PointerValue) { + set MaximumPeriod(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -123,7 +123,7 @@ export class PWM_CONTROLLER_INFOView { */ export interface PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT { /** u64 */ - ActualPeriod: Deno.PointerValue; + ActualPeriod: bigint | number; } export const sizeofPWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUT = 8; @@ -147,12 +147,12 @@ export class PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUTView { } // 0x00: u64 - get ActualPeriod(): Deno.PointerValue { + get ActualPeriod(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ActualPeriod(value: Deno.PointerValue) { + set ActualPeriod(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -162,7 +162,7 @@ export class PWM_CONTROLLER_GET_ACTUAL_PERIOD_OUTPUTView { */ export interface PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT { /** u64 */ - DesiredPeriod: Deno.PointerValue; + DesiredPeriod: bigint | number; } export const sizeofPWM_CONTROLLER_SET_DESIRED_PERIOD_INPUT = 8; @@ -186,12 +186,12 @@ export class PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUTView { } // 0x00: u64 - get DesiredPeriod(): Deno.PointerValue { + get DesiredPeriod(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set DesiredPeriod(value: Deno.PointerValue) { + set DesiredPeriod(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -201,7 +201,7 @@ export class PWM_CONTROLLER_SET_DESIRED_PERIOD_INPUTView { */ export interface PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT { /** u64 */ - ActualPeriod: Deno.PointerValue; + ActualPeriod: bigint | number; } export const sizeofPWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUT = 8; @@ -225,12 +225,12 @@ export class PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUTView { } // 0x00: u64 - get ActualPeriod(): Deno.PointerValue { + get ActualPeriod(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ActualPeriod(value: Deno.PointerValue) { + set ActualPeriod(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -240,7 +240,7 @@ export class PWM_CONTROLLER_SET_DESIRED_PERIOD_OUTPUTView { */ export interface PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT { /** u64 */ - Percentage: Deno.PointerValue; + Percentage: bigint | number; } export const sizeofPWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUT = 8; @@ -264,12 +264,12 @@ export class PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUTView { } // 0x00: u64 - get Percentage(): Deno.PointerValue { + get Percentage(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Percentage(value: Deno.PointerValue) { + set Percentage(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -279,7 +279,7 @@ export class PWM_PIN_GET_ACTIVE_DUTY_CYCLE_PERCENTAGE_OUTPUTView { */ export interface PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT { /** u64 */ - Percentage: Deno.PointerValue; + Percentage: bigint | number; } export const sizeofPWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUT = 8; @@ -303,12 +303,12 @@ export class PWM_PIN_SET_ACTIVE_DUTY_CYCLE_PERCENTAGE_INPUTView { } // 0x00: u64 - get Percentage(): Deno.PointerValue { + get Percentage(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Percentage(value: Deno.PointerValue) { + set Percentage(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } diff --git a/api/Devices/Sensors.ts b/api/Devices/Sensors.ts index 83d1202..ef4fdcb 100644 --- a/api/Devices/Sensors.ts +++ b/api/Devices/Sensors.ts @@ -173,9 +173,9 @@ export class PROPERTYKEYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -201,22 +201,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Devices/SerialCommunication.ts b/api/Devices/SerialCommunication.ts index b3d366e..d379850 100644 --- a/api/Devices/SerialCommunication.ts +++ b/api/Devices/SerialCommunication.ts @@ -10,7 +10,7 @@ export const CDB_REPORT_BYTES = 1; // Structs -export type HCOMDB = Deno.PointerValue; +export type HCOMDB = bigint | number; export type BOOL = number; diff --git a/api/Devices/Tapi.ts b/api/Devices/Tapi.ts index a1ca25d..9ae8d04 100644 --- a/api/Devices/Tapi.ts +++ b/api/Devices/Tapi.ts @@ -4022,9 +4022,9 @@ export class LINEAGENTLISTView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4050,22 +4050,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4077,7 +4077,7 @@ export interface CY { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** i64 */ - int64: Deno.PointerValue; + int64: bigint | number; } export const sizeofCY = 16; @@ -4109,7 +4109,7 @@ export class CYView { } // 0x08: i64 - get int64(): Deno.PointerValue { + get int64(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -4119,7 +4119,7 @@ export class CYView { } // 0x08: i64 - set int64(value: Deno.PointerValue) { + set int64(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -9554,7 +9554,7 @@ export class LINEGENERATETONEView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * _Handles_e__Union (size: 16) @@ -10309,13 +10309,13 @@ export interface LINEMESSAGE { /** u32 */ dwMessageID: number; /** usize */ - dwCallbackInstance: Deno.PointerValue; + dwCallbackInstance: bigint | number; /** usize */ - dwParam1: Deno.PointerValue; + dwParam1: bigint | number; /** usize */ - dwParam2: Deno.PointerValue; + dwParam2: bigint | number; /** usize */ - dwParam3: Deno.PointerValue; + dwParam3: bigint | number; } export const sizeofLINEMESSAGE = 40; @@ -10359,22 +10359,22 @@ export class LINEMESSAGEView { } // 0x08: usize - get dwCallbackInstance(): Deno.PointerValue { + get dwCallbackInstance(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwParam1(): Deno.PointerValue { + get dwParam1(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwParam2(): Deno.PointerValue { + get dwParam2(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dwParam3(): Deno.PointerValue { + get dwParam3(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -10389,22 +10389,22 @@ export class LINEMESSAGEView { } // 0x08: usize - set dwCallbackInstance(value: Deno.PointerValue) { + set dwCallbackInstance(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwParam1(value: Deno.PointerValue) { + set dwParam1(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwParam2(value: Deno.PointerValue) { + set dwParam2(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dwParam3(value: Deno.PointerValue) { + set dwParam3(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -11058,9 +11058,9 @@ export class LINEREQMAKECALLWView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; /** * Windows.Win32.Devices.Tapi.LINEREQMEDIACALL (size: 72) @@ -12874,13 +12874,13 @@ export interface PHONEMESSAGE { /** u32 */ dwMessageID: number; /** usize */ - dwCallbackInstance: Deno.PointerValue; + dwCallbackInstance: bigint | number; /** usize */ - dwParam1: Deno.PointerValue; + dwParam1: bigint | number; /** usize */ - dwParam2: Deno.PointerValue; + dwParam2: bigint | number; /** usize */ - dwParam3: Deno.PointerValue; + dwParam3: bigint | number; } export const sizeofPHONEMESSAGE = 40; @@ -12924,22 +12924,22 @@ export class PHONEMESSAGEView { } // 0x08: usize - get dwCallbackInstance(): Deno.PointerValue { + get dwCallbackInstance(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwParam1(): Deno.PointerValue { + get dwParam1(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwParam2(): Deno.PointerValue { + get dwParam2(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dwParam3(): Deno.PointerValue { + get dwParam3(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -12954,22 +12954,22 @@ export class PHONEMESSAGEView { } // 0x08: usize - set dwCallbackInstance(value: Deno.PointerValue) { + set dwCallbackInstance(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwParam1(value: Deno.PointerValue) { + set dwParam1(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwParam2(value: Deno.PointerValue) { + set dwParam2(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dwParam3(value: Deno.PointerValue) { + set dwParam3(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -14976,7 +14976,7 @@ export class NSIDView { export type PSTR = Deno.PointerValue | Uint8Array; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type HRESULT = number; @@ -17073,7 +17073,7 @@ export function lineOpen( lphLine: Deno.PointerValue | Uint8Array /* ptr */, dwAPIVersion: number /* u32 */, dwExtVersion: number /* u32 */, - dwCallbackInstance: Deno.PointerValue /* usize */, + dwCallbackInstance: bigint | number /* usize */, dwPrivileges: number /* u32 */, dwMediaModes: number /* u32 */, lpCallParams: Deno.PointerValue | Uint8Array /* ptr */, @@ -17087,7 +17087,7 @@ export function lineOpenA( lphLine: Deno.PointerValue | Uint8Array /* ptr */, dwAPIVersion: number /* u32 */, dwExtVersion: number /* u32 */, - dwCallbackInstance: Deno.PointerValue /* usize */, + dwCallbackInstance: bigint | number /* usize */, dwPrivileges: number /* u32 */, dwMediaModes: number /* u32 */, lpCallParams: Deno.PointerValue | Uint8Array /* ptr */, @@ -17101,7 +17101,7 @@ export function lineOpenW( lphLine: Deno.PointerValue | Uint8Array /* ptr */, dwAPIVersion: number /* u32 */, dwExtVersion: number /* u32 */, - dwCallbackInstance: Deno.PointerValue /* usize */, + dwCallbackInstance: bigint | number /* usize */, dwPrivileges: number /* u32 */, dwMediaModes: number /* u32 */, lpCallParams: Deno.PointerValue | Uint8Array /* ptr */, @@ -18008,7 +18008,7 @@ export function phoneOpen( lphPhone: Deno.PointerValue | Uint8Array /* ptr */, dwAPIVersion: number /* u32 */, dwExtVersion: number /* u32 */, - dwCallbackInstance: Deno.PointerValue /* usize */, + dwCallbackInstance: bigint | number /* usize */, dwPrivilege: number /* u32 */, ): number /* i32 */ { return libTAPI32_dll.phoneOpen(hPhoneApp, dwDeviceID, util.toPointer(lphPhone), dwAPIVersion, dwExtVersion, dwCallbackInstance, dwPrivilege); diff --git a/api/Devices/Usb.ts b/api/Devices/Usb.ts index 5be589f..9f0c67c 100644 --- a/api/Devices/Usb.ts +++ b/api/Devices/Usb.ts @@ -779,9 +779,9 @@ export class BM_REQUEST_TYPEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -807,22 +807,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5186,7 +5186,7 @@ export class USB_PORT_STATUS_AND_CHANGEView { */ export interface USB_PORT_EXT_STATUS_AND_CHANGE { /** u64 */ - AsUlong64: Deno.PointerValue; + AsUlong64: bigint | number; /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -5214,7 +5214,7 @@ export class USB_PORT_EXT_STATUS_AND_CHANGEView { } // 0x00: u64 - get AsUlong64(): Deno.PointerValue { + get AsUlong64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5225,7 +5225,7 @@ export class USB_PORT_EXT_STATUS_AND_CHANGEView { } // 0x00: u64 - set AsUlong64(value: Deno.PointerValue) { + set AsUlong64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6094,7 +6094,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -6134,7 +6134,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6149,7 +6149,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -6175,7 +6175,7 @@ export interface USBD_ENDPOINT_OFFLOAD_INFORMATION { /** ptr */ TransferSegmentVA: Deno.PointerValue | Uint8Array; /** usize */ - TransferRingSize: Deno.PointerValue; + TransferRingSize: bigint | number; /** u32 */ TransferRingInitialCycleBit: number; /** u32 */ @@ -6185,7 +6185,7 @@ export interface USBD_ENDPOINT_OFFLOAD_INFORMATION { /** ptr */ EventRingSegmentVA: Deno.PointerValue | Uint8Array; /** usize */ - EventRingSize: Deno.PointerValue; + EventRingSize: bigint | number; /** u32 */ EventRingInitialCycleBit: number; } @@ -6285,7 +6285,7 @@ export class USBD_ENDPOINT_OFFLOAD_INFORMATIONView { } // 0x28: usize - get TransferRingSize(): Deno.PointerValue { + get TransferRingSize(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -6312,7 +6312,7 @@ export class USBD_ENDPOINT_OFFLOAD_INFORMATIONView { } // 0x48: usize - get EventRingSize(): Deno.PointerValue { + get EventRingSize(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -6366,7 +6366,7 @@ export class USBD_ENDPOINT_OFFLOAD_INFORMATIONView { } // 0x28: usize - set TransferRingSize(value: Deno.PointerValue) { + set TransferRingSize(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -6391,7 +6391,7 @@ export class USBD_ENDPOINT_OFFLOAD_INFORMATIONView { } // 0x48: usize - set EventRingSize(value: Deno.PointerValue) { + set EventRingSize(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -12779,7 +12779,7 @@ export class WINUSB_SETUP_PACKETView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Devices.Usb.USB_START_TRACKING_FOR_TIME_SYNC_INFORMATION (size: 16) diff --git a/api/Devices/WebServicesOnDevices.ts b/api/Devices/WebServicesOnDevices.ts index 0c82cf0..6d9924c 100644 --- a/api/Devices/WebServicesOnDevices.ts +++ b/api/Devices/WebServicesOnDevices.ts @@ -1889,7 +1889,7 @@ export class WSD_HANDLER_CONTEXTView { export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Devices.WebServicesOnDevices.WSD_SYNCHRONOUS_RESPONSE_CONTEXT (size: 32) @@ -2948,11 +2948,11 @@ export class WSD_SOAP_FAULTView { */ export interface WSD_APP_SEQUENCE { /** u64 */ - InstanceId: Deno.PointerValue; + InstanceId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ SequenceId: string | null | Uint8Array | Uint16Array; /** u64 */ - MessageNumber: Deno.PointerValue; + MessageNumber: bigint | number; } export const sizeofWSD_APP_SEQUENCE = 24; @@ -2983,7 +2983,7 @@ export class WSD_APP_SEQUENCEView { } // 0x00: u64 - get InstanceId(): Deno.PointerValue { + get InstanceId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2994,12 +2994,12 @@ export class WSD_APP_SEQUENCEView { } // 0x10: u64 - get MessageNumber(): Deno.PointerValue { + get MessageNumber(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set InstanceId(value: Deno.PointerValue) { + set InstanceId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3010,7 +3010,7 @@ export class WSD_APP_SEQUENCEView { } // 0x10: u64 - set MessageNumber(value: Deno.PointerValue) { + set MessageNumber(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -3384,7 +3384,7 @@ export interface WSD_RESOLVE_MATCH { /** ptr */ XAddrs: Deno.PointerValue | Uint8Array; /** u64 */ - MetadataVersion: Deno.PointerValue; + MetadataVersion: bigint | number; /** ptr */ Any: Deno.PointerValue | Uint8Array; } @@ -3444,7 +3444,7 @@ export class WSD_RESOLVE_MATCHView { } // 0x20: u64 - get MetadataVersion(): Deno.PointerValue { + get MetadataVersion(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -3475,7 +3475,7 @@ export class WSD_RESOLVE_MATCHView { } // 0x20: u64 - set MetadataVersion(value: Deno.PointerValue) { + set MetadataVersion(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -3553,7 +3553,7 @@ export interface WSD_PROBE_MATCH { /** ptr */ XAddrs: Deno.PointerValue | Uint8Array; /** u64 */ - MetadataVersion: Deno.PointerValue; + MetadataVersion: bigint | number; /** ptr */ Any: Deno.PointerValue | Uint8Array; } @@ -3613,7 +3613,7 @@ export class WSD_PROBE_MATCHView { } // 0x20: u64 - get MetadataVersion(): Deno.PointerValue { + get MetadataVersion(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -3644,7 +3644,7 @@ export class WSD_PROBE_MATCHView { } // 0x20: u64 - set MetadataVersion(value: Deno.PointerValue) { + set MetadataVersion(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -4016,7 +4016,7 @@ export interface WSD_HELLO { /** ptr */ XAddrs: Deno.PointerValue | Uint8Array; /** u64 */ - MetadataVersion: Deno.PointerValue; + MetadataVersion: bigint | number; /** ptr */ Any: Deno.PointerValue | Uint8Array; } @@ -4076,7 +4076,7 @@ export class WSD_HELLOView { } // 0x20: u64 - get MetadataVersion(): Deno.PointerValue { + get MetadataVersion(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -4107,7 +4107,7 @@ export class WSD_HELLOView { } // 0x20: u64 - set MetadataVersion(value: Deno.PointerValue) { + set MetadataVersion(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -5914,7 +5914,7 @@ export function WSDGetConfigurationOption( export function WSDAllocateLinkedMemory( pParent: Deno.PointerValue | Uint8Array /* ptr */, - cbSize: Deno.PointerValue /* usize */, + cbSize: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libwsdapi_dll.WSDAllocateLinkedMemory(util.toPointer(pParent), cbSize); } diff --git a/api/Foundation.ts b/api/Foundation.ts index 7d4a30e..199638d 100644 --- a/api/Foundation.ts +++ b/api/Foundation.ts @@ -9795,17 +9795,17 @@ export type BOOLEAN = number; export type BSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; export type NTSTATUS = number; @@ -9815,17 +9815,17 @@ export type PSTR = Deno.PointerValue | Uint8Array; export type PWSTR = Deno.PointerValue | Uint8Array; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; export type COLORREF = number; -export type HRSRC = Deno.PointerValue; +export type HRSRC = bigint | number; export type CHAR = number; -export type SHANDLE_PTR = Deno.PointerValue; +export type SHANDLE_PTR = bigint | number; -export type HANDLE_PTR = Deno.PointerValue; +export type HANDLE_PTR = bigint | number; /** * Windows.Win32.Foundation.SYSTEMTIME (size: 16) @@ -9969,11 +9969,11 @@ export class SYSTEMTIMEView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -10025,7 +10025,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10036,7 +10036,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10072,7 +10072,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10083,7 +10083,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -10120,7 +10120,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -10149,7 +10149,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10161,7 +10161,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10996,9 +10996,9 @@ export class UNICODE_STRINGView { */ export interface FLOAT128 { /** i64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** i64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeofFLOAT128 = 16; @@ -11024,22 +11024,22 @@ export class FLOAT128View { } // 0x00: i64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -11049,9 +11049,9 @@ export class FLOAT128View { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -11077,22 +11077,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11169,7 +11169,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -11209,7 +11209,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -11224,7 +11224,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -11238,7 +11238,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -11278,7 +11278,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -11293,7 +11293,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } diff --git a/api/Gaming.ts b/api/Gaming.ts index eda4cc5..5b9c9a4 100644 --- a/api/Gaming.ts +++ b/api/Gaming.ts @@ -117,7 +117,7 @@ export class GAMING_DEVICE_MODEL_INFORMATIONView { export type HRESULT = number; -export type HSTRING = Deno.PointerValue; +export type HSTRING = bigint | number; export type BOOL = number; @@ -316,11 +316,11 @@ export function ShowGameInviteUI( export function ShowPlayerPickerUI( promptDisplayText: Uint8Array | Deno.PointerValue /* Windows.Win32.System.WinRT.HSTRING */, xuids: Deno.PointerValue | Uint8Array /* ptr */, - xuidsCount: Deno.PointerValue /* usize */, + xuidsCount: bigint | number /* usize */, preSelectedXuids: Deno.PointerValue | Uint8Array /* ptr */, - preSelectedXuidsCount: Deno.PointerValue /* usize */, - minSelectionCount: Deno.PointerValue /* usize */, - maxSelectionCount: Deno.PointerValue /* usize */, + preSelectedXuidsCount: bigint | number /* usize */, + minSelectionCount: bigint | number /* usize */, + maxSelectionCount: bigint | number /* usize */, completionRoutine: Uint8Array | Deno.PointerValue /* Windows.Win32.Gaming.PlayerPickerUICompletionRoutine */, context: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -397,11 +397,11 @@ export function ShowPlayerPickerUIForUser( user: Uint8Array | Deno.PointerValue /* Windows.Win32.System.WinRT.IInspectable */, promptDisplayText: Uint8Array | Deno.PointerValue /* Windows.Win32.System.WinRT.HSTRING */, xuids: Deno.PointerValue | Uint8Array /* ptr */, - xuidsCount: Deno.PointerValue /* usize */, + xuidsCount: bigint | number /* usize */, preSelectedXuids: Deno.PointerValue | Uint8Array /* ptr */, - preSelectedXuidsCount: Deno.PointerValue /* usize */, - minSelectionCount: Deno.PointerValue /* usize */, - maxSelectionCount: Deno.PointerValue /* usize */, + preSelectedXuidsCount: bigint | number /* usize */, + minSelectionCount: bigint | number /* usize */, + maxSelectionCount: bigint | number /* usize */, completionRoutine: Uint8Array | Deno.PointerValue /* Windows.Win32.Gaming.PlayerPickerUICompletionRoutine */, context: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { diff --git a/api/Globalization.ts b/api/Globalization.ts index a218b6e..f23706a 100644 --- a/api/Globalization.ts +++ b/api/Globalization.ts @@ -3210,11 +3210,11 @@ export const ETO_REVERSE_INDEX_MAP = 65536; // Structs -export type HIMC = Deno.PointerValue; +export type HIMC = bigint | number; -export type HIMCC = Deno.PointerValue; +export type HIMCC = bigint | number; -export type HSAVEDUILANGUAGES = Deno.PointerValue; +export type HSAVEDUILANGUAGES = bigint | number; /** * Windows.Win32.Globalization.FONTSIGNATURE (size: 16) @@ -5819,7 +5819,7 @@ export class FILEMUIINFOView { */ export interface MAPPING_SERVICE_INFO { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszCopyright: string | null | Uint8Array | Uint16Array; /** u16 */ @@ -5956,7 +5956,7 @@ export class MAPPING_SERVICE_INFOView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6109,7 +6109,7 @@ export class MAPPING_SERVICE_INFOView { // 0xac: pad4 // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6258,7 +6258,7 @@ export class MAPPING_SERVICE_INFOView { */ export interface MAPPING_ENUM_OPTIONS { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszCategory: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -6340,7 +6340,7 @@ export class MAPPING_ENUM_OPTIONSView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6400,7 +6400,7 @@ export class MAPPING_ENUM_OPTIONSView { // 0x4c: pad4 // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6464,7 +6464,7 @@ export class MAPPING_ENUM_OPTIONSView { */ export interface MAPPING_OPTIONS { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszInputLanguage: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -6571,7 +6571,7 @@ export class MAPPING_OPTIONSView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6666,7 +6666,7 @@ export class MAPPING_OPTIONSView { // 0x74: pad4 // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6955,7 +6955,7 @@ export class MAPPING_DATA_RANGEView { */ export interface MAPPING_PROPERTY_BAG { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** ptr */ prgResultRanges: Deno.PointerValue | Uint8Array; /** u32 */ @@ -7010,7 +7010,7 @@ export class MAPPING_PROPERTY_BAGView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7060,7 +7060,7 @@ export class MAPPING_PROPERTY_BAGView { } // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7994,17 +7994,17 @@ export class SCRIPT_GLYPHPROPView { */ export interface UReplaceableCallbacks { /** isize */ - length: Deno.PointerValue; + length: bigint | number; /** isize */ - charAt: Deno.PointerValue; + charAt: bigint | number; /** isize */ - char32At: Deno.PointerValue; + char32At: bigint | number; /** isize */ - replace: Deno.PointerValue; + replace: bigint | number; /** isize */ - extract: Deno.PointerValue; + extract: bigint | number; /** isize */ - copy: Deno.PointerValue; + copy: bigint | number; } export const sizeofUReplaceableCallbacks = 48; @@ -8038,62 +8038,62 @@ export class UReplaceableCallbacksView { } // 0x00: isize - get length(): Deno.PointerValue { + get length(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get charAt(): Deno.PointerValue { + get charAt(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get char32At(): Deno.PointerValue { + get char32At(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get replace(): Deno.PointerValue { + get replace(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get extract(): Deno.PointerValue { + get extract(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get copy(): Deno.PointerValue { + get copy(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x00: isize - set length(value: Deno.PointerValue) { + set length(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set charAt(value: Deno.PointerValue) { + set charAt(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set char32At(value: Deno.PointerValue) { + set char32At(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set replace(value: Deno.PointerValue) { + set replace(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set extract(value: Deno.PointerValue) { + set extract(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set copy(value: Deno.PointerValue) { + set copy(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } } @@ -9315,13 +9315,13 @@ export interface UText { /** i32 */ sizeOfStruct: number; /** i64 */ - chunkNativeLimit: Deno.PointerValue; + chunkNativeLimit: bigint | number; /** i32 */ extraSize: number; /** i32 */ nativeIndexingLimit: number; /** i64 */ - chunkNativeStart: Deno.PointerValue; + chunkNativeStart: bigint | number; /** i32 */ chunkOffset: number; /** i32 */ @@ -9343,13 +9343,13 @@ export interface UText { /** ptr */ privP: Deno.PointerValue | Uint8Array; /** i64 */ - a: Deno.PointerValue; + a: bigint | number; /** i32 */ b: number; /** i32 */ c: number; /** i64 */ - privA: Deno.PointerValue; + privA: bigint | number; /** i32 */ privB: number; /** i32 */ @@ -9443,7 +9443,7 @@ export class UTextView { } // 0x10: i64 - get chunkNativeLimit(): Deno.PointerValue { + get chunkNativeLimit(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -9458,7 +9458,7 @@ export class UTextView { } // 0x20: i64 - get chunkNativeStart(): Deno.PointerValue { + get chunkNativeStart(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -9521,7 +9521,7 @@ export class UTextView { } // 0x70: i64 - get a(): Deno.PointerValue { + get a(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -9536,7 +9536,7 @@ export class UTextView { } // 0x80: i64 - get privA(): Deno.PointerValue { + get privA(): bigint | number { return Number(this.view.getBigInt64(128, true)); } @@ -9571,7 +9571,7 @@ export class UTextView { } // 0x10: i64 - set chunkNativeLimit(value: Deno.PointerValue) { + set chunkNativeLimit(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -9586,7 +9586,7 @@ export class UTextView { } // 0x20: i64 - set chunkNativeStart(value: Deno.PointerValue) { + set chunkNativeStart(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -9641,7 +9641,7 @@ export class UTextView { } // 0x70: i64 - set a(value: Deno.PointerValue) { + set a(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } @@ -9656,7 +9656,7 @@ export class UTextView { } // 0x80: i64 - set privA(value: Deno.PointerValue) { + set privA(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } @@ -10539,7 +10539,7 @@ export class DetectEncodingInfoView { */ export interface SCRIPTFONTINFO { /** i64 */ - scripts: Deno.PointerValue; + scripts: bigint | number; /** array */ wszFont: Deno.PointerValue; } @@ -10567,7 +10567,7 @@ export class SCRIPTFONTINFOView { } // 0x00: i64 - get scripts(): Deno.PointerValue { + get scripts(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -10578,7 +10578,7 @@ export class SCRIPTFONTINFOView { } // 0x00: i64 - set scripts(value: Deno.PointerValue) { + set scripts(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -10643,11 +10643,11 @@ export class UNICODERANGEView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; export type BOOL = number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; export type HRESULT = number; @@ -15640,7 +15640,7 @@ export function GetDurationFormatEx( lpLocaleName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, lpDuration: Deno.PointerValue | Uint8Array /* ptr */, - ullDuration: Deno.PointerValue /* u64 */, + ullDuration: bigint | number /* u64 */, lpFormat: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpDurationStr: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cchDuration: number /* i32 */, @@ -15925,7 +15925,7 @@ export function GetDurationFormat( Locale: number /* u32 */, dwFlags: number /* u32 */, lpDuration: Deno.PointerValue | Uint8Array /* ptr */, - ullDuration: Deno.PointerValue /* u64 */, + ullDuration: bigint | number /* u64 */, lpFormat: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpDurationStr: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cchDuration: number /* i32 */, @@ -16358,7 +16358,7 @@ export function EnumSystemLocalesW( export function EnumSystemLanguageGroupsA( lpLanguageGroupEnumProc: Uint8Array | Deno.PointerValue /* Windows.Win32.Globalization.LANGUAGEGROUP_ENUMPROCA */, dwFlags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS /* Windows.Win32.Globalization.ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumSystemLanguageGroupsA(util.toPointer(lpLanguageGroupEnumProc), dwFlags, lParam)); } @@ -16366,7 +16366,7 @@ export function EnumSystemLanguageGroupsA( export function EnumSystemLanguageGroupsW( lpLanguageGroupEnumProc: Uint8Array | Deno.PointerValue /* Windows.Win32.Globalization.LANGUAGEGROUP_ENUMPROCW */, dwFlags: ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS /* Windows.Win32.Globalization.ENUM_SYSTEM_LANGUAGE_GROUPS_FLAGS */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumSystemLanguageGroupsW(util.toPointer(lpLanguageGroupEnumProc), dwFlags, lParam)); } @@ -16375,7 +16375,7 @@ export function EnumLanguageGroupLocalesA( lpLangGroupLocaleEnumProc: Uint8Array | Deno.PointerValue /* Windows.Win32.Globalization.LANGGROUPLOCALE_ENUMPROCA */, LanguageGroup: number /* u32 */, dwFlags: number /* u32 */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumLanguageGroupLocalesA(util.toPointer(lpLangGroupLocaleEnumProc), LanguageGroup, dwFlags, lParam)); } @@ -16384,7 +16384,7 @@ export function EnumLanguageGroupLocalesW( lpLangGroupLocaleEnumProc: Uint8Array | Deno.PointerValue /* Windows.Win32.Globalization.LANGGROUPLOCALE_ENUMPROCW */, LanguageGroup: number /* u32 */, dwFlags: number /* u32 */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumLanguageGroupLocalesW(util.toPointer(lpLangGroupLocaleEnumProc), LanguageGroup, dwFlags, lParam)); } @@ -16392,7 +16392,7 @@ export function EnumLanguageGroupLocalesW( export function EnumUILanguagesA( lpUILanguageEnumProc: Uint8Array | Deno.PointerValue /* Windows.Win32.Globalization.UILANGUAGE_ENUMPROCA */, dwFlags: number /* u32 */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumUILanguagesA(util.toPointer(lpUILanguageEnumProc), dwFlags, lParam)); } @@ -16400,7 +16400,7 @@ export function EnumUILanguagesA( export function EnumUILanguagesW( lpUILanguageEnumProc: Uint8Array | Deno.PointerValue /* Windows.Win32.Globalization.UILANGUAGE_ENUMPROCW */, dwFlags: number /* u32 */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumUILanguagesW(util.toPointer(lpUILanguageEnumProc), dwFlags, lParam)); } @@ -19827,7 +19827,7 @@ export function utext_close( export function utext_openUTF8( ut: Deno.PointerValue | Uint8Array /* ptr */, s: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - length: Deno.PointerValue /* i64 */, + length: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* ptr */ { return libicu_dll.utext_openUTF8(util.toPointer(ut), util.pstrToFfi(s), length, util.toPointer(status)); @@ -19836,7 +19836,7 @@ export function utext_openUTF8( export function utext_openUChars( ut: Deno.PointerValue | Uint8Array /* ptr */, s: Deno.PointerValue | Uint8Array /* ptr */, - length: Deno.PointerValue /* i64 */, + length: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* ptr */ { return libicu_dll.utext_openUChars(util.toPointer(ut), util.toPointer(s), length, util.toPointer(status)); @@ -19861,7 +19861,7 @@ export function utext_equals( export function utext_nativeLength( ut: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.utext_nativeLength(util.toPointer(ut)); } @@ -19873,7 +19873,7 @@ export function utext_isLengthExpensive( export function utext_char32At( ut: Deno.PointerValue | Uint8Array /* ptr */, - nativeIndex: Deno.PointerValue /* i64 */, + nativeIndex: bigint | number /* i64 */, ): number /* i32 */ { return libicu_dll.utext_char32At(util.toPointer(ut), nativeIndex); } @@ -19898,27 +19898,27 @@ export function utext_previous32( export function utext_next32From( ut: Deno.PointerValue | Uint8Array /* ptr */, - nativeIndex: Deno.PointerValue /* i64 */, + nativeIndex: bigint | number /* i64 */, ): number /* i32 */ { return libicu_dll.utext_next32From(util.toPointer(ut), nativeIndex); } export function utext_previous32From( ut: Deno.PointerValue | Uint8Array /* ptr */, - nativeIndex: Deno.PointerValue /* i64 */, + nativeIndex: bigint | number /* i64 */, ): number /* i32 */ { return libicu_dll.utext_previous32From(util.toPointer(ut), nativeIndex); } export function utext_getNativeIndex( ut: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.utext_getNativeIndex(util.toPointer(ut)); } export function utext_setNativeIndex( ut: Deno.PointerValue | Uint8Array /* ptr */, - nativeIndex: Deno.PointerValue /* i64 */, + nativeIndex: bigint | number /* i64 */, ): void /* void */ { return libicu_dll.utext_setNativeIndex(util.toPointer(ut), nativeIndex); } @@ -19932,14 +19932,14 @@ export function utext_moveIndex32( export function utext_getPreviousNativeIndex( ut: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.utext_getPreviousNativeIndex(util.toPointer(ut)); } export function utext_extract( ut: Deno.PointerValue | Uint8Array /* ptr */, - nativeStart: Deno.PointerValue /* i64 */, - nativeLimit: Deno.PointerValue /* i64 */, + nativeStart: bigint | number /* i64 */, + nativeLimit: bigint | number /* i64 */, dest: Deno.PointerValue | Uint8Array /* ptr */, destCapacity: number /* i32 */, status: Deno.PointerValue | Uint8Array /* ptr */, @@ -19961,8 +19961,8 @@ export function utext_hasMetaData( export function utext_replace( ut: Deno.PointerValue | Uint8Array /* ptr */, - nativeStart: Deno.PointerValue /* i64 */, - nativeLimit: Deno.PointerValue /* i64 */, + nativeStart: bigint | number /* i64 */, + nativeLimit: bigint | number /* i64 */, replacementText: Deno.PointerValue | Uint8Array /* ptr */, replacementLength: number /* i32 */, status: Deno.PointerValue | Uint8Array /* ptr */, @@ -19972,9 +19972,9 @@ export function utext_replace( export function utext_copy( ut: Deno.PointerValue | Uint8Array /* ptr */, - nativeStart: Deno.PointerValue /* i64 */, - nativeLimit: Deno.PointerValue /* i64 */, - destIndex: Deno.PointerValue /* i64 */, + nativeStart: bigint | number /* i64 */, + nativeLimit: bigint | number /* i64 */, + destIndex: bigint | number /* i64 */, move: number /* i8 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { @@ -22599,7 +22599,7 @@ export function ufmt_getLong( export function ufmt_getInt64( fmt: Deno.PointerValue | Uint8Array /* ptr */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.ufmt_getInt64(util.toPointer(fmt), util.toPointer(status)); } @@ -22703,13 +22703,13 @@ export function ucfpos_getIndexes( export function ucfpos_getInt64IterationContext( ucfpos: Deno.PointerValue | Uint8Array /* ptr */, ec: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.ucfpos_getInt64IterationContext(util.toPointer(ucfpos), util.toPointer(ec)); } export function ucfpos_setInt64IterationContext( ucfpos: Deno.PointerValue | Uint8Array /* ptr */, - context: Deno.PointerValue /* i64 */, + context: bigint | number /* i64 */, ec: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { return libicu_dll.ucfpos_setInt64IterationContext(util.toPointer(ucfpos), context, util.toPointer(ec)); @@ -23204,7 +23204,7 @@ export function unum_format( export function unum_formatInt64( fmt: Deno.PointerValue | Uint8Array /* ptr */, - number: Deno.PointerValue /* i64 */, + number: bigint | number /* i64 */, result: Deno.PointerValue | Uint8Array /* ptr */, resultLength: number /* i32 */, pos: Deno.PointerValue | Uint8Array /* ptr */, @@ -23286,7 +23286,7 @@ export function unum_parseInt64( textLength: number /* i32 */, parsePos: Deno.PointerValue | Uint8Array /* ptr */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.unum_parseInt64(util.toPointer(fmt), util.toPointer(text), textLength, util.toPointer(parsePos), util.toPointer(status)); } @@ -23968,7 +23968,7 @@ export function unumf_openResult( export function unumf_formatInt( uformatter: Deno.PointerValue | Uint8Array /* ptr */, - value: Deno.PointerValue /* i64 */, + value: bigint | number /* i64 */, uresult: Deno.PointerValue | Uint8Array /* ptr */, ec: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { @@ -24253,7 +24253,7 @@ export function uregex_matches( export function uregex_matches64( regexp: Deno.PointerValue | Uint8Array /* ptr */, - startIndex: Deno.PointerValue /* i64 */, + startIndex: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i8 */ { return libicu_dll.uregex_matches64(util.toPointer(regexp), startIndex, util.toPointer(status)); @@ -24269,7 +24269,7 @@ export function uregex_lookingAt( export function uregex_lookingAt64( regexp: Deno.PointerValue | Uint8Array /* ptr */, - startIndex: Deno.PointerValue /* i64 */, + startIndex: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i8 */ { return libicu_dll.uregex_lookingAt64(util.toPointer(regexp), startIndex, util.toPointer(status)); @@ -24285,7 +24285,7 @@ export function uregex_find( export function uregex_find64( regexp: Deno.PointerValue | Uint8Array /* ptr */, - startIndex: Deno.PointerValue /* i64 */, + startIndex: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i8 */ { return libicu_dll.uregex_find64(util.toPointer(regexp), startIndex, util.toPointer(status)); @@ -24355,7 +24355,7 @@ export function uregex_start64( regexp: Deno.PointerValue | Uint8Array /* ptr */, groupNum: number /* i32 */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.uregex_start64(util.toPointer(regexp), groupNum, util.toPointer(status)); } @@ -24371,7 +24371,7 @@ export function uregex_end64( regexp: Deno.PointerValue | Uint8Array /* ptr */, groupNum: number /* i32 */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.uregex_end64(util.toPointer(regexp), groupNum, util.toPointer(status)); } @@ -24385,7 +24385,7 @@ export function uregex_reset( export function uregex_reset64( regexp: Deno.PointerValue | Uint8Array /* ptr */, - index: Deno.PointerValue /* i64 */, + index: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { return libicu_dll.uregex_reset64(util.toPointer(regexp), index, util.toPointer(status)); @@ -24402,8 +24402,8 @@ export function uregex_setRegion( export function uregex_setRegion64( regexp: Deno.PointerValue | Uint8Array /* ptr */, - regionStart: Deno.PointerValue /* i64 */, - regionLimit: Deno.PointerValue /* i64 */, + regionStart: bigint | number /* i64 */, + regionLimit: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { return libicu_dll.uregex_setRegion64(util.toPointer(regexp), regionStart, regionLimit, util.toPointer(status)); @@ -24411,9 +24411,9 @@ export function uregex_setRegion64( export function uregex_setRegionAndStart( regexp: Deno.PointerValue | Uint8Array /* ptr */, - regionStart: Deno.PointerValue /* i64 */, - regionLimit: Deno.PointerValue /* i64 */, - startIndex: Deno.PointerValue /* i64 */, + regionStart: bigint | number /* i64 */, + regionLimit: bigint | number /* i64 */, + startIndex: bigint | number /* i64 */, status: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { return libicu_dll.uregex_setRegionAndStart(util.toPointer(regexp), regionStart, regionLimit, startIndex, util.toPointer(status)); @@ -24429,7 +24429,7 @@ export function uregex_regionStart( export function uregex_regionStart64( regexp: Deno.PointerValue | Uint8Array /* ptr */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.uregex_regionStart64(util.toPointer(regexp), util.toPointer(status)); } @@ -24443,7 +24443,7 @@ export function uregex_regionEnd( export function uregex_regionEnd64( regexp: Deno.PointerValue | Uint8Array /* ptr */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.uregex_regionEnd64(util.toPointer(regexp), util.toPointer(status)); } @@ -25266,23 +25266,23 @@ export function utmscale_getTimeScaleValue( timeScale: UDateTimeScale /* Windows.Win32.Globalization.UDateTimeScale */, value: UTimeScaleValue /* Windows.Win32.Globalization.UTimeScaleValue */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.utmscale_getTimeScaleValue(timeScale, value, util.toPointer(status)); } export function utmscale_fromInt64( - otherTime: Deno.PointerValue /* i64 */, + otherTime: bigint | number /* i64 */, timeScale: UDateTimeScale /* Windows.Win32.Globalization.UDateTimeScale */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.utmscale_fromInt64(otherTime, timeScale, util.toPointer(status)); } export function utmscale_toInt64( - universalTime: Deno.PointerValue /* i64 */, + universalTime: bigint | number /* i64 */, timeScale: UDateTimeScale /* Windows.Win32.Globalization.UDateTimeScale */, status: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libicu_dll.utmscale_toInt64(universalTime, timeScale, util.toPointer(status)); } diff --git a/api/Graphics/CompositionSwapchain.ts b/api/Graphics/CompositionSwapchain.ts index 3c29337..1968b65 100644 --- a/api/Graphics/CompositionSwapchain.ts +++ b/api/Graphics/CompositionSwapchain.ts @@ -52,7 +52,7 @@ export const DXGI_COLOR_SPACE_CUSTOM = `-1`; */ export interface SystemInterruptTime { /** u64 */ - value: Deno.PointerValue; + value: bigint | number; } export const sizeofSystemInterruptTime = 8; @@ -76,12 +76,12 @@ export class SystemInterruptTimeView { } // 0x00: u64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } diff --git a/api/Graphics/DXCore.ts b/api/Graphics/DXCore.ts index 1ed98af..e348f78 100644 --- a/api/Graphics/DXCore.ts +++ b/api/Graphics/DXCore.ts @@ -279,13 +279,13 @@ export class DXCoreAdapterMemoryBudgetNodeSegmentGroupView { */ export interface DXCoreAdapterMemoryBudget { /** u64 */ - budget: Deno.PointerValue; + budget: bigint | number; /** u64 */ - currentUsage: Deno.PointerValue; + currentUsage: bigint | number; /** u64 */ - availableForReservation: Deno.PointerValue; + availableForReservation: bigint | number; /** u64 */ - currentReservation: Deno.PointerValue; + currentReservation: bigint | number; } export const sizeofDXCoreAdapterMemoryBudget = 32; @@ -315,42 +315,42 @@ export class DXCoreAdapterMemoryBudgetView { } // 0x00: u64 - get budget(): Deno.PointerValue { + get budget(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get currentUsage(): Deno.PointerValue { + get currentUsage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get availableForReservation(): Deno.PointerValue { + get availableForReservation(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get currentReservation(): Deno.PointerValue { + get currentReservation(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set budget(value: Deno.PointerValue) { + set budget(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set currentUsage(value: Deno.PointerValue) { + set currentUsage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set availableForReservation(value: Deno.PointerValue) { + set availableForReservation(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set currentReservation(value: Deno.PointerValue) { + set currentReservation(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } diff --git a/api/Graphics/Direct2D.ts b/api/Graphics/Direct2D.ts index 1d93ae8..13322de 100644 --- a/api/Graphics/Direct2D.ts +++ b/api/Graphics/Direct2D.ts @@ -2031,9 +2031,9 @@ export class D2D_SIZE_UView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2059,22 +2059,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3438,7 +3438,7 @@ export class D2D1_RENDER_TARGET_PROPERTIESView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Graphics.Direct2D.D2D1_HWND_RENDER_TARGET_PROPERTIES (size: 24) @@ -3523,9 +3523,9 @@ export interface D2D1_DRAWING_STATE_DESCRIPTION { /** Windows.Win32.Graphics.Direct2D.D2D1_TEXT_ANTIALIAS_MODE */ textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE; /** u64 */ - tag1: Deno.PointerValue; + tag1: bigint | number; /** u64 */ - tag2: Deno.PointerValue; + tag2: bigint | number; /** Windows.Win32.Graphics.Direct2D.Common.D2D_MATRIX_3X2_F */ transform: Uint8Array | Deno.PointerValue; } @@ -3569,12 +3569,12 @@ export class D2D1_DRAWING_STATE_DESCRIPTIONView { } // 0x08: u64 - get tag1(): Deno.PointerValue { + get tag1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get tag2(): Deno.PointerValue { + get tag2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3595,12 +3595,12 @@ export class D2D1_DRAWING_STATE_DESCRIPTIONView { } // 0x08: u64 - set tag1(value: Deno.PointerValue) { + set tag1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set tag2(value: Deno.PointerValue) { + set tag2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4497,9 +4497,9 @@ export interface D2D1_DRAWING_STATE_DESCRIPTION1 { /** Windows.Win32.Graphics.Direct2D.D2D1_TEXT_ANTIALIAS_MODE */ textAntialiasMode: D2D1_TEXT_ANTIALIAS_MODE; /** u64 */ - tag1: Deno.PointerValue; + tag1: bigint | number; /** u64 */ - tag2: Deno.PointerValue; + tag2: bigint | number; /** Windows.Win32.Graphics.Direct2D.Common.D2D_MATRIX_3X2_F */ transform: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Direct2D.D2D1_PRIMITIVE_BLEND */ @@ -4551,12 +4551,12 @@ export class D2D1_DRAWING_STATE_DESCRIPTION1View { } // 0x08: u64 - get tag1(): Deno.PointerValue { + get tag1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get tag2(): Deno.PointerValue { + get tag2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4587,12 +4587,12 @@ export class D2D1_DRAWING_STATE_DESCRIPTION1View { } // 0x08: u64 - set tag1(value: Deno.PointerValue) { + set tag1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set tag2(value: Deno.PointerValue) { + set tag2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } diff --git a/api/Graphics/Direct3D.ts b/api/Graphics/Direct3D.ts index 628e2f1..b2555da 100644 --- a/api/Graphics/Direct3D.ts +++ b/api/Graphics/Direct3D.ts @@ -9804,11 +9804,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -9860,7 +9860,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9871,7 +9871,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -9907,7 +9907,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9918,7 +9918,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -9955,7 +9955,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -9984,7 +9984,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9996,7 +9996,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10539,9 +10539,9 @@ export class D3D10_TEX2DMS_ARRAY_SRVView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -10567,22 +10567,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11860,7 +11860,7 @@ export class D3D10_QUERY_DESCView { */ export interface D3D10_QUERY_DATA_TIMESTAMP_DISJOINT { /** u64 */ - Frequency: Deno.PointerValue; + Frequency: bigint | number; /** Windows.Win32.Foundation.BOOL */ Disjoint: boolean; } @@ -11889,7 +11889,7 @@ export class D3D10_QUERY_DATA_TIMESTAMP_DISJOINTView { } // 0x00: u64 - get Frequency(): Deno.PointerValue { + get Frequency(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11901,7 +11901,7 @@ export class D3D10_QUERY_DATA_TIMESTAMP_DISJOINTView { // 0x0c: pad4 // 0x00: u64 - set Frequency(value: Deno.PointerValue) { + set Frequency(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11918,21 +11918,21 @@ export class D3D10_QUERY_DATA_TIMESTAMP_DISJOINTView { */ export interface D3D10_QUERY_DATA_PIPELINE_STATISTICS { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; } export const sizeofD3D10_QUERY_DATA_PIPELINE_STATISTICS = 64; @@ -11970,82 +11970,82 @@ export class D3D10_QUERY_DATA_PIPELINE_STATISTICSView { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -12055,9 +12055,9 @@ export class D3D10_QUERY_DATA_PIPELINE_STATISTICSView { */ export interface D3D10_QUERY_DATA_SO_STATISTICS { /** u64 */ - NumPrimitivesWritten: Deno.PointerValue; + NumPrimitivesWritten: bigint | number; /** u64 */ - PrimitivesStorageNeeded: Deno.PointerValue; + PrimitivesStorageNeeded: bigint | number; } export const sizeofD3D10_QUERY_DATA_SO_STATISTICS = 16; @@ -12083,22 +12083,22 @@ export class D3D10_QUERY_DATA_SO_STATISTICSView { } // 0x00: u64 - get NumPrimitivesWritten(): Deno.PointerValue { + get NumPrimitivesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PrimitivesStorageNeeded(): Deno.PointerValue { + get PrimitivesStorageNeeded(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set NumPrimitivesWritten(value: Deno.PointerValue) { + set NumPrimitivesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PrimitivesStorageNeeded(value: Deno.PointerValue) { + set PrimitivesStorageNeeded(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12241,7 +12241,7 @@ export interface D3D10_MESSAGE { /** ptr */ pDescription: Deno.PointerValue | Uint8Array; /** usize */ - DescriptionByteLength: Deno.PointerValue; + DescriptionByteLength: bigint | number; } export const sizeofD3D10_MESSAGE = 32; @@ -12297,7 +12297,7 @@ export class D3D10_MESSAGEView { } // 0x18: usize - get DescriptionByteLength(): Deno.PointerValue { + get DescriptionByteLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -12324,7 +12324,7 @@ export class D3D10_MESSAGEView { } // 0x18: usize - set DescriptionByteLength(value: Deno.PointerValue) { + set DescriptionByteLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -14388,7 +14388,7 @@ export interface D3D10_PASS_DESC { /** ptr */ pIAInputSignature: Deno.PointerValue | Uint8Array; /** usize */ - IAInputSignatureSize: Deno.PointerValue; + IAInputSignatureSize: bigint | number; /** u32 */ StencilRef: number; /** u32 */ @@ -14453,7 +14453,7 @@ export class D3D10_PASS_DESCView { } // 0x18: usize - get IAInputSignatureSize(): Deno.PointerValue { + get IAInputSignatureSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -14492,7 +14492,7 @@ export class D3D10_PASS_DESCView { } // 0x18: usize - set IAInputSignatureSize(value: Deno.PointerValue) { + set IAInputSignatureSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -20895,7 +20895,7 @@ export class D3D11_QUERY_DESCView { */ export interface D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { /** u64 */ - Frequency: Deno.PointerValue; + Frequency: bigint | number; /** Windows.Win32.Foundation.BOOL */ Disjoint: boolean; } @@ -20924,7 +20924,7 @@ export class D3D11_QUERY_DATA_TIMESTAMP_DISJOINTView { } // 0x00: u64 - get Frequency(): Deno.PointerValue { + get Frequency(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -20936,7 +20936,7 @@ export class D3D11_QUERY_DATA_TIMESTAMP_DISJOINTView { // 0x0c: pad4 // 0x00: u64 - set Frequency(value: Deno.PointerValue) { + set Frequency(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -20953,27 +20953,27 @@ export class D3D11_QUERY_DATA_TIMESTAMP_DISJOINTView { */ export interface D3D11_QUERY_DATA_PIPELINE_STATISTICS { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; /** u64 */ - HSInvocations: Deno.PointerValue; + HSInvocations: bigint | number; /** u64 */ - DSInvocations: Deno.PointerValue; + DSInvocations: bigint | number; /** u64 */ - CSInvocations: Deno.PointerValue; + CSInvocations: bigint | number; } export const sizeofD3D11_QUERY_DATA_PIPELINE_STATISTICS = 88; @@ -21017,112 +21017,112 @@ export class D3D11_QUERY_DATA_PIPELINE_STATISTICSView { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get HSInvocations(): Deno.PointerValue { + get HSInvocations(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get DSInvocations(): Deno.PointerValue { + get DSInvocations(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get CSInvocations(): Deno.PointerValue { + get CSInvocations(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set HSInvocations(value: Deno.PointerValue) { + set HSInvocations(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set DSInvocations(value: Deno.PointerValue) { + set DSInvocations(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set CSInvocations(value: Deno.PointerValue) { + set CSInvocations(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -21132,9 +21132,9 @@ export class D3D11_QUERY_DATA_PIPELINE_STATISTICSView { */ export interface D3D11_QUERY_DATA_SO_STATISTICS { /** u64 */ - NumPrimitivesWritten: Deno.PointerValue; + NumPrimitivesWritten: bigint | number; /** u64 */ - PrimitivesStorageNeeded: Deno.PointerValue; + PrimitivesStorageNeeded: bigint | number; } export const sizeofD3D11_QUERY_DATA_SO_STATISTICS = 16; @@ -21160,22 +21160,22 @@ export class D3D11_QUERY_DATA_SO_STATISTICSView { } // 0x00: u64 - get NumPrimitivesWritten(): Deno.PointerValue { + get NumPrimitivesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PrimitivesStorageNeeded(): Deno.PointerValue { + get PrimitivesStorageNeeded(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set NumPrimitivesWritten(value: Deno.PointerValue) { + set NumPrimitivesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PrimitivesStorageNeeded(value: Deno.PointerValue) { + set PrimitivesStorageNeeded(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -23083,9 +23083,9 @@ export class D3D11_VIDEO_DECODER_CONFIGView { */ export interface D3D11_AES_CTR_IV { /** u64 */ - IV: Deno.PointerValue; + IV: bigint | number; /** u64 */ - Count: Deno.PointerValue; + Count: bigint | number; } export const sizeofD3D11_AES_CTR_IV = 16; @@ -23111,22 +23111,22 @@ export class D3D11_AES_CTR_IVView { } // 0x00: u64 - get IV(): Deno.PointerValue { + get IV(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Count(): Deno.PointerValue { + get Count(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set IV(value: Deno.PointerValue) { + set IV(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Count(value: Deno.PointerValue) { + set Count(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -23829,7 +23829,7 @@ export interface D3D11_VIDEO_CONTENT_PROTECTION_CAPS { /** u32 */ BlockAlignmentSize: number; /** u64 */ - ProtectedMemorySize: Deno.PointerValue; + ProtectedMemorySize: bigint | number; } export const sizeofD3D11_VIDEO_CONTENT_PROTECTION_CAPS = 24; @@ -23877,7 +23877,7 @@ export class D3D11_VIDEO_CONTENT_PROTECTION_CAPSView { // 0x0c: pad4 // 0x10: u64 - get ProtectedMemorySize(): Deno.PointerValue { + get ProtectedMemorySize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -23899,7 +23899,7 @@ export class D3D11_VIDEO_CONTENT_PROTECTION_CAPSView { // 0x0c: pad4 // 0x10: u64 - set ProtectedMemorySize(value: Deno.PointerValue) { + set ProtectedMemorySize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -24750,7 +24750,7 @@ export class D3D11_OMACView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Graphics.Direct3D11.D3D11_AUTHENTICATED_QUERY_INPUT (size: 24) @@ -25865,7 +25865,7 @@ export interface D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { /** u32 */ OutputIDIndex: number; /** u64 */ - OutputID: Deno.PointerValue; + OutputID: bigint | number; } export const sizeofD3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT = 40; @@ -25923,7 +25923,7 @@ export class D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - get OutputID(): Deno.PointerValue { + get OutputID(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -25950,7 +25950,7 @@ export class D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - set OutputID(value: Deno.PointerValue) { + set OutputID(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -27265,7 +27265,7 @@ export interface D3D11_MESSAGE { /** ptr */ pDescription: Deno.PointerValue | Uint8Array; /** usize */ - DescriptionByteLength: Deno.PointerValue; + DescriptionByteLength: bigint | number; } export const sizeofD3D11_MESSAGE = 32; @@ -27321,7 +27321,7 @@ export class D3D11_MESSAGEView { } // 0x18: usize - get DescriptionByteLength(): Deno.PointerValue { + get DescriptionByteLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -27348,7 +27348,7 @@ export class D3D11_MESSAGEView { } // 0x18: usize - set DescriptionByteLength(value: Deno.PointerValue) { + set DescriptionByteLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -28433,9 +28433,9 @@ export interface D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { /** u32 */ HWProtectionDataSize: number; /** u64 */ - TransportTime: Deno.PointerValue; + TransportTime: bigint | number; /** u64 */ - ExecutionTime: Deno.PointerValue; + ExecutionTime: bigint | number; /** array */ pbOutput: Deno.PointerValue; } @@ -28489,12 +28489,12 @@ export class D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATAView { // 0x0c: pad4 // 0x10: u64 - get TransportTime(): Deno.PointerValue { + get TransportTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExecutionTime(): Deno.PointerValue { + get ExecutionTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -28522,12 +28522,12 @@ export class D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATAView { // 0x0c: pad4 // 0x10: u64 - set TransportTime(value: Deno.PointerValue) { + set TransportTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExecutionTime(value: Deno.PointerValue) { + set ExecutionTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -32105,7 +32105,7 @@ export interface D3D11_FUNCTION_DESC { /** Windows.Win32.Graphics.Direct3D.D3D_FEATURE_LEVEL */ MinFeatureLevel: D3D_FEATURE_LEVEL; /** u64 */ - RequiredFeatureFlags: Deno.PointerValue; + RequiredFeatureFlags: bigint | number; /** Windows.Win32.Foundation.PSTR */ Name: string | null | Uint8Array; /** i32 */ @@ -32351,7 +32351,7 @@ export class D3D11_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - get RequiredFeatureFlags(): Deno.PointerValue { + get RequiredFeatureFlags(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -32522,7 +32522,7 @@ export class D3D11_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - set RequiredFeatureFlags(value: Deno.PointerValue) { + set RequiredFeatureFlags(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -32761,7 +32761,7 @@ export class D3D11_PARAMETER_DESCView { */ export interface D3D11_VERTEX_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_VERTEX_SHADER_TRACE_DESC = 8; @@ -32785,12 +32785,12 @@ export class D3D11_VERTEX_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -32800,7 +32800,7 @@ export class D3D11_VERTEX_SHADER_TRACE_DESCView { */ export interface D3D11_HULL_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_HULL_SHADER_TRACE_DESC = 8; @@ -32824,12 +32824,12 @@ export class D3D11_HULL_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -32839,7 +32839,7 @@ export class D3D11_HULL_SHADER_TRACE_DESCView { */ export interface D3D11_DOMAIN_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_DOMAIN_SHADER_TRACE_DESC = 8; @@ -32863,12 +32863,12 @@ export class D3D11_DOMAIN_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -32878,7 +32878,7 @@ export class D3D11_DOMAIN_SHADER_TRACE_DESCView { */ export interface D3D11_GEOMETRY_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_GEOMETRY_SHADER_TRACE_DESC = 8; @@ -32902,12 +32902,12 @@ export class D3D11_GEOMETRY_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -32917,13 +32917,13 @@ export class D3D11_GEOMETRY_SHADER_TRACE_DESCView { */ export interface D3D11_PIXEL_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; /** i32 */ X: number; /** i32 */ Y: number; /** u64 */ - SampleMask: Deno.PointerValue; + SampleMask: bigint | number; } export const sizeofD3D11_PIXEL_SHADER_TRACE_DESC = 24; @@ -32953,7 +32953,7 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -32968,12 +32968,12 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { } // 0x10: u64 - get SampleMask(): Deno.PointerValue { + get SampleMask(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -32988,7 +32988,7 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { } // 0x10: u64 - set SampleMask(value: Deno.PointerValue) { + set SampleMask(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -32998,7 +32998,7 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { */ export interface D3D11_COMPUTE_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; /** array */ ThreadIDInGroup: Deno.PointerValue; /** array */ @@ -33030,7 +33030,7 @@ export class D3D11_COMPUTE_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -33047,7 +33047,7 @@ export class D3D11_COMPUTE_SHADER_TRACE_DESCView { } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -33673,7 +33673,7 @@ export interface D3D11_TRACE_STEP { /** u32 */ OpcodeType: number; /** u64 */ - CurrentGlobalCycle: Deno.PointerValue; + CurrentGlobalCycle: bigint | number; } export const sizeofD3D11_TRACE_STEP = 24; @@ -33739,7 +33739,7 @@ export class D3D11_TRACE_STEPView { } // 0x10: u64 - get CurrentGlobalCycle(): Deno.PointerValue { + get CurrentGlobalCycle(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -33774,7 +33774,7 @@ export class D3D11_TRACE_STEPView { } // 0x10: u64 - set CurrentGlobalCycle(value: Deno.PointerValue) { + set CurrentGlobalCycle(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -35408,7 +35408,7 @@ export interface D3D12_SHADER_BYTECODE { /** ptr */ pShaderBytecode: Deno.PointerValue | Uint8Array; /** usize */ - BytecodeLength: Deno.PointerValue; + BytecodeLength: bigint | number; } export const sizeofD3D12_SHADER_BYTECODE = 16; @@ -35440,7 +35440,7 @@ export class D3D12_SHADER_BYTECODEView { } // 0x08: usize - get BytecodeLength(): Deno.PointerValue { + get BytecodeLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -35450,7 +35450,7 @@ export class D3D12_SHADER_BYTECODEView { } // 0x08: usize - set BytecodeLength(value: Deno.PointerValue) { + set BytecodeLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -35623,7 +35623,7 @@ export interface D3D12_CACHED_PIPELINE_STATE { /** ptr */ pCachedBlob: Deno.PointerValue | Uint8Array; /** usize */ - CachedBlobSizeInBytes: Deno.PointerValue; + CachedBlobSizeInBytes: bigint | number; } export const sizeofD3D12_CACHED_PIPELINE_STATE = 16; @@ -35655,7 +35655,7 @@ export class D3D12_CACHED_PIPELINE_STATEView { } // 0x08: usize - get CachedBlobSizeInBytes(): Deno.PointerValue { + get CachedBlobSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -35665,7 +35665,7 @@ export class D3D12_CACHED_PIPELINE_STATEView { } // 0x08: usize - set CachedBlobSizeInBytes(value: Deno.PointerValue) { + set CachedBlobSizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -36200,7 +36200,7 @@ export class D3D12_RT_FORMAT_ARRAYView { */ export interface D3D12_PIPELINE_STATE_STREAM_DESC { /** usize */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** ptr */ pPipelineStateSubobjectStream: Deno.PointerValue | Uint8Array; } @@ -36228,7 +36228,7 @@ export class D3D12_PIPELINE_STATE_STREAM_DESCView { } // 0x00: usize - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -36239,7 +36239,7 @@ export class D3D12_PIPELINE_STATE_STREAM_DESCView { } // 0x00: usize - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -37989,11 +37989,11 @@ export interface D3D12_FEATURE_DATA_QUERY_META_COMMAND { /** ptr */ pQueryInputData: Deno.PointerValue | Uint8Array; /** usize */ - QueryInputDataSizeInBytes: Deno.PointerValue; + QueryInputDataSizeInBytes: bigint | number; /** ptr */ pQueryOutputData: Deno.PointerValue | Uint8Array; /** usize */ - QueryOutputDataSizeInBytes: Deno.PointerValue; + QueryOutputDataSizeInBytes: bigint | number; } export const sizeofD3D12_FEATURE_DATA_QUERY_META_COMMAND = 48; @@ -38047,7 +38047,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x18: usize - get QueryInputDataSizeInBytes(): Deno.PointerValue { + get QueryInputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -38058,7 +38058,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x28: usize - get QueryOutputDataSizeInBytes(): Deno.PointerValue { + get QueryOutputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -38080,7 +38080,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x18: usize - set QueryInputDataSizeInBytes(value: Deno.PointerValue) { + set QueryInputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -38090,7 +38090,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x28: usize - set QueryOutputDataSizeInBytes(value: Deno.PointerValue) { + set QueryOutputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -38350,9 +38350,9 @@ export class D3D12_FEATURE_DATA_D3D12_OPTIONS11View { */ export interface D3D12_RESOURCE_ALLOCATION_INFO { /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; } export const sizeofD3D12_RESOURCE_ALLOCATION_INFO = 16; @@ -38378,22 +38378,22 @@ export class D3D12_RESOURCE_ALLOCATION_INFOView { } // 0x00: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -38403,11 +38403,11 @@ export class D3D12_RESOURCE_ALLOCATION_INFOView { */ export interface D3D12_RESOURCE_ALLOCATION_INFO1 { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; } export const sizeofD3D12_RESOURCE_ALLOCATION_INFO1 = 24; @@ -38435,32 +38435,32 @@ export class D3D12_RESOURCE_ALLOCATION_INFO1View { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -38570,11 +38570,11 @@ export class D3D12_HEAP_PROPERTIESView { */ export interface D3D12_HEAP_DESC { /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_HEAP_PROPERTIES */ Properties: Uint8Array | Deno.PointerValue; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_HEAP_FLAGS */ Flags: D3D12_HEAP_FLAGS; } @@ -38607,7 +38607,7 @@ export class D3D12_HEAP_DESCView { } // 0x00: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -38618,7 +38618,7 @@ export class D3D12_HEAP_DESCView { } // 0x10: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -38630,7 +38630,7 @@ export class D3D12_HEAP_DESCView { // 0x1c: pad4 // 0x00: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -38640,7 +38640,7 @@ export class D3D12_HEAP_DESCView { } // 0x10: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -38731,9 +38731,9 @@ export interface D3D12_RESOURCE_DESC { /** Windows.Win32.Graphics.Direct3D12.D3D12_RESOURCE_DIMENSION */ Dimension: D3D12_RESOURCE_DIMENSION; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Width: Deno.PointerValue; + Width: bigint | number; /** u32 */ Height: number; /** u16 */ @@ -38798,12 +38798,12 @@ export class D3D12_RESOURCE_DESCView { // 0x04: pad4 // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Width(): Deno.PointerValue { + get Width(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -38853,12 +38853,12 @@ export class D3D12_RESOURCE_DESCView { // 0x04: pad4 // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Width(value: Deno.PointerValue) { + set Width(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -38907,9 +38907,9 @@ export interface D3D12_RESOURCE_DESC1 { /** Windows.Win32.Graphics.Direct3D12.D3D12_RESOURCE_DIMENSION */ Dimension: D3D12_RESOURCE_DIMENSION; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Width: Deno.PointerValue; + Width: bigint | number; /** u32 */ Height: number; /** u16 */ @@ -38978,12 +38978,12 @@ export class D3D12_RESOURCE_DESC1View { // 0x04: pad4 // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Width(): Deno.PointerValue { + get Width(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -39039,12 +39039,12 @@ export class D3D12_RESOURCE_DESC1View { // 0x04: pad4 // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Width(value: Deno.PointerValue) { + set Width(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -39213,9 +39213,9 @@ export class D3D12_CLEAR_VALUEView { */ export interface D3D12_RANGE { /** usize */ - Begin: Deno.PointerValue; + Begin: bigint | number; /** usize */ - End: Deno.PointerValue; + End: bigint | number; } export const sizeofD3D12_RANGE = 16; @@ -39241,22 +39241,22 @@ export class D3D12_RANGEView { } // 0x00: usize - get Begin(): Deno.PointerValue { + get Begin(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set Begin(value: Deno.PointerValue) { + set Begin(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -39266,9 +39266,9 @@ export class D3D12_RANGEView { */ export interface D3D12_RANGE_UINT64 { /** u64 */ - Begin: Deno.PointerValue; + Begin: bigint | number; /** u64 */ - End: Deno.PointerValue; + End: bigint | number; } export const sizeofD3D12_RANGE_UINT64 = 16; @@ -39294,22 +39294,22 @@ export class D3D12_RANGE_UINT64View { } // 0x00: u64 - get Begin(): Deno.PointerValue { + get Begin(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Begin(value: Deno.PointerValue) { + set Begin(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -39378,7 +39378,7 @@ export class D3D12_SUBRESOURCE_RANGE_UINT64View { */ export interface D3D12_SUBRESOURCE_INFO { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ RowPitch: number; /** u32 */ @@ -39410,7 +39410,7 @@ export class D3D12_SUBRESOURCE_INFOView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -39425,7 +39425,7 @@ export class D3D12_SUBRESOURCE_INFOView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -40215,7 +40215,7 @@ export class D3D12_SUBRESOURCE_FOOTPRINTView { */ export interface D3D12_PLACED_SUBRESOURCE_FOOTPRINT { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_SUBRESOURCE_FOOTPRINT */ Footprint: Uint8Array | Deno.PointerValue; } @@ -40243,7 +40243,7 @@ export class D3D12_PLACED_SUBRESOURCE_FOOTPRINTView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -40254,7 +40254,7 @@ export class D3D12_PLACED_SUBRESOURCE_FOOTPRINTView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -40532,7 +40532,7 @@ export class D3D12_VIEW_INSTANCING_DESCView { */ export interface D3D12_BUFFER_SRV { /** u64 */ - FirstElement: Deno.PointerValue; + FirstElement: bigint | number; /** u32 */ NumElements: number; /** u32 */ @@ -40569,7 +40569,7 @@ export class D3D12_BUFFER_SRVView { } // 0x00: u64 - get FirstElement(): Deno.PointerValue { + get FirstElement(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -40591,7 +40591,7 @@ export class D3D12_BUFFER_SRVView { // 0x14: pad4 // 0x00: u64 - set FirstElement(value: Deno.PointerValue) { + set FirstElement(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -41321,7 +41321,7 @@ export class D3D12_TEX2DMS_ARRAY_SRVView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV { /** u64 */ - Location: Deno.PointerValue; + Location: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV = 8; @@ -41345,12 +41345,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRVView { } // 0x00: u64 - get Location(): Deno.PointerValue { + get Location(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Location(value: Deno.PointerValue) { + set Location(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -41447,7 +41447,7 @@ export class D3D12_SHADER_RESOURCE_VIEW_DESCView { */ export interface D3D12_CONSTANT_BUFFER_VIEW_DESC { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u32 */ SizeInBytes: number; } @@ -41476,7 +41476,7 @@ export class D3D12_CONSTANT_BUFFER_VIEW_DESCView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -41488,7 +41488,7 @@ export class D3D12_CONSTANT_BUFFER_VIEW_DESCView { // 0x0c: pad4 // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -41676,13 +41676,13 @@ export class D3D12_SAMPLER_DESCView { */ export interface D3D12_BUFFER_UAV { /** u64 */ - FirstElement: Deno.PointerValue; + FirstElement: bigint | number; /** u32 */ NumElements: number; /** u32 */ StructureByteStride: number; /** u64 */ - CounterOffsetInBytes: Deno.PointerValue; + CounterOffsetInBytes: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_BUFFER_UAV_FLAGS */ Flags: D3D12_BUFFER_UAV_FLAGS; } @@ -41717,7 +41717,7 @@ export class D3D12_BUFFER_UAVView { } // 0x00: u64 - get FirstElement(): Deno.PointerValue { + get FirstElement(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -41732,7 +41732,7 @@ export class D3D12_BUFFER_UAVView { } // 0x10: u64 - get CounterOffsetInBytes(): Deno.PointerValue { + get CounterOffsetInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -41744,7 +41744,7 @@ export class D3D12_BUFFER_UAVView { // 0x1c: pad4 // 0x00: u64 - set FirstElement(value: Deno.PointerValue) { + set FirstElement(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -41759,7 +41759,7 @@ export class D3D12_BUFFER_UAVView { } // 0x10: u64 - set CounterOffsetInBytes(value: Deno.PointerValue) { + set CounterOffsetInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -42166,7 +42166,7 @@ export class D3D12_UNORDERED_ACCESS_VIEW_DESCView { */ export interface D3D12_BUFFER_RTV { /** u64 */ - FirstElement: Deno.PointerValue; + FirstElement: bigint | number; /** u32 */ NumElements: number; } @@ -42195,7 +42195,7 @@ export class D3D12_BUFFER_RTVView { } // 0x00: u64 - get FirstElement(): Deno.PointerValue { + get FirstElement(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -42207,7 +42207,7 @@ export class D3D12_BUFFER_RTVView { // 0x0c: pad4 // 0x00: u64 - set FirstElement(value: Deno.PointerValue) { + set FirstElement(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -44383,7 +44383,7 @@ export class D3D12_VERSIONED_ROOT_SIGNATURE_DESCView { */ export interface D3D12_CPU_DESCRIPTOR_HANDLE { /** usize */ - ptr: Deno.PointerValue; + ptr: bigint | number; } export const sizeofD3D12_CPU_DESCRIPTOR_HANDLE = 8; @@ -44407,12 +44407,12 @@ export class D3D12_CPU_DESCRIPTOR_HANDLEView { } // 0x00: usize - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -44422,7 +44422,7 @@ export class D3D12_CPU_DESCRIPTOR_HANDLEView { */ export interface D3D12_GPU_DESCRIPTOR_HANDLE { /** u64 */ - ptr: Deno.PointerValue; + ptr: bigint | number; } export const sizeofD3D12_GPU_DESCRIPTOR_HANDLE = 8; @@ -44446,12 +44446,12 @@ export class D3D12_GPU_DESCRIPTOR_HANDLEView { } // 0x00: u64 - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -44620,27 +44620,27 @@ export class D3D12_QUERY_HEAP_DESCView { */ export interface D3D12_QUERY_DATA_PIPELINE_STATISTICS { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; /** u64 */ - HSInvocations: Deno.PointerValue; + HSInvocations: bigint | number; /** u64 */ - DSInvocations: Deno.PointerValue; + DSInvocations: bigint | number; /** u64 */ - CSInvocations: Deno.PointerValue; + CSInvocations: bigint | number; } export const sizeofD3D12_QUERY_DATA_PIPELINE_STATISTICS = 88; @@ -44684,112 +44684,112 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICSView { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get HSInvocations(): Deno.PointerValue { + get HSInvocations(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get DSInvocations(): Deno.PointerValue { + get DSInvocations(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get CSInvocations(): Deno.PointerValue { + get CSInvocations(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set HSInvocations(value: Deno.PointerValue) { + set HSInvocations(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set DSInvocations(value: Deno.PointerValue) { + set DSInvocations(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set CSInvocations(value: Deno.PointerValue) { + set CSInvocations(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -44799,33 +44799,33 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICSView { */ export interface D3D12_QUERY_DATA_PIPELINE_STATISTICS1 { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; /** u64 */ - HSInvocations: Deno.PointerValue; + HSInvocations: bigint | number; /** u64 */ - DSInvocations: Deno.PointerValue; + DSInvocations: bigint | number; /** u64 */ - CSInvocations: Deno.PointerValue; + CSInvocations: bigint | number; /** u64 */ - ASInvocations: Deno.PointerValue; + ASInvocations: bigint | number; /** u64 */ - MSInvocations: Deno.PointerValue; + MSInvocations: bigint | number; /** u64 */ - MSPrimitives: Deno.PointerValue; + MSPrimitives: bigint | number; } export const sizeofD3D12_QUERY_DATA_PIPELINE_STATISTICS1 = 112; @@ -44875,142 +44875,142 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICS1View { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get HSInvocations(): Deno.PointerValue { + get HSInvocations(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get DSInvocations(): Deno.PointerValue { + get DSInvocations(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get CSInvocations(): Deno.PointerValue { + get CSInvocations(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ASInvocations(): Deno.PointerValue { + get ASInvocations(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get MSInvocations(): Deno.PointerValue { + get MSInvocations(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get MSPrimitives(): Deno.PointerValue { + get MSPrimitives(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set HSInvocations(value: Deno.PointerValue) { + set HSInvocations(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set DSInvocations(value: Deno.PointerValue) { + set DSInvocations(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set CSInvocations(value: Deno.PointerValue) { + set CSInvocations(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ASInvocations(value: Deno.PointerValue) { + set ASInvocations(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set MSInvocations(value: Deno.PointerValue) { + set MSInvocations(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set MSPrimitives(value: Deno.PointerValue) { + set MSPrimitives(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } } @@ -45020,9 +45020,9 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICS1View { */ export interface D3D12_QUERY_DATA_SO_STATISTICS { /** u64 */ - NumPrimitivesWritten: Deno.PointerValue; + NumPrimitivesWritten: bigint | number; /** u64 */ - PrimitivesStorageNeeded: Deno.PointerValue; + PrimitivesStorageNeeded: bigint | number; } export const sizeofD3D12_QUERY_DATA_SO_STATISTICS = 16; @@ -45048,22 +45048,22 @@ export class D3D12_QUERY_DATA_SO_STATISTICSView { } // 0x00: u64 - get NumPrimitivesWritten(): Deno.PointerValue { + get NumPrimitivesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PrimitivesStorageNeeded(): Deno.PointerValue { + get PrimitivesStorageNeeded(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set NumPrimitivesWritten(value: Deno.PointerValue) { + set NumPrimitivesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PrimitivesStorageNeeded(value: Deno.PointerValue) { + set PrimitivesStorageNeeded(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -45073,11 +45073,11 @@ export class D3D12_QUERY_DATA_SO_STATISTICSView { */ export interface D3D12_STREAM_OUTPUT_BUFFER_VIEW { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** u64 */ - BufferFilledSizeLocation: Deno.PointerValue; + BufferFilledSizeLocation: bigint | number; } export const sizeofD3D12_STREAM_OUTPUT_BUFFER_VIEW = 24; @@ -45105,32 +45105,32 @@ export class D3D12_STREAM_OUTPUT_BUFFER_VIEWView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BufferFilledSizeLocation(): Deno.PointerValue { + get BufferFilledSizeLocation(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BufferFilledSizeLocation(value: Deno.PointerValue) { + set BufferFilledSizeLocation(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -45393,7 +45393,7 @@ export class D3D12_DISPATCH_ARGUMENTSView { */ export interface D3D12_VERTEX_BUFFER_VIEW { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u32 */ SizeInBytes: number; /** u32 */ @@ -45425,7 +45425,7 @@ export class D3D12_VERTEX_BUFFER_VIEWView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -45440,7 +45440,7 @@ export class D3D12_VERTEX_BUFFER_VIEWView { } // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -45460,7 +45460,7 @@ export class D3D12_VERTEX_BUFFER_VIEWView { */ export interface D3D12_INDEX_BUFFER_VIEW { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u32 */ SizeInBytes: number; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_FORMAT */ @@ -45492,7 +45492,7 @@ export class D3D12_INDEX_BUFFER_VIEWView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -45507,7 +45507,7 @@ export class D3D12_INDEX_BUFFER_VIEWView { } // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -45673,7 +45673,7 @@ export class D3D12_COMMAND_SIGNATURE_DESCView { */ export interface D3D12_WRITEBUFFERIMMEDIATE_PARAMETER { /** u64 */ - Dest: Deno.PointerValue; + Dest: bigint | number; /** u32 */ Value: number; } @@ -45702,7 +45702,7 @@ export class D3D12_WRITEBUFFERIMMEDIATE_PARAMETERView { } // 0x00: u64 - get Dest(): Deno.PointerValue { + get Dest(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -45714,7 +45714,7 @@ export class D3D12_WRITEBUFFERIMMEDIATE_PARAMETERView { // 0x0c: pad4 // 0x00: u64 - set Dest(value: Deno.PointerValue) { + set Dest(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -46971,9 +46971,9 @@ export class D3D12_STATE_OBJECT_DESCView { */ export interface D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { /** u64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - StrideInBytes: Deno.PointerValue; + StrideInBytes: bigint | number; } export const sizeofD3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE = 16; @@ -46999,22 +46999,22 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDEView { } // 0x00: u64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get StrideInBytes(): Deno.PointerValue { + get StrideInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set StrideInBytes(value: Deno.PointerValue) { + set StrideInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -47024,9 +47024,9 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDEView { */ export interface D3D12_GPU_VIRTUAL_ADDRESS_RANGE { /** u64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; } export const sizeofD3D12_GPU_VIRTUAL_ADDRESS_RANGE = 16; @@ -47052,22 +47052,22 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGEView { } // 0x00: u64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -47077,11 +47077,11 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGEView { */ export interface D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE { /** u64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** u64 */ - StrideInBytes: Deno.PointerValue; + StrideInBytes: bigint | number; } export const sizeofD3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE = 24; @@ -47109,32 +47109,32 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDEView { } // 0x00: u64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get StrideInBytes(): Deno.PointerValue { + get StrideInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set StrideInBytes(value: Deno.PointerValue) { + set StrideInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -47144,7 +47144,7 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDEView { */ export interface D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC { /** u64 */ - Transform3x4: Deno.PointerValue; + Transform3x4: bigint | number; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_FORMAT */ IndexFormat: DXGI_FORMAT; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_FORMAT */ @@ -47154,7 +47154,7 @@ export interface D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC { /** u32 */ VertexCount: number; /** u64 */ - IndexBuffer: Deno.PointerValue; + IndexBuffer: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE */ VertexBuffer: Uint8Array | Deno.PointerValue; } @@ -47192,7 +47192,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x00: u64 - get Transform3x4(): Deno.PointerValue { + get Transform3x4(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -47217,7 +47217,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x18: u64 - get IndexBuffer(): Deno.PointerValue { + get IndexBuffer(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -47228,7 +47228,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x00: u64 - set Transform3x4(value: Deno.PointerValue) { + set Transform3x4(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -47253,7 +47253,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x18: u64 - set IndexBuffer(value: Deno.PointerValue) { + set IndexBuffer(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -47377,7 +47377,7 @@ export class D3D12_RAYTRACING_AABBView { */ export interface D3D12_RAYTRACING_GEOMETRY_AABBS_DESC { /** u64 */ - AABBCount: Deno.PointerValue; + AABBCount: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE */ AABBs: Uint8Array | Deno.PointerValue; } @@ -47405,7 +47405,7 @@ export class D3D12_RAYTRACING_GEOMETRY_AABBS_DESCView { } // 0x00: u64 - get AABBCount(): Deno.PointerValue { + get AABBCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -47416,7 +47416,7 @@ export class D3D12_RAYTRACING_GEOMETRY_AABBS_DESCView { } // 0x00: u64 - set AABBCount(value: Deno.PointerValue) { + set AABBCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -47431,7 +47431,7 @@ export class D3D12_RAYTRACING_GEOMETRY_AABBS_DESCView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC { /** u64 */ - DestBuffer: Deno.PointerValue; + DestBuffer: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TYPE */ InfoType: D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TYPE; } @@ -47460,7 +47460,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESCView { } // 0x00: u64 - get DestBuffer(): Deno.PointerValue { + get DestBuffer(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -47472,7 +47472,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESCView { // 0x0c: pad4 // 0x00: u64 - set DestBuffer(value: Deno.PointerValue) { + set DestBuffer(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -47489,7 +47489,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESCView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE_DESC { /** u64 */ - CompactedSizeInBytes: Deno.PointerValue; + CompactedSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE_DESC = 8; @@ -47513,12 +47513,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SI } // 0x00: u64 - get CompactedSizeInBytes(): Deno.PointerValue { + get CompactedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set CompactedSizeInBytes(value: Deno.PointerValue) { + set CompactedSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -47528,7 +47528,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SI */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION_DESC { /** u64 */ - DecodedSizeInBytes: Deno.PointerValue; + DecodedSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION_DESC = 8; @@ -47552,12 +47552,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUAL } // 0x00: u64 - get DecodedSizeInBytes(): Deno.PointerValue { + get DecodedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set DecodedSizeInBytes(value: Deno.PointerValue) { + set DecodedSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -47620,9 +47620,9 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_TOOLS_VISUALIZATION_H */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC { /** u64 */ - SerializedSizeInBytes: Deno.PointerValue; + SerializedSizeInBytes: bigint | number; /** u64 */ - NumBottomLevelAccelerationStructurePointers: Deno.PointerValue; + NumBottomLevelAccelerationStructurePointers: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC = 16; @@ -47648,22 +47648,22 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATIO } // 0x00: u64 - get SerializedSizeInBytes(): Deno.PointerValue { + get SerializedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get NumBottomLevelAccelerationStructurePointers(): Deno.PointerValue { + get NumBottomLevelAccelerationStructurePointers(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set SerializedSizeInBytes(value: Deno.PointerValue) { + set SerializedSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set NumBottomLevelAccelerationStructurePointers(value: Deno.PointerValue) { + set NumBottomLevelAccelerationStructurePointers(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -47730,11 +47730,11 @@ export interface D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER { /** Windows.Win32.Graphics.Direct3D12.D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER */ DriverMatchingIdentifier: Uint8Array | Deno.PointerValue; /** u64 */ - SerializedSizeInBytesIncludingHeader: Deno.PointerValue; + SerializedSizeInBytesIncludingHeader: bigint | number; /** u64 */ - DeserializedSizeInBytes: Deno.PointerValue; + DeserializedSizeInBytes: bigint | number; /** u64 */ - NumBottomLevelAccelerationStructurePointersAfterHeader: Deno.PointerValue; + NumBottomLevelAccelerationStructurePointersAfterHeader: bigint | number; } export const sizeofD3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER = 32; @@ -47770,17 +47770,17 @@ export class D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADERView { } // 0x08: u64 - get SerializedSizeInBytesIncludingHeader(): Deno.PointerValue { + get SerializedSizeInBytesIncludingHeader(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get DeserializedSizeInBytes(): Deno.PointerValue { + get DeserializedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get NumBottomLevelAccelerationStructurePointersAfterHeader(): Deno.PointerValue { + get NumBottomLevelAccelerationStructurePointersAfterHeader(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -47790,17 +47790,17 @@ export class D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADERView { } // 0x08: u64 - set SerializedSizeInBytesIncludingHeader(value: Deno.PointerValue) { + set SerializedSizeInBytesIncludingHeader(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set DeserializedSizeInBytes(value: Deno.PointerValue) { + set DeserializedSizeInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set NumBottomLevelAccelerationStructurePointersAfterHeader(value: Deno.PointerValue) { + set NumBottomLevelAccelerationStructurePointersAfterHeader(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -47810,7 +47810,7 @@ export class D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADERView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE_DESC { /** u64 */ - CurrentSizeInBytes: Deno.PointerValue; + CurrentSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE_DESC = 8; @@ -47834,12 +47834,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE } // 0x00: u64 - get CurrentSizeInBytes(): Deno.PointerValue { + get CurrentSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set CurrentSizeInBytes(value: Deno.PointerValue) { + set CurrentSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -47855,7 +47855,7 @@ export interface D3D12_RAYTRACING_INSTANCE_DESC { /** u32 */ _bitfield2: number; /** u64 */ - AccelerationStructure: Deno.PointerValue; + AccelerationStructure: bigint | number; } export const sizeofD3D12_RAYTRACING_INSTANCE_DESC = 24; @@ -47901,7 +47901,7 @@ export class D3D12_RAYTRACING_INSTANCE_DESCView { } // 0x10: u64 - get AccelerationStructure(): Deno.PointerValue { + get AccelerationStructure(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -47921,7 +47921,7 @@ export class D3D12_RAYTRACING_INSTANCE_DESCView { } // 0x10: u64 - set AccelerationStructure(value: Deno.PointerValue) { + set AccelerationStructure(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -48095,13 +48095,13 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTSView { */ export interface D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC { /** u64 */ - DestAccelerationStructureData: Deno.PointerValue; + DestAccelerationStructureData: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS */ Inputs: Uint8Array | Deno.PointerValue; /** u64 */ - SourceAccelerationStructureData: Deno.PointerValue; + SourceAccelerationStructureData: bigint | number; /** u64 */ - ScratchAccelerationStructureData: Deno.PointerValue; + ScratchAccelerationStructureData: bigint | number; } export const sizeofD3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC = 32; @@ -48131,7 +48131,7 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { } // 0x00: u64 - get DestAccelerationStructureData(): Deno.PointerValue { + get DestAccelerationStructureData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -48142,17 +48142,17 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { } // 0x10: u64 - get SourceAccelerationStructureData(): Deno.PointerValue { + get SourceAccelerationStructureData(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ScratchAccelerationStructureData(): Deno.PointerValue { + get ScratchAccelerationStructureData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set DestAccelerationStructureData(value: Deno.PointerValue) { + set DestAccelerationStructureData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -48162,12 +48162,12 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { } // 0x10: u64 - set SourceAccelerationStructureData(value: Deno.PointerValue) { + set SourceAccelerationStructureData(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ScratchAccelerationStructureData(value: Deno.PointerValue) { + set ScratchAccelerationStructureData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -48177,11 +48177,11 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO { /** u64 */ - ResultDataMaxSizeInBytes: Deno.PointerValue; + ResultDataMaxSizeInBytes: bigint | number; /** u64 */ - ScratchDataSizeInBytes: Deno.PointerValue; + ScratchDataSizeInBytes: bigint | number; /** u64 */ - UpdateScratchDataSizeInBytes: Deno.PointerValue; + UpdateScratchDataSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO = 24; @@ -48209,32 +48209,32 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFOView { } // 0x00: u64 - get ResultDataMaxSizeInBytes(): Deno.PointerValue { + get ResultDataMaxSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ScratchDataSizeInBytes(): Deno.PointerValue { + get ScratchDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get UpdateScratchDataSizeInBytes(): Deno.PointerValue { + get UpdateScratchDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set ResultDataMaxSizeInBytes(value: Deno.PointerValue) { + set ResultDataMaxSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ScratchDataSizeInBytes(value: Deno.PointerValue) { + set ScratchDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set UpdateScratchDataSizeInBytes(value: Deno.PointerValue) { + set UpdateScratchDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -49055,7 +49055,7 @@ export class D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT1View { */ export interface D3D12_DRED_PAGE_FAULT_OUTPUT { /** u64 */ - PageFaultVA: Deno.PointerValue; + PageFaultVA: bigint | number; /** ptr */ pHeadExistingAllocationNode: Deno.PointerValue | Uint8Array; /** ptr */ @@ -49087,7 +49087,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUTView { } // 0x00: u64 - get PageFaultVA(): Deno.PointerValue { + get PageFaultVA(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -49104,7 +49104,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUTView { } // 0x00: u64 - set PageFaultVA(value: Deno.PointerValue) { + set PageFaultVA(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -49124,7 +49124,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUTView { */ export interface D3D12_DRED_PAGE_FAULT_OUTPUT1 { /** u64 */ - PageFaultVA: Deno.PointerValue; + PageFaultVA: bigint | number; /** ptr */ pHeadExistingAllocationNode: Deno.PointerValue | Uint8Array; /** ptr */ @@ -49156,7 +49156,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT1View { } // 0x00: u64 - get PageFaultVA(): Deno.PointerValue { + get PageFaultVA(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -49173,7 +49173,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT1View { } // 0x00: u64 - set PageFaultVA(value: Deno.PointerValue) { + set PageFaultVA(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -49193,7 +49193,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT1View { */ export interface D3D12_DRED_PAGE_FAULT_OUTPUT2 { /** u64 */ - PageFaultVA: Deno.PointerValue; + PageFaultVA: bigint | number; /** ptr */ pHeadExistingAllocationNode: Deno.PointerValue | Uint8Array; /** ptr */ @@ -49230,7 +49230,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT2View { } // 0x00: u64 - get PageFaultVA(): Deno.PointerValue { + get PageFaultVA(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -49254,7 +49254,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT2View { // 0x1c: pad4 // 0x00: u64 - set PageFaultVA(value: Deno.PointerValue) { + set PageFaultVA(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -50543,7 +50543,7 @@ export interface D3D12_SHADER_CACHE_SESSION_DESC { /** u32 */ MaximumValueFileSizeBytes: number; /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; } export const sizeofD3D12_SHADER_CACHE_SESSION_DESC = 40; @@ -50613,7 +50613,7 @@ export class D3D12_SHADER_CACHE_SESSION_DESCView { // 0x1c: pad4 // 0x20: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -50650,7 +50650,7 @@ export class D3D12_SHADER_CACHE_SESSION_DESCView { // 0x1c: pad4 // 0x20: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -50662,9 +50662,9 @@ export interface D3D12_SUBRESOURCE_DATA { /** ptr */ pData: Deno.PointerValue | Uint8Array; /** isize */ - RowPitch: Deno.PointerValue; + RowPitch: bigint | number; /** isize */ - SlicePitch: Deno.PointerValue; + SlicePitch: bigint | number; } export const sizeofD3D12_SUBRESOURCE_DATA = 24; @@ -50698,12 +50698,12 @@ export class D3D12_SUBRESOURCE_DATAView { } // 0x08: isize - get RowPitch(): Deno.PointerValue { + get RowPitch(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get SlicePitch(): Deno.PointerValue { + get SlicePitch(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -50713,12 +50713,12 @@ export class D3D12_SUBRESOURCE_DATAView { } // 0x08: isize - set RowPitch(value: Deno.PointerValue) { + set RowPitch(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set SlicePitch(value: Deno.PointerValue) { + set SlicePitch(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -50730,9 +50730,9 @@ export interface D3D12_MEMCPY_DEST { /** ptr */ pData: Deno.PointerValue | Uint8Array; /** usize */ - RowPitch: Deno.PointerValue; + RowPitch: bigint | number; /** usize */ - SlicePitch: Deno.PointerValue; + SlicePitch: bigint | number; } export const sizeofD3D12_MEMCPY_DEST = 24; @@ -50766,12 +50766,12 @@ export class D3D12_MEMCPY_DESTView { } // 0x08: usize - get RowPitch(): Deno.PointerValue { + get RowPitch(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get SlicePitch(): Deno.PointerValue { + get SlicePitch(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -50781,12 +50781,12 @@ export class D3D12_MEMCPY_DESTView { } // 0x08: usize - set RowPitch(value: Deno.PointerValue) { + set RowPitch(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set SlicePitch(value: Deno.PointerValue) { + set SlicePitch(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -50964,7 +50964,7 @@ export interface D3D12_MESSAGE { /** ptr */ pDescription: Deno.PointerValue | Uint8Array; /** usize */ - DescriptionByteLength: Deno.PointerValue; + DescriptionByteLength: bigint | number; } export const sizeofD3D12_MESSAGE = 32; @@ -51020,7 +51020,7 @@ export class D3D12_MESSAGEView { } // 0x18: usize - get DescriptionByteLength(): Deno.PointerValue { + get DescriptionByteLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -51047,7 +51047,7 @@ export class D3D12_MESSAGEView { } // 0x18: usize - set DescriptionByteLength(value: Deno.PointerValue) { + set DescriptionByteLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -52749,7 +52749,7 @@ export interface D3D12_FUNCTION_DESC { /** Windows.Win32.Graphics.Direct3D.D3D_FEATURE_LEVEL */ MinFeatureLevel: D3D_FEATURE_LEVEL; /** u64 */ - RequiredFeatureFlags: Deno.PointerValue; + RequiredFeatureFlags: bigint | number; /** Windows.Win32.Foundation.PSTR */ Name: string | null | Uint8Array; /** i32 */ @@ -52995,7 +52995,7 @@ export class D3D12_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - get RequiredFeatureFlags(): Deno.PointerValue { + get RequiredFeatureFlags(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -53166,7 +53166,7 @@ export class D3D12_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - set RequiredFeatureFlags(value: Deno.PointerValue) { + set RequiredFeatureFlags(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -53568,7 +53568,7 @@ export interface DxcBuffer { /** ptr */ Ptr: Deno.PointerValue | Uint8Array; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** u32 */ Encoding: number; } @@ -53605,7 +53605,7 @@ export class DxcBufferView { } // 0x08: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -53622,7 +53622,7 @@ export class DxcBufferView { } // 0x08: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -53767,7 +53767,7 @@ export interface D3D_SHADER_DATA { /** ptr */ pBytecode: Deno.PointerValue | Uint8Array; /** usize */ - BytecodeLength: Deno.PointerValue; + BytecodeLength: bigint | number; } export const sizeofD3D_SHADER_DATA = 16; @@ -53799,7 +53799,7 @@ export class D3D_SHADER_DATAView { } // 0x08: usize - get BytecodeLength(): Deno.PointerValue { + get BytecodeLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -53809,7 +53809,7 @@ export class D3D_SHADER_DATAView { } // 0x08: usize - set BytecodeLength(value: Deno.PointerValue) { + set BytecodeLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -53886,7 +53886,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -53926,7 +53926,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -53941,7 +53941,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -54126,9 +54126,9 @@ export class D3DADAPTER_IDENTIFIER9View { */ export interface D3DMEMORYPRESSURE { /** u64 */ - BytesEvictedFromProcess: Deno.PointerValue; + BytesEvictedFromProcess: bigint | number; /** u64 */ - SizeOfInefficientAllocation: Deno.PointerValue; + SizeOfInefficientAllocation: bigint | number; /** u32 */ LevelOfEfficiency: number; } @@ -54159,12 +54159,12 @@ export class D3DMEMORYPRESSUREView { } // 0x00: u64 - get BytesEvictedFromProcess(): Deno.PointerValue { + get BytesEvictedFromProcess(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeOfInefficientAllocation(): Deno.PointerValue { + get SizeOfInefficientAllocation(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -54176,12 +54176,12 @@ export class D3DMEMORYPRESSUREView { // 0x14: pad4 // 0x00: u64 - set BytesEvictedFromProcess(value: Deno.PointerValue) { + set BytesEvictedFromProcess(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeOfInefficientAllocation(value: Deno.PointerValue) { + set SizeOfInefficientAllocation(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -54452,7 +54452,7 @@ export interface D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUT { /** u32 */ OutputIDIndex: number; /** u64 */ - OutputID: Deno.PointerValue; + OutputID: bigint | number; } export const sizeofD3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUT = 40; @@ -54510,7 +54510,7 @@ export class D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - get OutputID(): Deno.PointerValue { + get OutputID(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -54537,7 +54537,7 @@ export class D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - set OutputID(value: Deno.PointerValue) { + set OutputID(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -54547,9 +54547,9 @@ export class D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUTView { */ export interface D3DAES_CTR_IV { /** u64 */ - IV: Deno.PointerValue; + IV: bigint | number; /** u64 */ - Count: Deno.PointerValue; + Count: bigint | number; } export const sizeofD3DAES_CTR_IV = 16; @@ -54575,22 +54575,22 @@ export class D3DAES_CTR_IVView { } // 0x00: u64 - get IV(): Deno.PointerValue { + get IV(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Count(): Deno.PointerValue { + get Count(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set IV(value: Deno.PointerValue) { + set IV(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Count(value: Deno.PointerValue) { + set Count(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -55507,7 +55507,7 @@ export class D3DDISPLAYMODEView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Graphics.Direct3D9.D3DDEVICE_CREATION_PARAMETERS (size: 24) diff --git a/api/Graphics/Direct3D/Dxc.ts b/api/Graphics/Direct3D/Dxc.ts index 14c4a03..4041b67 100644 --- a/api/Graphics/Direct3D/Dxc.ts +++ b/api/Graphics/Direct3D/Dxc.ts @@ -121,7 +121,7 @@ export interface DxcBuffer { /** ptr */ Ptr: Deno.PointerValue | Uint8Array; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** u32 */ Encoding: number; } @@ -158,7 +158,7 @@ export class DxcBufferView { } // 0x08: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -175,7 +175,7 @@ export class DxcBufferView { } // 0x08: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } diff --git a/api/Graphics/Direct3D/Fxc.ts b/api/Graphics/Direct3D/Fxc.ts index e113113..b6861e7 100644 --- a/api/Graphics/Direct3D/Fxc.ts +++ b/api/Graphics/Direct3D/Fxc.ts @@ -86,7 +86,7 @@ export interface D3D_SHADER_DATA { /** ptr */ pBytecode: Deno.PointerValue | Uint8Array; /** usize */ - BytecodeLength: Deno.PointerValue; + BytecodeLength: bigint | number; } export const sizeofD3D_SHADER_DATA = 16; @@ -118,7 +118,7 @@ export class D3D_SHADER_DATAView { } // 0x08: usize - get BytecodeLength(): Deno.PointerValue { + get BytecodeLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -128,7 +128,7 @@ export class D3D_SHADER_DATAView { } // 0x08: usize - set BytecodeLength(value: Deno.PointerValue) { + set BytecodeLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -267,7 +267,7 @@ export function D3DWriteBlobToFile( export function D3DCompile( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, pSourceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pDefines: Deno.PointerValue | Uint8Array /* ptr */, pInclude: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D.ID3DInclude */, @@ -283,7 +283,7 @@ export function D3DCompile( export function D3DCompile2( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, pSourceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pDefines: Deno.PointerValue | Uint8Array /* ptr */, pInclude: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D.ID3DInclude */, @@ -293,7 +293,7 @@ export function D3DCompile2( Flags2: number /* u32 */, SecondaryDataFlags: number /* u32 */, pSecondaryData: Deno.PointerValue | Uint8Array /* ptr */, - SecondaryDataSize: Deno.PointerValue /* usize */, + SecondaryDataSize: bigint | number /* usize */, ppCode: Deno.PointerValue | Uint8Array /* ptr */, ppErrorMsgs: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -316,7 +316,7 @@ export function D3DCompileFromFile( export function D3DPreprocess( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, pSourceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pDefines: Deno.PointerValue | Uint8Array /* ptr */, pInclude: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D.ID3DInclude */, @@ -328,7 +328,7 @@ export function D3DPreprocess( export function D3DGetDebugInfo( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, ppDebugInfo: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libD3DCOMPILER_47_dll.D3DGetDebugInfo(util.toPointer(pSrcData), SrcDataSize, util.toPointer(ppDebugInfo)); @@ -336,7 +336,7 @@ export function D3DGetDebugInfo( export function D3DReflect( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, pInterface: Deno.PointerValue | Uint8Array /* ptr */, ppReflector: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -345,7 +345,7 @@ export function D3DReflect( export function D3DReflectLibrary( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, riid: Deno.PointerValue | Uint8Array /* ptr */, ppReflector: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -354,7 +354,7 @@ export function D3DReflectLibrary( export function D3DDisassemble( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, Flags: number /* u32 */, szComments: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ppDisassembly: Deno.PointerValue | Uint8Array /* ptr */, @@ -364,11 +364,11 @@ export function D3DDisassemble( export function D3DDisassembleRegion( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, Flags: number /* u32 */, szComments: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - StartByteOffset: Deno.PointerValue /* usize */, - NumInsts: Deno.PointerValue /* usize */, + StartByteOffset: bigint | number /* usize */, + NumInsts: bigint | number /* usize */, pFinishByteOffset: Deno.PointerValue | Uint8Array /* ptr */, ppDisassembly: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -383,7 +383,7 @@ export function D3DCreateLinker( export function D3DLoadModule( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - cbSrcDataSize: Deno.PointerValue /* usize */, + cbSrcDataSize: bigint | number /* usize */, ppModule: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libD3DCOMPILER_47_dll.D3DLoadModule(util.toPointer(pSrcData), cbSrcDataSize, util.toPointer(ppModule)); @@ -398,10 +398,10 @@ export function D3DCreateFunctionLinkingGraph( export function D3DGetTraceInstructionOffsets( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, Flags: number /* u32 */, - StartInstIndex: Deno.PointerValue /* usize */, - NumInsts: Deno.PointerValue /* usize */, + StartInstIndex: bigint | number /* usize */, + NumInsts: bigint | number /* usize */, pOffsets: Deno.PointerValue | Uint8Array /* ptr */, pTotalInsts: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -410,7 +410,7 @@ export function D3DGetTraceInstructionOffsets( export function D3DGetInputSignatureBlob( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, ppSignatureBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libD3DCOMPILER_47_dll.D3DGetInputSignatureBlob(util.toPointer(pSrcData), SrcDataSize, util.toPointer(ppSignatureBlob)); @@ -418,7 +418,7 @@ export function D3DGetInputSignatureBlob( export function D3DGetOutputSignatureBlob( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, ppSignatureBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libD3DCOMPILER_47_dll.D3DGetOutputSignatureBlob(util.toPointer(pSrcData), SrcDataSize, util.toPointer(ppSignatureBlob)); @@ -426,7 +426,7 @@ export function D3DGetOutputSignatureBlob( export function D3DGetInputAndOutputSignatureBlob( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, ppSignatureBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libD3DCOMPILER_47_dll.D3DGetInputAndOutputSignatureBlob(util.toPointer(pSrcData), SrcDataSize, util.toPointer(ppSignatureBlob)); @@ -434,7 +434,7 @@ export function D3DGetInputAndOutputSignatureBlob( export function D3DStripShader( pShaderBytecode: Deno.PointerValue | Uint8Array /* ptr */, - BytecodeLength: Deno.PointerValue /* usize */, + BytecodeLength: bigint | number /* usize */, uStripFlags: number /* u32 */, ppStrippedBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -443,7 +443,7 @@ export function D3DStripShader( export function D3DGetBlobPart( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, Part: D3D_BLOB_PART /* Windows.Win32.Graphics.Direct3D.Fxc.D3D_BLOB_PART */, Flags: number /* u32 */, ppPart: Deno.PointerValue | Uint8Array /* ptr */, @@ -453,18 +453,18 @@ export function D3DGetBlobPart( export function D3DSetBlobPart( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, Part: D3D_BLOB_PART /* Windows.Win32.Graphics.Direct3D.Fxc.D3D_BLOB_PART */, Flags: number /* u32 */, pPart: Deno.PointerValue | Uint8Array /* ptr */, - PartSize: Deno.PointerValue /* usize */, + PartSize: bigint | number /* usize */, ppNewShader: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libD3DCOMPILER_47_dll.D3DSetBlobPart(util.toPointer(pSrcData), SrcDataSize, Part, Flags, util.toPointer(pPart), PartSize, util.toPointer(ppNewShader)); } export function D3DCreateBlob( - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ppBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libD3DCOMPILER_47_dll.D3DCreateBlob(Size, util.toPointer(ppBlob)); @@ -481,7 +481,7 @@ export function D3DCompressShaders( export function D3DDecompressShaders( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, uNumShaders: number /* u32 */, uStartIndex: number /* u32 */, pIndices: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/Graphics/Direct3D10.ts b/api/Graphics/Direct3D10.ts index 020f3e8..23b1be7 100644 --- a/api/Graphics/Direct3D10.ts +++ b/api/Graphics/Direct3D10.ts @@ -3478,11 +3478,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -3534,7 +3534,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3545,7 +3545,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3581,7 +3581,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3592,7 +3592,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3629,7 +3629,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -3658,7 +3658,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3670,7 +3670,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4213,9 +4213,9 @@ export class D3D10_TEX2DMS_ARRAY_SRVView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4241,22 +4241,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5534,7 +5534,7 @@ export class D3D10_QUERY_DESCView { */ export interface D3D10_QUERY_DATA_TIMESTAMP_DISJOINT { /** u64 */ - Frequency: Deno.PointerValue; + Frequency: bigint | number; /** Windows.Win32.Foundation.BOOL */ Disjoint: boolean; } @@ -5563,7 +5563,7 @@ export class D3D10_QUERY_DATA_TIMESTAMP_DISJOINTView { } // 0x00: u64 - get Frequency(): Deno.PointerValue { + get Frequency(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5575,7 +5575,7 @@ export class D3D10_QUERY_DATA_TIMESTAMP_DISJOINTView { // 0x0c: pad4 // 0x00: u64 - set Frequency(value: Deno.PointerValue) { + set Frequency(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5592,21 +5592,21 @@ export class D3D10_QUERY_DATA_TIMESTAMP_DISJOINTView { */ export interface D3D10_QUERY_DATA_PIPELINE_STATISTICS { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; } export const sizeofD3D10_QUERY_DATA_PIPELINE_STATISTICS = 64; @@ -5644,82 +5644,82 @@ export class D3D10_QUERY_DATA_PIPELINE_STATISTICSView { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -5729,9 +5729,9 @@ export class D3D10_QUERY_DATA_PIPELINE_STATISTICSView { */ export interface D3D10_QUERY_DATA_SO_STATISTICS { /** u64 */ - NumPrimitivesWritten: Deno.PointerValue; + NumPrimitivesWritten: bigint | number; /** u64 */ - PrimitivesStorageNeeded: Deno.PointerValue; + PrimitivesStorageNeeded: bigint | number; } export const sizeofD3D10_QUERY_DATA_SO_STATISTICS = 16; @@ -5757,22 +5757,22 @@ export class D3D10_QUERY_DATA_SO_STATISTICSView { } // 0x00: u64 - get NumPrimitivesWritten(): Deno.PointerValue { + get NumPrimitivesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PrimitivesStorageNeeded(): Deno.PointerValue { + get PrimitivesStorageNeeded(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set NumPrimitivesWritten(value: Deno.PointerValue) { + set NumPrimitivesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PrimitivesStorageNeeded(value: Deno.PointerValue) { + set PrimitivesStorageNeeded(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5915,7 +5915,7 @@ export interface D3D10_MESSAGE { /** ptr */ pDescription: Deno.PointerValue | Uint8Array; /** usize */ - DescriptionByteLength: Deno.PointerValue; + DescriptionByteLength: bigint | number; } export const sizeofD3D10_MESSAGE = 32; @@ -5971,7 +5971,7 @@ export class D3D10_MESSAGEView { } // 0x18: usize - get DescriptionByteLength(): Deno.PointerValue { + get DescriptionByteLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -5998,7 +5998,7 @@ export class D3D10_MESSAGEView { } // 0x18: usize - set DescriptionByteLength(value: Deno.PointerValue) { + set DescriptionByteLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -8062,7 +8062,7 @@ export interface D3D10_PASS_DESC { /** ptr */ pIAInputSignature: Deno.PointerValue | Uint8Array; /** usize */ - IAInputSignatureSize: Deno.PointerValue; + IAInputSignatureSize: bigint | number; /** u32 */ StencilRef: number; /** u32 */ @@ -8127,7 +8127,7 @@ export class D3D10_PASS_DESCView { } // 0x18: usize - get IAInputSignatureSize(): Deno.PointerValue { + get IAInputSignatureSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8166,7 +8166,7 @@ export class D3D10_PASS_DESCView { } // 0x18: usize - set IAInputSignatureSize(value: Deno.PointerValue) { + set IAInputSignatureSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -10249,7 +10249,7 @@ export class D3D10_SHADER_DEBUG_INFOView { // 0x54: pad4 } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type HRESULT = number; @@ -10408,7 +10408,7 @@ export function D3D10CreateDeviceAndSwapChain( } export function D3D10CreateBlob( - NumBytes: Deno.PointerValue /* usize */, + NumBytes: bigint | number /* usize */, ppBuffer: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libd3d10_dll.D3D10CreateBlob(NumBytes, util.toPointer(ppBuffer)); @@ -10416,7 +10416,7 @@ export function D3D10CreateBlob( export function D3D10CompileShader( pSrcData: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, pFileName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pDefines: Deno.PointerValue | Uint8Array /* ptr */, pInclude: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D.ID3DInclude */, @@ -10431,7 +10431,7 @@ export function D3D10CompileShader( export function D3D10DisassembleShader( pShader: Deno.PointerValue | Uint8Array /* ptr */, - BytecodeLength: Deno.PointerValue /* usize */, + BytecodeLength: bigint | number /* usize */, EnableColorCode: boolean /* Windows.Win32.Foundation.BOOL */, pComments: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ppDisassembly: Deno.PointerValue | Uint8Array /* ptr */, @@ -10459,7 +10459,7 @@ export function D3D10GetGeometryShaderProfile( export function D3D10ReflectShader( pShaderBytecode: Deno.PointerValue | Uint8Array /* ptr */, - BytecodeLength: Deno.PointerValue /* usize */, + BytecodeLength: bigint | number /* usize */, ppReflector: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libd3d10_dll.D3D10ReflectShader(util.toPointer(pShaderBytecode), BytecodeLength, util.toPointer(ppReflector)); @@ -10467,7 +10467,7 @@ export function D3D10ReflectShader( export function D3D10PreprocessShader( pSrcData: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, pFileName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pDefines: Deno.PointerValue | Uint8Array /* ptr */, pInclude: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D.ID3DInclude */, @@ -10479,7 +10479,7 @@ export function D3D10PreprocessShader( export function D3D10GetInputSignatureBlob( pShaderBytecode: Deno.PointerValue | Uint8Array /* ptr */, - BytecodeLength: Deno.PointerValue /* usize */, + BytecodeLength: bigint | number /* usize */, ppSignatureBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libd3d10_dll.D3D10GetInputSignatureBlob(util.toPointer(pShaderBytecode), BytecodeLength, util.toPointer(ppSignatureBlob)); @@ -10487,7 +10487,7 @@ export function D3D10GetInputSignatureBlob( export function D3D10GetOutputSignatureBlob( pShaderBytecode: Deno.PointerValue | Uint8Array /* ptr */, - BytecodeLength: Deno.PointerValue /* usize */, + BytecodeLength: bigint | number /* usize */, ppSignatureBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libd3d10_dll.D3D10GetOutputSignatureBlob(util.toPointer(pShaderBytecode), BytecodeLength, util.toPointer(ppSignatureBlob)); @@ -10495,7 +10495,7 @@ export function D3D10GetOutputSignatureBlob( export function D3D10GetInputAndOutputSignatureBlob( pShaderBytecode: Deno.PointerValue | Uint8Array /* ptr */, - BytecodeLength: Deno.PointerValue /* usize */, + BytecodeLength: bigint | number /* usize */, ppSignatureBlob: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libd3d10_dll.D3D10GetInputAndOutputSignatureBlob(util.toPointer(pShaderBytecode), BytecodeLength, util.toPointer(ppSignatureBlob)); @@ -10503,7 +10503,7 @@ export function D3D10GetInputAndOutputSignatureBlob( export function D3D10GetShaderDebugInfo( pShaderBytecode: Deno.PointerValue | Uint8Array /* ptr */, - BytecodeLength: Deno.PointerValue /* usize */, + BytecodeLength: bigint | number /* usize */, ppDebugInfo: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libd3d10_dll.D3D10GetShaderDebugInfo(util.toPointer(pShaderBytecode), BytecodeLength, util.toPointer(ppDebugInfo)); @@ -10581,7 +10581,7 @@ export function D3D10CreateStateBlock( export function D3D10CompileEffectFromMemory( pData: Deno.PointerValue | Uint8Array /* ptr */, - DataLength: Deno.PointerValue /* usize */, + DataLength: bigint | number /* usize */, pSrcFileName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pDefines: Deno.PointerValue | Uint8Array /* ptr */, pInclude: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D.ID3DInclude */, @@ -10595,7 +10595,7 @@ export function D3D10CompileEffectFromMemory( export function D3D10CreateEffectFromMemory( pData: Deno.PointerValue | Uint8Array /* ptr */, - DataLength: Deno.PointerValue /* usize */, + DataLength: bigint | number /* usize */, FXFlags: number /* u32 */, pDevice: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D10.ID3D10Device */, pEffectPool: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D10.ID3D10EffectPool */, @@ -10606,7 +10606,7 @@ export function D3D10CreateEffectFromMemory( export function D3D10CreateEffectPoolFromMemory( pData: Deno.PointerValue | Uint8Array /* ptr */, - DataLength: Deno.PointerValue /* usize */, + DataLength: bigint | number /* usize */, FXFlags: number /* u32 */, pDevice: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D10.ID3D10Device */, ppEffectPool: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/Graphics/Direct3D11.ts b/api/Graphics/Direct3D11.ts index a8359c2..96811a9 100644 --- a/api/Graphics/Direct3D11.ts +++ b/api/Graphics/Direct3D11.ts @@ -5254,11 +5254,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -5310,7 +5310,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5321,7 +5321,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5357,7 +5357,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5368,7 +5368,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5405,7 +5405,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -5434,7 +5434,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5446,7 +5446,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6142,9 +6142,9 @@ export class D3D11_TEX2DMS_ARRAY_SRVView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -6170,22 +6170,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7926,7 +7926,7 @@ export class D3D11_QUERY_DESCView { */ export interface D3D11_QUERY_DATA_TIMESTAMP_DISJOINT { /** u64 */ - Frequency: Deno.PointerValue; + Frequency: bigint | number; /** Windows.Win32.Foundation.BOOL */ Disjoint: boolean; } @@ -7955,7 +7955,7 @@ export class D3D11_QUERY_DATA_TIMESTAMP_DISJOINTView { } // 0x00: u64 - get Frequency(): Deno.PointerValue { + get Frequency(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7967,7 +7967,7 @@ export class D3D11_QUERY_DATA_TIMESTAMP_DISJOINTView { // 0x0c: pad4 // 0x00: u64 - set Frequency(value: Deno.PointerValue) { + set Frequency(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7984,27 +7984,27 @@ export class D3D11_QUERY_DATA_TIMESTAMP_DISJOINTView { */ export interface D3D11_QUERY_DATA_PIPELINE_STATISTICS { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; /** u64 */ - HSInvocations: Deno.PointerValue; + HSInvocations: bigint | number; /** u64 */ - DSInvocations: Deno.PointerValue; + DSInvocations: bigint | number; /** u64 */ - CSInvocations: Deno.PointerValue; + CSInvocations: bigint | number; } export const sizeofD3D11_QUERY_DATA_PIPELINE_STATISTICS = 88; @@ -8048,112 +8048,112 @@ export class D3D11_QUERY_DATA_PIPELINE_STATISTICSView { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get HSInvocations(): Deno.PointerValue { + get HSInvocations(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get DSInvocations(): Deno.PointerValue { + get DSInvocations(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get CSInvocations(): Deno.PointerValue { + get CSInvocations(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set HSInvocations(value: Deno.PointerValue) { + set HSInvocations(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set DSInvocations(value: Deno.PointerValue) { + set DSInvocations(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set CSInvocations(value: Deno.PointerValue) { + set CSInvocations(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -8163,9 +8163,9 @@ export class D3D11_QUERY_DATA_PIPELINE_STATISTICSView { */ export interface D3D11_QUERY_DATA_SO_STATISTICS { /** u64 */ - NumPrimitivesWritten: Deno.PointerValue; + NumPrimitivesWritten: bigint | number; /** u64 */ - PrimitivesStorageNeeded: Deno.PointerValue; + PrimitivesStorageNeeded: bigint | number; } export const sizeofD3D11_QUERY_DATA_SO_STATISTICS = 16; @@ -8191,22 +8191,22 @@ export class D3D11_QUERY_DATA_SO_STATISTICSView { } // 0x00: u64 - get NumPrimitivesWritten(): Deno.PointerValue { + get NumPrimitivesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PrimitivesStorageNeeded(): Deno.PointerValue { + get PrimitivesStorageNeeded(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set NumPrimitivesWritten(value: Deno.PointerValue) { + set NumPrimitivesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PrimitivesStorageNeeded(value: Deno.PointerValue) { + set PrimitivesStorageNeeded(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10114,9 +10114,9 @@ export class D3D11_VIDEO_DECODER_CONFIGView { */ export interface D3D11_AES_CTR_IV { /** u64 */ - IV: Deno.PointerValue; + IV: bigint | number; /** u64 */ - Count: Deno.PointerValue; + Count: bigint | number; } export const sizeofD3D11_AES_CTR_IV = 16; @@ -10142,22 +10142,22 @@ export class D3D11_AES_CTR_IVView { } // 0x00: u64 - get IV(): Deno.PointerValue { + get IV(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Count(): Deno.PointerValue { + get Count(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set IV(value: Deno.PointerValue) { + set IV(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Count(value: Deno.PointerValue) { + set Count(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10860,7 +10860,7 @@ export interface D3D11_VIDEO_CONTENT_PROTECTION_CAPS { /** u32 */ BlockAlignmentSize: number; /** u64 */ - ProtectedMemorySize: Deno.PointerValue; + ProtectedMemorySize: bigint | number; } export const sizeofD3D11_VIDEO_CONTENT_PROTECTION_CAPS = 24; @@ -10908,7 +10908,7 @@ export class D3D11_VIDEO_CONTENT_PROTECTION_CAPSView { // 0x0c: pad4 // 0x10: u64 - get ProtectedMemorySize(): Deno.PointerValue { + get ProtectedMemorySize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10930,7 +10930,7 @@ export class D3D11_VIDEO_CONTENT_PROTECTION_CAPSView { // 0x0c: pad4 // 0x10: u64 - set ProtectedMemorySize(value: Deno.PointerValue) { + set ProtectedMemorySize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -11781,7 +11781,7 @@ export class D3D11_OMACView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Graphics.Direct3D11.D3D11_AUTHENTICATED_QUERY_INPUT (size: 24) @@ -12896,7 +12896,7 @@ export interface D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT { /** u32 */ OutputIDIndex: number; /** u64 */ - OutputID: Deno.PointerValue; + OutputID: bigint | number; } export const sizeofD3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT = 40; @@ -12954,7 +12954,7 @@ export class D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - get OutputID(): Deno.PointerValue { + get OutputID(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -12981,7 +12981,7 @@ export class D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - set OutputID(value: Deno.PointerValue) { + set OutputID(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -14296,7 +14296,7 @@ export interface D3D11_MESSAGE { /** ptr */ pDescription: Deno.PointerValue | Uint8Array; /** usize */ - DescriptionByteLength: Deno.PointerValue; + DescriptionByteLength: bigint | number; } export const sizeofD3D11_MESSAGE = 32; @@ -14352,7 +14352,7 @@ export class D3D11_MESSAGEView { } // 0x18: usize - get DescriptionByteLength(): Deno.PointerValue { + get DescriptionByteLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -14379,7 +14379,7 @@ export class D3D11_MESSAGEView { } // 0x18: usize - set DescriptionByteLength(value: Deno.PointerValue) { + set DescriptionByteLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -15464,9 +15464,9 @@ export interface D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA { /** u32 */ HWProtectionDataSize: number; /** u64 */ - TransportTime: Deno.PointerValue; + TransportTime: bigint | number; /** u64 */ - ExecutionTime: Deno.PointerValue; + ExecutionTime: bigint | number; /** array */ pbOutput: Deno.PointerValue; } @@ -15520,12 +15520,12 @@ export class D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATAView { // 0x0c: pad4 // 0x10: u64 - get TransportTime(): Deno.PointerValue { + get TransportTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExecutionTime(): Deno.PointerValue { + get ExecutionTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -15553,12 +15553,12 @@ export class D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATAView { // 0x0c: pad4 // 0x10: u64 - set TransportTime(value: Deno.PointerValue) { + set TransportTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExecutionTime(value: Deno.PointerValue) { + set ExecutionTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -19136,7 +19136,7 @@ export interface D3D11_FUNCTION_DESC { /** Windows.Win32.Graphics.Direct3D.D3D_FEATURE_LEVEL */ MinFeatureLevel: D3D_FEATURE_LEVEL; /** u64 */ - RequiredFeatureFlags: Deno.PointerValue; + RequiredFeatureFlags: bigint | number; /** Windows.Win32.Foundation.PSTR */ Name: string | null | Uint8Array; /** i32 */ @@ -19382,7 +19382,7 @@ export class D3D11_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - get RequiredFeatureFlags(): Deno.PointerValue { + get RequiredFeatureFlags(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -19553,7 +19553,7 @@ export class D3D11_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - set RequiredFeatureFlags(value: Deno.PointerValue) { + set RequiredFeatureFlags(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -19792,7 +19792,7 @@ export class D3D11_PARAMETER_DESCView { */ export interface D3D11_VERTEX_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_VERTEX_SHADER_TRACE_DESC = 8; @@ -19816,12 +19816,12 @@ export class D3D11_VERTEX_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -19831,7 +19831,7 @@ export class D3D11_VERTEX_SHADER_TRACE_DESCView { */ export interface D3D11_HULL_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_HULL_SHADER_TRACE_DESC = 8; @@ -19855,12 +19855,12 @@ export class D3D11_HULL_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -19870,7 +19870,7 @@ export class D3D11_HULL_SHADER_TRACE_DESCView { */ export interface D3D11_DOMAIN_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_DOMAIN_SHADER_TRACE_DESC = 8; @@ -19894,12 +19894,12 @@ export class D3D11_DOMAIN_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -19909,7 +19909,7 @@ export class D3D11_DOMAIN_SHADER_TRACE_DESCView { */ export interface D3D11_GEOMETRY_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; } export const sizeofD3D11_GEOMETRY_SHADER_TRACE_DESC = 8; @@ -19933,12 +19933,12 @@ export class D3D11_GEOMETRY_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -19948,13 +19948,13 @@ export class D3D11_GEOMETRY_SHADER_TRACE_DESCView { */ export interface D3D11_PIXEL_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; /** i32 */ X: number; /** i32 */ Y: number; /** u64 */ - SampleMask: Deno.PointerValue; + SampleMask: bigint | number; } export const sizeofD3D11_PIXEL_SHADER_TRACE_DESC = 24; @@ -19984,7 +19984,7 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19999,12 +19999,12 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { } // 0x10: u64 - get SampleMask(): Deno.PointerValue { + get SampleMask(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -20019,7 +20019,7 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { } // 0x10: u64 - set SampleMask(value: Deno.PointerValue) { + set SampleMask(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -20029,7 +20029,7 @@ export class D3D11_PIXEL_SHADER_TRACE_DESCView { */ export interface D3D11_COMPUTE_SHADER_TRACE_DESC { /** u64 */ - Invocation: Deno.PointerValue; + Invocation: bigint | number; /** array */ ThreadIDInGroup: Deno.PointerValue; /** array */ @@ -20061,7 +20061,7 @@ export class D3D11_COMPUTE_SHADER_TRACE_DESCView { } // 0x00: u64 - get Invocation(): Deno.PointerValue { + get Invocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -20078,7 +20078,7 @@ export class D3D11_COMPUTE_SHADER_TRACE_DESCView { } // 0x00: u64 - set Invocation(value: Deno.PointerValue) { + set Invocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -20704,7 +20704,7 @@ export interface D3D11_TRACE_STEP { /** u32 */ OpcodeType: number; /** u64 */ - CurrentGlobalCycle: Deno.PointerValue; + CurrentGlobalCycle: bigint | number; } export const sizeofD3D11_TRACE_STEP = 24; @@ -20770,7 +20770,7 @@ export class D3D11_TRACE_STEPView { } // 0x10: u64 - get CurrentGlobalCycle(): Deno.PointerValue { + get CurrentGlobalCycle(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -20805,7 +20805,7 @@ export class D3D11_TRACE_STEPView { } // 0x10: u64 - set CurrentGlobalCycle(value: Deno.PointerValue) { + set CurrentGlobalCycle(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -21071,7 +21071,7 @@ export class D3D11_RESOURCE_FLAGSView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; // Native Libraries @@ -21174,7 +21174,7 @@ export function D3D11CreateDeviceAndSwapChain( export function D3DDisassemble11Trace( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSize: Deno.PointerValue /* usize */, + SrcDataSize: bigint | number /* usize */, pTrace: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Direct3D11.ID3D11ShaderTrace */, StartStep: number /* u32 */, NumSteps: number /* u32 */, diff --git a/api/Graphics/Direct3D12.ts b/api/Graphics/Direct3D12.ts index 4eb92d7..8c748fe 100644 --- a/api/Graphics/Direct3D12.ts +++ b/api/Graphics/Direct3D12.ts @@ -4411,7 +4411,7 @@ export interface D3D12_SHADER_BYTECODE { /** ptr */ pShaderBytecode: Deno.PointerValue | Uint8Array; /** usize */ - BytecodeLength: Deno.PointerValue; + BytecodeLength: bigint | number; } export const sizeofD3D12_SHADER_BYTECODE = 16; @@ -4443,7 +4443,7 @@ export class D3D12_SHADER_BYTECODEView { } // 0x08: usize - get BytecodeLength(): Deno.PointerValue { + get BytecodeLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4453,7 +4453,7 @@ export class D3D12_SHADER_BYTECODEView { } // 0x08: usize - set BytecodeLength(value: Deno.PointerValue) { + set BytecodeLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4626,7 +4626,7 @@ export interface D3D12_CACHED_PIPELINE_STATE { /** ptr */ pCachedBlob: Deno.PointerValue | Uint8Array; /** usize */ - CachedBlobSizeInBytes: Deno.PointerValue; + CachedBlobSizeInBytes: bigint | number; } export const sizeofD3D12_CACHED_PIPELINE_STATE = 16; @@ -4658,7 +4658,7 @@ export class D3D12_CACHED_PIPELINE_STATEView { } // 0x08: usize - get CachedBlobSizeInBytes(): Deno.PointerValue { + get CachedBlobSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4668,7 +4668,7 @@ export class D3D12_CACHED_PIPELINE_STATEView { } // 0x08: usize - set CachedBlobSizeInBytes(value: Deno.PointerValue) { + set CachedBlobSizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5256,7 +5256,7 @@ export class D3D12_RT_FORMAT_ARRAYView { */ export interface D3D12_PIPELINE_STATE_STREAM_DESC { /** usize */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** ptr */ pPipelineStateSubobjectStream: Deno.PointerValue | Uint8Array; } @@ -5284,7 +5284,7 @@ export class D3D12_PIPELINE_STATE_STREAM_DESCView { } // 0x00: usize - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5295,7 +5295,7 @@ export class D3D12_PIPELINE_STATE_STREAM_DESCView { } // 0x00: usize - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7045,11 +7045,11 @@ export interface D3D12_FEATURE_DATA_QUERY_META_COMMAND { /** ptr */ pQueryInputData: Deno.PointerValue | Uint8Array; /** usize */ - QueryInputDataSizeInBytes: Deno.PointerValue; + QueryInputDataSizeInBytes: bigint | number; /** ptr */ pQueryOutputData: Deno.PointerValue | Uint8Array; /** usize */ - QueryOutputDataSizeInBytes: Deno.PointerValue; + QueryOutputDataSizeInBytes: bigint | number; } export const sizeofD3D12_FEATURE_DATA_QUERY_META_COMMAND = 48; @@ -7103,7 +7103,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x18: usize - get QueryInputDataSizeInBytes(): Deno.PointerValue { + get QueryInputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -7114,7 +7114,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x28: usize - get QueryOutputDataSizeInBytes(): Deno.PointerValue { + get QueryOutputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -7136,7 +7136,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x18: usize - set QueryInputDataSizeInBytes(value: Deno.PointerValue) { + set QueryInputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -7146,7 +7146,7 @@ export class D3D12_FEATURE_DATA_QUERY_META_COMMANDView { } // 0x28: usize - set QueryOutputDataSizeInBytes(value: Deno.PointerValue) { + set QueryOutputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -7406,9 +7406,9 @@ export class D3D12_FEATURE_DATA_D3D12_OPTIONS11View { */ export interface D3D12_RESOURCE_ALLOCATION_INFO { /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; } export const sizeofD3D12_RESOURCE_ALLOCATION_INFO = 16; @@ -7434,22 +7434,22 @@ export class D3D12_RESOURCE_ALLOCATION_INFOView { } // 0x00: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7459,11 +7459,11 @@ export class D3D12_RESOURCE_ALLOCATION_INFOView { */ export interface D3D12_RESOURCE_ALLOCATION_INFO1 { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; } export const sizeofD3D12_RESOURCE_ALLOCATION_INFO1 = 24; @@ -7491,32 +7491,32 @@ export class D3D12_RESOURCE_ALLOCATION_INFO1View { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -7626,11 +7626,11 @@ export class D3D12_HEAP_PROPERTIESView { */ export interface D3D12_HEAP_DESC { /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_HEAP_PROPERTIES */ Properties: Uint8Array | Deno.PointerValue; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_HEAP_FLAGS */ Flags: D3D12_HEAP_FLAGS; } @@ -7663,7 +7663,7 @@ export class D3D12_HEAP_DESCView { } // 0x00: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7674,7 +7674,7 @@ export class D3D12_HEAP_DESCView { } // 0x10: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7686,7 +7686,7 @@ export class D3D12_HEAP_DESCView { // 0x1c: pad4 // 0x00: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7696,7 +7696,7 @@ export class D3D12_HEAP_DESCView { } // 0x10: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7787,9 +7787,9 @@ export interface D3D12_RESOURCE_DESC { /** Windows.Win32.Graphics.Direct3D12.D3D12_RESOURCE_DIMENSION */ Dimension: D3D12_RESOURCE_DIMENSION; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Width: Deno.PointerValue; + Width: bigint | number; /** u32 */ Height: number; /** u16 */ @@ -7854,12 +7854,12 @@ export class D3D12_RESOURCE_DESCView { // 0x04: pad4 // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Width(): Deno.PointerValue { + get Width(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7909,12 +7909,12 @@ export class D3D12_RESOURCE_DESCView { // 0x04: pad4 // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Width(value: Deno.PointerValue) { + set Width(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7963,9 +7963,9 @@ export interface D3D12_RESOURCE_DESC1 { /** Windows.Win32.Graphics.Direct3D12.D3D12_RESOURCE_DIMENSION */ Dimension: D3D12_RESOURCE_DIMENSION; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Width: Deno.PointerValue; + Width: bigint | number; /** u32 */ Height: number; /** u16 */ @@ -8034,12 +8034,12 @@ export class D3D12_RESOURCE_DESC1View { // 0x04: pad4 // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Width(): Deno.PointerValue { + get Width(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8095,12 +8095,12 @@ export class D3D12_RESOURCE_DESC1View { // 0x04: pad4 // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Width(value: Deno.PointerValue) { + set Width(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8210,9 +8210,9 @@ export class D3D12_DEPTH_STENCIL_VALUEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -8238,22 +8238,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8377,9 +8377,9 @@ export class D3D12_CLEAR_VALUEView { */ export interface D3D12_RANGE { /** usize */ - Begin: Deno.PointerValue; + Begin: bigint | number; /** usize */ - End: Deno.PointerValue; + End: bigint | number; } export const sizeofD3D12_RANGE = 16; @@ -8405,22 +8405,22 @@ export class D3D12_RANGEView { } // 0x00: usize - get Begin(): Deno.PointerValue { + get Begin(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set Begin(value: Deno.PointerValue) { + set Begin(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8430,9 +8430,9 @@ export class D3D12_RANGEView { */ export interface D3D12_RANGE_UINT64 { /** u64 */ - Begin: Deno.PointerValue; + Begin: bigint | number; /** u64 */ - End: Deno.PointerValue; + End: bigint | number; } export const sizeofD3D12_RANGE_UINT64 = 16; @@ -8458,22 +8458,22 @@ export class D3D12_RANGE_UINT64View { } // 0x00: u64 - get Begin(): Deno.PointerValue { + get Begin(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Begin(value: Deno.PointerValue) { + set Begin(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8542,7 +8542,7 @@ export class D3D12_SUBRESOURCE_RANGE_UINT64View { */ export interface D3D12_SUBRESOURCE_INFO { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ RowPitch: number; /** u32 */ @@ -8574,7 +8574,7 @@ export class D3D12_SUBRESOURCE_INFOView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8589,7 +8589,7 @@ export class D3D12_SUBRESOURCE_INFOView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9379,7 +9379,7 @@ export class D3D12_SUBRESOURCE_FOOTPRINTView { */ export interface D3D12_PLACED_SUBRESOURCE_FOOTPRINT { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_SUBRESOURCE_FOOTPRINT */ Footprint: Uint8Array | Deno.PointerValue; } @@ -9407,7 +9407,7 @@ export class D3D12_PLACED_SUBRESOURCE_FOOTPRINTView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9418,7 +9418,7 @@ export class D3D12_PLACED_SUBRESOURCE_FOOTPRINTView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9696,7 +9696,7 @@ export class D3D12_VIEW_INSTANCING_DESCView { */ export interface D3D12_BUFFER_SRV { /** u64 */ - FirstElement: Deno.PointerValue; + FirstElement: bigint | number; /** u32 */ NumElements: number; /** u32 */ @@ -9733,7 +9733,7 @@ export class D3D12_BUFFER_SRVView { } // 0x00: u64 - get FirstElement(): Deno.PointerValue { + get FirstElement(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9755,7 +9755,7 @@ export class D3D12_BUFFER_SRVView { // 0x14: pad4 // 0x00: u64 - set FirstElement(value: Deno.PointerValue) { + set FirstElement(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10485,7 +10485,7 @@ export class D3D12_TEX2DMS_ARRAY_SRVView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV { /** u64 */ - Location: Deno.PointerValue; + Location: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV = 8; @@ -10509,12 +10509,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRVView { } // 0x00: u64 - get Location(): Deno.PointerValue { + get Location(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Location(value: Deno.PointerValue) { + set Location(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -10611,7 +10611,7 @@ export class D3D12_SHADER_RESOURCE_VIEW_DESCView { */ export interface D3D12_CONSTANT_BUFFER_VIEW_DESC { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u32 */ SizeInBytes: number; } @@ -10640,7 +10640,7 @@ export class D3D12_CONSTANT_BUFFER_VIEW_DESCView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10652,7 +10652,7 @@ export class D3D12_CONSTANT_BUFFER_VIEW_DESCView { // 0x0c: pad4 // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10840,13 +10840,13 @@ export class D3D12_SAMPLER_DESCView { */ export interface D3D12_BUFFER_UAV { /** u64 */ - FirstElement: Deno.PointerValue; + FirstElement: bigint | number; /** u32 */ NumElements: number; /** u32 */ StructureByteStride: number; /** u64 */ - CounterOffsetInBytes: Deno.PointerValue; + CounterOffsetInBytes: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_BUFFER_UAV_FLAGS */ Flags: D3D12_BUFFER_UAV_FLAGS; } @@ -10881,7 +10881,7 @@ export class D3D12_BUFFER_UAVView { } // 0x00: u64 - get FirstElement(): Deno.PointerValue { + get FirstElement(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10896,7 +10896,7 @@ export class D3D12_BUFFER_UAVView { } // 0x10: u64 - get CounterOffsetInBytes(): Deno.PointerValue { + get CounterOffsetInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10908,7 +10908,7 @@ export class D3D12_BUFFER_UAVView { // 0x1c: pad4 // 0x00: u64 - set FirstElement(value: Deno.PointerValue) { + set FirstElement(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10923,7 +10923,7 @@ export class D3D12_BUFFER_UAVView { } // 0x10: u64 - set CounterOffsetInBytes(value: Deno.PointerValue) { + set CounterOffsetInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -11330,7 +11330,7 @@ export class D3D12_UNORDERED_ACCESS_VIEW_DESCView { */ export interface D3D12_BUFFER_RTV { /** u64 */ - FirstElement: Deno.PointerValue; + FirstElement: bigint | number; /** u32 */ NumElements: number; } @@ -11359,7 +11359,7 @@ export class D3D12_BUFFER_RTVView { } // 0x00: u64 - get FirstElement(): Deno.PointerValue { + get FirstElement(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11371,7 +11371,7 @@ export class D3D12_BUFFER_RTVView { // 0x0c: pad4 // 0x00: u64 - set FirstElement(value: Deno.PointerValue) { + set FirstElement(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13547,7 +13547,7 @@ export class D3D12_VERSIONED_ROOT_SIGNATURE_DESCView { */ export interface D3D12_CPU_DESCRIPTOR_HANDLE { /** usize */ - ptr: Deno.PointerValue; + ptr: bigint | number; } export const sizeofD3D12_CPU_DESCRIPTOR_HANDLE = 8; @@ -13571,12 +13571,12 @@ export class D3D12_CPU_DESCRIPTOR_HANDLEView { } // 0x00: usize - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -13586,7 +13586,7 @@ export class D3D12_CPU_DESCRIPTOR_HANDLEView { */ export interface D3D12_GPU_DESCRIPTOR_HANDLE { /** u64 */ - ptr: Deno.PointerValue; + ptr: bigint | number; } export const sizeofD3D12_GPU_DESCRIPTOR_HANDLE = 8; @@ -13610,12 +13610,12 @@ export class D3D12_GPU_DESCRIPTOR_HANDLEView { } // 0x00: u64 - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -13784,27 +13784,27 @@ export class D3D12_QUERY_HEAP_DESCView { */ export interface D3D12_QUERY_DATA_PIPELINE_STATISTICS { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; /** u64 */ - HSInvocations: Deno.PointerValue; + HSInvocations: bigint | number; /** u64 */ - DSInvocations: Deno.PointerValue; + DSInvocations: bigint | number; /** u64 */ - CSInvocations: Deno.PointerValue; + CSInvocations: bigint | number; } export const sizeofD3D12_QUERY_DATA_PIPELINE_STATISTICS = 88; @@ -13848,112 +13848,112 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICSView { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get HSInvocations(): Deno.PointerValue { + get HSInvocations(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get DSInvocations(): Deno.PointerValue { + get DSInvocations(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get CSInvocations(): Deno.PointerValue { + get CSInvocations(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set HSInvocations(value: Deno.PointerValue) { + set HSInvocations(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set DSInvocations(value: Deno.PointerValue) { + set DSInvocations(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set CSInvocations(value: Deno.PointerValue) { + set CSInvocations(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -13963,33 +13963,33 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICSView { */ export interface D3D12_QUERY_DATA_PIPELINE_STATISTICS1 { /** u64 */ - IAVertices: Deno.PointerValue; + IAVertices: bigint | number; /** u64 */ - IAPrimitives: Deno.PointerValue; + IAPrimitives: bigint | number; /** u64 */ - VSInvocations: Deno.PointerValue; + VSInvocations: bigint | number; /** u64 */ - GSInvocations: Deno.PointerValue; + GSInvocations: bigint | number; /** u64 */ - GSPrimitives: Deno.PointerValue; + GSPrimitives: bigint | number; /** u64 */ - CInvocations: Deno.PointerValue; + CInvocations: bigint | number; /** u64 */ - CPrimitives: Deno.PointerValue; + CPrimitives: bigint | number; /** u64 */ - PSInvocations: Deno.PointerValue; + PSInvocations: bigint | number; /** u64 */ - HSInvocations: Deno.PointerValue; + HSInvocations: bigint | number; /** u64 */ - DSInvocations: Deno.PointerValue; + DSInvocations: bigint | number; /** u64 */ - CSInvocations: Deno.PointerValue; + CSInvocations: bigint | number; /** u64 */ - ASInvocations: Deno.PointerValue; + ASInvocations: bigint | number; /** u64 */ - MSInvocations: Deno.PointerValue; + MSInvocations: bigint | number; /** u64 */ - MSPrimitives: Deno.PointerValue; + MSPrimitives: bigint | number; } export const sizeofD3D12_QUERY_DATA_PIPELINE_STATISTICS1 = 112; @@ -14039,142 +14039,142 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICS1View { } // 0x00: u64 - get IAVertices(): Deno.PointerValue { + get IAVertices(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IAPrimitives(): Deno.PointerValue { + get IAPrimitives(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VSInvocations(): Deno.PointerValue { + get VSInvocations(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get GSInvocations(): Deno.PointerValue { + get GSInvocations(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get GSPrimitives(): Deno.PointerValue { + get GSPrimitives(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CInvocations(): Deno.PointerValue { + get CInvocations(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get CPrimitives(): Deno.PointerValue { + get CPrimitives(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PSInvocations(): Deno.PointerValue { + get PSInvocations(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get HSInvocations(): Deno.PointerValue { + get HSInvocations(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get DSInvocations(): Deno.PointerValue { + get DSInvocations(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get CSInvocations(): Deno.PointerValue { + get CSInvocations(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ASInvocations(): Deno.PointerValue { + get ASInvocations(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get MSInvocations(): Deno.PointerValue { + get MSInvocations(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get MSPrimitives(): Deno.PointerValue { + get MSPrimitives(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x00: u64 - set IAVertices(value: Deno.PointerValue) { + set IAVertices(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IAPrimitives(value: Deno.PointerValue) { + set IAPrimitives(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VSInvocations(value: Deno.PointerValue) { + set VSInvocations(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set GSInvocations(value: Deno.PointerValue) { + set GSInvocations(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set GSPrimitives(value: Deno.PointerValue) { + set GSPrimitives(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CInvocations(value: Deno.PointerValue) { + set CInvocations(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set CPrimitives(value: Deno.PointerValue) { + set CPrimitives(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PSInvocations(value: Deno.PointerValue) { + set PSInvocations(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set HSInvocations(value: Deno.PointerValue) { + set HSInvocations(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set DSInvocations(value: Deno.PointerValue) { + set DSInvocations(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set CSInvocations(value: Deno.PointerValue) { + set CSInvocations(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ASInvocations(value: Deno.PointerValue) { + set ASInvocations(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set MSInvocations(value: Deno.PointerValue) { + set MSInvocations(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set MSPrimitives(value: Deno.PointerValue) { + set MSPrimitives(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } } @@ -14184,9 +14184,9 @@ export class D3D12_QUERY_DATA_PIPELINE_STATISTICS1View { */ export interface D3D12_QUERY_DATA_SO_STATISTICS { /** u64 */ - NumPrimitivesWritten: Deno.PointerValue; + NumPrimitivesWritten: bigint | number; /** u64 */ - PrimitivesStorageNeeded: Deno.PointerValue; + PrimitivesStorageNeeded: bigint | number; } export const sizeofD3D12_QUERY_DATA_SO_STATISTICS = 16; @@ -14212,22 +14212,22 @@ export class D3D12_QUERY_DATA_SO_STATISTICSView { } // 0x00: u64 - get NumPrimitivesWritten(): Deno.PointerValue { + get NumPrimitivesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PrimitivesStorageNeeded(): Deno.PointerValue { + get PrimitivesStorageNeeded(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set NumPrimitivesWritten(value: Deno.PointerValue) { + set NumPrimitivesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PrimitivesStorageNeeded(value: Deno.PointerValue) { + set PrimitivesStorageNeeded(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -14237,11 +14237,11 @@ export class D3D12_QUERY_DATA_SO_STATISTICSView { */ export interface D3D12_STREAM_OUTPUT_BUFFER_VIEW { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** u64 */ - BufferFilledSizeLocation: Deno.PointerValue; + BufferFilledSizeLocation: bigint | number; } export const sizeofD3D12_STREAM_OUTPUT_BUFFER_VIEW = 24; @@ -14269,32 +14269,32 @@ export class D3D12_STREAM_OUTPUT_BUFFER_VIEWView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BufferFilledSizeLocation(): Deno.PointerValue { + get BufferFilledSizeLocation(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BufferFilledSizeLocation(value: Deno.PointerValue) { + set BufferFilledSizeLocation(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -14557,7 +14557,7 @@ export class D3D12_DISPATCH_ARGUMENTSView { */ export interface D3D12_VERTEX_BUFFER_VIEW { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u32 */ SizeInBytes: number; /** u32 */ @@ -14589,7 +14589,7 @@ export class D3D12_VERTEX_BUFFER_VIEWView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14604,7 +14604,7 @@ export class D3D12_VERTEX_BUFFER_VIEWView { } // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14624,7 +14624,7 @@ export class D3D12_VERTEX_BUFFER_VIEWView { */ export interface D3D12_INDEX_BUFFER_VIEW { /** u64 */ - BufferLocation: Deno.PointerValue; + BufferLocation: bigint | number; /** u32 */ SizeInBytes: number; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_FORMAT */ @@ -14656,7 +14656,7 @@ export class D3D12_INDEX_BUFFER_VIEWView { } // 0x00: u64 - get BufferLocation(): Deno.PointerValue { + get BufferLocation(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14671,7 +14671,7 @@ export class D3D12_INDEX_BUFFER_VIEWView { } // 0x00: u64 - set BufferLocation(value: Deno.PointerValue) { + set BufferLocation(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14837,7 +14837,7 @@ export class D3D12_COMMAND_SIGNATURE_DESCView { */ export interface D3D12_WRITEBUFFERIMMEDIATE_PARAMETER { /** u64 */ - Dest: Deno.PointerValue; + Dest: bigint | number; /** u32 */ Value: number; } @@ -14866,7 +14866,7 @@ export class D3D12_WRITEBUFFERIMMEDIATE_PARAMETERView { } // 0x00: u64 - get Dest(): Deno.PointerValue { + get Dest(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14878,7 +14878,7 @@ export class D3D12_WRITEBUFFERIMMEDIATE_PARAMETERView { // 0x0c: pad4 // 0x00: u64 - set Dest(value: Deno.PointerValue) { + set Dest(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16137,9 +16137,9 @@ export class D3D12_STATE_OBJECT_DESCView { */ export interface D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { /** u64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - StrideInBytes: Deno.PointerValue; + StrideInBytes: bigint | number; } export const sizeofD3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE = 16; @@ -16165,22 +16165,22 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDEView { } // 0x00: u64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get StrideInBytes(): Deno.PointerValue { + get StrideInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set StrideInBytes(value: Deno.PointerValue) { + set StrideInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -16190,9 +16190,9 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDEView { */ export interface D3D12_GPU_VIRTUAL_ADDRESS_RANGE { /** u64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; } export const sizeofD3D12_GPU_VIRTUAL_ADDRESS_RANGE = 16; @@ -16218,22 +16218,22 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGEView { } // 0x00: u64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -16243,11 +16243,11 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGEView { */ export interface D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE { /** u64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** u64 */ - StrideInBytes: Deno.PointerValue; + StrideInBytes: bigint | number; } export const sizeofD3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE = 24; @@ -16275,32 +16275,32 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDEView { } // 0x00: u64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get StrideInBytes(): Deno.PointerValue { + get StrideInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set StrideInBytes(value: Deno.PointerValue) { + set StrideInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -16310,7 +16310,7 @@ export class D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDEView { */ export interface D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC { /** u64 */ - Transform3x4: Deno.PointerValue; + Transform3x4: bigint | number; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_FORMAT */ IndexFormat: DXGI_FORMAT; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_FORMAT */ @@ -16320,7 +16320,7 @@ export interface D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC { /** u32 */ VertexCount: number; /** u64 */ - IndexBuffer: Deno.PointerValue; + IndexBuffer: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE */ VertexBuffer: Uint8Array | Deno.PointerValue; } @@ -16358,7 +16358,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x00: u64 - get Transform3x4(): Deno.PointerValue { + get Transform3x4(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16383,7 +16383,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x18: u64 - get IndexBuffer(): Deno.PointerValue { + get IndexBuffer(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -16394,7 +16394,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x00: u64 - set Transform3x4(value: Deno.PointerValue) { + set Transform3x4(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16419,7 +16419,7 @@ export class D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESCView { } // 0x18: u64 - set IndexBuffer(value: Deno.PointerValue) { + set IndexBuffer(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -16543,7 +16543,7 @@ export class D3D12_RAYTRACING_AABBView { */ export interface D3D12_RAYTRACING_GEOMETRY_AABBS_DESC { /** u64 */ - AABBCount: Deno.PointerValue; + AABBCount: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE */ AABBs: Uint8Array | Deno.PointerValue; } @@ -16571,7 +16571,7 @@ export class D3D12_RAYTRACING_GEOMETRY_AABBS_DESCView { } // 0x00: u64 - get AABBCount(): Deno.PointerValue { + get AABBCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16582,7 +16582,7 @@ export class D3D12_RAYTRACING_GEOMETRY_AABBS_DESCView { } // 0x00: u64 - set AABBCount(value: Deno.PointerValue) { + set AABBCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16597,7 +16597,7 @@ export class D3D12_RAYTRACING_GEOMETRY_AABBS_DESCView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC { /** u64 */ - DestBuffer: Deno.PointerValue; + DestBuffer: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TYPE */ InfoType: D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TYPE; } @@ -16626,7 +16626,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESCView { } // 0x00: u64 - get DestBuffer(): Deno.PointerValue { + get DestBuffer(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16638,7 +16638,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESCView { // 0x0c: pad4 // 0x00: u64 - set DestBuffer(value: Deno.PointerValue) { + set DestBuffer(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16655,7 +16655,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESCView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE_DESC { /** u64 */ - CompactedSizeInBytes: Deno.PointerValue; + CompactedSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE_DESC = 8; @@ -16679,12 +16679,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SI } // 0x00: u64 - get CompactedSizeInBytes(): Deno.PointerValue { + get CompactedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set CompactedSizeInBytes(value: Deno.PointerValue) { + set CompactedSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -16694,7 +16694,7 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SI */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION_DESC { /** u64 */ - DecodedSizeInBytes: Deno.PointerValue; + DecodedSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION_DESC = 8; @@ -16718,12 +16718,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUAL } // 0x00: u64 - get DecodedSizeInBytes(): Deno.PointerValue { + get DecodedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set DecodedSizeInBytes(value: Deno.PointerValue) { + set DecodedSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -16786,9 +16786,9 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_TOOLS_VISUALIZATION_H */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC { /** u64 */ - SerializedSizeInBytes: Deno.PointerValue; + SerializedSizeInBytes: bigint | number; /** u64 */ - NumBottomLevelAccelerationStructurePointers: Deno.PointerValue; + NumBottomLevelAccelerationStructurePointers: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC = 16; @@ -16814,22 +16814,22 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATIO } // 0x00: u64 - get SerializedSizeInBytes(): Deno.PointerValue { + get SerializedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get NumBottomLevelAccelerationStructurePointers(): Deno.PointerValue { + get NumBottomLevelAccelerationStructurePointers(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set SerializedSizeInBytes(value: Deno.PointerValue) { + set SerializedSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set NumBottomLevelAccelerationStructurePointers(value: Deno.PointerValue) { + set NumBottomLevelAccelerationStructurePointers(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -16896,11 +16896,11 @@ export interface D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER { /** Windows.Win32.Graphics.Direct3D12.D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER */ DriverMatchingIdentifier: Uint8Array | Deno.PointerValue; /** u64 */ - SerializedSizeInBytesIncludingHeader: Deno.PointerValue; + SerializedSizeInBytesIncludingHeader: bigint | number; /** u64 */ - DeserializedSizeInBytes: Deno.PointerValue; + DeserializedSizeInBytes: bigint | number; /** u64 */ - NumBottomLevelAccelerationStructurePointersAfterHeader: Deno.PointerValue; + NumBottomLevelAccelerationStructurePointersAfterHeader: bigint | number; } export const sizeofD3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER = 32; @@ -16936,17 +16936,17 @@ export class D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADERView { } // 0x08: u64 - get SerializedSizeInBytesIncludingHeader(): Deno.PointerValue { + get SerializedSizeInBytesIncludingHeader(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get DeserializedSizeInBytes(): Deno.PointerValue { + get DeserializedSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get NumBottomLevelAccelerationStructurePointersAfterHeader(): Deno.PointerValue { + get NumBottomLevelAccelerationStructurePointersAfterHeader(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -16956,17 +16956,17 @@ export class D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADERView { } // 0x08: u64 - set SerializedSizeInBytesIncludingHeader(value: Deno.PointerValue) { + set SerializedSizeInBytesIncludingHeader(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set DeserializedSizeInBytes(value: Deno.PointerValue) { + set DeserializedSizeInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set NumBottomLevelAccelerationStructurePointersAfterHeader(value: Deno.PointerValue) { + set NumBottomLevelAccelerationStructurePointersAfterHeader(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -16976,7 +16976,7 @@ export class D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADERView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE_DESC { /** u64 */ - CurrentSizeInBytes: Deno.PointerValue; + CurrentSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE_DESC = 8; @@ -17000,12 +17000,12 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE } // 0x00: u64 - get CurrentSizeInBytes(): Deno.PointerValue { + get CurrentSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set CurrentSizeInBytes(value: Deno.PointerValue) { + set CurrentSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -17021,7 +17021,7 @@ export interface D3D12_RAYTRACING_INSTANCE_DESC { /** u32 */ _bitfield2: number; /** u64 */ - AccelerationStructure: Deno.PointerValue; + AccelerationStructure: bigint | number; } export const sizeofD3D12_RAYTRACING_INSTANCE_DESC = 24; @@ -17067,7 +17067,7 @@ export class D3D12_RAYTRACING_INSTANCE_DESCView { } // 0x10: u64 - get AccelerationStructure(): Deno.PointerValue { + get AccelerationStructure(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -17087,7 +17087,7 @@ export class D3D12_RAYTRACING_INSTANCE_DESCView { } // 0x10: u64 - set AccelerationStructure(value: Deno.PointerValue) { + set AccelerationStructure(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -17261,13 +17261,13 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTSView { */ export interface D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC { /** u64 */ - DestAccelerationStructureData: Deno.PointerValue; + DestAccelerationStructureData: bigint | number; /** Windows.Win32.Graphics.Direct3D12.D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS */ Inputs: Uint8Array | Deno.PointerValue; /** u64 */ - SourceAccelerationStructureData: Deno.PointerValue; + SourceAccelerationStructureData: bigint | number; /** u64 */ - ScratchAccelerationStructureData: Deno.PointerValue; + ScratchAccelerationStructureData: bigint | number; } export const sizeofD3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC = 32; @@ -17297,7 +17297,7 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { } // 0x00: u64 - get DestAccelerationStructureData(): Deno.PointerValue { + get DestAccelerationStructureData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -17308,17 +17308,17 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { } // 0x10: u64 - get SourceAccelerationStructureData(): Deno.PointerValue { + get SourceAccelerationStructureData(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ScratchAccelerationStructureData(): Deno.PointerValue { + get ScratchAccelerationStructureData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set DestAccelerationStructureData(value: Deno.PointerValue) { + set DestAccelerationStructureData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17328,12 +17328,12 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { } // 0x10: u64 - set SourceAccelerationStructureData(value: Deno.PointerValue) { + set SourceAccelerationStructureData(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ScratchAccelerationStructureData(value: Deno.PointerValue) { + set ScratchAccelerationStructureData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -17343,11 +17343,11 @@ export class D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESCView { */ export interface D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO { /** u64 */ - ResultDataMaxSizeInBytes: Deno.PointerValue; + ResultDataMaxSizeInBytes: bigint | number; /** u64 */ - ScratchDataSizeInBytes: Deno.PointerValue; + ScratchDataSizeInBytes: bigint | number; /** u64 */ - UpdateScratchDataSizeInBytes: Deno.PointerValue; + UpdateScratchDataSizeInBytes: bigint | number; } export const sizeofD3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO = 24; @@ -17375,32 +17375,32 @@ export class D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFOView { } // 0x00: u64 - get ResultDataMaxSizeInBytes(): Deno.PointerValue { + get ResultDataMaxSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ScratchDataSizeInBytes(): Deno.PointerValue { + get ScratchDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get UpdateScratchDataSizeInBytes(): Deno.PointerValue { + get UpdateScratchDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set ResultDataMaxSizeInBytes(value: Deno.PointerValue) { + set ResultDataMaxSizeInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ScratchDataSizeInBytes(value: Deno.PointerValue) { + set ScratchDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set UpdateScratchDataSizeInBytes(value: Deno.PointerValue) { + set UpdateScratchDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -18221,7 +18221,7 @@ export class D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT1View { */ export interface D3D12_DRED_PAGE_FAULT_OUTPUT { /** u64 */ - PageFaultVA: Deno.PointerValue; + PageFaultVA: bigint | number; /** ptr */ pHeadExistingAllocationNode: Deno.PointerValue | Uint8Array; /** ptr */ @@ -18253,7 +18253,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUTView { } // 0x00: u64 - get PageFaultVA(): Deno.PointerValue { + get PageFaultVA(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -18270,7 +18270,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUTView { } // 0x00: u64 - set PageFaultVA(value: Deno.PointerValue) { + set PageFaultVA(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -18290,7 +18290,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUTView { */ export interface D3D12_DRED_PAGE_FAULT_OUTPUT1 { /** u64 */ - PageFaultVA: Deno.PointerValue; + PageFaultVA: bigint | number; /** ptr */ pHeadExistingAllocationNode: Deno.PointerValue | Uint8Array; /** ptr */ @@ -18322,7 +18322,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT1View { } // 0x00: u64 - get PageFaultVA(): Deno.PointerValue { + get PageFaultVA(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -18339,7 +18339,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT1View { } // 0x00: u64 - set PageFaultVA(value: Deno.PointerValue) { + set PageFaultVA(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -18359,7 +18359,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT1View { */ export interface D3D12_DRED_PAGE_FAULT_OUTPUT2 { /** u64 */ - PageFaultVA: Deno.PointerValue; + PageFaultVA: bigint | number; /** ptr */ pHeadExistingAllocationNode: Deno.PointerValue | Uint8Array; /** ptr */ @@ -18396,7 +18396,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT2View { } // 0x00: u64 - get PageFaultVA(): Deno.PointerValue { + get PageFaultVA(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -18420,7 +18420,7 @@ export class D3D12_DRED_PAGE_FAULT_OUTPUT2View { // 0x1c: pad4 // 0x00: u64 - set PageFaultVA(value: Deno.PointerValue) { + set PageFaultVA(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19711,7 +19711,7 @@ export interface D3D12_SHADER_CACHE_SESSION_DESC { /** u32 */ MaximumValueFileSizeBytes: number; /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; } export const sizeofD3D12_SHADER_CACHE_SESSION_DESC = 40; @@ -19781,7 +19781,7 @@ export class D3D12_SHADER_CACHE_SESSION_DESCView { // 0x1c: pad4 // 0x20: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -19818,7 +19818,7 @@ export class D3D12_SHADER_CACHE_SESSION_DESCView { // 0x1c: pad4 // 0x20: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -19830,9 +19830,9 @@ export interface D3D12_SUBRESOURCE_DATA { /** ptr */ pData: Deno.PointerValue | Uint8Array; /** isize */ - RowPitch: Deno.PointerValue; + RowPitch: bigint | number; /** isize */ - SlicePitch: Deno.PointerValue; + SlicePitch: bigint | number; } export const sizeofD3D12_SUBRESOURCE_DATA = 24; @@ -19866,12 +19866,12 @@ export class D3D12_SUBRESOURCE_DATAView { } // 0x08: isize - get RowPitch(): Deno.PointerValue { + get RowPitch(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get SlicePitch(): Deno.PointerValue { + get SlicePitch(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -19881,12 +19881,12 @@ export class D3D12_SUBRESOURCE_DATAView { } // 0x08: isize - set RowPitch(value: Deno.PointerValue) { + set RowPitch(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set SlicePitch(value: Deno.PointerValue) { + set SlicePitch(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -19898,9 +19898,9 @@ export interface D3D12_MEMCPY_DEST { /** ptr */ pData: Deno.PointerValue | Uint8Array; /** usize */ - RowPitch: Deno.PointerValue; + RowPitch: bigint | number; /** usize */ - SlicePitch: Deno.PointerValue; + SlicePitch: bigint | number; } export const sizeofD3D12_MEMCPY_DEST = 24; @@ -19934,12 +19934,12 @@ export class D3D12_MEMCPY_DESTView { } // 0x08: usize - get RowPitch(): Deno.PointerValue { + get RowPitch(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get SlicePitch(): Deno.PointerValue { + get SlicePitch(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -19949,12 +19949,12 @@ export class D3D12_MEMCPY_DESTView { } // 0x08: usize - set RowPitch(value: Deno.PointerValue) { + set RowPitch(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set SlicePitch(value: Deno.PointerValue) { + set SlicePitch(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -20132,7 +20132,7 @@ export interface D3D12_MESSAGE { /** ptr */ pDescription: Deno.PointerValue | Uint8Array; /** usize */ - DescriptionByteLength: Deno.PointerValue; + DescriptionByteLength: bigint | number; } export const sizeofD3D12_MESSAGE = 32; @@ -20188,7 +20188,7 @@ export class D3D12_MESSAGEView { } // 0x18: usize - get DescriptionByteLength(): Deno.PointerValue { + get DescriptionByteLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -20215,7 +20215,7 @@ export class D3D12_MESSAGEView { } // 0x18: usize - set DescriptionByteLength(value: Deno.PointerValue) { + set DescriptionByteLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -21917,7 +21917,7 @@ export interface D3D12_FUNCTION_DESC { /** Windows.Win32.Graphics.Direct3D.D3D_FEATURE_LEVEL */ MinFeatureLevel: D3D_FEATURE_LEVEL; /** u64 */ - RequiredFeatureFlags: Deno.PointerValue; + RequiredFeatureFlags: bigint | number; /** Windows.Win32.Foundation.PSTR */ Name: string | null | Uint8Array; /** i32 */ @@ -22163,7 +22163,7 @@ export class D3D12_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - get RequiredFeatureFlags(): Deno.PointerValue { + get RequiredFeatureFlags(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -22334,7 +22334,7 @@ export class D3D12_FUNCTION_DESCView { // 0x74: pad4 // 0x78: u64 - set RequiredFeatureFlags(value: Deno.PointerValue) { + set RequiredFeatureFlags(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -22620,7 +22620,7 @@ export function D3D12SerializeRootSignature( export function D3D12CreateRootSignatureDeserializer( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSizeInBytes: Deno.PointerValue /* usize */, + SrcDataSizeInBytes: bigint | number /* usize */, pRootSignatureDeserializerInterface: Deno.PointerValue | Uint8Array /* ptr */, ppRootSignatureDeserializer: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -22637,7 +22637,7 @@ export function D3D12SerializeVersionedRootSignature( export function D3D12CreateVersionedRootSignatureDeserializer( pSrcData: Deno.PointerValue | Uint8Array /* ptr */, - SrcDataSizeInBytes: Deno.PointerValue /* usize */, + SrcDataSizeInBytes: bigint | number /* usize */, pRootSignatureDeserializerInterface: Deno.PointerValue | Uint8Array /* ptr */, ppRootSignatureDeserializer: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { diff --git a/api/Graphics/Direct3D9.ts b/api/Graphics/Direct3D9.ts index 9c1a393..7654dae 100644 --- a/api/Graphics/Direct3D9.ts +++ b/api/Graphics/Direct3D9.ts @@ -1125,9 +1125,9 @@ export class D3D9ON12_ARGSView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1153,22 +1153,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1247,7 +1247,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -1287,7 +1287,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1302,7 +1302,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -1487,9 +1487,9 @@ export class D3DADAPTER_IDENTIFIER9View { */ export interface D3DMEMORYPRESSURE { /** u64 */ - BytesEvictedFromProcess: Deno.PointerValue; + BytesEvictedFromProcess: bigint | number; /** u64 */ - SizeOfInefficientAllocation: Deno.PointerValue; + SizeOfInefficientAllocation: bigint | number; /** u32 */ LevelOfEfficiency: number; } @@ -1520,12 +1520,12 @@ export class D3DMEMORYPRESSUREView { } // 0x00: u64 - get BytesEvictedFromProcess(): Deno.PointerValue { + get BytesEvictedFromProcess(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeOfInefficientAllocation(): Deno.PointerValue { + get SizeOfInefficientAllocation(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1537,12 +1537,12 @@ export class D3DMEMORYPRESSUREView { // 0x14: pad4 // 0x00: u64 - set BytesEvictedFromProcess(value: Deno.PointerValue) { + set BytesEvictedFromProcess(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeOfInefficientAllocation(value: Deno.PointerValue) { + set SizeOfInefficientAllocation(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1696,7 +1696,7 @@ export class D3D_OMACView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type HRESULT = number; @@ -1817,7 +1817,7 @@ export interface D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUT { /** u32 */ OutputIDIndex: number; /** u64 */ - OutputID: Deno.PointerValue; + OutputID: bigint | number; } export const sizeofD3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUT = 40; @@ -1875,7 +1875,7 @@ export class D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - get OutputID(): Deno.PointerValue { + get OutputID(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1902,7 +1902,7 @@ export class D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUTView { // 0x1c: pad4 // 0x20: u64 - set OutputID(value: Deno.PointerValue) { + set OutputID(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -1912,9 +1912,9 @@ export class D3DAUTHENTICATEDCHANNEL_QUERYOUTPUTID_OUTPUTView { */ export interface D3DAES_CTR_IV { /** u64 */ - IV: Deno.PointerValue; + IV: bigint | number; /** u64 */ - Count: Deno.PointerValue; + Count: bigint | number; } export const sizeofD3DAES_CTR_IV = 16; @@ -1940,22 +1940,22 @@ export class D3DAES_CTR_IVView { } // 0x00: u64 - get IV(): Deno.PointerValue { + get IV(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Count(): Deno.PointerValue { + get Count(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set IV(value: Deno.PointerValue) { + set IV(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Count(value: Deno.PointerValue) { + set Count(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2872,7 +2872,7 @@ export class D3DDISPLAYMODEView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Graphics.Direct3D9.D3DDEVICE_CREATION_PARAMETERS (size: 24) diff --git a/api/Graphics/DirectComposition.ts b/api/Graphics/DirectComposition.ts index 06b860d..3d5b3c7 100644 --- a/api/Graphics/DirectComposition.ts +++ b/api/Graphics/DirectComposition.ts @@ -47,9 +47,9 @@ export const COMPOSITION_FRAME_ID_COMPLETED = 2; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -75,22 +75,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -169,7 +169,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -209,7 +209,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -224,7 +224,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -387,11 +387,11 @@ export class DCOMPOSITION_FRAME_STATISTICSView { */ export interface COMPOSITION_FRAME_STATS { /** u64 */ - startTime: Deno.PointerValue; + startTime: bigint | number; /** u64 */ - targetTime: Deno.PointerValue; + targetTime: bigint | number; /** u64 */ - framePeriod: Deno.PointerValue; + framePeriod: bigint | number; } export const sizeofCOMPOSITION_FRAME_STATS = 24; @@ -419,32 +419,32 @@ export class COMPOSITION_FRAME_STATSView { } // 0x00: u64 - get startTime(): Deno.PointerValue { + get startTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get targetTime(): Deno.PointerValue { + get targetTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get framePeriod(): Deno.PointerValue { + get framePeriod(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set startTime(value: Deno.PointerValue) { + set startTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set targetTime(value: Deno.PointerValue) { + set targetTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set framePeriod(value: Deno.PointerValue) { + set framePeriod(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -615,7 +615,7 @@ export interface COMPOSITION_STATS { /** u32 */ virtualRefreshCount: number; /** u64 */ - time: Deno.PointerValue; + time: bigint | number; } export const sizeofCOMPOSITION_STATS = 24; @@ -663,7 +663,7 @@ export class COMPOSITION_STATSView { // 0x0c: pad4 // 0x10: u64 - get time(): Deno.PointerValue { + get time(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -685,7 +685,7 @@ export class COMPOSITION_STATSView { // 0x0c: pad4 // 0x10: u64 - set time(value: Deno.PointerValue) { + set time(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -697,9 +697,9 @@ export interface COMPOSITION_TARGET_STATS { /** u32 */ outstandingPresents: number; /** u64 */ - presentTime: Deno.PointerValue; + presentTime: bigint | number; /** u64 */ - vblankDuration: Deno.PointerValue; + vblankDuration: bigint | number; /** Windows.Win32.Graphics.DirectComposition.COMPOSITION_STATS */ presentedStats: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.DirectComposition.COMPOSITION_STATS */ @@ -743,12 +743,12 @@ export class COMPOSITION_TARGET_STATSView { // 0x04: pad4 // 0x08: u64 - get presentTime(): Deno.PointerValue { + get presentTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get vblankDuration(): Deno.PointerValue { + get vblankDuration(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -772,12 +772,12 @@ export class COMPOSITION_TARGET_STATSView { // 0x04: pad4 // 0x08: u64 - set presentTime(value: Deno.PointerValue) { + set presentTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set vblankDuration(value: Deno.PointerValue) { + set vblankDuration(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -866,7 +866,7 @@ export class DCompositionInkTrailPointView { export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; export type BOOL = number; @@ -979,7 +979,7 @@ export function DCompositionGetFrameId( } export function DCompositionGetStatistics( - frameId: Deno.PointerValue /* u64 */, + frameId: bigint | number /* u64 */, frameStats: Deno.PointerValue | Uint8Array /* ptr */, targetIdCount: number /* u32 */, targetIds: Deno.PointerValue | Uint8Array /* ptr */, @@ -989,7 +989,7 @@ export function DCompositionGetStatistics( } export function DCompositionGetTargetStatistics( - frameId: Deno.PointerValue /* u64 */, + frameId: bigint | number /* u64 */, targetId: Deno.PointerValue | Uint8Array /* ptr */, targetStats: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { diff --git a/api/Graphics/DirectDraw.ts b/api/Graphics/DirectDraw.ts index 953f45a..d0230d0 100644 --- a/api/Graphics/DirectDraw.ts +++ b/api/Graphics/DirectDraw.ts @@ -1137,11 +1137,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -1193,7 +1193,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1204,7 +1204,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1240,7 +1240,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1251,7 +1251,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1288,7 +1288,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -1317,7 +1317,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1329,7 +1329,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2003,9 +2003,9 @@ export class DDOSCAPSView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2031,22 +2031,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6701,7 +6701,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -6741,7 +6741,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6756,7 +6756,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -7898,7 +7898,7 @@ export interface DDVIDEOPORTCONNECT { /** u32 */ dwFlags: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; } export const sizeofDDVIDEOPORTCONNECT = 32; @@ -7954,7 +7954,7 @@ export class DDVIDEOPORTCONNECTView { // 0x14: pad4 // 0x18: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -7981,7 +7981,7 @@ export class DDVIDEOPORTCONNECTView { // 0x14: pad4 // 0x18: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -8300,9 +8300,9 @@ export interface DDVIDEOPORTDESC { /** Windows.Win32.Graphics.DirectDraw.DDVIDEOPORTCONNECT */ VideoPortType: Uint8Array | Deno.PointerValue; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; /** usize */ - dwReserved3: Deno.PointerValue; + dwReserved3: bigint | number; } export const sizeofDDVIDEOPORTDESC = 56; @@ -8392,12 +8392,12 @@ export class DDVIDEOPORTDESCView { } // 0x28: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get dwReserved3(): Deno.PointerValue { + get dwReserved3(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -8447,12 +8447,12 @@ export class DDVIDEOPORTDESCView { } // 0x28: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set dwReserved3(value: Deno.PointerValue) { + set dwReserved3(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -8565,9 +8565,9 @@ export interface DDVIDEOPORTINFO { /** u32 */ dwVBIHeight: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; } export const sizeofDDVIDEOPORTINFO = 80; @@ -8677,12 +8677,12 @@ export class DDVIDEOPORTINFOView { // 0x3c: pad4 // 0x40: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -8744,12 +8744,12 @@ export class DDVIDEOPORTINFOView { // 0x3c: pad4 // 0x40: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } } @@ -8771,9 +8771,9 @@ export interface DDVIDEOPORTBANDWIDTH { /** u32 */ dwYInterpAndColorkey: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; } export const sizeofDDVIDEOPORTBANDWIDTH = 40; @@ -8841,12 +8841,12 @@ export class DDVIDEOPORTBANDWIDTHView { } // 0x18: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -8881,12 +8881,12 @@ export class DDVIDEOPORTBANDWIDTHView { } // 0x18: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -8908,9 +8908,9 @@ export interface DDVIDEOPORTSTATUS { /** Windows.Win32.Graphics.DirectDraw.DDVIDEOPORTCONNECT */ VideoPortType: Uint8Array | Deno.PointerValue; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; /** usize */ - dwReserved3: Deno.PointerValue; + dwReserved3: bigint | number; } export const sizeofDDVIDEOPORTSTATUS = 40; @@ -8972,12 +8972,12 @@ export class DDVIDEOPORTSTATUSView { } // 0x18: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dwReserved3(): Deno.PointerValue { + get dwReserved3(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -9007,12 +9007,12 @@ export class DDVIDEOPORTSTATUSView { } // 0x18: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dwReserved3(value: Deno.PointerValue) { + set dwReserved3(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -9406,7 +9406,7 @@ export type HRESULT = number; */ export interface DD_GETHEAPALIGNMENTDATA { /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** u32 */ dwHeap: number; /** Windows.Win32.Foundation.HRESULT */ @@ -9447,7 +9447,7 @@ export class DD_GETHEAPALIGNMENTDATAView { } // 0x00: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9477,7 +9477,7 @@ export class DD_GETHEAPALIGNMENTDATAView { } // 0x00: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9511,7 +9511,7 @@ export interface VMEML { /** ptr */ next: Deno.PointerValue | Uint8Array; /** usize */ - ptr: Deno.PointerValue; + ptr: bigint | number; /** u32 */ size: number; /** Windows.Win32.Foundation.BOOL */ @@ -9551,7 +9551,7 @@ export class VMEMLView { } // 0x08: usize - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9571,7 +9571,7 @@ export class VMEMLView { } // 0x08: usize - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -9603,7 +9603,7 @@ export interface VMEMR { /** ptr */ pRight: Deno.PointerValue | Uint8Array; /** usize */ - ptr: Deno.PointerValue; + ptr: bigint | number; /** u32 */ size: number; /** u32 */ @@ -9617,7 +9617,7 @@ export interface VMEMR { /** u32 */ flags: number; /** usize */ - pBits: Deno.PointerValue; + pBits: bigint | number; /** Windows.Win32.Foundation.BOOL */ bDiscardable: boolean; } @@ -9708,7 +9708,7 @@ export class VMEMRView { } // 0x30: usize - get ptr(): Deno.PointerValue { + get ptr(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -9743,7 +9743,7 @@ export class VMEMRView { } // 0x50: usize - get pBits(): Deno.PointerValue { + get pBits(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -9785,7 +9785,7 @@ export class VMEMRView { } // 0x30: usize - set ptr(value: Deno.PointerValue) { + set ptr(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -9820,7 +9820,7 @@ export class VMEMRView { } // 0x50: usize - set pBits(value: Deno.PointerValue) { + set pBits(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -9832,7 +9832,7 @@ export class VMEMRView { // 0x5c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Graphics.DirectDraw.VMEMHEAP (size: 120) @@ -9849,9 +9849,9 @@ export interface VMEMHEAP { /** u32 */ dwTotalSize: number; /** usize */ - fpGARTLin: Deno.PointerValue; + fpGARTLin: bigint | number; /** usize */ - fpGARTDev: Deno.PointerValue; + fpGARTDev: bigint | number; /** u32 */ dwCommitedSize: number; /** u32 */ @@ -9958,12 +9958,12 @@ export class VMEMHEAPView { // 0x1c: pad4 // 0x20: usize - get fpGARTLin(): Deno.PointerValue { + get fpGARTLin(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get fpGARTDev(): Deno.PointerValue { + get fpGARTDev(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -10054,12 +10054,12 @@ export class VMEMHEAPView { // 0x1c: pad4 // 0x20: usize - set fpGARTLin(value: Deno.PointerValue) { + set fpGARTLin(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set fpGARTDev(value: Deno.PointerValue) { + set fpGARTDev(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -10487,9 +10487,9 @@ export interface DDVERSIONDATA { /** u32 */ dwHALVersion: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; } export const sizeofDDVERSIONDATA = 24; @@ -10525,12 +10525,12 @@ export class DDVERSIONDATAView { // 0x04: pad4 // 0x08: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10542,12 +10542,12 @@ export class DDVERSIONDATAView { // 0x04: pad4 // 0x08: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -10559,7 +10559,7 @@ export interface VIDMEM { /** u32 */ dwFlags: number; /** usize */ - fpStart: Deno.PointerValue; + fpStart: bigint | number; /** _Anonymous1_e__Union */ Anonymous1: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.DirectDraw.DDSCAPS */ @@ -10609,7 +10609,7 @@ export class VIDMEMView { // 0x04: pad4 // 0x08: usize - get fpStart(): Deno.PointerValue { + get fpStart(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10645,7 +10645,7 @@ export class VIDMEMView { // 0x04: pad4 // 0x08: usize - set fpStart(value: Deno.PointerValue) { + set fpStart(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10675,7 +10675,7 @@ export class VIDMEMView { */ export interface VIDMEMINFO { /** usize */ - fpPrimary: Deno.PointerValue; + fpPrimary: bigint | number; /** u32 */ dwFlags: number; /** u32 */ @@ -10747,7 +10747,7 @@ export class VIDMEMINFOView { } // 0x00: usize - get fpPrimary(): Deno.PointerValue { + get fpPrimary(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10814,7 +10814,7 @@ export class VIDMEMINFOView { } // 0x00: usize - set fpPrimary(value: Deno.PointerValue) { + set fpPrimary(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10884,7 +10884,7 @@ export class VIDMEMINFOView { */ export interface HEAPALIAS { /** usize */ - fpVidMem: Deno.PointerValue; + fpVidMem: bigint | number; /** ptr */ lpAlias: Deno.PointerValue | Uint8Array; /** u32 */ @@ -10917,7 +10917,7 @@ export class HEAPALIASView { } // 0x00: usize - get fpVidMem(): Deno.PointerValue { + get fpVidMem(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10935,7 +10935,7 @@ export class HEAPALIASView { // 0x14: pad4 // 0x00: usize - set fpVidMem(value: Deno.PointerValue) { + set fpVidMem(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13228,7 +13228,7 @@ export interface DDRAWI_DDRAWPALETTE_LCL { /** ptr */ lpGbl: Deno.PointerValue | Uint8Array; /** usize */ - dwUnused0: Deno.PointerValue; + dwUnused0: bigint | number; /** u32 */ dwLocalRefCnt: number; /** Windows.Win32.System.Com.IUnknown */ @@ -13236,13 +13236,13 @@ export interface DDRAWI_DDRAWPALETTE_LCL { /** ptr */ lpDD_lcl: Deno.PointerValue | Uint8Array; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwDDRAWReserved1: Deno.PointerValue; + dwDDRAWReserved1: bigint | number; /** usize */ - dwDDRAWReserved2: Deno.PointerValue; + dwDDRAWReserved2: bigint | number; /** usize */ - dwDDRAWReserved3: Deno.PointerValue; + dwDDRAWReserved3: bigint | number; } export const sizeofDDRAWI_DDRAWPALETTE_LCL = 80; @@ -13299,7 +13299,7 @@ export class DDRAWI_DDRAWPALETTE_LCLView { } // 0x10: usize - get dwUnused0(): Deno.PointerValue { + get dwUnused0(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -13323,22 +13323,22 @@ export class DDRAWI_DDRAWPALETTE_LCLView { } // 0x30: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get dwDDRAWReserved1(): Deno.PointerValue { + get dwDDRAWReserved1(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get dwDDRAWReserved2(): Deno.PointerValue { + get dwDDRAWReserved2(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get dwDDRAWReserved3(): Deno.PointerValue { + get dwDDRAWReserved3(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -13355,7 +13355,7 @@ export class DDRAWI_DDRAWPALETTE_LCLView { } // 0x10: usize - set dwUnused0(value: Deno.PointerValue) { + set dwUnused0(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -13377,22 +13377,22 @@ export class DDRAWI_DDRAWPALETTE_LCLView { } // 0x30: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set dwDDRAWReserved1(value: Deno.PointerValue) { + set dwDDRAWReserved1(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set dwDDRAWReserved2(value: Deno.PointerValue) { + set dwDDRAWReserved2(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set dwDDRAWReserved3(value: Deno.PointerValue) { + set dwDDRAWReserved3(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } } @@ -13499,9 +13499,9 @@ export interface DDRAWI_DDRAWCLIPPER_GBL { /** u32 */ dwProcessId: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - hWnd: Deno.PointerValue; + hWnd: bigint | number; /** ptr */ lpStaticClipList: Deno.PointerValue | Uint8Array; } @@ -13563,12 +13563,12 @@ export class DDRAWI_DDRAWCLIPPER_GBLView { // 0x14: pad4 // 0x18: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get hWnd(): Deno.PointerValue { + get hWnd(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -13601,12 +13601,12 @@ export class DDRAWI_DDRAWCLIPPER_GBLView { // 0x14: pad4 // 0x18: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set hWnd(value: Deno.PointerValue) { + set hWnd(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -13633,7 +13633,7 @@ export interface DDRAWI_DDRAWCLIPPER_LCL { /** ptr */ lpDD_int: Deno.PointerValue | Uint8Array; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** Windows.Win32.System.Com.IUnknown */ pAddrefedThisOwner: Uint8Array | Deno.PointerValue; } @@ -13713,7 +13713,7 @@ export class DDRAWI_DDRAWCLIPPER_LCLView { } // 0x30: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -13758,7 +13758,7 @@ export class DDRAWI_DDRAWCLIPPER_LCLView { } // 0x30: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -14165,7 +14165,7 @@ export interface DDRAWI_DDRAWSURFACE_GBL { /** _Anonymous3_e__Union */ Anonymous3: Uint8Array | Deno.PointerValue; /** usize */ - fpVidMem: Deno.PointerValue; + fpVidMem: bigint | number; /** _Anonymous4_e__Union */ Anonymous4: Uint8Array | Deno.PointerValue; /** u16 */ @@ -14175,7 +14175,7 @@ export interface DDRAWI_DDRAWSURFACE_GBL { /** u32 */ dwUsageCount: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** Windows.Win32.Graphics.DirectDraw.DDPIXELFORMAT */ ddpfSurface: Uint8Array | Deno.PointerValue; } @@ -14251,7 +14251,7 @@ export class DDRAWI_DDRAWSURFACE_GBLView { } // 0x20: usize - get fpVidMem(): Deno.PointerValue { + get fpVidMem(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -14277,7 +14277,7 @@ export class DDRAWI_DDRAWSURFACE_GBLView { } // 0x38: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -14313,7 +14313,7 @@ export class DDRAWI_DDRAWSURFACE_GBLView { } // 0x20: usize - set fpVidMem(value: Deno.PointerValue) { + set fpVidMem(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -14338,7 +14338,7 @@ export class DDRAWI_DDRAWSURFACE_GBLView { } // 0x38: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -14361,23 +14361,23 @@ export interface DDRAWI_DDRAWSURFACE_GBL_MORE { /** u32 */ cPages: number; /** usize */ - dwSavedDCContext: Deno.PointerValue; + dwSavedDCContext: bigint | number; /** usize */ - fpAliasedVidMem: Deno.PointerValue; + fpAliasedVidMem: bigint | number; /** usize */ - dwDriverReserved: Deno.PointerValue; + dwDriverReserved: bigint | number; /** usize */ - dwHELReserved: Deno.PointerValue; + dwHELReserved: bigint | number; /** u32 */ cPageUnlocks: number; /** usize */ - hKernelSurface: Deno.PointerValue; + hKernelSurface: bigint | number; /** u32 */ dwKernelRefCnt: number; /** ptr */ lpColorInfo: Deno.PointerValue | Uint8Array; /** usize */ - fpNTAlias: Deno.PointerValue; + fpNTAlias: bigint | number; /** u32 */ dwContentsStamp: number; /** ptr */ @@ -14389,7 +14389,7 @@ export interface DDRAWI_DDRAWSURFACE_GBL_MORE { /** u32 */ dwDDRAWReserved2: number; /** usize */ - fpAliasOfVidMem: Deno.PointerValue; + fpAliasOfVidMem: bigint | number; } export const sizeofDDRAWI_DDRAWSURFACE_GBL_MORE = 144; @@ -14480,22 +14480,22 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { // 0x1c: pad4 // 0x20: usize - get dwSavedDCContext(): Deno.PointerValue { + get dwSavedDCContext(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get fpAliasedVidMem(): Deno.PointerValue { + get fpAliasedVidMem(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get dwDriverReserved(): Deno.PointerValue { + get dwDriverReserved(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get dwHELReserved(): Deno.PointerValue { + get dwHELReserved(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -14507,7 +14507,7 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { // 0x44: pad4 // 0x48: usize - get hKernelSurface(): Deno.PointerValue { + get hKernelSurface(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -14525,7 +14525,7 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { } // 0x60: usize - get fpNTAlias(): Deno.PointerValue { + get fpNTAlias(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -14559,7 +14559,7 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { } // 0x88: usize - get fpAliasOfVidMem(): Deno.PointerValue { + get fpAliasOfVidMem(): bigint | number { return Number(this.view.getBigUint64(136, true)); } @@ -14588,22 +14588,22 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { // 0x1c: pad4 // 0x20: usize - set dwSavedDCContext(value: Deno.PointerValue) { + set dwSavedDCContext(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set fpAliasedVidMem(value: Deno.PointerValue) { + set fpAliasedVidMem(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set dwDriverReserved(value: Deno.PointerValue) { + set dwDriverReserved(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set dwHELReserved(value: Deno.PointerValue) { + set dwHELReserved(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -14615,7 +14615,7 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { // 0x44: pad4 // 0x48: usize - set hKernelSurface(value: Deno.PointerValue) { + set hKernelSurface(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -14632,7 +14632,7 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { } // 0x60: usize - set fpNTAlias(value: Deno.PointerValue) { + set fpNTAlias(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } @@ -14664,7 +14664,7 @@ export class DDRAWI_DDRAWSURFACE_GBL_MOREView { } // 0x88: usize - set fpAliasOfVidMem(value: Deno.PointerValue) { + set fpAliasOfVidMem(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } } @@ -15198,7 +15198,7 @@ export interface DDRAWI_DDRAWSURFACE_LCL { /** ptr */ lpGbl: Deno.PointerValue | Uint8Array; /** usize */ - hDDSurface: Deno.PointerValue; + hDDSurface: bigint | number; /** ptr */ lpAttachList: Deno.PointerValue | Uint8Array; /** ptr */ @@ -15224,9 +15224,9 @@ export interface DDRAWI_DDRAWSURFACE_LCL { /** Windows.Win32.Graphics.DirectDraw.DDCOLORKEY */ ddckCKSrcBlt: Uint8Array | Deno.PointerValue; /** usize */ - hDC: Deno.PointerValue; + hDC: bigint | number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** Windows.Win32.Graphics.DirectDraw.DDCOLORKEY */ ddckCKSrcOverlay: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.DirectDraw.DDCOLORKEY */ @@ -15335,7 +15335,7 @@ export class DDRAWI_DDRAWSURFACE_LCLView { } // 0x10: usize - get hDDSurface(): Deno.PointerValue { + get hDDSurface(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -15409,12 +15409,12 @@ export class DDRAWI_DDRAWSURFACE_LCLView { } // 0x68: usize - get hDC(): Deno.PointerValue { + get hDC(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(112, true)); } @@ -15485,7 +15485,7 @@ export class DDRAWI_DDRAWSURFACE_LCLView { } // 0x10: usize - set hDDSurface(value: Deno.PointerValue) { + set hDDSurface(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -15552,12 +15552,12 @@ export class DDRAWI_DDRAWSURFACE_LCLView { } // 0x68: usize - set hDC(value: Deno.PointerValue) { + set hDC(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } @@ -16999,7 +16999,7 @@ export interface DDRAWI_DIRECTDRAW_GBL { /** u32 */ dwFlags: number; /** usize */ - fpPrimaryOrig: Deno.PointerValue; + fpPrimaryOrig: bigint | number; /** Windows.Win32.Graphics.DirectDraw.DDCORECAPS */ ddCaps: Uint8Array | Deno.PointerValue; /** u32 */ @@ -17055,9 +17055,9 @@ export interface DDRAWI_DIRECTDRAW_GBL { /** u32 */ dwAliasedLockCnt: number; /** usize */ - dwReserved3: Deno.PointerValue; + dwReserved3: bigint | number; /** usize */ - hDD: Deno.PointerValue; + hDD: bigint | number; /** array */ cObsolete: Deno.PointerValue; /** u32 */ @@ -17081,9 +17081,9 @@ export interface DDRAWI_DIRECTDRAW_GBL { /** u32 */ dwSaveNumModes: number; /** usize */ - lpD3DGlobalDriverData: Deno.PointerValue; + lpD3DGlobalDriverData: bigint | number; /** usize */ - lpD3DHALCallbacks: Deno.PointerValue; + lpD3DHALCallbacks: bigint | number; /** Windows.Win32.Graphics.DirectDraw.DDCORECAPS */ ddBothCaps: Uint8Array | Deno.PointerValue; /** ptr */ @@ -17091,7 +17091,7 @@ export interface DDRAWI_DIRECTDRAW_GBL { /** ptr */ dvpList: Deno.PointerValue | Uint8Array; /** usize */ - lpD3DHALCallbacks2: Deno.PointerValue; + lpD3DHALCallbacks2: bigint | number; /** Windows.Win32.Foundation.RECT */ rectDevice: Uint8Array | Deno.PointerValue; /** u32 */ @@ -17103,9 +17103,9 @@ export interface DDRAWI_DIRECTDRAW_GBL { /** ptr */ phaiHeapAliases: Deno.PointerValue | Uint8Array; /** usize */ - hKernelHandle: Deno.PointerValue; + hKernelHandle: bigint | number; /** usize */ - pfnNotifyProc: Deno.PointerValue; + pfnNotifyProc: bigint | number; /** ptr */ lpDDKernelCaps: Deno.PointerValue | Uint8Array; /** ptr */ @@ -17115,7 +17115,7 @@ export interface DDRAWI_DIRECTDRAW_GBL { /** ptr */ lpddNLVBothCaps: Deno.PointerValue | Uint8Array; /** usize */ - lpD3DExtendedCaps: Deno.PointerValue; + lpD3DExtendedCaps: bigint | number; /** u32 */ dwDOSBoxEvent: number; /** Windows.Win32.Foundation.RECT */ @@ -17123,7 +17123,7 @@ export interface DDRAWI_DIRECTDRAW_GBL { /** array */ cDriverName: Deno.PointerValue; /** usize */ - lpD3DHALCallbacks3: Deno.PointerValue; + lpD3DHALCallbacks3: bigint | number; /** u32 */ dwNumZPixelFormats: number; /** ptr */ @@ -17313,7 +17313,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x08: usize - get fpPrimaryOrig(): Deno.PointerValue { + get fpPrimaryOrig(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17478,12 +17478,12 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0xd0: usize - get dwReserved3(): Deno.PointerValue { + get dwReserved3(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: usize - get hDD(): Deno.PointerValue { + get hDD(): bigint | number { return Number(this.view.getBigUint64(216, true)); } @@ -17546,12 +17546,12 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x118: usize - get lpD3DGlobalDriverData(): Deno.PointerValue { + get lpD3DGlobalDriverData(): bigint | number { return Number(this.view.getBigUint64(280, true)); } // 0x120: usize - get lpD3DHALCallbacks(): Deno.PointerValue { + get lpD3DHALCallbacks(): bigint | number { return Number(this.view.getBigUint64(288, true)); } @@ -17574,7 +17574,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x140: usize - get lpD3DHALCallbacks2(): Deno.PointerValue { + get lpD3DHALCallbacks2(): bigint | number { return Number(this.view.getBigUint64(320, true)); } @@ -17610,12 +17610,12 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x170: usize - get hKernelHandle(): Deno.PointerValue { + get hKernelHandle(): bigint | number { return Number(this.view.getBigUint64(368, true)); } // 0x178: usize - get pfnNotifyProc(): Deno.PointerValue { + get pfnNotifyProc(): bigint | number { return Number(this.view.getBigUint64(376, true)); } @@ -17644,7 +17644,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x1a0: usize - get lpD3DExtendedCaps(): Deno.PointerValue { + get lpD3DExtendedCaps(): bigint | number { return Number(this.view.getBigUint64(416, true)); } @@ -17668,7 +17668,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x1c0: usize - get lpD3DHALCallbacks3(): Deno.PointerValue { + get lpD3DHALCallbacks3(): bigint | number { return Number(this.view.getBigUint64(448, true)); } @@ -17715,7 +17715,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x08: usize - set fpPrimaryOrig(value: Deno.PointerValue) { + set fpPrimaryOrig(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -17863,12 +17863,12 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0xd0: usize - set dwReserved3(value: Deno.PointerValue) { + set dwReserved3(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: usize - set hDD(value: Deno.PointerValue) { + set hDD(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } @@ -17928,12 +17928,12 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x118: usize - set lpD3DGlobalDriverData(value: Deno.PointerValue) { + set lpD3DGlobalDriverData(value: bigint | number) { this.view.setBigUint64(280, BigInt(value), true); } // 0x120: usize - set lpD3DHALCallbacks(value: Deno.PointerValue) { + set lpD3DHALCallbacks(value: bigint | number) { this.view.setBigUint64(288, BigInt(value), true); } @@ -17953,7 +17953,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x140: usize - set lpD3DHALCallbacks2(value: Deno.PointerValue) { + set lpD3DHALCallbacks2(value: bigint | number) { this.view.setBigUint64(320, BigInt(value), true); } @@ -17985,12 +17985,12 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x170: usize - set hKernelHandle(value: Deno.PointerValue) { + set hKernelHandle(value: bigint | number) { this.view.setBigUint64(368, BigInt(value), true); } // 0x178: usize - set pfnNotifyProc(value: Deno.PointerValue) { + set pfnNotifyProc(value: bigint | number) { this.view.setBigUint64(376, BigInt(value), true); } @@ -18015,7 +18015,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x1a0: usize - set lpD3DExtendedCaps(value: Deno.PointerValue) { + set lpD3DExtendedCaps(value: bigint | number) { this.view.setBigUint64(416, BigInt(value), true); } @@ -18037,7 +18037,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } // 0x1c0: usize - set lpD3DHALCallbacks3(value: Deno.PointerValue) { + set lpD3DHALCallbacks3(value: bigint | number) { this.view.setBigUint64(448, BigInt(value), true); } @@ -18071,7 +18071,7 @@ export class DDRAWI_DIRECTDRAW_GBLView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Graphics.DirectDraw.DDRAWI_DIRECTDRAW_LCL (size: 184) @@ -18094,9 +18094,9 @@ export interface DDRAWI_DIRECTDRAW_LCL { /** u32 */ dwObsolete1: number; /** usize */ - hWnd: Deno.PointerValue; + hWnd: bigint | number; /** usize */ - hDC: Deno.PointerValue; + hDC: bigint | number; /** u32 */ dwErrorMode: number; /** ptr */ @@ -18112,21 +18112,21 @@ export interface DDRAWI_DIRECTDRAW_LCL { /** ptr */ lpDDCB: Deno.PointerValue | Uint8Array; /** usize */ - hDDVxd: Deno.PointerValue; + hDDVxd: bigint | number; /** u32 */ dwAppHackFlags: number; /** usize */ - hFocusWnd: Deno.PointerValue; + hFocusWnd: bigint | number; /** u32 */ dwHotTracking: number; /** u32 */ dwIMEState: number; /** usize */ - hWndPopup: Deno.PointerValue; + hWndPopup: bigint | number; /** usize */ - hDD: Deno.PointerValue; + hDD: bigint | number; /** usize */ - hGammaCalibrator: Deno.PointerValue; + hGammaCalibrator: bigint | number; /** Windows.Win32.Graphics.DirectDraw.LPDDGAMMACALIBRATORPROC */ lpGammaCalibrator: Uint8Array | Deno.PointerValue; } @@ -18253,12 +18253,12 @@ export class DDRAWI_DIRECTDRAW_LCLView { // 0x2c: pad4 // 0x30: usize - get hWnd(): Deno.PointerValue { + get hWnd(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get hDC(): Deno.PointerValue { + get hDC(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -18307,7 +18307,7 @@ export class DDRAWI_DIRECTDRAW_LCLView { } // 0x78: usize - get hDDVxd(): Deno.PointerValue { + get hDDVxd(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -18319,7 +18319,7 @@ export class DDRAWI_DIRECTDRAW_LCLView { // 0x84: pad4 // 0x88: usize - get hFocusWnd(): Deno.PointerValue { + get hFocusWnd(): bigint | number { return Number(this.view.getBigUint64(136, true)); } @@ -18334,17 +18334,17 @@ export class DDRAWI_DIRECTDRAW_LCLView { } // 0x98: usize - get hWndPopup(): Deno.PointerValue { + get hWndPopup(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: usize - get hDD(): Deno.PointerValue { + get hDD(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: usize - get hGammaCalibrator(): Deno.PointerValue { + get hGammaCalibrator(): bigint | number { return Number(this.view.getBigUint64(168, true)); } @@ -18399,12 +18399,12 @@ export class DDRAWI_DIRECTDRAW_LCLView { // 0x2c: pad4 // 0x30: usize - set hWnd(value: Deno.PointerValue) { + set hWnd(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set hDC(value: Deno.PointerValue) { + set hDC(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -18448,7 +18448,7 @@ export class DDRAWI_DIRECTDRAW_LCLView { } // 0x78: usize - set hDDVxd(value: Deno.PointerValue) { + set hDDVxd(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -18460,7 +18460,7 @@ export class DDRAWI_DIRECTDRAW_LCLView { // 0x84: pad4 // 0x88: usize - set hFocusWnd(value: Deno.PointerValue) { + set hFocusWnd(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } @@ -18475,17 +18475,17 @@ export class DDRAWI_DIRECTDRAW_LCLView { } // 0x98: usize - set hWndPopup(value: Deno.PointerValue) { + set hWndPopup(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: usize - set hDD(value: Deno.PointerValue) { + set hDD(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: usize - set hGammaCalibrator(value: Deno.PointerValue) { + set hGammaCalibrator(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } @@ -18620,11 +18620,11 @@ export interface DDRAWI_DDVIDEOPORT_LCL { /** u32 */ dwRefCnt: number; /** usize */ - fpLastFlip: Deno.PointerValue; + fpLastFlip: bigint | number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; /** Windows.Win32.Foundation.HANDLE */ hDDVideoPort: Uint8Array | Deno.PointerValue; /** u32 */ @@ -18772,17 +18772,17 @@ export class DDRAWI_DDVIDEOPORT_LCLView { // 0x44: pad4 // 0x48: usize - get fpLastFlip(): Deno.PointerValue { + get fpLastFlip(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -18894,17 +18894,17 @@ export class DDRAWI_DDVIDEOPORT_LCLView { // 0x44: pad4 // 0x48: usize - set fpLastFlip(value: Deno.PointerValue) { + set fpLastFlip(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -19329,9 +19329,9 @@ export interface DDHALINFO { /** u32 */ hInstance: number; /** usize */ - lpD3DGlobalDriverData: Deno.PointerValue; + lpD3DGlobalDriverData: bigint | number; /** usize */ - lpD3DHALCallbacks: Deno.PointerValue; + lpD3DHALCallbacks: bigint | number; /** ptr */ lpDDExeBufCallbacks: Deno.PointerValue | Uint8Array; } @@ -19493,12 +19493,12 @@ export class DDHALINFOView { // 0x74: pad4 // 0x78: usize - get lpD3DGlobalDriverData(): Deno.PointerValue { + get lpD3DGlobalDriverData(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: usize - get lpD3DHALCallbacks(): Deno.PointerValue { + get lpD3DHALCallbacks(): bigint | number { return Number(this.view.getBigUint64(128, true)); } @@ -19596,12 +19596,12 @@ export class DDHALINFOView { // 0x74: pad4 // 0x78: usize - set lpD3DGlobalDriverData(value: Deno.PointerValue) { + set lpD3DGlobalDriverData(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: usize - set lpD3DHALCallbacks(value: Deno.PointerValue) { + set lpD3DHALCallbacks(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } @@ -21998,7 +21998,7 @@ export interface DDHAL_WAITFORVERTICALBLANKDATA { /** u32 */ bIsInVB: number; /** usize */ - hEvent: Deno.PointerValue; + hEvent: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.DirectDraw.LPDDHAL_WAITFORVERTICALBLANK */ @@ -22052,7 +22052,7 @@ export class DDHAL_WAITFORVERTICALBLANKDATAView { } // 0x10: usize - get hEvent(): Deno.PointerValue { + get hEvent(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -22084,7 +22084,7 @@ export class DDHAL_WAITFORVERTICALBLANKDATAView { } // 0x10: usize - set hEvent(value: Deno.PointerValue) { + set hEvent(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -23851,7 +23851,7 @@ export interface DDHAL_GETVPORTFLIPSTATUSDATA { /** ptr */ lpDD: Deno.PointerValue | Uint8Array; /** usize */ - fpSurface: Deno.PointerValue; + fpSurface: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.DirectDraw.LPDDHALVPORTCB_GETFLIPSTATUS */ @@ -23891,7 +23891,7 @@ export class DDHAL_GETVPORTFLIPSTATUSDATAView { } // 0x08: usize - get fpSurface(): Deno.PointerValue { + get fpSurface(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23913,7 +23913,7 @@ export class DDHAL_GETVPORTFLIPSTATUSDATAView { } // 0x08: usize - set fpSurface(value: Deno.PointerValue) { + set fpSurface(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -24598,7 +24598,7 @@ export interface DDHAL_GETDRIVERINFODATA { /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; /** usize */ - dwContext: Deno.PointerValue; + dwContext: bigint | number; } export const sizeofDDHAL_GETDRIVERINFODATA = 56; @@ -24680,7 +24680,7 @@ export class DDHAL_GETDRIVERINFODATAView { } // 0x30: usize - get dwContext(): Deno.PointerValue { + get dwContext(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -24724,7 +24724,7 @@ export class DDHAL_GETDRIVERINFODATAView { } // 0x30: usize - set dwContext(value: Deno.PointerValue) { + set dwContext(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -24866,11 +24866,11 @@ export interface DDHAL_UPDATENONLOCALHEAPDATA { /** u32 */ dwHeap: number; /** usize */ - fpGARTLin: Deno.PointerValue; + fpGARTLin: bigint | number; /** usize */ - fpGARTDev: Deno.PointerValue; + fpGARTDev: bigint | number; /** usize */ - ulPolicyMaxBytes: Deno.PointerValue; + ulPolicyMaxBytes: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.DirectDraw.LPDDHAL_UPDATENONLOCALHEAP */ @@ -24924,17 +24924,17 @@ export class DDHAL_UPDATENONLOCALHEAPDATAView { // 0x0c: pad4 // 0x10: usize - get fpGARTLin(): Deno.PointerValue { + get fpGARTLin(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get fpGARTDev(): Deno.PointerValue { + get fpGARTDev(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get ulPolicyMaxBytes(): Deno.PointerValue { + get ulPolicyMaxBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -24963,17 +24963,17 @@ export class DDHAL_UPDATENONLOCALHEAPDATAView { // 0x0c: pad4 // 0x10: usize - set fpGARTLin(value: Deno.PointerValue) { + set fpGARTLin(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set fpGARTDev(value: Deno.PointerValue) { + set fpGARTDev(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set ulPolicyMaxBytes(value: Deno.PointerValue) { + set ulPolicyMaxBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -24993,7 +24993,7 @@ export class DDHAL_UPDATENONLOCALHEAPDATAView { */ export interface DDHAL_GETHEAPALIGNMENTDATA { /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** u32 */ dwHeap: number; /** Windows.Win32.Foundation.HRESULT */ @@ -25034,7 +25034,7 @@ export class DDHAL_GETHEAPALIGNMENTDATAView { } // 0x00: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -25064,7 +25064,7 @@ export class DDHAL_GETHEAPALIGNMENTDATAView { } // 0x00: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -25375,7 +25375,7 @@ export interface DDHAL_SYNCSURFACEDATA { /** u32 */ dwSurfaceOffset: number; /** usize */ - fpLockPtr: Deno.PointerValue; + fpLockPtr: bigint | number; /** i32 */ lPitch: number; /** u32 */ @@ -25389,11 +25389,11 @@ export interface DDHAL_SYNCSURFACEDATA { /** u32 */ dwOverlayDestHeight: number; /** usize */ - dwDriverReserved1: Deno.PointerValue; + dwDriverReserved1: bigint | number; /** usize */ - dwDriverReserved2: Deno.PointerValue; + dwDriverReserved2: bigint | number; /** usize */ - dwDriverReserved3: Deno.PointerValue; + dwDriverReserved3: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; } @@ -25475,7 +25475,7 @@ export class DDHAL_SYNCSURFACEDATAView { // 0x1c: pad4 // 0x20: usize - get fpLockPtr(): Deno.PointerValue { + get fpLockPtr(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -25510,17 +25510,17 @@ export class DDHAL_SYNCSURFACEDATAView { } // 0x40: usize - get dwDriverReserved1(): Deno.PointerValue { + get dwDriverReserved1(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get dwDriverReserved2(): Deno.PointerValue { + get dwDriverReserved2(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: usize - get dwDriverReserved3(): Deno.PointerValue { + get dwDriverReserved3(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -25555,7 +25555,7 @@ export class DDHAL_SYNCSURFACEDATAView { // 0x1c: pad4 // 0x20: usize - set fpLockPtr(value: Deno.PointerValue) { + set fpLockPtr(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -25590,17 +25590,17 @@ export class DDHAL_SYNCSURFACEDATAView { } // 0x40: usize - set dwDriverReserved1(value: Deno.PointerValue) { + set dwDriverReserved1(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set dwDriverReserved2(value: Deno.PointerValue) { + set dwDriverReserved2(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: usize - set dwDriverReserved3(value: Deno.PointerValue) { + set dwDriverReserved3(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -25627,11 +25627,11 @@ export interface DDHAL_SYNCVIDEOPORTDATA { /** u32 */ dwVBIHeight: number; /** usize */ - dwDriverReserved1: Deno.PointerValue; + dwDriverReserved1: bigint | number; /** usize */ - dwDriverReserved2: Deno.PointerValue; + dwDriverReserved2: bigint | number; /** usize */ - dwDriverReserved3: Deno.PointerValue; + dwDriverReserved3: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; } @@ -25713,17 +25713,17 @@ export class DDHAL_SYNCVIDEOPORTDATAView { // 0x24: pad4 // 0x28: usize - get dwDriverReserved1(): Deno.PointerValue { + get dwDriverReserved1(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get dwDriverReserved2(): Deno.PointerValue { + get dwDriverReserved2(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get dwDriverReserved3(): Deno.PointerValue { + get dwDriverReserved3(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -25768,17 +25768,17 @@ export class DDHAL_SYNCVIDEOPORTDATAView { // 0x24: pad4 // 0x28: usize - set dwDriverReserved1(value: Deno.PointerValue) { + set dwDriverReserved1(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set dwDriverReserved2(value: Deno.PointerValue) { + set dwDriverReserved2(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set dwDriverReserved3(value: Deno.PointerValue) { + set dwDriverReserved3(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -27433,7 +27433,7 @@ export interface VIDEOMEMORY { /** u32 */ dwFlags: number; /** usize */ - fpStart: Deno.PointerValue; + fpStart: bigint | number; /** _Anonymous1_e__Union */ Anonymous1: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.DirectDraw.DDSCAPS */ @@ -27483,7 +27483,7 @@ export class VIDEOMEMORYView { // 0x04: pad4 // 0x08: usize - get fpStart(): Deno.PointerValue { + get fpStart(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -27519,7 +27519,7 @@ export class VIDEOMEMORYView { // 0x04: pad4 // 0x08: usize - set fpStart(value: Deno.PointerValue) { + set fpStart(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -27549,7 +27549,7 @@ export class VIDEOMEMORYView { */ export interface VIDEOMEMORYINFO { /** usize */ - fpPrimary: Deno.PointerValue; + fpPrimary: bigint | number; /** u32 */ dwFlags: number; /** u32 */ @@ -27618,7 +27618,7 @@ export class VIDEOMEMORYINFOView { } // 0x00: usize - get fpPrimary(): Deno.PointerValue { + get fpPrimary(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -27682,7 +27682,7 @@ export class VIDEOMEMORYINFOView { } // 0x00: usize - set fpPrimary(value: Deno.PointerValue) { + set fpPrimary(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -29324,7 +29324,7 @@ export class DD_NONLOCALVIDMEMCAPSView { */ export interface DD_PALETTE_GLOBAL { /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; } export const sizeofDD_PALETTE_GLOBAL = 8; @@ -29348,12 +29348,12 @@ export class DD_PALETTE_GLOBALView { } // 0x00: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -29365,7 +29365,7 @@ export interface DD_PALETTE_LOCAL { /** u32 */ dwReserved0: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; } export const sizeofDD_PALETTE_LOCAL = 16; @@ -29399,7 +29399,7 @@ export class DD_PALETTE_LOCALView { // 0x04: pad4 // 0x08: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -29411,7 +29411,7 @@ export class DD_PALETTE_LOCALView { // 0x04: pad4 // 0x08: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -29421,7 +29421,7 @@ export class DD_PALETTE_LOCALView { */ export interface DD_CLIPPER_GLOBAL { /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; } export const sizeofDD_CLIPPER_GLOBAL = 8; @@ -29445,12 +29445,12 @@ export class DD_CLIPPER_GLOBALView { } // 0x00: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -29460,7 +29460,7 @@ export class DD_CLIPPER_GLOBALView { */ export interface DD_CLIPPER_LOCAL { /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; } export const sizeofDD_CLIPPER_LOCAL = 8; @@ -29484,12 +29484,12 @@ export class DD_CLIPPER_LOCALView { } // 0x00: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -29598,7 +29598,7 @@ export interface DD_SURFACE_GLOBAL { /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** usize */ - fpVidMem: Deno.PointerValue; + fpVidMem: bigint | number; /** _Anonymous3_e__Union */ Anonymous3: Uint8Array | Deno.PointerValue; /** i32 */ @@ -29610,11 +29610,11 @@ export interface DD_SURFACE_GLOBAL { /** u32 */ wWidth: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** Windows.Win32.Graphics.DirectDraw.DDPIXELFORMAT */ ddpfSurface: Uint8Array | Deno.PointerValue; /** usize */ - fpHeapOffset: Deno.PointerValue; + fpHeapOffset: bigint | number; /** Windows.Win32.Foundation.HANDLE */ hCreatorProcess: Uint8Array | Deno.PointerValue; } @@ -29674,7 +29674,7 @@ export class DD_SURFACE_GLOBALView { } // 0x10: usize - get fpVidMem(): Deno.PointerValue { + get fpVidMem(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -29705,7 +29705,7 @@ export class DD_SURFACE_GLOBALView { } // 0x30: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -29716,7 +29716,7 @@ export class DD_SURFACE_GLOBALView { } // 0x40: usize - get fpHeapOffset(): Deno.PointerValue { + get fpHeapOffset(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -29737,7 +29737,7 @@ export class DD_SURFACE_GLOBALView { } // 0x10: usize - set fpVidMem(value: Deno.PointerValue) { + set fpVidMem(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -29767,7 +29767,7 @@ export class DD_SURFACE_GLOBALView { } // 0x30: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -29777,7 +29777,7 @@ export class DD_SURFACE_GLOBALView { } // 0x40: usize - set fpHeapOffset(value: Deno.PointerValue) { + set fpHeapOffset(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -29910,7 +29910,7 @@ export interface DD_SURFACE_LOCAL { /** Windows.Win32.Graphics.DirectDraw.DDSCAPS */ ddsCaps: Uint8Array | Deno.PointerValue; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** _Anonymous1_e__Union */ Anonymous1: Uint8Array | Deno.PointerValue; /** _Anonymous2_e__Union */ @@ -29984,7 +29984,7 @@ export class DD_SURFACE_LOCALView { } // 0x18: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -30042,7 +30042,7 @@ export class DD_SURFACE_LOCALView { } // 0x18: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -31393,9 +31393,9 @@ export interface DD_DIRECTDRAW_GLOBAL { /** ptr */ dhpdev: Deno.PointerValue | Uint8Array; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; /** ptr */ lpDDVideoPortCaps: Deno.PointerValue | Uint8Array; } @@ -31433,12 +31433,12 @@ export class DD_DIRECTDRAW_GLOBALView { } // 0x08: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -31454,12 +31454,12 @@ export class DD_DIRECTDRAW_GLOBALView { } // 0x08: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -31528,11 +31528,11 @@ export interface DD_VIDEOPORT_LOCAL { /** u32 */ dwNumVBIAutoflip: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; /** usize */ - dwReserved3: Deno.PointerValue; + dwReserved3: bigint | number; } export const sizeofDD_VIDEOPORT_LOCAL = 72; @@ -31614,17 +31614,17 @@ export class DD_VIDEOPORT_LOCALView { } // 0x30: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get dwReserved3(): Deno.PointerValue { + get dwReserved3(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -31664,17 +31664,17 @@ export class DD_VIDEOPORT_LOCALView { } // 0x30: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set dwReserved3(value: Deno.PointerValue) { + set dwReserved3(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -32061,11 +32061,11 @@ export interface DD_UPDATENONLOCALHEAPDATA { /** u32 */ dwHeap: number; /** usize */ - fpGARTLin: Deno.PointerValue; + fpGARTLin: bigint | number; /** usize */ - fpGARTDev: Deno.PointerValue; + fpGARTDev: bigint | number; /** usize */ - ulPolicyMaxBytes: Deno.PointerValue; + ulPolicyMaxBytes: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; /** ptr */ @@ -32119,17 +32119,17 @@ export class DD_UPDATENONLOCALHEAPDATAView { // 0x0c: pad4 // 0x10: usize - get fpGARTLin(): Deno.PointerValue { + get fpGARTLin(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get fpGARTDev(): Deno.PointerValue { + get fpGARTDev(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get ulPolicyMaxBytes(): Deno.PointerValue { + get ulPolicyMaxBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -32158,17 +32158,17 @@ export class DD_UPDATENONLOCALHEAPDATAView { // 0x0c: pad4 // 0x10: usize - set fpGARTLin(value: Deno.PointerValue) { + set fpGARTLin(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set fpGARTDev(value: Deno.PointerValue) { + set fpGARTDev(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set ulPolicyMaxBytes(value: Deno.PointerValue) { + set ulPolicyMaxBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -32547,7 +32547,7 @@ export interface DD_LOCKDATA { /** u32 */ dwFlags: number; /** usize */ - fpProcess: Deno.PointerValue; + fpProcess: bigint | number; } export const sizeofDD_LOCKDATA = 72; @@ -32639,7 +32639,7 @@ export class DD_LOCKDATAView { // 0x3c: pad4 // 0x40: usize - get fpProcess(): Deno.PointerValue { + get fpProcess(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -32688,7 +32688,7 @@ export class DD_LOCKDATAView { // 0x3c: pad4 // 0x40: usize - set fpProcess(value: Deno.PointerValue) { + set fpProcess(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -34501,7 +34501,7 @@ export interface DD_WAITFORVERTICALBLANKDATA { /** u32 */ bIsInVB: number; /** usize */ - hEvent: Deno.PointerValue; + hEvent: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; /** ptr */ @@ -34555,7 +34555,7 @@ export class DD_WAITFORVERTICALBLANKDATAView { } // 0x10: usize - get hEvent(): Deno.PointerValue { + get hEvent(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -34587,7 +34587,7 @@ export class DD_WAITFORVERTICALBLANKDATAView { } // 0x10: usize - set hEvent(value: Deno.PointerValue) { + set hEvent(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -34806,7 +34806,7 @@ export interface DD_MAPMEMORYDATA { /** Windows.Win32.Foundation.HANDLE */ hProcess: Uint8Array | Deno.PointerValue; /** usize */ - fpProcess: Deno.PointerValue; + fpProcess: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; } @@ -34860,7 +34860,7 @@ export class DD_MAPMEMORYDATAView { } // 0x18: usize - get fpProcess(): Deno.PointerValue { + get fpProcess(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -34888,7 +34888,7 @@ export class DD_MAPMEMORYDATAView { } // 0x18: usize - set fpProcess(value: Deno.PointerValue) { + set fpProcess(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -36074,7 +36074,7 @@ export interface DD_GETVPORTFLIPSTATUSDATA { /** ptr */ lpDD: Deno.PointerValue | Uint8Array; /** usize */ - fpSurface: Deno.PointerValue; + fpSurface: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ddRVal: Uint8Array | Deno.PointerValue; /** ptr */ @@ -36114,7 +36114,7 @@ export class DD_GETVPORTFLIPSTATUSDATAView { } // 0x08: usize - get fpSurface(): Deno.PointerValue { + get fpSurface(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -36136,7 +36136,7 @@ export class DD_GETVPORTFLIPSTATUSDATAView { } // 0x08: usize - set fpSurface(value: Deno.PointerValue) { + set fpSurface(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -37358,7 +37358,7 @@ export interface DD_SYNCSURFACEDATA { /** u32 */ dwSurfaceOffset: number; /** usize */ - fpLockPtr: Deno.PointerValue; + fpLockPtr: bigint | number; /** i32 */ lPitch: number; /** u32 */ @@ -37436,7 +37436,7 @@ export class DD_SYNCSURFACEDATAView { // 0x14: pad4 // 0x18: usize - get fpLockPtr(): Deno.PointerValue { + get fpLockPtr(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -37494,7 +37494,7 @@ export class DD_SYNCSURFACEDATAView { // 0x14: pad4 // 0x18: usize - set fpLockPtr(value: Deno.PointerValue) { + set fpLockPtr(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -39602,7 +39602,7 @@ export interface DDSURFACEDATA { /** u32 */ dwSurfaceOffset: number; /** usize */ - fpLockPtr: Deno.PointerValue; + fpLockPtr: bigint | number; /** u32 */ dwWidth: number; /** u32 */ @@ -39720,7 +39720,7 @@ export class DDSURFACEDATAView { } // 0x08: usize - get fpLockPtr(): Deno.PointerValue { + get fpLockPtr(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -39835,7 +39835,7 @@ export class DDSURFACEDATAView { } // 0x08: usize - set fpLockPtr(value: Deno.PointerValue) { + set fpLockPtr(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -40519,7 +40519,7 @@ export class DDLOCKININFOView { */ export interface DDLOCKOUTINFO { /** usize */ - dwSurfacePtr: Deno.PointerValue; + dwSurfacePtr: bigint | number; } export const sizeofDDLOCKOUTINFO = 8; @@ -40543,12 +40543,12 @@ export class DDLOCKOUTINFOView { } // 0x00: usize - get dwSurfacePtr(): Deno.PointerValue { + get dwSurfacePtr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set dwSurfacePtr(value: Deno.PointerValue) { + set dwSurfacePtr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -40997,7 +40997,7 @@ export interface DDTRANSFERININFO { /** u32 */ dwEndLine: number; /** usize */ - dwTransferID: Deno.PointerValue; + dwTransferID: bigint | number; /** u32 */ dwTransferFlags: number; /** ptr */ @@ -41052,7 +41052,7 @@ export class DDTRANSFERININFOView { } // 0x10: usize - get dwTransferID(): Deno.PointerValue { + get dwTransferID(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -41085,7 +41085,7 @@ export class DDTRANSFERININFOView { } // 0x10: usize - set dwTransferID(value: Deno.PointerValue) { + set dwTransferID(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -41151,7 +41151,7 @@ export class DDTRANSFEROUTINFOView { */ export interface DDGETTRANSFERSTATUSOUTINFO { /** usize */ - dwTransferID: Deno.PointerValue; + dwTransferID: bigint | number; } export const sizeofDDGETTRANSFERSTATUSOUTINFO = 8; @@ -41175,12 +41175,12 @@ export class DDGETTRANSFERSTATUSOUTINFOView { } // 0x00: usize - get dwTransferID(): Deno.PointerValue { + get dwTransferID(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set dwTransferID(value: Deno.PointerValue) { + set dwTransferID(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } diff --git a/api/Graphics/DirectWrite.ts b/api/Graphics/DirectWrite.ts index 4c46a5e..ce0d5a6 100644 --- a/api/Graphics/DirectWrite.ts +++ b/api/Graphics/DirectWrite.ts @@ -4931,9 +4931,9 @@ export class DWRITE_GLYPH_IMAGE_DATAView { */ export interface DWRITE_FILE_FRAGMENT { /** u64 */ - fileOffset: Deno.PointerValue; + fileOffset: bigint | number; /** u64 */ - fragmentSize: Deno.PointerValue; + fragmentSize: bigint | number; } export const sizeofDWRITE_FILE_FRAGMENT = 16; @@ -4959,22 +4959,22 @@ export class DWRITE_FILE_FRAGMENTView { } // 0x00: u64 - get fileOffset(): Deno.PointerValue { + get fileOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get fragmentSize(): Deno.PointerValue { + get fragmentSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set fileOffset(value: Deno.PointerValue) { + set fileOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set fragmentSize(value: Deno.PointerValue) { + set fragmentSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Graphics/Dwm.ts b/api/Graphics/Dwm.ts index b36805b..683fc27 100644 --- a/api/Graphics/Dwm.ts +++ b/api/Graphics/Dwm.ts @@ -109,7 +109,7 @@ export const DWMTWR_APP_COMPAT = 512; export type BOOL = number; -export type HRGN = Deno.PointerValue; +export type HRGN = bigint | number; /** * Windows.Win32.Graphics.Dwm.DWM_BLURBEHIND (size: 24) @@ -462,81 +462,81 @@ export interface DWM_TIMING_INFO { /** Windows.Win32.Graphics.Dwm.UNSIGNED_RATIO */ rateRefresh: Uint8Array | Deno.PointerValue; /** u64 */ - qpcRefreshPeriod: Deno.PointerValue; + qpcRefreshPeriod: bigint | number; /** Windows.Win32.Graphics.Dwm.UNSIGNED_RATIO */ rateCompose: Uint8Array | Deno.PointerValue; /** u64 */ - qpcVBlank: Deno.PointerValue; + qpcVBlank: bigint | number; /** u64 */ - cRefresh: Deno.PointerValue; + cRefresh: bigint | number; /** u32 */ cDXRefresh: number; /** u64 */ - qpcCompose: Deno.PointerValue; + qpcCompose: bigint | number; /** u64 */ - cFrame: Deno.PointerValue; + cFrame: bigint | number; /** u32 */ cDXPresent: number; /** u64 */ - cRefreshFrame: Deno.PointerValue; + cRefreshFrame: bigint | number; /** u64 */ - cFrameSubmitted: Deno.PointerValue; + cFrameSubmitted: bigint | number; /** u32 */ cDXPresentSubmitted: number; /** u64 */ - cFrameConfirmed: Deno.PointerValue; + cFrameConfirmed: bigint | number; /** u32 */ cDXPresentConfirmed: number; /** u64 */ - cRefreshConfirmed: Deno.PointerValue; + cRefreshConfirmed: bigint | number; /** u32 */ cDXRefreshConfirmed: number; /** u64 */ - cFramesLate: Deno.PointerValue; + cFramesLate: bigint | number; /** u32 */ cFramesOutstanding: number; /** u64 */ - cFrameDisplayed: Deno.PointerValue; + cFrameDisplayed: bigint | number; /** u64 */ - qpcFrameDisplayed: Deno.PointerValue; + qpcFrameDisplayed: bigint | number; /** u64 */ - cRefreshFrameDisplayed: Deno.PointerValue; + cRefreshFrameDisplayed: bigint | number; /** u64 */ - cFrameComplete: Deno.PointerValue; + cFrameComplete: bigint | number; /** u64 */ - qpcFrameComplete: Deno.PointerValue; + qpcFrameComplete: bigint | number; /** u64 */ - cFramePending: Deno.PointerValue; + cFramePending: bigint | number; /** u64 */ - qpcFramePending: Deno.PointerValue; + qpcFramePending: bigint | number; /** u64 */ - cFramesDisplayed: Deno.PointerValue; + cFramesDisplayed: bigint | number; /** u64 */ - cFramesComplete: Deno.PointerValue; + cFramesComplete: bigint | number; /** u64 */ - cFramesPending: Deno.PointerValue; + cFramesPending: bigint | number; /** u64 */ - cFramesAvailable: Deno.PointerValue; + cFramesAvailable: bigint | number; /** u64 */ - cFramesDropped: Deno.PointerValue; + cFramesDropped: bigint | number; /** u64 */ - cFramesMissed: Deno.PointerValue; + cFramesMissed: bigint | number; /** u64 */ - cRefreshNextDisplayed: Deno.PointerValue; + cRefreshNextDisplayed: bigint | number; /** u64 */ - cRefreshNextPresented: Deno.PointerValue; + cRefreshNextPresented: bigint | number; /** u64 */ - cRefreshesDisplayed: Deno.PointerValue; + cRefreshesDisplayed: bigint | number; /** u64 */ - cRefreshesPresented: Deno.PointerValue; + cRefreshesPresented: bigint | number; /** u64 */ - cRefreshStarted: Deno.PointerValue; + cRefreshStarted: bigint | number; /** u64 */ - cPixelsReceived: Deno.PointerValue; + cPixelsReceived: bigint | number; /** u64 */ - cPixelsDrawn: Deno.PointerValue; + cPixelsDrawn: bigint | number; /** u64 */ - cBuffersEmpty: Deno.PointerValue; + cBuffersEmpty: bigint | number; } export const sizeofDWM_TIMING_INFO = 320; @@ -658,7 +658,7 @@ export class DWM_TIMING_INFOView { } // 0x10: u64 - get qpcRefreshPeriod(): Deno.PointerValue { + get qpcRefreshPeriod(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -669,12 +669,12 @@ export class DWM_TIMING_INFOView { } // 0x20: u64 - get qpcVBlank(): Deno.PointerValue { + get qpcVBlank(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get cRefresh(): Deno.PointerValue { + get cRefresh(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -686,12 +686,12 @@ export class DWM_TIMING_INFOView { // 0x34: pad4 // 0x38: u64 - get qpcCompose(): Deno.PointerValue { + get qpcCompose(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get cFrame(): Deno.PointerValue { + get cFrame(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -703,12 +703,12 @@ export class DWM_TIMING_INFOView { // 0x4c: pad4 // 0x50: u64 - get cRefreshFrame(): Deno.PointerValue { + get cRefreshFrame(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get cFrameSubmitted(): Deno.PointerValue { + get cFrameSubmitted(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -720,7 +720,7 @@ export class DWM_TIMING_INFOView { // 0x64: pad4 // 0x68: u64 - get cFrameConfirmed(): Deno.PointerValue { + get cFrameConfirmed(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -732,7 +732,7 @@ export class DWM_TIMING_INFOView { // 0x74: pad4 // 0x78: u64 - get cRefreshConfirmed(): Deno.PointerValue { + get cRefreshConfirmed(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -744,7 +744,7 @@ export class DWM_TIMING_INFOView { // 0x84: pad4 // 0x88: u64 - get cFramesLate(): Deno.PointerValue { + get cFramesLate(): bigint | number { return Number(this.view.getBigUint64(136, true)); } @@ -756,107 +756,107 @@ export class DWM_TIMING_INFOView { // 0x94: pad4 // 0x98: u64 - get cFrameDisplayed(): Deno.PointerValue { + get cFrameDisplayed(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get qpcFrameDisplayed(): Deno.PointerValue { + get qpcFrameDisplayed(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: u64 - get cRefreshFrameDisplayed(): Deno.PointerValue { + get cRefreshFrameDisplayed(): bigint | number { return Number(this.view.getBigUint64(168, true)); } // 0xb0: u64 - get cFrameComplete(): Deno.PointerValue { + get cFrameComplete(): bigint | number { return Number(this.view.getBigUint64(176, true)); } // 0xb8: u64 - get qpcFrameComplete(): Deno.PointerValue { + get qpcFrameComplete(): bigint | number { return Number(this.view.getBigUint64(184, true)); } // 0xc0: u64 - get cFramePending(): Deno.PointerValue { + get cFramePending(): bigint | number { return Number(this.view.getBigUint64(192, true)); } // 0xc8: u64 - get qpcFramePending(): Deno.PointerValue { + get qpcFramePending(): bigint | number { return Number(this.view.getBigUint64(200, true)); } // 0xd0: u64 - get cFramesDisplayed(): Deno.PointerValue { + get cFramesDisplayed(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: u64 - get cFramesComplete(): Deno.PointerValue { + get cFramesComplete(): bigint | number { return Number(this.view.getBigUint64(216, true)); } // 0xe0: u64 - get cFramesPending(): Deno.PointerValue { + get cFramesPending(): bigint | number { return Number(this.view.getBigUint64(224, true)); } // 0xe8: u64 - get cFramesAvailable(): Deno.PointerValue { + get cFramesAvailable(): bigint | number { return Number(this.view.getBigUint64(232, true)); } // 0xf0: u64 - get cFramesDropped(): Deno.PointerValue { + get cFramesDropped(): bigint | number { return Number(this.view.getBigUint64(240, true)); } // 0xf8: u64 - get cFramesMissed(): Deno.PointerValue { + get cFramesMissed(): bigint | number { return Number(this.view.getBigUint64(248, true)); } // 0x100: u64 - get cRefreshNextDisplayed(): Deno.PointerValue { + get cRefreshNextDisplayed(): bigint | number { return Number(this.view.getBigUint64(256, true)); } // 0x108: u64 - get cRefreshNextPresented(): Deno.PointerValue { + get cRefreshNextPresented(): bigint | number { return Number(this.view.getBigUint64(264, true)); } // 0x110: u64 - get cRefreshesDisplayed(): Deno.PointerValue { + get cRefreshesDisplayed(): bigint | number { return Number(this.view.getBigUint64(272, true)); } // 0x118: u64 - get cRefreshesPresented(): Deno.PointerValue { + get cRefreshesPresented(): bigint | number { return Number(this.view.getBigUint64(280, true)); } // 0x120: u64 - get cRefreshStarted(): Deno.PointerValue { + get cRefreshStarted(): bigint | number { return Number(this.view.getBigUint64(288, true)); } // 0x128: u64 - get cPixelsReceived(): Deno.PointerValue { + get cPixelsReceived(): bigint | number { return Number(this.view.getBigUint64(296, true)); } // 0x130: u64 - get cPixelsDrawn(): Deno.PointerValue { + get cPixelsDrawn(): bigint | number { return Number(this.view.getBigUint64(304, true)); } // 0x138: u64 - get cBuffersEmpty(): Deno.PointerValue { + get cBuffersEmpty(): bigint | number { return Number(this.view.getBigUint64(312, true)); } @@ -873,7 +873,7 @@ export class DWM_TIMING_INFOView { } // 0x10: u64 - set qpcRefreshPeriod(value: Deno.PointerValue) { + set qpcRefreshPeriod(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -883,12 +883,12 @@ export class DWM_TIMING_INFOView { } // 0x20: u64 - set qpcVBlank(value: Deno.PointerValue) { + set qpcVBlank(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set cRefresh(value: Deno.PointerValue) { + set cRefresh(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -900,12 +900,12 @@ export class DWM_TIMING_INFOView { // 0x34: pad4 // 0x38: u64 - set qpcCompose(value: Deno.PointerValue) { + set qpcCompose(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set cFrame(value: Deno.PointerValue) { + set cFrame(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -917,12 +917,12 @@ export class DWM_TIMING_INFOView { // 0x4c: pad4 // 0x50: u64 - set cRefreshFrame(value: Deno.PointerValue) { + set cRefreshFrame(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set cFrameSubmitted(value: Deno.PointerValue) { + set cFrameSubmitted(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -934,7 +934,7 @@ export class DWM_TIMING_INFOView { // 0x64: pad4 // 0x68: u64 - set cFrameConfirmed(value: Deno.PointerValue) { + set cFrameConfirmed(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -946,7 +946,7 @@ export class DWM_TIMING_INFOView { // 0x74: pad4 // 0x78: u64 - set cRefreshConfirmed(value: Deno.PointerValue) { + set cRefreshConfirmed(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -958,7 +958,7 @@ export class DWM_TIMING_INFOView { // 0x84: pad4 // 0x88: u64 - set cFramesLate(value: Deno.PointerValue) { + set cFramesLate(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } @@ -970,107 +970,107 @@ export class DWM_TIMING_INFOView { // 0x94: pad4 // 0x98: u64 - set cFrameDisplayed(value: Deno.PointerValue) { + set cFrameDisplayed(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set qpcFrameDisplayed(value: Deno.PointerValue) { + set qpcFrameDisplayed(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: u64 - set cRefreshFrameDisplayed(value: Deno.PointerValue) { + set cRefreshFrameDisplayed(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } // 0xb0: u64 - set cFrameComplete(value: Deno.PointerValue) { + set cFrameComplete(value: bigint | number) { this.view.setBigUint64(176, BigInt(value), true); } // 0xb8: u64 - set qpcFrameComplete(value: Deno.PointerValue) { + set qpcFrameComplete(value: bigint | number) { this.view.setBigUint64(184, BigInt(value), true); } // 0xc0: u64 - set cFramePending(value: Deno.PointerValue) { + set cFramePending(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } // 0xc8: u64 - set qpcFramePending(value: Deno.PointerValue) { + set qpcFramePending(value: bigint | number) { this.view.setBigUint64(200, BigInt(value), true); } // 0xd0: u64 - set cFramesDisplayed(value: Deno.PointerValue) { + set cFramesDisplayed(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: u64 - set cFramesComplete(value: Deno.PointerValue) { + set cFramesComplete(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } // 0xe0: u64 - set cFramesPending(value: Deno.PointerValue) { + set cFramesPending(value: bigint | number) { this.view.setBigUint64(224, BigInt(value), true); } // 0xe8: u64 - set cFramesAvailable(value: Deno.PointerValue) { + set cFramesAvailable(value: bigint | number) { this.view.setBigUint64(232, BigInt(value), true); } // 0xf0: u64 - set cFramesDropped(value: Deno.PointerValue) { + set cFramesDropped(value: bigint | number) { this.view.setBigUint64(240, BigInt(value), true); } // 0xf8: u64 - set cFramesMissed(value: Deno.PointerValue) { + set cFramesMissed(value: bigint | number) { this.view.setBigUint64(248, BigInt(value), true); } // 0x100: u64 - set cRefreshNextDisplayed(value: Deno.PointerValue) { + set cRefreshNextDisplayed(value: bigint | number) { this.view.setBigUint64(256, BigInt(value), true); } // 0x108: u64 - set cRefreshNextPresented(value: Deno.PointerValue) { + set cRefreshNextPresented(value: bigint | number) { this.view.setBigUint64(264, BigInt(value), true); } // 0x110: u64 - set cRefreshesDisplayed(value: Deno.PointerValue) { + set cRefreshesDisplayed(value: bigint | number) { this.view.setBigUint64(272, BigInt(value), true); } // 0x118: u64 - set cRefreshesPresented(value: Deno.PointerValue) { + set cRefreshesPresented(value: bigint | number) { this.view.setBigUint64(280, BigInt(value), true); } // 0x120: u64 - set cRefreshStarted(value: Deno.PointerValue) { + set cRefreshStarted(value: bigint | number) { this.view.setBigUint64(288, BigInt(value), true); } // 0x128: u64 - set cPixelsReceived(value: Deno.PointerValue) { + set cPixelsReceived(value: bigint | number) { this.view.setBigUint64(296, BigInt(value), true); } // 0x130: u64 - set cPixelsDrawn(value: Deno.PointerValue) { + set cPixelsDrawn(value: bigint | number) { this.view.setBigUint64(304, BigInt(value), true); } // 0x138: u64 - set cBuffersEmpty(value: Deno.PointerValue) { + set cBuffersEmpty(value: bigint | number) { this.view.setBigUint64(312, BigInt(value), true); } } @@ -1084,7 +1084,7 @@ export interface DWM_PRESENT_PARAMETERS { /** Windows.Win32.Foundation.BOOL */ fQueue: boolean; /** u64 */ - cRefreshStart: Deno.PointerValue; + cRefreshStart: bigint | number; /** u32 */ cBuffer: number; /** Windows.Win32.Foundation.BOOL */ @@ -1142,7 +1142,7 @@ export class DWM_PRESENT_PARAMETERSView { } // 0x08: u64 - get cRefreshStart(): Deno.PointerValue { + get cRefreshStart(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1183,7 +1183,7 @@ export class DWM_PRESENT_PARAMETERSView { } // 0x08: u64 - set cRefreshStart(value: Deno.PointerValue) { + set cRefreshStart(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1322,15 +1322,15 @@ export class MilMatrix3x2DView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; export type HRESULT = number; -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.Foundation.POINT (size: 8) @@ -1592,7 +1592,7 @@ export function DwmModifyPreviousDxFrameDuration( } export function DwmQueryThumbnailSourceSize( - hThumbnail: Deno.PointerValue /* isize */, + hThumbnail: bigint | number /* isize */, pSize: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libdwmapi_dll.DwmQueryThumbnailSourceSize(hThumbnail, util.toPointer(pSize)); @@ -1630,13 +1630,13 @@ export function DwmSetWindowAttribute( } export function DwmUnregisterThumbnail( - hThumbnailId: Deno.PointerValue /* isize */, + hThumbnailId: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libdwmapi_dll.DwmUnregisterThumbnail(hThumbnailId); } export function DwmUpdateThumbnailProperties( - hThumbnailId: Deno.PointerValue /* isize */, + hThumbnailId: bigint | number /* isize */, ptnProperties: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libdwmapi_dll.DwmUpdateThumbnailProperties(hThumbnailId, util.toPointer(ptnProperties)); diff --git a/api/Graphics/Dxgi.ts b/api/Graphics/Dxgi.ts index 68ddc33..cd3b9fa 100644 --- a/api/Graphics/Dxgi.ts +++ b/api/Graphics/Dxgi.ts @@ -1414,9 +1414,9 @@ export class DXGI_JPEG_QUANTIZATION_TABLEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1442,22 +1442,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1536,7 +1536,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -1576,7 +1576,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1591,7 +1591,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -1825,11 +1825,11 @@ export interface DXGI_ADAPTER_DESC { /** u32 */ Revision: number; /** usize */ - DedicatedVideoMemory: Deno.PointerValue; + DedicatedVideoMemory: bigint | number; /** usize */ - DedicatedSystemMemory: Deno.PointerValue; + DedicatedSystemMemory: bigint | number; /** usize */ - SharedSystemMemory: Deno.PointerValue; + SharedSystemMemory: bigint | number; /** Windows.Win32.Foundation.LUID */ AdapterLuid: Uint8Array | Deno.PointerValue; } @@ -1897,17 +1897,17 @@ export class DXGI_ADAPTER_DESCView { } // 0x18: usize - get DedicatedVideoMemory(): Deno.PointerValue { + get DedicatedVideoMemory(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get DedicatedSystemMemory(): Deno.PointerValue { + get DedicatedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get SharedSystemMemory(): Deno.PointerValue { + get SharedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -1943,17 +1943,17 @@ export class DXGI_ADAPTER_DESCView { } // 0x18: usize - set DedicatedVideoMemory(value: Deno.PointerValue) { + set DedicatedVideoMemory(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set DedicatedSystemMemory(value: Deno.PointerValue) { + set DedicatedSystemMemory(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set SharedSystemMemory(value: Deno.PointerValue) { + set SharedSystemMemory(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -2044,7 +2044,7 @@ export class RECTView { } } -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; /** * Windows.Win32.Graphics.Dxgi.DXGI_OUTPUT_DESC (size: 32) @@ -2144,7 +2144,7 @@ export class DXGI_OUTPUT_DESCView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Graphics.Dxgi.DXGI_SHARED_RESOURCE (size: 8) @@ -2273,7 +2273,7 @@ export class DXGI_SURFACE_DESCView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Graphics.Dxgi.DXGI_SWAP_CHAIN_DESC (size: 48) @@ -2435,11 +2435,11 @@ export interface DXGI_ADAPTER_DESC1 { /** u32 */ Revision: number; /** usize */ - DedicatedVideoMemory: Deno.PointerValue; + DedicatedVideoMemory: bigint | number; /** usize */ - DedicatedSystemMemory: Deno.PointerValue; + DedicatedSystemMemory: bigint | number; /** usize */ - SharedSystemMemory: Deno.PointerValue; + SharedSystemMemory: bigint | number; /** Windows.Win32.Foundation.LUID */ AdapterLuid: Uint8Array | Deno.PointerValue; /** u32 */ @@ -2512,17 +2512,17 @@ export class DXGI_ADAPTER_DESC1View { } // 0x18: usize - get DedicatedVideoMemory(): Deno.PointerValue { + get DedicatedVideoMemory(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get DedicatedSystemMemory(): Deno.PointerValue { + get DedicatedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get SharedSystemMemory(): Deno.PointerValue { + get SharedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -2565,17 +2565,17 @@ export class DXGI_ADAPTER_DESC1View { } // 0x18: usize - set DedicatedVideoMemory(value: Deno.PointerValue) { + set DedicatedVideoMemory(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set DedicatedSystemMemory(value: Deno.PointerValue) { + set DedicatedSystemMemory(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set SharedSystemMemory(value: Deno.PointerValue) { + set SharedSystemMemory(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -3618,11 +3618,11 @@ export interface DXGI_ADAPTER_DESC2 { /** u32 */ Revision: number; /** usize */ - DedicatedVideoMemory: Deno.PointerValue; + DedicatedVideoMemory: bigint | number; /** usize */ - DedicatedSystemMemory: Deno.PointerValue; + DedicatedSystemMemory: bigint | number; /** usize */ - SharedSystemMemory: Deno.PointerValue; + SharedSystemMemory: bigint | number; /** Windows.Win32.Foundation.LUID */ AdapterLuid: Uint8Array | Deno.PointerValue; /** u32 */ @@ -3703,17 +3703,17 @@ export class DXGI_ADAPTER_DESC2View { } // 0x18: usize - get DedicatedVideoMemory(): Deno.PointerValue { + get DedicatedVideoMemory(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get DedicatedSystemMemory(): Deno.PointerValue { + get DedicatedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get SharedSystemMemory(): Deno.PointerValue { + get SharedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -3766,17 +3766,17 @@ export class DXGI_ADAPTER_DESC2View { } // 0x18: usize - set DedicatedVideoMemory(value: Deno.PointerValue) { + set DedicatedVideoMemory(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set DedicatedSystemMemory(value: Deno.PointerValue) { + set DedicatedSystemMemory(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set SharedSystemMemory(value: Deno.PointerValue) { + set SharedSystemMemory(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -4091,13 +4091,13 @@ export class DXGI_FRAME_STATISTICS_MEDIAView { */ export interface DXGI_QUERY_VIDEO_MEMORY_INFO { /** u64 */ - Budget: Deno.PointerValue; + Budget: bigint | number; /** u64 */ - CurrentUsage: Deno.PointerValue; + CurrentUsage: bigint | number; /** u64 */ - AvailableForReservation: Deno.PointerValue; + AvailableForReservation: bigint | number; /** u64 */ - CurrentReservation: Deno.PointerValue; + CurrentReservation: bigint | number; } export const sizeofDXGI_QUERY_VIDEO_MEMORY_INFO = 32; @@ -4127,42 +4127,42 @@ export class DXGI_QUERY_VIDEO_MEMORY_INFOView { } // 0x00: u64 - get Budget(): Deno.PointerValue { + get Budget(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get CurrentUsage(): Deno.PointerValue { + get CurrentUsage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get AvailableForReservation(): Deno.PointerValue { + get AvailableForReservation(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get CurrentReservation(): Deno.PointerValue { + get CurrentReservation(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set Budget(value: Deno.PointerValue) { + set Budget(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set CurrentUsage(value: Deno.PointerValue) { + set CurrentUsage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set AvailableForReservation(value: Deno.PointerValue) { + set AvailableForReservation(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set CurrentReservation(value: Deno.PointerValue) { + set CurrentReservation(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4368,11 +4368,11 @@ export interface DXGI_ADAPTER_DESC3 { /** u32 */ Revision: number; /** usize */ - DedicatedVideoMemory: Deno.PointerValue; + DedicatedVideoMemory: bigint | number; /** usize */ - DedicatedSystemMemory: Deno.PointerValue; + DedicatedSystemMemory: bigint | number; /** usize */ - SharedSystemMemory: Deno.PointerValue; + SharedSystemMemory: bigint | number; /** Windows.Win32.Foundation.LUID */ AdapterLuid: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Dxgi.DXGI_ADAPTER_FLAG3 */ @@ -4453,17 +4453,17 @@ export class DXGI_ADAPTER_DESC3View { } // 0x18: usize - get DedicatedVideoMemory(): Deno.PointerValue { + get DedicatedVideoMemory(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get DedicatedSystemMemory(): Deno.PointerValue { + get DedicatedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get SharedSystemMemory(): Deno.PointerValue { + get SharedSystemMemory(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -4516,17 +4516,17 @@ export class DXGI_ADAPTER_DESC3View { } // 0x18: usize - set DedicatedVideoMemory(value: Deno.PointerValue) { + set DedicatedVideoMemory(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set DedicatedSystemMemory(value: Deno.PointerValue) { + set DedicatedSystemMemory(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set SharedSystemMemory(value: Deno.PointerValue) { + set SharedSystemMemory(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -4801,7 +4801,7 @@ export interface DXGI_INFO_QUEUE_MESSAGE { /** ptr */ pDescription: Deno.PointerValue | Uint8Array; /** usize */ - DescriptionByteLength: Deno.PointerValue; + DescriptionByteLength: bigint | number; } export const sizeofDXGI_INFO_QUEUE_MESSAGE = 40; @@ -4865,7 +4865,7 @@ export class DXGI_INFO_QUEUE_MESSAGEView { } // 0x20: usize - get DescriptionByteLength(): Deno.PointerValue { + get DescriptionByteLength(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -4897,7 +4897,7 @@ export class DXGI_INFO_QUEUE_MESSAGEView { } // 0x20: usize - set DescriptionByteLength(value: Deno.PointerValue) { + set DescriptionByteLength(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } diff --git a/api/Graphics/Gdi.ts b/api/Graphics/Gdi.ts index 3333b62..a032733 100644 --- a/api/Graphics/Gdi.ts +++ b/api/Graphics/Gdi.ts @@ -2076,33 +2076,33 @@ export class MONITORINFOEXWView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; -export type CreatedHDC = Deno.PointerValue; +export type CreatedHDC = bigint | number; -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; -export type HRGN = Deno.PointerValue; +export type HRGN = bigint | number; -export type HPEN = Deno.PointerValue; +export type HPEN = bigint | number; -export type HBRUSH = Deno.PointerValue; +export type HBRUSH = bigint | number; -export type HFONT = Deno.PointerValue; +export type HFONT = bigint | number; -export type HMETAFILE = Deno.PointerValue; +export type HMETAFILE = bigint | number; -export type HENHMETAFILE = Deno.PointerValue; +export type HENHMETAFILE = bigint | number; -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; -export type HdcMetdataFileHandle = Deno.PointerValue; +export type HdcMetdataFileHandle = bigint | number; -export type HdcMetdataEnhFileHandle = Deno.PointerValue; +export type HdcMetdataEnhFileHandle = bigint | number; -export type HGDIOBJ = Deno.PointerValue; +export type HGDIOBJ = bigint | number; -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; /** * Windows.Win32.Graphics.Gdi.XFORM (size: 24) @@ -6044,7 +6044,7 @@ export interface LOGBRUSH { /** Windows.Win32.Foundation.COLORREF */ lbColor: Uint8Array | Deno.PointerValue; /** usize */ - lbHatch: Deno.PointerValue; + lbHatch: bigint | number; } export const sizeofLOGBRUSH = 24; @@ -6086,7 +6086,7 @@ export class LOGBRUSHView { } // 0x10: usize - get lbHatch(): Deno.PointerValue { + get lbHatch(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6103,7 +6103,7 @@ export class LOGBRUSHView { } // 0x10: usize - set lbHatch(value: Deno.PointerValue) { + set lbHatch(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -6326,7 +6326,7 @@ export interface EXTLOGPEN { /** Windows.Win32.Foundation.COLORREF */ elpColor: Uint8Array | Deno.PointerValue; /** usize */ - elpHatch: Deno.PointerValue; + elpHatch: bigint | number; /** u32 */ elpNumEntries: number; /** array */ @@ -6391,7 +6391,7 @@ export class EXTLOGPENView { } // 0x18: usize - get elpHatch(): Deno.PointerValue { + get elpHatch(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6431,7 +6431,7 @@ export class EXTLOGPENView { } // 0x18: usize - set elpHatch(value: Deno.PointerValue) { + set elpHatch(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -8023,11 +8023,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -8079,7 +8079,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8090,7 +8090,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8126,7 +8126,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8137,7 +8137,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8174,7 +8174,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -8203,7 +8203,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8215,7 +8215,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12709,7 +12709,7 @@ export class BLENDFUNCTIONView { // 0x04: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Graphics.Gdi.DIBSECTION (size: 40) @@ -21039,13 +21039,13 @@ export class DRAWTEXTPARAMSView { // 0x14: pad4 } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; // Native Libraries @@ -22845,7 +22845,7 @@ export function CreateDIBitmap( } export function CreateDIBPatternBrush( - h: Deno.PointerValue /* isize */, + h: bigint | number /* isize */, iUsage: DIB_USAGE /* Windows.Win32.Graphics.Gdi.DIB_USAGE */, ): Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HBRUSH */ { return libGDI32_dll.CreateDIBPatternBrush(h, iUsage); diff --git a/api/Graphics/Imaging.ts b/api/Graphics/Imaging.ts index 1802661..3845866 100644 --- a/api/Graphics/Imaging.ts +++ b/api/Graphics/Imaging.ts @@ -602,9 +602,9 @@ export class WICRectView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -630,22 +630,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -724,7 +724,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -764,7 +764,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -779,7 +779,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -2303,7 +2303,7 @@ export class WICMetadataHeaderView { export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/Graphics/OpenGL.ts b/api/Graphics/OpenGL.ts index d86c1ce..ab77bf3 100644 --- a/api/Graphics/OpenGL.ts +++ b/api/Graphics/OpenGL.ts @@ -862,7 +862,7 @@ export const EMR_MAX = 122; // Structs -export type HGLRC = Deno.PointerValue; +export type HGLRC = bigint | number; /** * Windows.Win32.Graphics.OpenGL.PIXELFORMATDESCRIPTOR (size: 40) @@ -1879,11 +1879,11 @@ export class LAYERPLANEDESCRIPTORView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; export type BOOL = number; -export type HENHMETAFILE = Deno.PointerValue; +export type HENHMETAFILE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -6405,7 +6405,7 @@ export function gluSphere( export function gluQuadricCallback( qobj: Deno.PointerValue | Uint8Array /* ptr */, which: number /* u32 */, - fn: Deno.PointerValue /* isize */, + fn: bigint | number /* isize */, ): void /* void */ { return libGLU32_dll.gluQuadricCallback(util.toPointer(qobj), which, fn); } @@ -6473,7 +6473,7 @@ export function gluTessNormal( export function gluTessCallback( tess: Deno.PointerValue | Uint8Array /* ptr */, which: number /* u32 */, - fn: Deno.PointerValue /* isize */, + fn: bigint | number /* isize */, ): void /* void */ { return libGLU32_dll.gluTessCallback(util.toPointer(tess), which, fn); } @@ -6598,7 +6598,7 @@ export function gluGetNurbsProperty( export function gluNurbsCallback( nobj: Deno.PointerValue | Uint8Array /* ptr */, which: number /* u32 */, - fn: Deno.PointerValue /* isize */, + fn: bigint | number /* isize */, ): void /* void */ { return libGLU32_dll.gluNurbsCallback(util.toPointer(nobj), which, fn); } diff --git a/api/Graphics/Printing.ts b/api/Graphics/Printing.ts index 129fb7b..ee311e7 100644 --- a/api/Graphics/Printing.ts +++ b/api/Graphics/Printing.ts @@ -1746,7 +1746,7 @@ export const IntermediatePageCount = 1; */ export interface SPLCLIENT_INFO_2_WINXP { /** u64 */ - hSplPrinter: Deno.PointerValue; + hSplPrinter: bigint | number; } export const sizeofSPLCLIENT_INFO_2_WINXP = 8; @@ -1770,12 +1770,12 @@ export class SPLCLIENT_INFO_2_WINXPView { } // 0x00: u64 - get hSplPrinter(): Deno.PointerValue { + get hSplPrinter(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set hSplPrinter(value: Deno.PointerValue) { + set hSplPrinter(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -1984,7 +1984,7 @@ export class ImgErrorInfoView { // 0x54: pad4 } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Graphics.Printing.OPTPARAM (size: 40) @@ -1999,7 +1999,7 @@ export interface OPTPARAM { /** ptr */ pData: Deno.PointerValue | Uint8Array; /** usize */ - IconID: Deno.PointerValue; + IconID: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lParam: Uint8Array | Deno.PointerValue; /** array */ @@ -2063,7 +2063,7 @@ export class OPTPARAMView { } // 0x10: usize - get IconID(): Deno.PointerValue { + get IconID(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2102,7 +2102,7 @@ export class OPTPARAMView { } // 0x10: usize - set IconID(value: Deno.PointerValue) { + set IconID(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -2404,11 +2404,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -2460,7 +2460,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2471,7 +2471,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2507,7 +2507,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2518,7 +2518,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -2555,7 +2555,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -2584,7 +2584,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2596,7 +2596,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2621,7 +2621,7 @@ export interface EXTPUSH { /** _Anonymous1_e__Union */ Anonymous1: Uint8Array | Deno.PointerValue; /** usize */ - IconID: Deno.PointerValue; + IconID: bigint | number; /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** array */ @@ -2686,7 +2686,7 @@ export class EXTPUSHView { } // 0x18: usize - get IconID(): Deno.PointerValue { + get IconID(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2725,7 +2725,7 @@ export class EXTPUSHView { } // 0x18: usize - set IconID(value: Deno.PointerValue) { + set IconID(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -2755,7 +2755,7 @@ export interface EXTCHKBOX { /** ptr */ pCheckedName: Deno.PointerValue | Uint8Array; /** usize */ - IconID: Deno.PointerValue; + IconID: bigint | number; /** array */ wReserved: Deno.PointerValue; /** array */ @@ -2828,7 +2828,7 @@ export class EXTCHKBOXView { } // 0x20: usize - get IconID(): Deno.PointerValue { + get IconID(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -2872,7 +2872,7 @@ export class EXTCHKBOXView { } // 0x20: usize - set IconID(value: Deno.PointerValue) { + set IconID(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -2887,7 +2887,7 @@ export class EXTCHKBOXView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Graphics.Printing.OIEXT (size: 32) @@ -3005,7 +3005,7 @@ export interface OPTITEM { /** u32 */ Flags: number; /** usize */ - UserData: Deno.PointerValue; + UserData: bigint | number; /** ptr */ pName: Deno.PointerValue | Uint8Array; /** _Anonymous1_e__Union */ @@ -3097,7 +3097,7 @@ export class OPTITEMView { } // 0x08: usize - get UserData(): Deno.PointerValue { + get UserData(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3178,7 +3178,7 @@ export class OPTITEMView { } // 0x08: usize - set UserData(value: Deno.PointerValue) { + set UserData(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -3233,16 +3233,16 @@ export class OPTITEMView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3268,22 +3268,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3364,9 +3364,9 @@ export interface CPSUICBPARAM { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** usize */ - UserData: Deno.PointerValue; + UserData: bigint | number; /** usize */ - Result: Deno.PointerValue; + Result: bigint | number; } export const sizeofCPSUICBPARAM = 64; @@ -3458,12 +3458,12 @@ export class CPSUICBPARAMView { } // 0x30: usize - get UserData(): Deno.PointerValue { + get UserData(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get Result(): Deno.PointerValue { + get Result(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -3512,12 +3512,12 @@ export class CPSUICBPARAMView { } // 0x30: usize - set UserData(value: Deno.PointerValue) { + set UserData(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set Result(value: Deno.PointerValue) { + set Result(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -3535,7 +3535,7 @@ export interface DLGPAGE { /** ptr */ pTabName: Deno.PointerValue | Uint8Array; /** usize */ - IconID: Deno.PointerValue; + IconID: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -3596,7 +3596,7 @@ export class DLGPAGEView { } // 0x18: usize - get IconID(): Deno.PointerValue { + get IconID(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3629,7 +3629,7 @@ export class DLGPAGEView { } // 0x18: usize - set IconID(value: Deno.PointerValue) { + set IconID(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -3652,7 +3652,7 @@ export interface COMPROPSHEETUI { /** ptr */ pCallerName: Deno.PointerValue | Uint8Array; /** usize */ - UserData: Deno.PointerValue; + UserData: bigint | number; /** ptr */ pHelpFile: Deno.PointerValue | Uint8Array; /** Windows.Win32.Graphics.Printing._CPSUICALLBACK */ @@ -3666,7 +3666,7 @@ export interface COMPROPSHEETUI { /** u16 */ cDlgPage: number; /** usize */ - IconID: Deno.PointerValue; + IconID: bigint | number; /** ptr */ pOptItemName: Deno.PointerValue | Uint8Array; /** u16 */ @@ -3755,7 +3755,7 @@ export class COMPROPSHEETUIView { } // 0x18: usize - get UserData(): Deno.PointerValue { + get UserData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3796,7 +3796,7 @@ export class COMPROPSHEETUIView { // 0x44: pad4 // 0x48: usize - get IconID(): Deno.PointerValue { + get IconID(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -3847,7 +3847,7 @@ export class COMPROPSHEETUIView { } // 0x18: usize - set UserData(value: Deno.PointerValue) { + set UserData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -3884,7 +3884,7 @@ export class COMPROPSHEETUIView { // 0x44: pad4 // 0x48: usize - set IconID(value: Deno.PointerValue) { + set IconID(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -3911,9 +3911,9 @@ export class COMPROPSHEETUIView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; /** * Windows.Win32.Graphics.Printing.SETRESULT_INFO (size: 24) @@ -4014,11 +4014,11 @@ export interface INSERTPSUIPAGE_INFO { /** u8 */ Mode: number; /** usize */ - dwData1: Deno.PointerValue; + dwData1: bigint | number; /** usize */ - dwData2: Deno.PointerValue; + dwData2: bigint | number; /** usize */ - dwData3: Deno.PointerValue; + dwData3: bigint | number; } export const sizeofINSERTPSUIPAGE_INFO = 32; @@ -4070,17 +4070,17 @@ export class INSERTPSUIPAGE_INFOView { // 0x04: pad4 // 0x08: usize - get dwData1(): Deno.PointerValue { + get dwData1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwData2(): Deno.PointerValue { + get dwData2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwData3(): Deno.PointerValue { + get dwData3(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4102,17 +4102,17 @@ export class INSERTPSUIPAGE_INFOView { // 0x04: pad4 // 0x08: usize - set dwData1(value: Deno.PointerValue) { + set dwData1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwData2(value: Deno.PointerValue) { + set dwData2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwData3(value: Deno.PointerValue) { + set dwData3(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4298,9 +4298,9 @@ export interface PROPSHEETUI_INFO { /** Windows.Win32.Foundation.LPARAM */ lParamInit: Uint8Array | Deno.PointerValue; /** usize */ - UserData: Deno.PointerValue; + UserData: bigint | number; /** usize */ - Result: Deno.PointerValue; + Result: bigint | number; } export const sizeofPROPSHEETUI_INFO = 48; @@ -4378,12 +4378,12 @@ export class PROPSHEETUI_INFOView { } // 0x20: usize - get UserData(): Deno.PointerValue { + get UserData(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get Result(): Deno.PointerValue { + get Result(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -4423,17 +4423,17 @@ export class PROPSHEETUI_INFOView { } // 0x20: usize - set UserData(value: Deno.PointerValue) { + set UserData(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set Result(value: Deno.PointerValue) { + set Result(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.Graphics.Printing.PROPSHEETUI_GETICON_INFO (size: 16) @@ -10588,7 +10588,7 @@ export interface DRIVER_INFO_6A { /** Windows.Win32.Foundation.FILETIME */ ftDriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlDriverVersion: Deno.PointerValue; + dwlDriverVersion: bigint | number; /** Windows.Win32.Foundation.PSTR */ pszMfgName: string | null | Uint8Array; /** Windows.Win32.Foundation.PSTR */ @@ -10768,7 +10768,7 @@ export class DRIVER_INFO_6AView { } // 0x60: u64 - get dwlDriverVersion(): Deno.PointerValue { + get dwlDriverVersion(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -10869,7 +10869,7 @@ export class DRIVER_INFO_6AView { } // 0x60: u64 - set dwlDriverVersion(value: Deno.PointerValue) { + set dwlDriverVersion(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } @@ -10927,7 +10927,7 @@ export interface DRIVER_INFO_6W { /** Windows.Win32.Foundation.FILETIME */ ftDriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlDriverVersion: Deno.PointerValue; + dwlDriverVersion: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszMfgName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -11107,7 +11107,7 @@ export class DRIVER_INFO_6WView { } // 0x60: u64 - get dwlDriverVersion(): Deno.PointerValue { + get dwlDriverVersion(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -11208,7 +11208,7 @@ export class DRIVER_INFO_6WView { } // 0x60: u64 - set dwlDriverVersion(value: Deno.PointerValue) { + set dwlDriverVersion(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } @@ -11266,7 +11266,7 @@ export interface DRIVER_INFO_8A { /** Windows.Win32.Foundation.FILETIME */ ftDriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlDriverVersion: Deno.PointerValue; + dwlDriverVersion: bigint | number; /** Windows.Win32.Foundation.PSTR */ pszMfgName: string | null | Uint8Array; /** Windows.Win32.Foundation.PSTR */ @@ -11290,7 +11290,7 @@ export interface DRIVER_INFO_8A { /** Windows.Win32.Foundation.FILETIME */ ftMinInboxDriverVerDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlMinInboxDriverVerVersion: Deno.PointerValue; + dwlMinInboxDriverVerVersion: bigint | number; } export const sizeofDRIVER_INFO_8A = 200; @@ -11494,7 +11494,7 @@ export class DRIVER_INFO_8AView { } // 0x60: u64 - get dwlDriverVersion(): Deno.PointerValue { + get dwlDriverVersion(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -11566,7 +11566,7 @@ export class DRIVER_INFO_8AView { } // 0xc0: u64 - get dwlMinInboxDriverVerVersion(): Deno.PointerValue { + get dwlMinInboxDriverVerVersion(): bigint | number { return Number(this.view.getBigUint64(192, true)); } @@ -11643,7 +11643,7 @@ export class DRIVER_INFO_8AView { } // 0x60: u64 - set dwlDriverVersion(value: Deno.PointerValue) { + set dwlDriverVersion(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } @@ -11714,7 +11714,7 @@ export class DRIVER_INFO_8AView { } // 0xc0: u64 - set dwlMinInboxDriverVerVersion(value: Deno.PointerValue) { + set dwlMinInboxDriverVerVersion(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } } @@ -11748,7 +11748,7 @@ export interface DRIVER_INFO_8W { /** Windows.Win32.Foundation.FILETIME */ ftDriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlDriverVersion: Deno.PointerValue; + dwlDriverVersion: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszMfgName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -11772,7 +11772,7 @@ export interface DRIVER_INFO_8W { /** Windows.Win32.Foundation.FILETIME */ ftMinInboxDriverVerDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlMinInboxDriverVerVersion: Deno.PointerValue; + dwlMinInboxDriverVerVersion: bigint | number; } export const sizeofDRIVER_INFO_8W = 200; @@ -11976,7 +11976,7 @@ export class DRIVER_INFO_8WView { } // 0x60: u64 - get dwlDriverVersion(): Deno.PointerValue { + get dwlDriverVersion(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -12048,7 +12048,7 @@ export class DRIVER_INFO_8WView { } // 0xc0: u64 - get dwlMinInboxDriverVerVersion(): Deno.PointerValue { + get dwlMinInboxDriverVerVersion(): bigint | number { return Number(this.view.getBigUint64(192, true)); } @@ -12125,7 +12125,7 @@ export class DRIVER_INFO_8WView { } // 0x60: u64 - set dwlDriverVersion(value: Deno.PointerValue) { + set dwlDriverVersion(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } @@ -12196,7 +12196,7 @@ export class DRIVER_INFO_8WView { } // 0xc0: u64 - set dwlMinInboxDriverVerVersion(value: Deno.PointerValue) { + set dwlMinInboxDriverVerVersion(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } } @@ -17441,7 +17441,7 @@ export interface CORE_PRINTER_DRIVERA { /** Windows.Win32.Foundation.FILETIME */ ftDriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlDriverVersion: Deno.PointerValue; + dwlDriverVersion: bigint | number; /** array */ szPackageID: Deno.PointerValue; } @@ -17485,7 +17485,7 @@ export class CORE_PRINTER_DRIVERAView { } // 0x10: u64 - get dwlDriverVersion(): Deno.PointerValue { + get dwlDriverVersion(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -17506,7 +17506,7 @@ export class CORE_PRINTER_DRIVERAView { } // 0x10: u64 - set dwlDriverVersion(value: Deno.PointerValue) { + set dwlDriverVersion(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -17525,7 +17525,7 @@ export interface CORE_PRINTER_DRIVERW { /** Windows.Win32.Foundation.FILETIME */ ftDriverDate: Uint8Array | Deno.PointerValue; /** u64 */ - dwlDriverVersion: Deno.PointerValue; + dwlDriverVersion: bigint | number; /** array */ szPackageID: Deno.PointerValue; } @@ -17569,7 +17569,7 @@ export class CORE_PRINTER_DRIVERWView { } // 0x10: u64 - get dwlDriverVersion(): Deno.PointerValue { + get dwlDriverVersion(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -17590,7 +17590,7 @@ export class CORE_PRINTER_DRIVERWView { } // 0x10: u64 - set dwlDriverVersion(value: Deno.PointerValue) { + set dwlDriverVersion(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -17670,7 +17670,7 @@ export interface _value_e__Union { /** i32 */ propertyInt32: number; /** i64 */ - propertyInt64: Deno.PointerValue; + propertyInt64: bigint | number; /** _propertyBlob_e__Struct */ propertyBlob: Uint8Array | Deno.PointerValue; } @@ -17729,7 +17729,7 @@ export class _value_e__UnionView { // 0x14: pad4 // 0x18: i64 - get propertyInt64(): Deno.PointerValue { + get propertyInt64(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -17760,7 +17760,7 @@ export class _value_e__UnionView { // 0x14: pad4 // 0x18: i64 - set propertyInt64(value: Deno.PointerValue) { + set propertyInt64(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -20601,7 +20601,7 @@ export interface USERDATA { /** u32 */ dwSize: number; /** usize */ - dwItemID: Deno.PointerValue; + dwItemID: bigint | number; /** Windows.Win32.Foundation.PSTR */ pKeyWordName: string | null | Uint8Array; /** array */ @@ -20646,7 +20646,7 @@ export class USERDATAView { // 0x04: pad4 // 0x08: usize - get dwItemID(): Deno.PointerValue { + get dwItemID(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -20670,7 +20670,7 @@ export class USERDATAView { // 0x04: pad4 // 0x08: usize - set dwItemID(value: Deno.PointerValue) { + set dwItemID(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -25397,7 +25397,7 @@ export interface BranchOfficeJobDataPrinted { /** Windows.Win32.Foundation.PWSTR */ pPortName: string | null | Uint8Array | Uint16Array; /** i64 */ - Size: Deno.PointerValue; + Size: bigint | number; /** u32 */ TotalPages: number; } @@ -25491,7 +25491,7 @@ export class BranchOfficeJobDataPrintedView { } // 0x30: i64 - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigInt64(48, true)); } @@ -25540,7 +25540,7 @@ export class BranchOfficeJobDataPrintedView { } // 0x30: i64 - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } @@ -25567,9 +25567,9 @@ export interface BranchOfficeJobDataError { /** Windows.Win32.Foundation.PWSTR */ pDataType: string | null | Uint8Array | Uint16Array; /** i64 */ - TotalSize: Deno.PointerValue; + TotalSize: bigint | number; /** i64 */ - PrintedSize: Deno.PointerValue; + PrintedSize: bigint | number; /** u32 */ TotalPages: number; /** u32 */ @@ -25678,12 +25678,12 @@ export class BranchOfficeJobDataErrorView { } // 0x28: i64 - get TotalSize(): Deno.PointerValue { + get TotalSize(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: i64 - get PrintedSize(): Deno.PointerValue { + get PrintedSize(): bigint | number { return Number(this.view.getBigInt64(48, true)); } @@ -25747,12 +25747,12 @@ export class BranchOfficeJobDataErrorView { } // 0x28: i64 - set TotalSize(value: Deno.PointerValue) { + set TotalSize(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: i64 - set PrintedSize(value: Deno.PointerValue) { + set PrintedSize(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } @@ -25790,7 +25790,7 @@ export class BranchOfficeJobDataErrorView { */ export interface BranchOfficeJobDataRendered { /** i64 */ - Size: Deno.PointerValue; + Size: bigint | number; /** u32 */ ICMMethod: number; /** i16 */ @@ -25839,7 +25839,7 @@ export class BranchOfficeJobDataRenderedView { } // 0x00: i64 - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -25876,7 +25876,7 @@ export class BranchOfficeJobDataRenderedView { // 0x16: pad2 // 0x00: i64 - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -26486,7 +26486,7 @@ export class SPLCLIENT_INFO_1View { */ export interface SPLCLIENT_INFO_2_W2K { /** usize */ - hSplPrinter: Deno.PointerValue; + hSplPrinter: bigint | number; } export const sizeofSPLCLIENT_INFO_2_W2K = 8; @@ -26510,12 +26510,12 @@ export class SPLCLIENT_INFO_2_W2KView { } // 0x00: usize - get hSplPrinter(): Deno.PointerValue { + get hSplPrinter(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set hSplPrinter(value: Deno.PointerValue) { + set hSplPrinter(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -26525,7 +26525,7 @@ export class SPLCLIENT_INFO_2_W2KView { */ export interface _SPLCLIENT_INFO_2_V3 { /** u64 */ - hSplPrinter: Deno.PointerValue; + hSplPrinter: bigint | number; } export const sizeof_SPLCLIENT_INFO_2_V3 = 8; @@ -26549,12 +26549,12 @@ export class _SPLCLIENT_INFO_2_V3View { } // 0x00: u64 - get hSplPrinter(): Deno.PointerValue { + get hSplPrinter(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set hSplPrinter(value: Deno.PointerValue) { + set hSplPrinter(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -26582,7 +26582,7 @@ export interface SPLCLIENT_INFO_3_VISTA { /** u16 */ wProcessorArchitecture: number; /** u64 */ - hSplPrinter: Deno.PointerValue; + hSplPrinter: bigint | number; } export const sizeofSPLCLIENT_INFO_3_VISTA = 56; @@ -26683,7 +26683,7 @@ export class SPLCLIENT_INFO_3_VISTAView { // 0x2e: pad2 // 0x30: u64 - get hSplPrinter(): Deno.PointerValue { + get hSplPrinter(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -26739,7 +26739,7 @@ export class SPLCLIENT_INFO_3_VISTAView { // 0x2e: pad2 // 0x30: u64 - set hSplPrinter(value: Deno.PointerValue) { + set hSplPrinter(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -26749,217 +26749,217 @@ export class SPLCLIENT_INFO_3_VISTAView { */ export interface PRINTPROVIDOR { /** isize */ - fpOpenPrinter: Deno.PointerValue; + fpOpenPrinter: bigint | number; /** isize */ - fpSetJob: Deno.PointerValue; + fpSetJob: bigint | number; /** isize */ - fpGetJob: Deno.PointerValue; + fpGetJob: bigint | number; /** isize */ - fpEnumJobs: Deno.PointerValue; + fpEnumJobs: bigint | number; /** isize */ - fpAddPrinter: Deno.PointerValue; + fpAddPrinter: bigint | number; /** isize */ - fpDeletePrinter: Deno.PointerValue; + fpDeletePrinter: bigint | number; /** isize */ - fpSetPrinter: Deno.PointerValue; + fpSetPrinter: bigint | number; /** isize */ - fpGetPrinter: Deno.PointerValue; + fpGetPrinter: bigint | number; /** isize */ - fpEnumPrinters: Deno.PointerValue; + fpEnumPrinters: bigint | number; /** isize */ - fpAddPrinterDriver: Deno.PointerValue; + fpAddPrinterDriver: bigint | number; /** isize */ - fpEnumPrinterDrivers: Deno.PointerValue; + fpEnumPrinterDrivers: bigint | number; /** isize */ - fpGetPrinterDriver: Deno.PointerValue; + fpGetPrinterDriver: bigint | number; /** isize */ - fpGetPrinterDriverDirectory: Deno.PointerValue; + fpGetPrinterDriverDirectory: bigint | number; /** isize */ - fpDeletePrinterDriver: Deno.PointerValue; + fpDeletePrinterDriver: bigint | number; /** isize */ - fpAddPrintProcessor: Deno.PointerValue; + fpAddPrintProcessor: bigint | number; /** isize */ - fpEnumPrintProcessors: Deno.PointerValue; + fpEnumPrintProcessors: bigint | number; /** isize */ - fpGetPrintProcessorDirectory: Deno.PointerValue; + fpGetPrintProcessorDirectory: bigint | number; /** isize */ - fpDeletePrintProcessor: Deno.PointerValue; + fpDeletePrintProcessor: bigint | number; /** isize */ - fpEnumPrintProcessorDatatypes: Deno.PointerValue; + fpEnumPrintProcessorDatatypes: bigint | number; /** isize */ - fpStartDocPrinter: Deno.PointerValue; + fpStartDocPrinter: bigint | number; /** isize */ - fpStartPagePrinter: Deno.PointerValue; + fpStartPagePrinter: bigint | number; /** isize */ - fpWritePrinter: Deno.PointerValue; + fpWritePrinter: bigint | number; /** isize */ - fpEndPagePrinter: Deno.PointerValue; + fpEndPagePrinter: bigint | number; /** isize */ - fpAbortPrinter: Deno.PointerValue; + fpAbortPrinter: bigint | number; /** isize */ - fpReadPrinter: Deno.PointerValue; + fpReadPrinter: bigint | number; /** isize */ - fpEndDocPrinter: Deno.PointerValue; + fpEndDocPrinter: bigint | number; /** isize */ - fpAddJob: Deno.PointerValue; + fpAddJob: bigint | number; /** isize */ - fpScheduleJob: Deno.PointerValue; + fpScheduleJob: bigint | number; /** isize */ - fpGetPrinterData: Deno.PointerValue; + fpGetPrinterData: bigint | number; /** isize */ - fpSetPrinterData: Deno.PointerValue; + fpSetPrinterData: bigint | number; /** isize */ - fpWaitForPrinterChange: Deno.PointerValue; + fpWaitForPrinterChange: bigint | number; /** isize */ - fpClosePrinter: Deno.PointerValue; + fpClosePrinter: bigint | number; /** isize */ - fpAddForm: Deno.PointerValue; + fpAddForm: bigint | number; /** isize */ - fpDeleteForm: Deno.PointerValue; + fpDeleteForm: bigint | number; /** isize */ - fpGetForm: Deno.PointerValue; + fpGetForm: bigint | number; /** isize */ - fpSetForm: Deno.PointerValue; + fpSetForm: bigint | number; /** isize */ - fpEnumForms: Deno.PointerValue; + fpEnumForms: bigint | number; /** isize */ - fpEnumMonitors: Deno.PointerValue; + fpEnumMonitors: bigint | number; /** isize */ - fpEnumPorts: Deno.PointerValue; + fpEnumPorts: bigint | number; /** isize */ - fpAddPort: Deno.PointerValue; + fpAddPort: bigint | number; /** isize */ - fpConfigurePort: Deno.PointerValue; + fpConfigurePort: bigint | number; /** isize */ - fpDeletePort: Deno.PointerValue; + fpDeletePort: bigint | number; /** isize */ - fpCreatePrinterIC: Deno.PointerValue; + fpCreatePrinterIC: bigint | number; /** isize */ - fpPlayGdiScriptOnPrinterIC: Deno.PointerValue; + fpPlayGdiScriptOnPrinterIC: bigint | number; /** isize */ - fpDeletePrinterIC: Deno.PointerValue; + fpDeletePrinterIC: bigint | number; /** isize */ - fpAddPrinterConnection: Deno.PointerValue; + fpAddPrinterConnection: bigint | number; /** isize */ - fpDeletePrinterConnection: Deno.PointerValue; + fpDeletePrinterConnection: bigint | number; /** isize */ - fpPrinterMessageBox: Deno.PointerValue; + fpPrinterMessageBox: bigint | number; /** isize */ - fpAddMonitor: Deno.PointerValue; + fpAddMonitor: bigint | number; /** isize */ - fpDeleteMonitor: Deno.PointerValue; + fpDeleteMonitor: bigint | number; /** isize */ - fpResetPrinter: Deno.PointerValue; + fpResetPrinter: bigint | number; /** isize */ - fpGetPrinterDriverEx: Deno.PointerValue; + fpGetPrinterDriverEx: bigint | number; /** isize */ - fpFindFirstPrinterChangeNotification: Deno.PointerValue; + fpFindFirstPrinterChangeNotification: bigint | number; /** isize */ - fpFindClosePrinterChangeNotification: Deno.PointerValue; + fpFindClosePrinterChangeNotification: bigint | number; /** isize */ - fpAddPortEx: Deno.PointerValue; + fpAddPortEx: bigint | number; /** isize */ - fpShutDown: Deno.PointerValue; + fpShutDown: bigint | number; /** isize */ - fpRefreshPrinterChangeNotification: Deno.PointerValue; + fpRefreshPrinterChangeNotification: bigint | number; /** isize */ - fpOpenPrinterEx: Deno.PointerValue; + fpOpenPrinterEx: bigint | number; /** isize */ - fpAddPrinterEx: Deno.PointerValue; + fpAddPrinterEx: bigint | number; /** isize */ - fpSetPort: Deno.PointerValue; + fpSetPort: bigint | number; /** isize */ - fpEnumPrinterData: Deno.PointerValue; + fpEnumPrinterData: bigint | number; /** isize */ - fpDeletePrinterData: Deno.PointerValue; + fpDeletePrinterData: bigint | number; /** isize */ - fpClusterSplOpen: Deno.PointerValue; + fpClusterSplOpen: bigint | number; /** isize */ - fpClusterSplClose: Deno.PointerValue; + fpClusterSplClose: bigint | number; /** isize */ - fpClusterSplIsAlive: Deno.PointerValue; + fpClusterSplIsAlive: bigint | number; /** isize */ - fpSetPrinterDataEx: Deno.PointerValue; + fpSetPrinterDataEx: bigint | number; /** isize */ - fpGetPrinterDataEx: Deno.PointerValue; + fpGetPrinterDataEx: bigint | number; /** isize */ - fpEnumPrinterDataEx: Deno.PointerValue; + fpEnumPrinterDataEx: bigint | number; /** isize */ - fpEnumPrinterKey: Deno.PointerValue; + fpEnumPrinterKey: bigint | number; /** isize */ - fpDeletePrinterDataEx: Deno.PointerValue; + fpDeletePrinterDataEx: bigint | number; /** isize */ - fpDeletePrinterKey: Deno.PointerValue; + fpDeletePrinterKey: bigint | number; /** isize */ - fpSeekPrinter: Deno.PointerValue; + fpSeekPrinter: bigint | number; /** isize */ - fpDeletePrinterDriverEx: Deno.PointerValue; + fpDeletePrinterDriverEx: bigint | number; /** isize */ - fpAddPerMachineConnection: Deno.PointerValue; + fpAddPerMachineConnection: bigint | number; /** isize */ - fpDeletePerMachineConnection: Deno.PointerValue; + fpDeletePerMachineConnection: bigint | number; /** isize */ - fpEnumPerMachineConnections: Deno.PointerValue; + fpEnumPerMachineConnections: bigint | number; /** isize */ - fpXcvData: Deno.PointerValue; + fpXcvData: bigint | number; /** isize */ - fpAddPrinterDriverEx: Deno.PointerValue; + fpAddPrinterDriverEx: bigint | number; /** isize */ - fpSplReadPrinter: Deno.PointerValue; + fpSplReadPrinter: bigint | number; /** isize */ - fpDriverUnloadComplete: Deno.PointerValue; + fpDriverUnloadComplete: bigint | number; /** isize */ - fpGetSpoolFileInfo: Deno.PointerValue; + fpGetSpoolFileInfo: bigint | number; /** isize */ - fpCommitSpoolData: Deno.PointerValue; + fpCommitSpoolData: bigint | number; /** isize */ - fpCloseSpoolFileHandle: Deno.PointerValue; + fpCloseSpoolFileHandle: bigint | number; /** isize */ - fpFlushPrinter: Deno.PointerValue; + fpFlushPrinter: bigint | number; /** isize */ - fpSendRecvBidiData: Deno.PointerValue; + fpSendRecvBidiData: bigint | number; /** isize */ - fpAddPrinterConnection2: Deno.PointerValue; + fpAddPrinterConnection2: bigint | number; /** isize */ - fpGetPrintClassObject: Deno.PointerValue; + fpGetPrintClassObject: bigint | number; /** isize */ - fpReportJobProcessingProgress: Deno.PointerValue; + fpReportJobProcessingProgress: bigint | number; /** isize */ - fpEnumAndLogProvidorObjects: Deno.PointerValue; + fpEnumAndLogProvidorObjects: bigint | number; /** isize */ - fpInternalGetPrinterDriver: Deno.PointerValue; + fpInternalGetPrinterDriver: bigint | number; /** isize */ - fpFindCompatibleDriver: Deno.PointerValue; + fpFindCompatibleDriver: bigint | number; /** isize */ - fpGetJobNamedPropertyValue: Deno.PointerValue; + fpGetJobNamedPropertyValue: bigint | number; /** isize */ - fpSetJobNamedProperty: Deno.PointerValue; + fpSetJobNamedProperty: bigint | number; /** isize */ - fpDeleteJobNamedProperty: Deno.PointerValue; + fpDeleteJobNamedProperty: bigint | number; /** isize */ - fpEnumJobNamedProperties: Deno.PointerValue; + fpEnumJobNamedProperties: bigint | number; /** isize */ - fpPowerEvent: Deno.PointerValue; + fpPowerEvent: bigint | number; /** isize */ - fpGetUserPropertyBag: Deno.PointerValue; + fpGetUserPropertyBag: bigint | number; /** isize */ - fpCanShutdown: Deno.PointerValue; + fpCanShutdown: bigint | number; /** isize */ - fpLogJobInfoForBranchOffice: Deno.PointerValue; + fpLogJobInfoForBranchOffice: bigint | number; /** isize */ - fpRegeneratePrintDeviceCapabilities: Deno.PointerValue; + fpRegeneratePrintDeviceCapabilities: bigint | number; /** isize */ - fpPrintSupportOperation: Deno.PointerValue; + fpPrintSupportOperation: bigint | number; /** isize */ - fpIppCreateJobOnPrinter: Deno.PointerValue; + fpIppCreateJobOnPrinter: bigint | number; /** isize */ - fpIppGetJobAttributes: Deno.PointerValue; + fpIppGetJobAttributes: bigint | number; /** isize */ - fpIppSetJobAttributes: Deno.PointerValue; + fpIppSetJobAttributes: bigint | number; /** isize */ - fpIppGetPrinterAttributes: Deno.PointerValue; + fpIppGetPrinterAttributes: bigint | number; /** isize */ - fpIppSetPrinterAttributes: Deno.PointerValue; + fpIppSetPrinterAttributes: bigint | number; } export const sizeofPRINTPROVIDOR = 848; @@ -27193,1062 +27193,1062 @@ export class PRINTPROVIDORView { } // 0x00: isize - get fpOpenPrinter(): Deno.PointerValue { + get fpOpenPrinter(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get fpSetJob(): Deno.PointerValue { + get fpSetJob(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get fpGetJob(): Deno.PointerValue { + get fpGetJob(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get fpEnumJobs(): Deno.PointerValue { + get fpEnumJobs(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get fpAddPrinter(): Deno.PointerValue { + get fpAddPrinter(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get fpDeletePrinter(): Deno.PointerValue { + get fpDeletePrinter(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get fpSetPrinter(): Deno.PointerValue { + get fpSetPrinter(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get fpGetPrinter(): Deno.PointerValue { + get fpGetPrinter(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get fpEnumPrinters(): Deno.PointerValue { + get fpEnumPrinters(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get fpAddPrinterDriver(): Deno.PointerValue { + get fpAddPrinterDriver(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get fpEnumPrinterDrivers(): Deno.PointerValue { + get fpEnumPrinterDrivers(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get fpGetPrinterDriver(): Deno.PointerValue { + get fpGetPrinterDriver(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get fpGetPrinterDriverDirectory(): Deno.PointerValue { + get fpGetPrinterDriverDirectory(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get fpDeletePrinterDriver(): Deno.PointerValue { + get fpDeletePrinterDriver(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get fpAddPrintProcessor(): Deno.PointerValue { + get fpAddPrintProcessor(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x78: isize - get fpEnumPrintProcessors(): Deno.PointerValue { + get fpEnumPrintProcessors(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: isize - get fpGetPrintProcessorDirectory(): Deno.PointerValue { + get fpGetPrintProcessorDirectory(): bigint | number { return Number(this.view.getBigInt64(128, true)); } // 0x88: isize - get fpDeletePrintProcessor(): Deno.PointerValue { + get fpDeletePrintProcessor(): bigint | number { return Number(this.view.getBigInt64(136, true)); } // 0x90: isize - get fpEnumPrintProcessorDatatypes(): Deno.PointerValue { + get fpEnumPrintProcessorDatatypes(): bigint | number { return Number(this.view.getBigInt64(144, true)); } // 0x98: isize - get fpStartDocPrinter(): Deno.PointerValue { + get fpStartDocPrinter(): bigint | number { return Number(this.view.getBigInt64(152, true)); } // 0xa0: isize - get fpStartPagePrinter(): Deno.PointerValue { + get fpStartPagePrinter(): bigint | number { return Number(this.view.getBigInt64(160, true)); } // 0xa8: isize - get fpWritePrinter(): Deno.PointerValue { + get fpWritePrinter(): bigint | number { return Number(this.view.getBigInt64(168, true)); } // 0xb0: isize - get fpEndPagePrinter(): Deno.PointerValue { + get fpEndPagePrinter(): bigint | number { return Number(this.view.getBigInt64(176, true)); } // 0xb8: isize - get fpAbortPrinter(): Deno.PointerValue { + get fpAbortPrinter(): bigint | number { return Number(this.view.getBigInt64(184, true)); } // 0xc0: isize - get fpReadPrinter(): Deno.PointerValue { + get fpReadPrinter(): bigint | number { return Number(this.view.getBigInt64(192, true)); } // 0xc8: isize - get fpEndDocPrinter(): Deno.PointerValue { + get fpEndDocPrinter(): bigint | number { return Number(this.view.getBigInt64(200, true)); } // 0xd0: isize - get fpAddJob(): Deno.PointerValue { + get fpAddJob(): bigint | number { return Number(this.view.getBigInt64(208, true)); } // 0xd8: isize - get fpScheduleJob(): Deno.PointerValue { + get fpScheduleJob(): bigint | number { return Number(this.view.getBigInt64(216, true)); } // 0xe0: isize - get fpGetPrinterData(): Deno.PointerValue { + get fpGetPrinterData(): bigint | number { return Number(this.view.getBigInt64(224, true)); } // 0xe8: isize - get fpSetPrinterData(): Deno.PointerValue { + get fpSetPrinterData(): bigint | number { return Number(this.view.getBigInt64(232, true)); } // 0xf0: isize - get fpWaitForPrinterChange(): Deno.PointerValue { + get fpWaitForPrinterChange(): bigint | number { return Number(this.view.getBigInt64(240, true)); } // 0xf8: isize - get fpClosePrinter(): Deno.PointerValue { + get fpClosePrinter(): bigint | number { return Number(this.view.getBigInt64(248, true)); } // 0x100: isize - get fpAddForm(): Deno.PointerValue { + get fpAddForm(): bigint | number { return Number(this.view.getBigInt64(256, true)); } // 0x108: isize - get fpDeleteForm(): Deno.PointerValue { + get fpDeleteForm(): bigint | number { return Number(this.view.getBigInt64(264, true)); } // 0x110: isize - get fpGetForm(): Deno.PointerValue { + get fpGetForm(): bigint | number { return Number(this.view.getBigInt64(272, true)); } // 0x118: isize - get fpSetForm(): Deno.PointerValue { + get fpSetForm(): bigint | number { return Number(this.view.getBigInt64(280, true)); } // 0x120: isize - get fpEnumForms(): Deno.PointerValue { + get fpEnumForms(): bigint | number { return Number(this.view.getBigInt64(288, true)); } // 0x128: isize - get fpEnumMonitors(): Deno.PointerValue { + get fpEnumMonitors(): bigint | number { return Number(this.view.getBigInt64(296, true)); } // 0x130: isize - get fpEnumPorts(): Deno.PointerValue { + get fpEnumPorts(): bigint | number { return Number(this.view.getBigInt64(304, true)); } // 0x138: isize - get fpAddPort(): Deno.PointerValue { + get fpAddPort(): bigint | number { return Number(this.view.getBigInt64(312, true)); } // 0x140: isize - get fpConfigurePort(): Deno.PointerValue { + get fpConfigurePort(): bigint | number { return Number(this.view.getBigInt64(320, true)); } // 0x148: isize - get fpDeletePort(): Deno.PointerValue { + get fpDeletePort(): bigint | number { return Number(this.view.getBigInt64(328, true)); } // 0x150: isize - get fpCreatePrinterIC(): Deno.PointerValue { + get fpCreatePrinterIC(): bigint | number { return Number(this.view.getBigInt64(336, true)); } // 0x158: isize - get fpPlayGdiScriptOnPrinterIC(): Deno.PointerValue { + get fpPlayGdiScriptOnPrinterIC(): bigint | number { return Number(this.view.getBigInt64(344, true)); } // 0x160: isize - get fpDeletePrinterIC(): Deno.PointerValue { + get fpDeletePrinterIC(): bigint | number { return Number(this.view.getBigInt64(352, true)); } // 0x168: isize - get fpAddPrinterConnection(): Deno.PointerValue { + get fpAddPrinterConnection(): bigint | number { return Number(this.view.getBigInt64(360, true)); } // 0x170: isize - get fpDeletePrinterConnection(): Deno.PointerValue { + get fpDeletePrinterConnection(): bigint | number { return Number(this.view.getBigInt64(368, true)); } // 0x178: isize - get fpPrinterMessageBox(): Deno.PointerValue { + get fpPrinterMessageBox(): bigint | number { return Number(this.view.getBigInt64(376, true)); } // 0x180: isize - get fpAddMonitor(): Deno.PointerValue { + get fpAddMonitor(): bigint | number { return Number(this.view.getBigInt64(384, true)); } // 0x188: isize - get fpDeleteMonitor(): Deno.PointerValue { + get fpDeleteMonitor(): bigint | number { return Number(this.view.getBigInt64(392, true)); } // 0x190: isize - get fpResetPrinter(): Deno.PointerValue { + get fpResetPrinter(): bigint | number { return Number(this.view.getBigInt64(400, true)); } // 0x198: isize - get fpGetPrinterDriverEx(): Deno.PointerValue { + get fpGetPrinterDriverEx(): bigint | number { return Number(this.view.getBigInt64(408, true)); } // 0x1a0: isize - get fpFindFirstPrinterChangeNotification(): Deno.PointerValue { + get fpFindFirstPrinterChangeNotification(): bigint | number { return Number(this.view.getBigInt64(416, true)); } // 0x1a8: isize - get fpFindClosePrinterChangeNotification(): Deno.PointerValue { + get fpFindClosePrinterChangeNotification(): bigint | number { return Number(this.view.getBigInt64(424, true)); } // 0x1b0: isize - get fpAddPortEx(): Deno.PointerValue { + get fpAddPortEx(): bigint | number { return Number(this.view.getBigInt64(432, true)); } // 0x1b8: isize - get fpShutDown(): Deno.PointerValue { + get fpShutDown(): bigint | number { return Number(this.view.getBigInt64(440, true)); } // 0x1c0: isize - get fpRefreshPrinterChangeNotification(): Deno.PointerValue { + get fpRefreshPrinterChangeNotification(): bigint | number { return Number(this.view.getBigInt64(448, true)); } // 0x1c8: isize - get fpOpenPrinterEx(): Deno.PointerValue { + get fpOpenPrinterEx(): bigint | number { return Number(this.view.getBigInt64(456, true)); } // 0x1d0: isize - get fpAddPrinterEx(): Deno.PointerValue { + get fpAddPrinterEx(): bigint | number { return Number(this.view.getBigInt64(464, true)); } // 0x1d8: isize - get fpSetPort(): Deno.PointerValue { + get fpSetPort(): bigint | number { return Number(this.view.getBigInt64(472, true)); } // 0x1e0: isize - get fpEnumPrinterData(): Deno.PointerValue { + get fpEnumPrinterData(): bigint | number { return Number(this.view.getBigInt64(480, true)); } // 0x1e8: isize - get fpDeletePrinterData(): Deno.PointerValue { + get fpDeletePrinterData(): bigint | number { return Number(this.view.getBigInt64(488, true)); } // 0x1f0: isize - get fpClusterSplOpen(): Deno.PointerValue { + get fpClusterSplOpen(): bigint | number { return Number(this.view.getBigInt64(496, true)); } // 0x1f8: isize - get fpClusterSplClose(): Deno.PointerValue { + get fpClusterSplClose(): bigint | number { return Number(this.view.getBigInt64(504, true)); } // 0x200: isize - get fpClusterSplIsAlive(): Deno.PointerValue { + get fpClusterSplIsAlive(): bigint | number { return Number(this.view.getBigInt64(512, true)); } // 0x208: isize - get fpSetPrinterDataEx(): Deno.PointerValue { + get fpSetPrinterDataEx(): bigint | number { return Number(this.view.getBigInt64(520, true)); } // 0x210: isize - get fpGetPrinterDataEx(): Deno.PointerValue { + get fpGetPrinterDataEx(): bigint | number { return Number(this.view.getBigInt64(528, true)); } // 0x218: isize - get fpEnumPrinterDataEx(): Deno.PointerValue { + get fpEnumPrinterDataEx(): bigint | number { return Number(this.view.getBigInt64(536, true)); } // 0x220: isize - get fpEnumPrinterKey(): Deno.PointerValue { + get fpEnumPrinterKey(): bigint | number { return Number(this.view.getBigInt64(544, true)); } // 0x228: isize - get fpDeletePrinterDataEx(): Deno.PointerValue { + get fpDeletePrinterDataEx(): bigint | number { return Number(this.view.getBigInt64(552, true)); } // 0x230: isize - get fpDeletePrinterKey(): Deno.PointerValue { + get fpDeletePrinterKey(): bigint | number { return Number(this.view.getBigInt64(560, true)); } // 0x238: isize - get fpSeekPrinter(): Deno.PointerValue { + get fpSeekPrinter(): bigint | number { return Number(this.view.getBigInt64(568, true)); } // 0x240: isize - get fpDeletePrinterDriverEx(): Deno.PointerValue { + get fpDeletePrinterDriverEx(): bigint | number { return Number(this.view.getBigInt64(576, true)); } // 0x248: isize - get fpAddPerMachineConnection(): Deno.PointerValue { + get fpAddPerMachineConnection(): bigint | number { return Number(this.view.getBigInt64(584, true)); } // 0x250: isize - get fpDeletePerMachineConnection(): Deno.PointerValue { + get fpDeletePerMachineConnection(): bigint | number { return Number(this.view.getBigInt64(592, true)); } // 0x258: isize - get fpEnumPerMachineConnections(): Deno.PointerValue { + get fpEnumPerMachineConnections(): bigint | number { return Number(this.view.getBigInt64(600, true)); } // 0x260: isize - get fpXcvData(): Deno.PointerValue { + get fpXcvData(): bigint | number { return Number(this.view.getBigInt64(608, true)); } // 0x268: isize - get fpAddPrinterDriverEx(): Deno.PointerValue { + get fpAddPrinterDriverEx(): bigint | number { return Number(this.view.getBigInt64(616, true)); } // 0x270: isize - get fpSplReadPrinter(): Deno.PointerValue { + get fpSplReadPrinter(): bigint | number { return Number(this.view.getBigInt64(624, true)); } // 0x278: isize - get fpDriverUnloadComplete(): Deno.PointerValue { + get fpDriverUnloadComplete(): bigint | number { return Number(this.view.getBigInt64(632, true)); } // 0x280: isize - get fpGetSpoolFileInfo(): Deno.PointerValue { + get fpGetSpoolFileInfo(): bigint | number { return Number(this.view.getBigInt64(640, true)); } // 0x288: isize - get fpCommitSpoolData(): Deno.PointerValue { + get fpCommitSpoolData(): bigint | number { return Number(this.view.getBigInt64(648, true)); } // 0x290: isize - get fpCloseSpoolFileHandle(): Deno.PointerValue { + get fpCloseSpoolFileHandle(): bigint | number { return Number(this.view.getBigInt64(656, true)); } // 0x298: isize - get fpFlushPrinter(): Deno.PointerValue { + get fpFlushPrinter(): bigint | number { return Number(this.view.getBigInt64(664, true)); } // 0x2a0: isize - get fpSendRecvBidiData(): Deno.PointerValue { + get fpSendRecvBidiData(): bigint | number { return Number(this.view.getBigInt64(672, true)); } // 0x2a8: isize - get fpAddPrinterConnection2(): Deno.PointerValue { + get fpAddPrinterConnection2(): bigint | number { return Number(this.view.getBigInt64(680, true)); } // 0x2b0: isize - get fpGetPrintClassObject(): Deno.PointerValue { + get fpGetPrintClassObject(): bigint | number { return Number(this.view.getBigInt64(688, true)); } // 0x2b8: isize - get fpReportJobProcessingProgress(): Deno.PointerValue { + get fpReportJobProcessingProgress(): bigint | number { return Number(this.view.getBigInt64(696, true)); } // 0x2c0: isize - get fpEnumAndLogProvidorObjects(): Deno.PointerValue { + get fpEnumAndLogProvidorObjects(): bigint | number { return Number(this.view.getBigInt64(704, true)); } // 0x2c8: isize - get fpInternalGetPrinterDriver(): Deno.PointerValue { + get fpInternalGetPrinterDriver(): bigint | number { return Number(this.view.getBigInt64(712, true)); } // 0x2d0: isize - get fpFindCompatibleDriver(): Deno.PointerValue { + get fpFindCompatibleDriver(): bigint | number { return Number(this.view.getBigInt64(720, true)); } // 0x2d8: isize - get fpGetJobNamedPropertyValue(): Deno.PointerValue { + get fpGetJobNamedPropertyValue(): bigint | number { return Number(this.view.getBigInt64(728, true)); } // 0x2e0: isize - get fpSetJobNamedProperty(): Deno.PointerValue { + get fpSetJobNamedProperty(): bigint | number { return Number(this.view.getBigInt64(736, true)); } // 0x2e8: isize - get fpDeleteJobNamedProperty(): Deno.PointerValue { + get fpDeleteJobNamedProperty(): bigint | number { return Number(this.view.getBigInt64(744, true)); } // 0x2f0: isize - get fpEnumJobNamedProperties(): Deno.PointerValue { + get fpEnumJobNamedProperties(): bigint | number { return Number(this.view.getBigInt64(752, true)); } // 0x2f8: isize - get fpPowerEvent(): Deno.PointerValue { + get fpPowerEvent(): bigint | number { return Number(this.view.getBigInt64(760, true)); } // 0x300: isize - get fpGetUserPropertyBag(): Deno.PointerValue { + get fpGetUserPropertyBag(): bigint | number { return Number(this.view.getBigInt64(768, true)); } // 0x308: isize - get fpCanShutdown(): Deno.PointerValue { + get fpCanShutdown(): bigint | number { return Number(this.view.getBigInt64(776, true)); } // 0x310: isize - get fpLogJobInfoForBranchOffice(): Deno.PointerValue { + get fpLogJobInfoForBranchOffice(): bigint | number { return Number(this.view.getBigInt64(784, true)); } // 0x318: isize - get fpRegeneratePrintDeviceCapabilities(): Deno.PointerValue { + get fpRegeneratePrintDeviceCapabilities(): bigint | number { return Number(this.view.getBigInt64(792, true)); } // 0x320: isize - get fpPrintSupportOperation(): Deno.PointerValue { + get fpPrintSupportOperation(): bigint | number { return Number(this.view.getBigInt64(800, true)); } // 0x328: isize - get fpIppCreateJobOnPrinter(): Deno.PointerValue { + get fpIppCreateJobOnPrinter(): bigint | number { return Number(this.view.getBigInt64(808, true)); } // 0x330: isize - get fpIppGetJobAttributes(): Deno.PointerValue { + get fpIppGetJobAttributes(): bigint | number { return Number(this.view.getBigInt64(816, true)); } // 0x338: isize - get fpIppSetJobAttributes(): Deno.PointerValue { + get fpIppSetJobAttributes(): bigint | number { return Number(this.view.getBigInt64(824, true)); } // 0x340: isize - get fpIppGetPrinterAttributes(): Deno.PointerValue { + get fpIppGetPrinterAttributes(): bigint | number { return Number(this.view.getBigInt64(832, true)); } // 0x348: isize - get fpIppSetPrinterAttributes(): Deno.PointerValue { + get fpIppSetPrinterAttributes(): bigint | number { return Number(this.view.getBigInt64(840, true)); } // 0x00: isize - set fpOpenPrinter(value: Deno.PointerValue) { + set fpOpenPrinter(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set fpSetJob(value: Deno.PointerValue) { + set fpSetJob(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set fpGetJob(value: Deno.PointerValue) { + set fpGetJob(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set fpEnumJobs(value: Deno.PointerValue) { + set fpEnumJobs(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set fpAddPrinter(value: Deno.PointerValue) { + set fpAddPrinter(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set fpDeletePrinter(value: Deno.PointerValue) { + set fpDeletePrinter(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set fpSetPrinter(value: Deno.PointerValue) { + set fpSetPrinter(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set fpGetPrinter(value: Deno.PointerValue) { + set fpGetPrinter(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set fpEnumPrinters(value: Deno.PointerValue) { + set fpEnumPrinters(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set fpAddPrinterDriver(value: Deno.PointerValue) { + set fpAddPrinterDriver(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set fpEnumPrinterDrivers(value: Deno.PointerValue) { + set fpEnumPrinterDrivers(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set fpGetPrinterDriver(value: Deno.PointerValue) { + set fpGetPrinterDriver(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set fpGetPrinterDriverDirectory(value: Deno.PointerValue) { + set fpGetPrinterDriverDirectory(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set fpDeletePrinterDriver(value: Deno.PointerValue) { + set fpDeletePrinterDriver(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set fpAddPrintProcessor(value: Deno.PointerValue) { + set fpAddPrintProcessor(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } // 0x78: isize - set fpEnumPrintProcessors(value: Deno.PointerValue) { + set fpEnumPrintProcessors(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: isize - set fpGetPrintProcessorDirectory(value: Deno.PointerValue) { + set fpGetPrintProcessorDirectory(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } // 0x88: isize - set fpDeletePrintProcessor(value: Deno.PointerValue) { + set fpDeletePrintProcessor(value: bigint | number) { this.view.setBigInt64(136, BigInt(value), true); } // 0x90: isize - set fpEnumPrintProcessorDatatypes(value: Deno.PointerValue) { + set fpEnumPrintProcessorDatatypes(value: bigint | number) { this.view.setBigInt64(144, BigInt(value), true); } // 0x98: isize - set fpStartDocPrinter(value: Deno.PointerValue) { + set fpStartDocPrinter(value: bigint | number) { this.view.setBigInt64(152, BigInt(value), true); } // 0xa0: isize - set fpStartPagePrinter(value: Deno.PointerValue) { + set fpStartPagePrinter(value: bigint | number) { this.view.setBigInt64(160, BigInt(value), true); } // 0xa8: isize - set fpWritePrinter(value: Deno.PointerValue) { + set fpWritePrinter(value: bigint | number) { this.view.setBigInt64(168, BigInt(value), true); } // 0xb0: isize - set fpEndPagePrinter(value: Deno.PointerValue) { + set fpEndPagePrinter(value: bigint | number) { this.view.setBigInt64(176, BigInt(value), true); } // 0xb8: isize - set fpAbortPrinter(value: Deno.PointerValue) { + set fpAbortPrinter(value: bigint | number) { this.view.setBigInt64(184, BigInt(value), true); } // 0xc0: isize - set fpReadPrinter(value: Deno.PointerValue) { + set fpReadPrinter(value: bigint | number) { this.view.setBigInt64(192, BigInt(value), true); } // 0xc8: isize - set fpEndDocPrinter(value: Deno.PointerValue) { + set fpEndDocPrinter(value: bigint | number) { this.view.setBigInt64(200, BigInt(value), true); } // 0xd0: isize - set fpAddJob(value: Deno.PointerValue) { + set fpAddJob(value: bigint | number) { this.view.setBigInt64(208, BigInt(value), true); } // 0xd8: isize - set fpScheduleJob(value: Deno.PointerValue) { + set fpScheduleJob(value: bigint | number) { this.view.setBigInt64(216, BigInt(value), true); } // 0xe0: isize - set fpGetPrinterData(value: Deno.PointerValue) { + set fpGetPrinterData(value: bigint | number) { this.view.setBigInt64(224, BigInt(value), true); } // 0xe8: isize - set fpSetPrinterData(value: Deno.PointerValue) { + set fpSetPrinterData(value: bigint | number) { this.view.setBigInt64(232, BigInt(value), true); } // 0xf0: isize - set fpWaitForPrinterChange(value: Deno.PointerValue) { + set fpWaitForPrinterChange(value: bigint | number) { this.view.setBigInt64(240, BigInt(value), true); } // 0xf8: isize - set fpClosePrinter(value: Deno.PointerValue) { + set fpClosePrinter(value: bigint | number) { this.view.setBigInt64(248, BigInt(value), true); } // 0x100: isize - set fpAddForm(value: Deno.PointerValue) { + set fpAddForm(value: bigint | number) { this.view.setBigInt64(256, BigInt(value), true); } // 0x108: isize - set fpDeleteForm(value: Deno.PointerValue) { + set fpDeleteForm(value: bigint | number) { this.view.setBigInt64(264, BigInt(value), true); } // 0x110: isize - set fpGetForm(value: Deno.PointerValue) { + set fpGetForm(value: bigint | number) { this.view.setBigInt64(272, BigInt(value), true); } // 0x118: isize - set fpSetForm(value: Deno.PointerValue) { + set fpSetForm(value: bigint | number) { this.view.setBigInt64(280, BigInt(value), true); } // 0x120: isize - set fpEnumForms(value: Deno.PointerValue) { + set fpEnumForms(value: bigint | number) { this.view.setBigInt64(288, BigInt(value), true); } // 0x128: isize - set fpEnumMonitors(value: Deno.PointerValue) { + set fpEnumMonitors(value: bigint | number) { this.view.setBigInt64(296, BigInt(value), true); } // 0x130: isize - set fpEnumPorts(value: Deno.PointerValue) { + set fpEnumPorts(value: bigint | number) { this.view.setBigInt64(304, BigInt(value), true); } // 0x138: isize - set fpAddPort(value: Deno.PointerValue) { + set fpAddPort(value: bigint | number) { this.view.setBigInt64(312, BigInt(value), true); } // 0x140: isize - set fpConfigurePort(value: Deno.PointerValue) { + set fpConfigurePort(value: bigint | number) { this.view.setBigInt64(320, BigInt(value), true); } // 0x148: isize - set fpDeletePort(value: Deno.PointerValue) { + set fpDeletePort(value: bigint | number) { this.view.setBigInt64(328, BigInt(value), true); } // 0x150: isize - set fpCreatePrinterIC(value: Deno.PointerValue) { + set fpCreatePrinterIC(value: bigint | number) { this.view.setBigInt64(336, BigInt(value), true); } // 0x158: isize - set fpPlayGdiScriptOnPrinterIC(value: Deno.PointerValue) { + set fpPlayGdiScriptOnPrinterIC(value: bigint | number) { this.view.setBigInt64(344, BigInt(value), true); } // 0x160: isize - set fpDeletePrinterIC(value: Deno.PointerValue) { + set fpDeletePrinterIC(value: bigint | number) { this.view.setBigInt64(352, BigInt(value), true); } // 0x168: isize - set fpAddPrinterConnection(value: Deno.PointerValue) { + set fpAddPrinterConnection(value: bigint | number) { this.view.setBigInt64(360, BigInt(value), true); } // 0x170: isize - set fpDeletePrinterConnection(value: Deno.PointerValue) { + set fpDeletePrinterConnection(value: bigint | number) { this.view.setBigInt64(368, BigInt(value), true); } // 0x178: isize - set fpPrinterMessageBox(value: Deno.PointerValue) { + set fpPrinterMessageBox(value: bigint | number) { this.view.setBigInt64(376, BigInt(value), true); } // 0x180: isize - set fpAddMonitor(value: Deno.PointerValue) { + set fpAddMonitor(value: bigint | number) { this.view.setBigInt64(384, BigInt(value), true); } // 0x188: isize - set fpDeleteMonitor(value: Deno.PointerValue) { + set fpDeleteMonitor(value: bigint | number) { this.view.setBigInt64(392, BigInt(value), true); } // 0x190: isize - set fpResetPrinter(value: Deno.PointerValue) { + set fpResetPrinter(value: bigint | number) { this.view.setBigInt64(400, BigInt(value), true); } // 0x198: isize - set fpGetPrinterDriverEx(value: Deno.PointerValue) { + set fpGetPrinterDriverEx(value: bigint | number) { this.view.setBigInt64(408, BigInt(value), true); } // 0x1a0: isize - set fpFindFirstPrinterChangeNotification(value: Deno.PointerValue) { + set fpFindFirstPrinterChangeNotification(value: bigint | number) { this.view.setBigInt64(416, BigInt(value), true); } // 0x1a8: isize - set fpFindClosePrinterChangeNotification(value: Deno.PointerValue) { + set fpFindClosePrinterChangeNotification(value: bigint | number) { this.view.setBigInt64(424, BigInt(value), true); } // 0x1b0: isize - set fpAddPortEx(value: Deno.PointerValue) { + set fpAddPortEx(value: bigint | number) { this.view.setBigInt64(432, BigInt(value), true); } // 0x1b8: isize - set fpShutDown(value: Deno.PointerValue) { + set fpShutDown(value: bigint | number) { this.view.setBigInt64(440, BigInt(value), true); } // 0x1c0: isize - set fpRefreshPrinterChangeNotification(value: Deno.PointerValue) { + set fpRefreshPrinterChangeNotification(value: bigint | number) { this.view.setBigInt64(448, BigInt(value), true); } // 0x1c8: isize - set fpOpenPrinterEx(value: Deno.PointerValue) { + set fpOpenPrinterEx(value: bigint | number) { this.view.setBigInt64(456, BigInt(value), true); } // 0x1d0: isize - set fpAddPrinterEx(value: Deno.PointerValue) { + set fpAddPrinterEx(value: bigint | number) { this.view.setBigInt64(464, BigInt(value), true); } // 0x1d8: isize - set fpSetPort(value: Deno.PointerValue) { + set fpSetPort(value: bigint | number) { this.view.setBigInt64(472, BigInt(value), true); } // 0x1e0: isize - set fpEnumPrinterData(value: Deno.PointerValue) { + set fpEnumPrinterData(value: bigint | number) { this.view.setBigInt64(480, BigInt(value), true); } // 0x1e8: isize - set fpDeletePrinterData(value: Deno.PointerValue) { + set fpDeletePrinterData(value: bigint | number) { this.view.setBigInt64(488, BigInt(value), true); } // 0x1f0: isize - set fpClusterSplOpen(value: Deno.PointerValue) { + set fpClusterSplOpen(value: bigint | number) { this.view.setBigInt64(496, BigInt(value), true); } // 0x1f8: isize - set fpClusterSplClose(value: Deno.PointerValue) { + set fpClusterSplClose(value: bigint | number) { this.view.setBigInt64(504, BigInt(value), true); } // 0x200: isize - set fpClusterSplIsAlive(value: Deno.PointerValue) { + set fpClusterSplIsAlive(value: bigint | number) { this.view.setBigInt64(512, BigInt(value), true); } // 0x208: isize - set fpSetPrinterDataEx(value: Deno.PointerValue) { + set fpSetPrinterDataEx(value: bigint | number) { this.view.setBigInt64(520, BigInt(value), true); } // 0x210: isize - set fpGetPrinterDataEx(value: Deno.PointerValue) { + set fpGetPrinterDataEx(value: bigint | number) { this.view.setBigInt64(528, BigInt(value), true); } // 0x218: isize - set fpEnumPrinterDataEx(value: Deno.PointerValue) { + set fpEnumPrinterDataEx(value: bigint | number) { this.view.setBigInt64(536, BigInt(value), true); } // 0x220: isize - set fpEnumPrinterKey(value: Deno.PointerValue) { + set fpEnumPrinterKey(value: bigint | number) { this.view.setBigInt64(544, BigInt(value), true); } // 0x228: isize - set fpDeletePrinterDataEx(value: Deno.PointerValue) { + set fpDeletePrinterDataEx(value: bigint | number) { this.view.setBigInt64(552, BigInt(value), true); } // 0x230: isize - set fpDeletePrinterKey(value: Deno.PointerValue) { + set fpDeletePrinterKey(value: bigint | number) { this.view.setBigInt64(560, BigInt(value), true); } // 0x238: isize - set fpSeekPrinter(value: Deno.PointerValue) { + set fpSeekPrinter(value: bigint | number) { this.view.setBigInt64(568, BigInt(value), true); } // 0x240: isize - set fpDeletePrinterDriverEx(value: Deno.PointerValue) { + set fpDeletePrinterDriverEx(value: bigint | number) { this.view.setBigInt64(576, BigInt(value), true); } // 0x248: isize - set fpAddPerMachineConnection(value: Deno.PointerValue) { + set fpAddPerMachineConnection(value: bigint | number) { this.view.setBigInt64(584, BigInt(value), true); } // 0x250: isize - set fpDeletePerMachineConnection(value: Deno.PointerValue) { + set fpDeletePerMachineConnection(value: bigint | number) { this.view.setBigInt64(592, BigInt(value), true); } // 0x258: isize - set fpEnumPerMachineConnections(value: Deno.PointerValue) { + set fpEnumPerMachineConnections(value: bigint | number) { this.view.setBigInt64(600, BigInt(value), true); } // 0x260: isize - set fpXcvData(value: Deno.PointerValue) { + set fpXcvData(value: bigint | number) { this.view.setBigInt64(608, BigInt(value), true); } // 0x268: isize - set fpAddPrinterDriverEx(value: Deno.PointerValue) { + set fpAddPrinterDriverEx(value: bigint | number) { this.view.setBigInt64(616, BigInt(value), true); } // 0x270: isize - set fpSplReadPrinter(value: Deno.PointerValue) { + set fpSplReadPrinter(value: bigint | number) { this.view.setBigInt64(624, BigInt(value), true); } // 0x278: isize - set fpDriverUnloadComplete(value: Deno.PointerValue) { + set fpDriverUnloadComplete(value: bigint | number) { this.view.setBigInt64(632, BigInt(value), true); } // 0x280: isize - set fpGetSpoolFileInfo(value: Deno.PointerValue) { + set fpGetSpoolFileInfo(value: bigint | number) { this.view.setBigInt64(640, BigInt(value), true); } // 0x288: isize - set fpCommitSpoolData(value: Deno.PointerValue) { + set fpCommitSpoolData(value: bigint | number) { this.view.setBigInt64(648, BigInt(value), true); } // 0x290: isize - set fpCloseSpoolFileHandle(value: Deno.PointerValue) { + set fpCloseSpoolFileHandle(value: bigint | number) { this.view.setBigInt64(656, BigInt(value), true); } // 0x298: isize - set fpFlushPrinter(value: Deno.PointerValue) { + set fpFlushPrinter(value: bigint | number) { this.view.setBigInt64(664, BigInt(value), true); } // 0x2a0: isize - set fpSendRecvBidiData(value: Deno.PointerValue) { + set fpSendRecvBidiData(value: bigint | number) { this.view.setBigInt64(672, BigInt(value), true); } // 0x2a8: isize - set fpAddPrinterConnection2(value: Deno.PointerValue) { + set fpAddPrinterConnection2(value: bigint | number) { this.view.setBigInt64(680, BigInt(value), true); } // 0x2b0: isize - set fpGetPrintClassObject(value: Deno.PointerValue) { + set fpGetPrintClassObject(value: bigint | number) { this.view.setBigInt64(688, BigInt(value), true); } // 0x2b8: isize - set fpReportJobProcessingProgress(value: Deno.PointerValue) { + set fpReportJobProcessingProgress(value: bigint | number) { this.view.setBigInt64(696, BigInt(value), true); } // 0x2c0: isize - set fpEnumAndLogProvidorObjects(value: Deno.PointerValue) { + set fpEnumAndLogProvidorObjects(value: bigint | number) { this.view.setBigInt64(704, BigInt(value), true); } // 0x2c8: isize - set fpInternalGetPrinterDriver(value: Deno.PointerValue) { + set fpInternalGetPrinterDriver(value: bigint | number) { this.view.setBigInt64(712, BigInt(value), true); } // 0x2d0: isize - set fpFindCompatibleDriver(value: Deno.PointerValue) { + set fpFindCompatibleDriver(value: bigint | number) { this.view.setBigInt64(720, BigInt(value), true); } // 0x2d8: isize - set fpGetJobNamedPropertyValue(value: Deno.PointerValue) { + set fpGetJobNamedPropertyValue(value: bigint | number) { this.view.setBigInt64(728, BigInt(value), true); } // 0x2e0: isize - set fpSetJobNamedProperty(value: Deno.PointerValue) { + set fpSetJobNamedProperty(value: bigint | number) { this.view.setBigInt64(736, BigInt(value), true); } // 0x2e8: isize - set fpDeleteJobNamedProperty(value: Deno.PointerValue) { + set fpDeleteJobNamedProperty(value: bigint | number) { this.view.setBigInt64(744, BigInt(value), true); } // 0x2f0: isize - set fpEnumJobNamedProperties(value: Deno.PointerValue) { + set fpEnumJobNamedProperties(value: bigint | number) { this.view.setBigInt64(752, BigInt(value), true); } // 0x2f8: isize - set fpPowerEvent(value: Deno.PointerValue) { + set fpPowerEvent(value: bigint | number) { this.view.setBigInt64(760, BigInt(value), true); } // 0x300: isize - set fpGetUserPropertyBag(value: Deno.PointerValue) { + set fpGetUserPropertyBag(value: bigint | number) { this.view.setBigInt64(768, BigInt(value), true); } // 0x308: isize - set fpCanShutdown(value: Deno.PointerValue) { + set fpCanShutdown(value: bigint | number) { this.view.setBigInt64(776, BigInt(value), true); } // 0x310: isize - set fpLogJobInfoForBranchOffice(value: Deno.PointerValue) { + set fpLogJobInfoForBranchOffice(value: bigint | number) { this.view.setBigInt64(784, BigInt(value), true); } // 0x318: isize - set fpRegeneratePrintDeviceCapabilities(value: Deno.PointerValue) { + set fpRegeneratePrintDeviceCapabilities(value: bigint | number) { this.view.setBigInt64(792, BigInt(value), true); } // 0x320: isize - set fpPrintSupportOperation(value: Deno.PointerValue) { + set fpPrintSupportOperation(value: bigint | number) { this.view.setBigInt64(800, BigInt(value), true); } // 0x328: isize - set fpIppCreateJobOnPrinter(value: Deno.PointerValue) { + set fpIppCreateJobOnPrinter(value: bigint | number) { this.view.setBigInt64(808, BigInt(value), true); } // 0x330: isize - set fpIppGetJobAttributes(value: Deno.PointerValue) { + set fpIppGetJobAttributes(value: bigint | number) { this.view.setBigInt64(816, BigInt(value), true); } // 0x338: isize - set fpIppSetJobAttributes(value: Deno.PointerValue) { + set fpIppSetJobAttributes(value: bigint | number) { this.view.setBigInt64(824, BigInt(value), true); } // 0x340: isize - set fpIppGetPrinterAttributes(value: Deno.PointerValue) { + set fpIppGetPrinterAttributes(value: bigint | number) { this.view.setBigInt64(832, BigInt(value), true); } // 0x348: isize - set fpIppSetPrinterAttributes(value: Deno.PointerValue) { + set fpIppSetPrinterAttributes(value: bigint | number) { this.view.setBigInt64(840, BigInt(value), true); } } @@ -28414,25 +28414,25 @@ export interface MONITORREG { /** u32 */ cbSize: number; /** isize */ - fpCreateKey: Deno.PointerValue; + fpCreateKey: bigint | number; /** isize */ - fpOpenKey: Deno.PointerValue; + fpOpenKey: bigint | number; /** isize */ - fpCloseKey: Deno.PointerValue; + fpCloseKey: bigint | number; /** isize */ - fpDeleteKey: Deno.PointerValue; + fpDeleteKey: bigint | number; /** isize */ - fpEnumKey: Deno.PointerValue; + fpEnumKey: bigint | number; /** isize */ - fpQueryInfoKey: Deno.PointerValue; + fpQueryInfoKey: bigint | number; /** isize */ - fpSetValue: Deno.PointerValue; + fpSetValue: bigint | number; /** isize */ - fpDeleteValue: Deno.PointerValue; + fpDeleteValue: bigint | number; /** isize */ - fpEnumValue: Deno.PointerValue; + fpEnumValue: bigint | number; /** isize */ - fpQueryValue: Deno.PointerValue; + fpQueryValue: bigint | number; } export const sizeofMONITORREG = 88; @@ -28484,52 +28484,52 @@ export class MONITORREGView { // 0x04: pad4 // 0x08: isize - get fpCreateKey(): Deno.PointerValue { + get fpCreateKey(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get fpOpenKey(): Deno.PointerValue { + get fpOpenKey(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get fpCloseKey(): Deno.PointerValue { + get fpCloseKey(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get fpDeleteKey(): Deno.PointerValue { + get fpDeleteKey(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get fpEnumKey(): Deno.PointerValue { + get fpEnumKey(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get fpQueryInfoKey(): Deno.PointerValue { + get fpQueryInfoKey(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get fpSetValue(): Deno.PointerValue { + get fpSetValue(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get fpDeleteValue(): Deno.PointerValue { + get fpDeleteValue(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get fpEnumValue(): Deno.PointerValue { + get fpEnumValue(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get fpQueryValue(): Deno.PointerValue { + get fpQueryValue(): bigint | number { return Number(this.view.getBigInt64(80, true)); } @@ -28541,57 +28541,57 @@ export class MONITORREGView { // 0x04: pad4 // 0x08: isize - set fpCreateKey(value: Deno.PointerValue) { + set fpCreateKey(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set fpOpenKey(value: Deno.PointerValue) { + set fpOpenKey(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set fpCloseKey(value: Deno.PointerValue) { + set fpCloseKey(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set fpDeleteKey(value: Deno.PointerValue) { + set fpDeleteKey(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set fpEnumKey(value: Deno.PointerValue) { + set fpEnumKey(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set fpQueryInfoKey(value: Deno.PointerValue) { + set fpQueryInfoKey(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set fpSetValue(value: Deno.PointerValue) { + set fpSetValue(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set fpDeleteValue(value: Deno.PointerValue) { + set fpDeleteValue(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set fpEnumValue(value: Deno.PointerValue) { + set fpEnumValue(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set fpQueryValue(value: Deno.PointerValue) { + set fpQueryValue(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; /** * Windows.Win32.Graphics.Printing.MONITORINIT (size: 48) @@ -28725,39 +28725,39 @@ export class MONITORINITView { */ export interface MONITOR { /** isize */ - pfnEnumPorts: Deno.PointerValue; + pfnEnumPorts: bigint | number; /** isize */ - pfnOpenPort: Deno.PointerValue; + pfnOpenPort: bigint | number; /** isize */ - pfnOpenPortEx: Deno.PointerValue; + pfnOpenPortEx: bigint | number; /** isize */ - pfnStartDocPort: Deno.PointerValue; + pfnStartDocPort: bigint | number; /** isize */ - pfnWritePort: Deno.PointerValue; + pfnWritePort: bigint | number; /** isize */ - pfnReadPort: Deno.PointerValue; + pfnReadPort: bigint | number; /** isize */ - pfnEndDocPort: Deno.PointerValue; + pfnEndDocPort: bigint | number; /** isize */ - pfnClosePort: Deno.PointerValue; + pfnClosePort: bigint | number; /** isize */ - pfnAddPort: Deno.PointerValue; + pfnAddPort: bigint | number; /** isize */ - pfnAddPortEx: Deno.PointerValue; + pfnAddPortEx: bigint | number; /** isize */ - pfnConfigurePort: Deno.PointerValue; + pfnConfigurePort: bigint | number; /** isize */ - pfnDeletePort: Deno.PointerValue; + pfnDeletePort: bigint | number; /** isize */ - pfnGetPrinterDataFromPort: Deno.PointerValue; + pfnGetPrinterDataFromPort: bigint | number; /** isize */ - pfnSetPortTimeOuts: Deno.PointerValue; + pfnSetPortTimeOuts: bigint | number; /** isize */ - pfnXcvOpenPort: Deno.PointerValue; + pfnXcvOpenPort: bigint | number; /** isize */ - pfnXcvDataPort: Deno.PointerValue; + pfnXcvDataPort: bigint | number; /** isize */ - pfnXcvClosePort: Deno.PointerValue; + pfnXcvClosePort: bigint | number; } export const sizeofMONITOR = 136; @@ -28813,172 +28813,172 @@ export class MONITORView { } // 0x00: isize - get pfnEnumPorts(): Deno.PointerValue { + get pfnEnumPorts(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get pfnOpenPort(): Deno.PointerValue { + get pfnOpenPort(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get pfnOpenPortEx(): Deno.PointerValue { + get pfnOpenPortEx(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get pfnStartDocPort(): Deno.PointerValue { + get pfnStartDocPort(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get pfnWritePort(): Deno.PointerValue { + get pfnWritePort(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get pfnReadPort(): Deno.PointerValue { + get pfnReadPort(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get pfnEndDocPort(): Deno.PointerValue { + get pfnEndDocPort(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get pfnClosePort(): Deno.PointerValue { + get pfnClosePort(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get pfnAddPort(): Deno.PointerValue { + get pfnAddPort(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get pfnAddPortEx(): Deno.PointerValue { + get pfnAddPortEx(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get pfnConfigurePort(): Deno.PointerValue { + get pfnConfigurePort(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get pfnDeletePort(): Deno.PointerValue { + get pfnDeletePort(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get pfnGetPrinterDataFromPort(): Deno.PointerValue { + get pfnGetPrinterDataFromPort(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get pfnSetPortTimeOuts(): Deno.PointerValue { + get pfnSetPortTimeOuts(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get pfnXcvOpenPort(): Deno.PointerValue { + get pfnXcvOpenPort(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x78: isize - get pfnXcvDataPort(): Deno.PointerValue { + get pfnXcvDataPort(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: isize - get pfnXcvClosePort(): Deno.PointerValue { + get pfnXcvClosePort(): bigint | number { return Number(this.view.getBigInt64(128, true)); } // 0x00: isize - set pfnEnumPorts(value: Deno.PointerValue) { + set pfnEnumPorts(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set pfnOpenPort(value: Deno.PointerValue) { + set pfnOpenPort(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set pfnOpenPortEx(value: Deno.PointerValue) { + set pfnOpenPortEx(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set pfnStartDocPort(value: Deno.PointerValue) { + set pfnStartDocPort(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set pfnWritePort(value: Deno.PointerValue) { + set pfnWritePort(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set pfnReadPort(value: Deno.PointerValue) { + set pfnReadPort(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set pfnEndDocPort(value: Deno.PointerValue) { + set pfnEndDocPort(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set pfnClosePort(value: Deno.PointerValue) { + set pfnClosePort(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set pfnAddPort(value: Deno.PointerValue) { + set pfnAddPort(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set pfnAddPortEx(value: Deno.PointerValue) { + set pfnAddPortEx(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set pfnConfigurePort(value: Deno.PointerValue) { + set pfnConfigurePort(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set pfnDeletePort(value: Deno.PointerValue) { + set pfnDeletePort(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set pfnGetPrinterDataFromPort(value: Deno.PointerValue) { + set pfnGetPrinterDataFromPort(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set pfnSetPortTimeOuts(value: Deno.PointerValue) { + set pfnSetPortTimeOuts(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set pfnXcvOpenPort(value: Deno.PointerValue) { + set pfnXcvOpenPort(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } // 0x78: isize - set pfnXcvDataPort(value: Deno.PointerValue) { + set pfnXcvDataPort(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: isize - set pfnXcvClosePort(value: Deno.PointerValue) { + set pfnXcvClosePort(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } } @@ -29049,49 +29049,49 @@ export interface MONITOR2 { /** u32 */ cbSize: number; /** isize */ - pfnEnumPorts: Deno.PointerValue; + pfnEnumPorts: bigint | number; /** isize */ - pfnOpenPort: Deno.PointerValue; + pfnOpenPort: bigint | number; /** isize */ - pfnOpenPortEx: Deno.PointerValue; + pfnOpenPortEx: bigint | number; /** isize */ - pfnStartDocPort: Deno.PointerValue; + pfnStartDocPort: bigint | number; /** isize */ - pfnWritePort: Deno.PointerValue; + pfnWritePort: bigint | number; /** isize */ - pfnReadPort: Deno.PointerValue; + pfnReadPort: bigint | number; /** isize */ - pfnEndDocPort: Deno.PointerValue; + pfnEndDocPort: bigint | number; /** isize */ - pfnClosePort: Deno.PointerValue; + pfnClosePort: bigint | number; /** isize */ - pfnAddPort: Deno.PointerValue; + pfnAddPort: bigint | number; /** isize */ - pfnAddPortEx: Deno.PointerValue; + pfnAddPortEx: bigint | number; /** isize */ - pfnConfigurePort: Deno.PointerValue; + pfnConfigurePort: bigint | number; /** isize */ - pfnDeletePort: Deno.PointerValue; + pfnDeletePort: bigint | number; /** isize */ - pfnGetPrinterDataFromPort: Deno.PointerValue; + pfnGetPrinterDataFromPort: bigint | number; /** isize */ - pfnSetPortTimeOuts: Deno.PointerValue; + pfnSetPortTimeOuts: bigint | number; /** isize */ - pfnXcvOpenPort: Deno.PointerValue; + pfnXcvOpenPort: bigint | number; /** isize */ - pfnXcvDataPort: Deno.PointerValue; + pfnXcvDataPort: bigint | number; /** isize */ - pfnXcvClosePort: Deno.PointerValue; + pfnXcvClosePort: bigint | number; /** isize */ - pfnShutdown: Deno.PointerValue; + pfnShutdown: bigint | number; /** isize */ - pfnSendRecvBidiDataFromPort: Deno.PointerValue; + pfnSendRecvBidiDataFromPort: bigint | number; /** isize */ - pfnNotifyUsedPorts: Deno.PointerValue; + pfnNotifyUsedPorts: bigint | number; /** isize */ - pfnNotifyUnusedPorts: Deno.PointerValue; + pfnNotifyUnusedPorts: bigint | number; /** isize */ - pfnPowerEvent: Deno.PointerValue; + pfnPowerEvent: bigint | number; } export const sizeofMONITOR2 = 184; @@ -29167,112 +29167,112 @@ export class MONITOR2View { // 0x04: pad4 // 0x08: isize - get pfnEnumPorts(): Deno.PointerValue { + get pfnEnumPorts(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get pfnOpenPort(): Deno.PointerValue { + get pfnOpenPort(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get pfnOpenPortEx(): Deno.PointerValue { + get pfnOpenPortEx(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get pfnStartDocPort(): Deno.PointerValue { + get pfnStartDocPort(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get pfnWritePort(): Deno.PointerValue { + get pfnWritePort(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get pfnReadPort(): Deno.PointerValue { + get pfnReadPort(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get pfnEndDocPort(): Deno.PointerValue { + get pfnEndDocPort(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get pfnClosePort(): Deno.PointerValue { + get pfnClosePort(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get pfnAddPort(): Deno.PointerValue { + get pfnAddPort(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get pfnAddPortEx(): Deno.PointerValue { + get pfnAddPortEx(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get pfnConfigurePort(): Deno.PointerValue { + get pfnConfigurePort(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get pfnDeletePort(): Deno.PointerValue { + get pfnDeletePort(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get pfnGetPrinterDataFromPort(): Deno.PointerValue { + get pfnGetPrinterDataFromPort(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get pfnSetPortTimeOuts(): Deno.PointerValue { + get pfnSetPortTimeOuts(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x78: isize - get pfnXcvOpenPort(): Deno.PointerValue { + get pfnXcvOpenPort(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: isize - get pfnXcvDataPort(): Deno.PointerValue { + get pfnXcvDataPort(): bigint | number { return Number(this.view.getBigInt64(128, true)); } // 0x88: isize - get pfnXcvClosePort(): Deno.PointerValue { + get pfnXcvClosePort(): bigint | number { return Number(this.view.getBigInt64(136, true)); } // 0x90: isize - get pfnShutdown(): Deno.PointerValue { + get pfnShutdown(): bigint | number { return Number(this.view.getBigInt64(144, true)); } // 0x98: isize - get pfnSendRecvBidiDataFromPort(): Deno.PointerValue { + get pfnSendRecvBidiDataFromPort(): bigint | number { return Number(this.view.getBigInt64(152, true)); } // 0xa0: isize - get pfnNotifyUsedPorts(): Deno.PointerValue { + get pfnNotifyUsedPorts(): bigint | number { return Number(this.view.getBigInt64(160, true)); } // 0xa8: isize - get pfnNotifyUnusedPorts(): Deno.PointerValue { + get pfnNotifyUnusedPorts(): bigint | number { return Number(this.view.getBigInt64(168, true)); } // 0xb0: isize - get pfnPowerEvent(): Deno.PointerValue { + get pfnPowerEvent(): bigint | number { return Number(this.view.getBigInt64(176, true)); } @@ -29284,112 +29284,112 @@ export class MONITOR2View { // 0x04: pad4 // 0x08: isize - set pfnEnumPorts(value: Deno.PointerValue) { + set pfnEnumPorts(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set pfnOpenPort(value: Deno.PointerValue) { + set pfnOpenPort(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set pfnOpenPortEx(value: Deno.PointerValue) { + set pfnOpenPortEx(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set pfnStartDocPort(value: Deno.PointerValue) { + set pfnStartDocPort(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set pfnWritePort(value: Deno.PointerValue) { + set pfnWritePort(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set pfnReadPort(value: Deno.PointerValue) { + set pfnReadPort(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set pfnEndDocPort(value: Deno.PointerValue) { + set pfnEndDocPort(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set pfnClosePort(value: Deno.PointerValue) { + set pfnClosePort(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set pfnAddPort(value: Deno.PointerValue) { + set pfnAddPort(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set pfnAddPortEx(value: Deno.PointerValue) { + set pfnAddPortEx(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set pfnConfigurePort(value: Deno.PointerValue) { + set pfnConfigurePort(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set pfnDeletePort(value: Deno.PointerValue) { + set pfnDeletePort(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set pfnGetPrinterDataFromPort(value: Deno.PointerValue) { + set pfnGetPrinterDataFromPort(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set pfnSetPortTimeOuts(value: Deno.PointerValue) { + set pfnSetPortTimeOuts(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } // 0x78: isize - set pfnXcvOpenPort(value: Deno.PointerValue) { + set pfnXcvOpenPort(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: isize - set pfnXcvDataPort(value: Deno.PointerValue) { + set pfnXcvDataPort(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } // 0x88: isize - set pfnXcvClosePort(value: Deno.PointerValue) { + set pfnXcvClosePort(value: bigint | number) { this.view.setBigInt64(136, BigInt(value), true); } // 0x90: isize - set pfnShutdown(value: Deno.PointerValue) { + set pfnShutdown(value: bigint | number) { this.view.setBigInt64(144, BigInt(value), true); } // 0x98: isize - set pfnSendRecvBidiDataFromPort(value: Deno.PointerValue) { + set pfnSendRecvBidiDataFromPort(value: bigint | number) { this.view.setBigInt64(152, BigInt(value), true); } // 0xa0: isize - set pfnNotifyUsedPorts(value: Deno.PointerValue) { + set pfnNotifyUsedPorts(value: bigint | number) { this.view.setBigInt64(160, BigInt(value), true); } // 0xa8: isize - set pfnNotifyUnusedPorts(value: Deno.PointerValue) { + set pfnNotifyUnusedPorts(value: bigint | number) { this.view.setBigInt64(168, BigInt(value), true); } // 0xb0: isize - set pfnPowerEvent(value: Deno.PointerValue) { + set pfnPowerEvent(value: bigint | number) { this.view.setBigInt64(176, BigInt(value), true); } } @@ -29401,11 +29401,11 @@ export interface MONITORUI { /** u32 */ dwMonitorUISize: number; /** isize */ - pfnAddPortUI: Deno.PointerValue; + pfnAddPortUI: bigint | number; /** isize */ - pfnConfigurePortUI: Deno.PointerValue; + pfnConfigurePortUI: bigint | number; /** isize */ - pfnDeletePortUI: Deno.PointerValue; + pfnDeletePortUI: bigint | number; } export const sizeofMONITORUI = 32; @@ -29443,17 +29443,17 @@ export class MONITORUIView { // 0x04: pad4 // 0x08: isize - get pfnAddPortUI(): Deno.PointerValue { + get pfnAddPortUI(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get pfnConfigurePortUI(): Deno.PointerValue { + get pfnConfigurePortUI(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get pfnDeletePortUI(): Deno.PointerValue { + get pfnDeletePortUI(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -29465,17 +29465,17 @@ export class MONITORUIView { // 0x04: pad4 // 0x08: isize - set pfnAddPortUI(value: Deno.PointerValue) { + set pfnAddPortUI(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set pfnConfigurePortUI(value: Deno.PointerValue) { + set pfnConfigurePortUI(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set pfnDeletePortUI(value: Deno.PointerValue) { + set pfnDeletePortUI(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -29753,7 +29753,7 @@ export class SHOWUIPARAMSView { export type HRESULT = number; -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; // Native Libraries @@ -30660,13 +30660,13 @@ export function CommonPropertySheetUIW( export function GetCPSUIUserData( hDlg: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libCOMPSTUI_dll.GetCPSUIUserData((hDlg)); } export function SetCPSUIUserData( hDlg: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, - CPSUIUserData: Deno.PointerValue /* usize */, + CPSUIUserData: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCOMPSTUI_dll.SetCPSUIUserData((hDlg), CPSUIUserData)); } @@ -31878,14 +31878,14 @@ export function DeletePrintProvidorW( export function IsValidDevmodeA( pDevmode: Deno.PointerValue | Uint8Array /* ptr */, - DevmodeSize: Deno.PointerValue /* usize */, + DevmodeSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libwinspool_drv.IsValidDevmodeA(util.toPointer(pDevmode), DevmodeSize)); } export function IsValidDevmodeW( pDevmode: Deno.PointerValue | Uint8Array /* ptr */, - DevmodeSize: Deno.PointerValue /* usize */, + DevmodeSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libwinspool_drv.IsValidDevmodeW(util.toPointer(pDevmode), DevmodeSize)); } @@ -31995,7 +31995,7 @@ export function CorePrinterDriverInstalledA( pszEnvironment: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, CoreDriverGUID: Uint8Array | Deno.PointerValue /* System.Guid */, ftDriverDate: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.FILETIME */, - dwlDriverVersion: Deno.PointerValue /* u64 */, + dwlDriverVersion: bigint | number /* u64 */, pbDriverInstalled: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libwinspool_drv.CorePrinterDriverInstalledA(util.pstrToFfi(pszServer), util.pstrToFfi(pszEnvironment), util.toPointer(CoreDriverGUID), util.toPointer(ftDriverDate), dwlDriverVersion, util.toPointer(pbDriverInstalled)); @@ -32006,7 +32006,7 @@ export function CorePrinterDriverInstalledW( pszEnvironment: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, CoreDriverGUID: Uint8Array | Deno.PointerValue /* System.Guid */, ftDriverDate: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.FILETIME */, - dwlDriverVersion: Deno.PointerValue /* u64 */, + dwlDriverVersion: bigint | number /* u64 */, pbDriverInstalled: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libwinspool_drv.CorePrinterDriverInstalledW(util.pwstrToFfi(pszServer), util.pwstrToFfi(pszEnvironment), util.toPointer(CoreDriverGUID), util.toPointer(ftDriverDate), dwlDriverVersion, util.toPointer(pbDriverInstalled)); @@ -32373,7 +32373,7 @@ export function RouterAllocBidiResponseContainer( } export function RouterAllocBidiMem( - NumBytes: Deno.PointerValue /* usize */, + NumBytes: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libSPOOLSS_dll.RouterAllocBidiMem(NumBytes); } diff --git a/api/Graphics/Printing/PrintTicket.ts b/api/Graphics/Printing/PrintTicket.ts index d4be814..7a43f1d 100644 --- a/api/Graphics/Printing/PrintTicket.ts +++ b/api/Graphics/Printing/PrintTicket.ts @@ -26,7 +26,7 @@ export type PWSTR = Deno.PointerValue | Uint8Array; export type HRESULT = number; -export type HPTPROVIDER = Deno.PointerValue; +export type HPTPROVIDER = bigint | number; // Native Libraries diff --git a/api/Management/MobileDeviceManagementRegistration.ts b/api/Management/MobileDeviceManagementRegistration.ts index bd3d4d1..277e656 100644 --- a/api/Management/MobileDeviceManagementRegistration.ts +++ b/api/Management/MobileDeviceManagementRegistration.ts @@ -237,7 +237,7 @@ export class MANAGEMENT_REGISTRATION_INFOView { export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/Media.ts b/api/Media.ts index 6b4f199..6cb17ed 100644 --- a/api/Media.ts +++ b/api/Media.ts @@ -17681,7 +17681,7 @@ export class UNCOMPRESSEDAUDIOFORMATView { */ export interface APO_CONNECTION_PROPERTY { /** usize */ - pBuffer: Deno.PointerValue; + pBuffer: bigint | number; /** u32 */ u32ValidFrameCount: number; /** Windows.Win32.Media.Audio.Apo.APO_BUFFER_FLAGS */ @@ -17718,7 +17718,7 @@ export class APO_CONNECTION_PROPERTYView { } // 0x00: usize - get pBuffer(): Deno.PointerValue { + get pBuffer(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -17740,7 +17740,7 @@ export class APO_CONNECTION_PROPERTYView { // 0x14: pad4 // 0x00: usize - set pBuffer(value: Deno.PointerValue) { + set pBuffer(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17769,7 +17769,7 @@ export interface APO_CONNECTION_PROPERTY_V2 { /** Windows.Win32.Media.Audio.Apo.APO_CONNECTION_PROPERTY */ property: Uint8Array | Deno.PointerValue; /** u64 */ - u64QPCTime: Deno.PointerValue; + u64QPCTime: bigint | number; } export const sizeofAPO_CONNECTION_PROPERTY_V2 = 16; @@ -17801,7 +17801,7 @@ export class APO_CONNECTION_PROPERTY_V2View { } // 0x08: u64 - get u64QPCTime(): Deno.PointerValue { + get u64QPCTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17811,7 +17811,7 @@ export class APO_CONNECTION_PROPERTY_V2View { } // 0x08: u64 - set u64QPCTime(value: Deno.PointerValue) { + set u64QPCTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -17823,7 +17823,7 @@ export interface APO_CONNECTION_DESCRIPTOR { /** Windows.Win32.Media.Audio.Apo.APO_CONNECTION_BUFFER_TYPE */ Type: APO_CONNECTION_BUFFER_TYPE; /** usize */ - pBuffer: Deno.PointerValue; + pBuffer: bigint | number; /** u32 */ u32MaxFrameCount: number; /** Windows.Win32.Media.Audio.Apo.IAudioMediaType */ @@ -17871,7 +17871,7 @@ export class APO_CONNECTION_DESCRIPTORView { // 0x04: pad4 // 0x08: usize - get pBuffer(): Deno.PointerValue { + get pBuffer(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17903,7 +17903,7 @@ export class APO_CONNECTION_DESCRIPTORView { // 0x04: pad4 // 0x08: usize - set pBuffer(value: Deno.PointerValue) { + set pBuffer(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -18466,7 +18466,7 @@ export class APOInitSystemEffects2View { // 0x3c: pad4 } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -18993,9 +18993,9 @@ export class AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_NOTIFICATIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -19021,22 +19021,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -21943,7 +21943,7 @@ export interface DMUS_EVENTHEADER { /** u32 */ dwChannelGroup: number; /** i64 */ - rtDelta: Deno.PointerValue; + rtDelta: bigint | number; /** u32 */ dwFlags: number; } @@ -21986,7 +21986,7 @@ export class DMUS_EVENTHEADERView { } // 0x08: i64 - get rtDelta(): Deno.PointerValue { + get rtDelta(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -22008,7 +22008,7 @@ export class DMUS_EVENTHEADERView { } // 0x08: i64 - set rtDelta(value: Deno.PointerValue) { + set rtDelta(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -23152,7 +23152,7 @@ export interface DMUS_VOICE_STATE { /** Windows.Win32.Foundation.BOOL */ bExists: boolean; /** u64 */ - spPosition: Deno.PointerValue; + spPosition: bigint | number; } export const sizeofDMUS_VOICE_STATE = 16; @@ -23186,7 +23186,7 @@ export class DMUS_VOICE_STATEView { // 0x04: pad4 // 0x08: u64 - get spPosition(): Deno.PointerValue { + get spPosition(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23198,7 +23198,7 @@ export class DMUS_VOICE_STATEView { // 0x04: pad4 // 0x08: u64 - set spPosition(value: Deno.PointerValue) { + set spPosition(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24578,9 +24578,9 @@ export interface DSEFFECTDESC { /** System.Guid */ guidDSFXClass: Uint8Array | Deno.PointerValue; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; } export const sizeofDSEFFECTDESC = 32; @@ -24628,12 +24628,12 @@ export class DSEFFECTDESCView { } // 0x10: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -24653,12 +24653,12 @@ export class DSEFFECTDESCView { } // 0x10: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -25765,7 +25765,7 @@ export class DSCBCAPSView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Media.Audio.DirectSound.DSBPOSITIONNOTIFY (size: 16) @@ -27095,41 +27095,41 @@ export class AUDIO_VOLUME_NOTIFICATION_DATAView { } } -export type HTASK = Deno.PointerValue; +export type HTASK = bigint | number; -export type HMIDI = Deno.PointerValue; +export type HMIDI = bigint | number; -export type HMIDIIN = Deno.PointerValue; +export type HMIDIIN = bigint | number; -export type HMIDIOUT = Deno.PointerValue; +export type HMIDIOUT = bigint | number; -export type HMIDISTRM = Deno.PointerValue; +export type HMIDISTRM = bigint | number; -export type HMIXER = Deno.PointerValue; +export type HMIXER = bigint | number; -export type HMIXEROBJ = Deno.PointerValue; +export type HMIXEROBJ = bigint | number; -export type HWAVE = Deno.PointerValue; +export type HWAVE = bigint | number; -export type HWAVEOUT = Deno.PointerValue; +export type HWAVEOUT = bigint | number; -export type HWAVEIN = Deno.PointerValue; +export type HWAVEIN = bigint | number; -export type HACMDRIVERID = Deno.PointerValue; +export type HACMDRIVERID = bigint | number; -export type HACMDRIVER = Deno.PointerValue; +export type HACMDRIVER = bigint | number; -export type HACMSTREAM = Deno.PointerValue; +export type HACMSTREAM = bigint | number; -export type HACMOBJ = Deno.PointerValue; +export type HACMOBJ = bigint | number; -export type HMMIO = Deno.PointerValue; +export type HMMIO = bigint | number; -export type HDRVR = Deno.PointerValue; +export type HDRVR = bigint | number; -export type HIC = Deno.PointerValue; +export type HIC = bigint | number; -export type HVIDEO = Deno.PointerValue; +export type HVIDEO = bigint | number; export type NTSTATUS = number; @@ -28870,9 +28870,9 @@ export interface AM_SAMPLE2_PROPERTIES { /** i32 */ lActual: number; /** i64 */ - tStart: Deno.PointerValue; + tStart: bigint | number; /** i64 */ - tStop: Deno.PointerValue; + tStop: bigint | number; /** u32 */ dwStreamId: number; /** ptr */ @@ -28944,12 +28944,12 @@ export class AM_SAMPLE2_PROPERTIESView { } // 0x10: i64 - get tStart(): Deno.PointerValue { + get tStart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get tStop(): Deno.PointerValue { + get tStop(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -29000,12 +29000,12 @@ export class AM_SAMPLE2_PROPERTIESView { } // 0x10: i64 - set tStart(value: Deno.PointerValue) { + set tStart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set tStop(value: Deno.PointerValue) { + set tStop(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -29597,9 +29597,9 @@ export interface Quality { /** i32 */ Proportion: number; /** i64 */ - Late: Deno.PointerValue; + Late: bigint | number; /** i64 */ - TimeStamp: Deno.PointerValue; + TimeStamp: bigint | number; } export const sizeofQuality = 24; @@ -29639,12 +29639,12 @@ export class QualityView { } // 0x08: i64 - get Late(): Deno.PointerValue { + get Late(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get TimeStamp(): Deno.PointerValue { + get TimeStamp(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -29659,12 +29659,12 @@ export class QualityView { } // 0x08: i64 - set Late(value: Deno.PointerValue) { + set Late(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set TimeStamp(value: Deno.PointerValue) { + set TimeStamp(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -29759,9 +29759,9 @@ export class COLORKEYView { */ export interface AM_STREAM_INFO { /** i64 */ - tStart: Deno.PointerValue; + tStart: bigint | number; /** i64 */ - tStop: Deno.PointerValue; + tStop: bigint | number; /** u32 */ dwStartCookie: number; /** u32 */ @@ -29800,12 +29800,12 @@ export class AM_STREAM_INFOView { } // 0x00: i64 - get tStart(): Deno.PointerValue { + get tStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get tStop(): Deno.PointerValue { + get tStop(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -29827,12 +29827,12 @@ export class AM_STREAM_INFOView { // 0x1c: pad4 // 0x00: i64 - set tStart(value: Deno.PointerValue) { + set tStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set tStop(value: Deno.PointerValue) { + set tStop(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -29946,9 +29946,9 @@ export interface VIDEO_STREAM_CONFIG_CAPS { /** i32 */ ShrinkTapsY: number; /** i64 */ - MinFrameInterval: Deno.PointerValue; + MinFrameInterval: bigint | number; /** i64 */ - MaxFrameInterval: Deno.PointerValue; + MaxFrameInterval: bigint | number; /** i32 */ MinBitsPerSecond: number; /** i32 */ @@ -30110,12 +30110,12 @@ export class VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - get MinFrameInterval(): Deno.PointerValue { + get MinFrameInterval(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: i64 - get MaxFrameInterval(): Deno.PointerValue { + get MaxFrameInterval(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -30217,12 +30217,12 @@ export class VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - set MinFrameInterval(value: Deno.PointerValue) { + set MinFrameInterval(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: i64 - set MaxFrameInterval(value: Deno.PointerValue) { + set MaxFrameInterval(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } @@ -30932,9 +30932,9 @@ export interface VMRPRESENTATIONINFO { /** Windows.Win32.Graphics.DirectDraw.IDirectDrawSurface7 */ lpSurf: Uint8Array | Deno.PointerValue; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Foundation.SIZE */ szAspectRatio: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -30998,12 +30998,12 @@ export class VMRPRESENTATIONINFOView { } // 0x10: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -31048,12 +31048,12 @@ export class VMRPRESENTATIONINFOView { } // 0x10: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -31370,7 +31370,7 @@ export class VMRGUIDView { } } -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; /** * _u_e__Struct (size: 16) @@ -31444,7 +31444,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -31484,7 +31484,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -31499,7 +31499,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -31977,7 +31977,7 @@ export class VMRDeinterlaceCapsView { // 0x14: pad4 } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.Media.DirectShow.VMRALPHABITMAP (size: 56) @@ -35279,7 +35279,7 @@ export interface BDA_WMDRM_STATUS { /** u32 */ ulRevInfoSequenceNumber: number; /** u64 */ - ulRevInfoIssuedTime: Deno.PointerValue; + ulRevInfoIssuedTime: bigint | number; /** u32 */ ulRevListVersion: number; /** u32 */ @@ -35358,7 +35358,7 @@ export class BDA_WMDRM_STATUSView { } // 0x18: u64 - get ulRevInfoIssuedTime(): Deno.PointerValue { + get ulRevInfoIssuedTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -35410,7 +35410,7 @@ export class BDA_WMDRM_STATUSView { } // 0x18: u64 - set ulRevInfoIssuedTime(value: Deno.PointerValue) { + set ulRevInfoIssuedTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -36025,7 +36025,7 @@ export interface BDA_SCAN_CAPABILTIES { /** i32 */ lResult: number; /** u64 */ - ul64AnalogStandardsSupported: Deno.PointerValue; + ul64AnalogStandardsSupported: bigint | number; } export const sizeofBDA_SCAN_CAPABILTIES = 16; @@ -36059,7 +36059,7 @@ export class BDA_SCAN_CAPABILTIESView { // 0x04: pad4 // 0x08: u64 - get ul64AnalogStandardsSupported(): Deno.PointerValue { + get ul64AnalogStandardsSupported(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -36071,7 +36071,7 @@ export class BDA_SCAN_CAPABILTIESView { // 0x04: pad4 // 0x08: u64 - set ul64AnalogStandardsSupported(value: Deno.PointerValue) { + set ul64AnalogStandardsSupported(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -37970,11 +37970,11 @@ export class SmartCardApplicationView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -38026,7 +38026,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -38037,7 +38037,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -38073,7 +38073,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -38084,7 +38084,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -38121,7 +38121,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -38150,7 +38150,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -38162,7 +38162,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -39471,7 +39471,7 @@ export interface VIDEOINFO { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Graphics.Gdi.BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; /** _Anonymous_e__Union */ @@ -39533,7 +39533,7 @@ export class VIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -39570,7 +39570,7 @@ export class VIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -39598,7 +39598,7 @@ export interface ANALOGVIDEOINFO { /** u32 */ dwActiveHeight: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; } export const sizeofANALOGVIDEOINFO = 32; @@ -39652,7 +39652,7 @@ export class ANALOGVIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -39677,7 +39677,7 @@ export class ANALOGVIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -40052,9 +40052,9 @@ export interface VMR9PresentationInfo { /** Windows.Win32.Graphics.Direct3D9.IDirect3DSurface9 */ lpSurf: Uint8Array | Deno.PointerValue; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Foundation.SIZE */ szAspectRatio: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -40118,12 +40118,12 @@ export class VMR9PresentationInfoView { } // 0x10: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -40168,12 +40168,12 @@ export class VMR9PresentationInfoView { } // 0x10: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -41292,9 +41292,9 @@ export interface VMR9VideoStreamInfo { /** Windows.Win32.Media.DirectShow.VMR9NormalizedRect */ rNormal: Uint8Array | Deno.PointerValue; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Media.DirectShow.VMR9_SampleFormat */ SampleFormat: VMR9_SampleFormat; } @@ -41369,12 +41369,12 @@ export class VMR9VideoStreamInfoView { } // 0x20: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -41416,12 +41416,12 @@ export class VMR9VideoStreamInfoView { } // 0x20: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } @@ -42259,7 +42259,7 @@ export interface TIMECODE { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - qw: Deno.PointerValue; + qw: bigint | number; } export const sizeofTIMECODE = 16; @@ -42291,7 +42291,7 @@ export class TIMECODEView { } // 0x08: u64 - get qw(): Deno.PointerValue { + get qw(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -42301,7 +42301,7 @@ export class TIMECODEView { } // 0x08: u64 - set qw(value: Deno.PointerValue) { + set qw(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -42762,7 +42762,7 @@ export interface AVISTDINDEX { /** u32 */ dwChunkId: number; /** u64 */ - qwBaseOffset: Deno.PointerValue; + qwBaseOffset: bigint | number; /** u32 */ dwReserved_3: number; /** array */ @@ -42847,7 +42847,7 @@ export class AVISTDINDEXView { // 0x14: pad4 // 0x18: u64 - get qwBaseOffset(): Deno.PointerValue { + get qwBaseOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -42902,7 +42902,7 @@ export class AVISTDINDEXView { // 0x14: pad4 // 0x18: u64 - set qwBaseOffset(value: Deno.PointerValue) { + set qwBaseOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -43010,7 +43010,7 @@ export interface AVITIMEDINDEX { /** u32 */ dwChunkId: number; /** u64 */ - qwBaseOffset: Deno.PointerValue; + qwBaseOffset: bigint | number; /** u32 */ dwReserved_3: number; /** array */ @@ -43099,7 +43099,7 @@ export class AVITIMEDINDEXView { // 0x14: pad4 // 0x18: u64 - get qwBaseOffset(): Deno.PointerValue { + get qwBaseOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -43160,7 +43160,7 @@ export class AVITIMEDINDEXView { // 0x14: pad4 // 0x18: u64 - set qwBaseOffset(value: Deno.PointerValue) { + set qwBaseOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -43634,7 +43634,7 @@ export interface AVIFIELDINDEX { /** u32 */ dwChunkId: number; /** u64 */ - qwBaseOffset: Deno.PointerValue; + qwBaseOffset: bigint | number; /** u32 */ dwReserved3: number; /** array */ @@ -43719,7 +43719,7 @@ export class AVIFIELDINDEXView { // 0x14: pad4 // 0x18: u64 - get qwBaseOffset(): Deno.PointerValue { + get qwBaseOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -43774,7 +43774,7 @@ export class AVIFIELDINDEXView { // 0x14: pad4 // 0x18: u64 - set qwBaseOffset(value: Deno.PointerValue) { + set qwBaseOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -45492,7 +45492,7 @@ export class AM_DvdKaraokeDataView { */ export interface AM_SimpleRateChange { /** i64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** i32 */ Rate: number; } @@ -45521,7 +45521,7 @@ export class AM_SimpleRateChangeView { } // 0x00: i64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -45533,7 +45533,7 @@ export class AM_SimpleRateChangeView { // 0x0c: pad4 // 0x00: i64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -45603,7 +45603,7 @@ export class AM_QueryRateView { */ export interface AM_ExactRateChange { /** i64 */ - OutputZeroTime: Deno.PointerValue; + OutputZeroTime: bigint | number; /** i32 */ Rate: number; } @@ -45632,7 +45632,7 @@ export class AM_ExactRateChangeView { } // 0x00: i64 - get OutputZeroTime(): Deno.PointerValue { + get OutputZeroTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -45644,7 +45644,7 @@ export class AM_ExactRateChangeView { // 0x0c: pad4 // 0x00: i64 - set OutputZeroTime(value: Deno.PointerValue) { + set OutputZeroTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -45661,9 +45661,9 @@ export class AM_ExactRateChangeView { */ export interface AM_DVD_ChangeRate { /** i64 */ - StartInTime: Deno.PointerValue; + StartInTime: bigint | number; /** i64 */ - StartOutTime: Deno.PointerValue; + StartOutTime: bigint | number; /** i32 */ Rate: number; } @@ -45694,12 +45694,12 @@ export class AM_DVD_ChangeRateView { } // 0x00: i64 - get StartInTime(): Deno.PointerValue { + get StartInTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get StartOutTime(): Deno.PointerValue { + get StartOutTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -45711,12 +45711,12 @@ export class AM_DVD_ChangeRateView { // 0x14: pad4 // 0x00: i64 - set StartInTime(value: Deno.PointerValue) { + set StartInTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set StartOutTime(value: Deno.PointerValue) { + set StartOutTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -45863,9 +45863,9 @@ export class MP_PARAMINFOView { */ export interface MP_ENVELOPE_SEGMENT { /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** f32 */ valStart: number; /** f32 */ @@ -45907,12 +45907,12 @@ export class MP_ENVELOPE_SEGMENTView { } // 0x00: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -45937,12 +45937,12 @@ export class MP_ENVELOPE_SEGMENTView { } // 0x00: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -46111,9 +46111,9 @@ export class DXVA2_Fixed32View { */ export interface DXVA2_VIDEOSAMPLE { /** i64 */ - Start: Deno.PointerValue; + Start: bigint | number; /** i64 */ - End: Deno.PointerValue; + End: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVA2_ExtendedFormat */ SampleFormat: Uint8Array | Deno.PointerValue; /** u32 */ @@ -46168,12 +46168,12 @@ export class DXVA2_VIDEOSAMPLEView { } // 0x00: i64 - get Start(): Deno.PointerValue { + get Start(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -46221,12 +46221,12 @@ export class DXVA2_VIDEOSAMPLEView { } // 0x00: i64 - set Start(value: Deno.PointerValue) { + set Start(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -46509,7 +46509,7 @@ export class DXVA2_FilterValuesView { */ export interface DXVA2_VIDEOPROCESSBLT { /** i64 */ - TargetFrame: Deno.PointerValue; + TargetFrame: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.SIZE */ @@ -46592,7 +46592,7 @@ export class DXVA2_VIDEOPROCESSBLTView { } // 0x00: i64 - get TargetFrame(): Deno.PointerValue { + get TargetFrame(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -46684,7 +46684,7 @@ export class DXVA2_VIDEOPROCESSBLTView { // 0x74: pad4 // 0x00: i64 - set TargetFrame(value: Deno.PointerValue) { + set TargetFrame(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -47158,9 +47158,9 @@ export interface DXVA2Trace_DecodeDevCreatedData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pD3DDevice: Deno.PointerValue; + pD3DDevice: bigint | number; /** System.Guid */ DeviceGuid: Uint8Array | Deno.PointerValue; /** u32 */ @@ -47211,12 +47211,12 @@ export class DXVA2Trace_DecodeDevCreatedDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pD3DDevice(): Deno.PointerValue { + get pD3DDevice(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -47249,12 +47249,12 @@ export class DXVA2Trace_DecodeDevCreatedDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pD3DDevice(value: Deno.PointerValue) { + set pD3DDevice(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -47288,7 +47288,7 @@ export interface DXVA2Trace_DecodeDeviceData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** Windows.Win32.Foundation.BOOL */ Enter: boolean; } @@ -47325,7 +47325,7 @@ export class DXVA2Trace_DecodeDeviceDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -47342,7 +47342,7 @@ export class DXVA2Trace_DecodeDeviceDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -47361,9 +47361,9 @@ export interface DXVA2Trace_DecodeDevBeginFrameData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pRenderTarget: Deno.PointerValue; + pRenderTarget: bigint | number; /** Windows.Win32.Foundation.BOOL */ Enter: boolean; } @@ -47402,12 +47402,12 @@ export class DXVA2Trace_DecodeDevBeginFrameDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pRenderTarget(): Deno.PointerValue { + get pRenderTarget(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -47424,12 +47424,12 @@ export class DXVA2Trace_DecodeDevBeginFrameDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pRenderTarget(value: Deno.PointerValue) { + set pRenderTarget(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -47448,7 +47448,7 @@ export interface DXVA2Trace_DecodeDevGetBufferData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u32 */ BufferType: number; /** Windows.Win32.Foundation.BOOL */ @@ -47488,7 +47488,7 @@ export class DXVA2Trace_DecodeDevGetBufferDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -47508,7 +47508,7 @@ export class DXVA2Trace_DecodeDevGetBufferDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -47530,9 +47530,9 @@ export interface DXVA2Trace_VideoProcessDevCreatedData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pD3DDevice: Deno.PointerValue; + pD3DDevice: bigint | number; /** System.Guid */ DeviceGuid: Uint8Array | Deno.PointerValue; /** u32 */ @@ -47586,12 +47586,12 @@ export class DXVA2Trace_VideoProcessDevCreatedDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pD3DDevice(): Deno.PointerValue { + get pD3DDevice(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -47627,12 +47627,12 @@ export class DXVA2Trace_VideoProcessDevCreatedDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pD3DDevice(value: Deno.PointerValue) { + set pD3DDevice(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -47669,7 +47669,7 @@ export interface DXVA2Trace_VideoProcessDeviceData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** Windows.Win32.Foundation.BOOL */ Enter: boolean; } @@ -47706,7 +47706,7 @@ export class DXVA2Trace_VideoProcessDeviceDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -47723,7 +47723,7 @@ export class DXVA2Trace_VideoProcessDeviceDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -47742,11 +47742,11 @@ export interface DXVA2TraceVideoProcessBltData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pRenderTarget: Deno.PointerValue; + pRenderTarget: bigint | number; /** u64 */ - TargetFrameTime: Deno.PointerValue; + TargetFrameTime: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BOOL */ @@ -47791,17 +47791,17 @@ export class DXVA2TraceVideoProcessBltDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pRenderTarget(): Deno.PointerValue { + get pRenderTarget(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetFrameTime(): Deno.PointerValue { + get TargetFrameTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -47824,17 +47824,17 @@ export class DXVA2TraceVideoProcessBltDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pRenderTarget(value: Deno.PointerValue) { + set pRenderTarget(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetFrameTime(value: Deno.PointerValue) { + set TargetFrameTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -47938,7 +47938,7 @@ export interface VIDEOINFOHEADER { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Graphics.Gdi.BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; } @@ -47996,7 +47996,7 @@ export class VIDEOINFOHEADERView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -48027,7 +48027,7 @@ export class VIDEOINFOHEADERView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -48133,7 +48133,7 @@ export interface VIDEOINFOHEADER2 { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** u32 */ dwInterlaceFlags: number; /** u32 */ @@ -48216,7 +48216,7 @@ export class VIDEOINFOHEADER2View { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -48280,7 +48280,7 @@ export class VIDEOINFOHEADER2View { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -48682,9 +48682,9 @@ export interface DMO_OUTPUT_DATA_BUFFER { /** u32 */ dwStatus: number; /** i64 */ - rtTimestamp: Deno.PointerValue; + rtTimestamp: bigint | number; /** i64 */ - rtTimelength: Deno.PointerValue; + rtTimelength: bigint | number; } export const sizeofDMO_OUTPUT_DATA_BUFFER = 32; @@ -48728,12 +48728,12 @@ export class DMO_OUTPUT_DATA_BUFFERView { // 0x0c: pad4 // 0x10: i64 - get rtTimestamp(): Deno.PointerValue { + get rtTimestamp(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get rtTimelength(): Deno.PointerValue { + get rtTimelength(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -48750,12 +48750,12 @@ export class DMO_OUTPUT_DATA_BUFFERView { // 0x0c: pad4 // 0x10: i64 - set rtTimestamp(value: Deno.PointerValue) { + set rtTimestamp(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set rtTimelength(value: Deno.PointerValue) { + set rtTimelength(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -48822,9 +48822,9 @@ export interface WMDRMProtectionInfo { /** array */ wszKID: Deno.PointerValue; /** u64 */ - qwCounter: Deno.PointerValue; + qwCounter: bigint | number; /** u64 */ - qwIndex: Deno.PointerValue; + qwIndex: bigint | number; /** u8 */ bOffset: number; } @@ -48863,12 +48863,12 @@ export class WMDRMProtectionInfoView { } // 0x08: u64 - get qwCounter(): Deno.PointerValue { + get qwCounter(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get qwIndex(): Deno.PointerValue { + get qwIndex(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -48885,12 +48885,12 @@ export class WMDRMProtectionInfoView { } // 0x08: u64 - set qwCounter(value: Deno.PointerValue) { + set qwCounter(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set qwIndex(value: Deno.PointerValue) { + set qwIndex(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -49044,15 +49044,15 @@ export class STREAMBUFFER_ATTRIBUTEView { */ export interface SBE_PIN_DATA { /** u64 */ - cDataBytes: Deno.PointerValue; + cDataBytes: bigint | number; /** u64 */ - cSamplesProcessed: Deno.PointerValue; + cSamplesProcessed: bigint | number; /** u64 */ - cDiscontinuities: Deno.PointerValue; + cDiscontinuities: bigint | number; /** u64 */ - cSyncPoints: Deno.PointerValue; + cSyncPoints: bigint | number; /** u64 */ - cTimestamps: Deno.PointerValue; + cTimestamps: bigint | number; } export const sizeofSBE_PIN_DATA = 40; @@ -49084,52 +49084,52 @@ export class SBE_PIN_DATAView { } // 0x00: u64 - get cDataBytes(): Deno.PointerValue { + get cDataBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get cSamplesProcessed(): Deno.PointerValue { + get cSamplesProcessed(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get cDiscontinuities(): Deno.PointerValue { + get cDiscontinuities(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get cSyncPoints(): Deno.PointerValue { + get cSyncPoints(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cTimestamps(): Deno.PointerValue { + get cTimestamps(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: u64 - set cDataBytes(value: Deno.PointerValue) { + set cDataBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set cSamplesProcessed(value: Deno.PointerValue) { + set cSamplesProcessed(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set cDiscontinuities(value: Deno.PointerValue) { + set cDiscontinuities(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set cSyncPoints(value: Deno.PointerValue) { + set cSyncPoints(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cTimestamps(value: Deno.PointerValue) { + set cTimestamps(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -52032,9 +52032,9 @@ export interface UDCR_TAG { /** array */ KID: Deno.PointerValue; /** u64 */ - ullBaseCounter: Deno.PointerValue; + ullBaseCounter: bigint | number; /** u64 */ - ullBaseCounterRange: Deno.PointerValue; + ullBaseCounterRange: bigint | number; /** Windows.Win32.Foundation.BOOL */ fScrambled: boolean; /** u8 */ @@ -52095,12 +52095,12 @@ export class UDCR_TAGView { } // 0x10: u64 - get ullBaseCounter(): Deno.PointerValue { + get ullBaseCounter(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullBaseCounterRange(): Deno.PointerValue { + get ullBaseCounterRange(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -52139,12 +52139,12 @@ export class UDCR_TAGView { } // 0x10: u64 - set ullBaseCounter(value: Deno.PointerValue) { + set ullBaseCounter(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullBaseCounterRange(value: Deno.PointerValue) { + set ullBaseCounterRange(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -52401,7 +52401,7 @@ export class VA_OPTIONAL_VIDEO_PROPERTIESView { */ export interface _Others { /** i64 */ - _bitfield: Deno.PointerValue; + _bitfield: bigint | number; } export const sizeof_Others = 8; @@ -52425,12 +52425,12 @@ export class _OthersView { } // 0x00: i64 - get _bitfield(): Deno.PointerValue { + get _bitfield(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set _bitfield(value: Deno.PointerValue) { + set _bitfield(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -52442,7 +52442,7 @@ export interface _Fields_e__Union { /** _Others */ Others: Uint8Array | Deno.PointerValue; /** i64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeof_Fields_e__Union = 16; @@ -52474,7 +52474,7 @@ export class _Fields_e__UnionView { } // 0x08: i64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -52484,7 +52484,7 @@ export class _Fields_e__UnionView { } // 0x08: i64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -52496,7 +52496,7 @@ export interface TRANSPORT_PROPERTIES { /** u32 */ PID: number; /** i64 */ - PCR: Deno.PointerValue; + PCR: bigint | number; /** _Fields_e__Union */ Fields: Uint8Array | Deno.PointerValue; } @@ -52534,7 +52534,7 @@ export class TRANSPORT_PROPERTIESView { // 0x04: pad4 // 0x08: i64 - get PCR(): Deno.PointerValue { + get PCR(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -52552,7 +52552,7 @@ export class TRANSPORT_PROPERTIESView { // 0x04: pad4 // 0x08: i64 - set PCR(value: Deno.PointerValue) { + set PCR(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -52669,7 +52669,7 @@ export class PBDA_TAG_ATTRIBUTEView { */ export interface CAPTURE_STREAMTIME { /** i64 */ - StreamTime: Deno.PointerValue; + StreamTime: bigint | number; } export const sizeofCAPTURE_STREAMTIME = 8; @@ -52693,12 +52693,12 @@ export class CAPTURE_STREAMTIMEView { } // 0x00: i64 - get StreamTime(): Deno.PointerValue { + get StreamTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set StreamTime(value: Deno.PointerValue) { + set StreamTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -52808,9 +52808,9 @@ export class DSHOW_STREAM_DESCView { */ export interface SAMPLE_LIVE_STREAM_TIME { /** u64 */ - qwStreamTime: Deno.PointerValue; + qwStreamTime: bigint | number; /** u64 */ - qwLiveTime: Deno.PointerValue; + qwLiveTime: bigint | number; } export const sizeofSAMPLE_LIVE_STREAM_TIME = 16; @@ -52836,22 +52836,22 @@ export class SAMPLE_LIVE_STREAM_TIMEView { } // 0x00: u64 - get qwStreamTime(): Deno.PointerValue { + get qwStreamTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwLiveTime(): Deno.PointerValue { + get qwLiveTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set qwStreamTime(value: Deno.PointerValue) { + set qwStreamTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwLiveTime(value: Deno.PointerValue) { + set qwLiveTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -54643,7 +54643,7 @@ export interface KSM_BDA_SCAN_FILTER { /** u32 */ ulScanModulationTypeSize: number; /** u64 */ - AnalogVideoStandards: Deno.PointerValue; + AnalogVideoStandards: bigint | number; /** array */ argbScanModulationTypes: Deno.PointerValue; } @@ -54689,7 +54689,7 @@ export class KSM_BDA_SCAN_FILTERView { // 0x0c: pad4 // 0x10: u64 - get AnalogVideoStandards(): Deno.PointerValue { + get AnalogVideoStandards(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -54712,7 +54712,7 @@ export class KSM_BDA_SCAN_FILTERView { // 0x0c: pad4 // 0x10: u64 - set AnalogVideoStandards(value: Deno.PointerValue) { + set AnalogVideoStandards(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -54797,7 +54797,7 @@ export interface KSM_BDA_GDDS_TUNEXMLFROMIDX { /** Windows.Win32.Media.KernelStreaming.KSIDENTIFIER */ Method: Uint8Array | Deno.PointerValue; /** u64 */ - ulIdx: Deno.PointerValue; + ulIdx: bigint | number; } export const sizeofKSM_BDA_GDDS_TUNEXMLFROMIDX = 16; @@ -54829,7 +54829,7 @@ export class KSM_BDA_GDDS_TUNEXMLFROMIDXView { } // 0x08: u64 - get ulIdx(): Deno.PointerValue { + get ulIdx(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -54839,7 +54839,7 @@ export class KSM_BDA_GDDS_TUNEXMLFROMIDXView { } // 0x08: u64 - set ulIdx(value: Deno.PointerValue) { + set ulIdx(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -55512,7 +55512,7 @@ export interface KSDATAFORMAT { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** i64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; } export const sizeofKSDATAFORMAT = 16; @@ -55544,7 +55544,7 @@ export class KSDATAFORMATView { } // 0x08: i64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -55554,7 +55554,7 @@ export class KSDATAFORMATView { } // 0x08: i64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -55610,7 +55610,7 @@ export interface BDA_TRANSPORT_INFO { /** u32 */ ulcbPhyiscalFrameAlignment: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; } export const sizeofBDA_TRANSPORT_INFO = 24; @@ -55658,7 +55658,7 @@ export class BDA_TRANSPORT_INFOView { // 0x0c: pad4 // 0x10: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -55680,7 +55680,7 @@ export class BDA_TRANSPORT_INFOView { // 0x0c: pad4 // 0x10: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -55747,7 +55747,7 @@ export interface ChannelChangeInfo { /** Windows.Win32.Media.DirectShow.ChannelChangeSpanningEvent_State */ state: ChannelChangeSpanningEvent_State; /** u64 */ - TimeStamp: Deno.PointerValue; + TimeStamp: bigint | number; } export const sizeofChannelChangeInfo = 16; @@ -55781,7 +55781,7 @@ export class ChannelChangeInfoView { // 0x04: pad4 // 0x08: u64 - get TimeStamp(): Deno.PointerValue { + get TimeStamp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -55793,7 +55793,7 @@ export class ChannelChangeInfoView { // 0x04: pad4 // 0x08: u64 - set TimeStamp(value: Deno.PointerValue) { + set TimeStamp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -55805,7 +55805,7 @@ export interface ChannelTypeInfo { /** Windows.Win32.Media.DirectShow.ChannelType */ channelType: ChannelType; /** u64 */ - timeStamp: Deno.PointerValue; + timeStamp: bigint | number; } export const sizeofChannelTypeInfo = 16; @@ -55839,7 +55839,7 @@ export class ChannelTypeInfoView { // 0x04: pad4 // 0x08: u64 - get timeStamp(): Deno.PointerValue { + get timeStamp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -55851,7 +55851,7 @@ export class ChannelTypeInfoView { // 0x04: pad4 // 0x08: u64 - set timeStamp(value: Deno.PointerValue) { + set timeStamp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -60149,7 +60149,7 @@ export class JPEGINFOHEADERView { */ export interface MCI_GENERIC_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; } export const sizeofMCI_GENERIC_PARMS = 8; @@ -60173,12 +60173,12 @@ export class MCI_GENERIC_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -60188,7 +60188,7 @@ export class MCI_GENERIC_PARMSView { */ export interface MCI_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -60238,7 +60238,7 @@ export class MCI_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60268,7 +60268,7 @@ export class MCI_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60303,7 +60303,7 @@ export class MCI_OPEN_PARMSAView { */ export interface MCI_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -60353,7 +60353,7 @@ export class MCI_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60383,7 +60383,7 @@ export class MCI_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60418,7 +60418,7 @@ export class MCI_OPEN_PARMSWView { */ export interface MCI_PLAY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -60450,7 +60450,7 @@ export class MCI_PLAY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60465,7 +60465,7 @@ export class MCI_PLAY_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60485,7 +60485,7 @@ export class MCI_PLAY_PARMSView { */ export interface MCI_SEEK_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTo: number; } @@ -60514,7 +60514,7 @@ export class MCI_SEEK_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60526,7 +60526,7 @@ export class MCI_SEEK_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60543,9 +60543,9 @@ export class MCI_SEEK_PARMSView { */ export interface MCI_STATUS_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwReturn: Deno.PointerValue; + dwReturn: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -60579,12 +60579,12 @@ export class MCI_STATUS_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwReturn(): Deno.PointerValue { + get dwReturn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -60599,12 +60599,12 @@ export class MCI_STATUS_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwReturn(value: Deno.PointerValue) { + set dwReturn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -60624,7 +60624,7 @@ export class MCI_STATUS_PARMSView { */ export interface MCI_INFO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -60660,7 +60660,7 @@ export class MCI_INFO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60678,7 +60678,7 @@ export class MCI_INFO_PARMSAView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60701,7 +60701,7 @@ export class MCI_INFO_PARMSAView { */ export interface MCI_INFO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -60737,7 +60737,7 @@ export class MCI_INFO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60755,7 +60755,7 @@ export class MCI_INFO_PARMSWView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60778,7 +60778,7 @@ export class MCI_INFO_PARMSWView { */ export interface MCI_GETDEVCAPS_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwReturn: number; /** u32 */ @@ -60810,7 +60810,7 @@ export class MCI_GETDEVCAPS_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60825,7 +60825,7 @@ export class MCI_GETDEVCAPS_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60845,7 +60845,7 @@ export class MCI_GETDEVCAPS_PARMSView { */ export interface MCI_SYSINFO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -60889,7 +60889,7 @@ export class MCI_SYSINFO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -60917,7 +60917,7 @@ export class MCI_SYSINFO_PARMSAView { // 0x1c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -60950,7 +60950,7 @@ export class MCI_SYSINFO_PARMSAView { */ export interface MCI_SYSINFO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -60994,7 +60994,7 @@ export class MCI_SYSINFO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61022,7 +61022,7 @@ export class MCI_SYSINFO_PARMSWView { // 0x1c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61055,7 +61055,7 @@ export class MCI_SYSINFO_PARMSWView { */ export interface MCI_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -61087,7 +61087,7 @@ export class MCI_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61102,7 +61102,7 @@ export class MCI_SET_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61117,14 +61117,14 @@ export class MCI_SET_PARMSView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Media.Multimedia.MCI_BREAK_PARMS (size: 24) */ export interface MCI_BREAK_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** i32 */ nVirtKey: number; /** Windows.Win32.Foundation.HWND */ @@ -61157,7 +61157,7 @@ export class MCI_BREAK_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61175,7 +61175,7 @@ export class MCI_BREAK_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61197,7 +61197,7 @@ export class MCI_BREAK_PARMSView { */ export interface MCI_SAVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; } @@ -61228,7 +61228,7 @@ export class MCI_SAVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61239,7 +61239,7 @@ export class MCI_SAVE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61255,7 +61255,7 @@ export class MCI_SAVE_PARMSAView { */ export interface MCI_SAVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; } @@ -61286,7 +61286,7 @@ export class MCI_SAVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61297,7 +61297,7 @@ export class MCI_SAVE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61313,7 +61313,7 @@ export class MCI_SAVE_PARMSWView { */ export interface MCI_LOAD_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; } @@ -61344,7 +61344,7 @@ export class MCI_LOAD_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61355,7 +61355,7 @@ export class MCI_LOAD_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61371,7 +61371,7 @@ export class MCI_LOAD_PARMSAView { */ export interface MCI_LOAD_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; } @@ -61402,7 +61402,7 @@ export class MCI_LOAD_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61413,7 +61413,7 @@ export class MCI_LOAD_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61429,7 +61429,7 @@ export class MCI_LOAD_PARMSWView { */ export interface MCI_RECORD_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -61461,7 +61461,7 @@ export class MCI_RECORD_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61476,7 +61476,7 @@ export class MCI_RECORD_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61496,7 +61496,7 @@ export class MCI_RECORD_PARMSView { */ export interface MCI_VD_PLAY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -61533,7 +61533,7 @@ export class MCI_VD_PLAY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61555,7 +61555,7 @@ export class MCI_VD_PLAY_PARMSView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61582,7 +61582,7 @@ export class MCI_VD_PLAY_PARMSView { */ export interface MCI_VD_STEP_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrames: number; } @@ -61611,7 +61611,7 @@ export class MCI_VD_STEP_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61623,7 +61623,7 @@ export class MCI_VD_STEP_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61640,7 +61640,7 @@ export class MCI_VD_STEP_PARMSView { */ export interface MCI_VD_ESCAPE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrCommand: string | null | Uint8Array; } @@ -61671,7 +61671,7 @@ export class MCI_VD_ESCAPE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61682,7 +61682,7 @@ export class MCI_VD_ESCAPE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61698,7 +61698,7 @@ export class MCI_VD_ESCAPE_PARMSAView { */ export interface MCI_VD_ESCAPE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrCommand: string | null | Uint8Array | Uint16Array; } @@ -61729,7 +61729,7 @@ export class MCI_VD_ESCAPE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61740,7 +61740,7 @@ export class MCI_VD_ESCAPE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61756,7 +61756,7 @@ export class MCI_VD_ESCAPE_PARMSWView { */ export interface MCI_WAVE_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -61811,7 +61811,7 @@ export class MCI_WAVE_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61848,7 +61848,7 @@ export class MCI_WAVE_OPEN_PARMSAView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -61890,7 +61890,7 @@ export class MCI_WAVE_OPEN_PARMSAView { */ export interface MCI_WAVE_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -61945,7 +61945,7 @@ export class MCI_WAVE_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -61982,7 +61982,7 @@ export class MCI_WAVE_OPEN_PARMSWView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62024,7 +62024,7 @@ export class MCI_WAVE_OPEN_PARMSWView { */ export interface MCI_WAVE_DELETE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -62056,7 +62056,7 @@ export class MCI_WAVE_DELETE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62071,7 +62071,7 @@ export class MCI_WAVE_DELETE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62091,7 +62091,7 @@ export class MCI_WAVE_DELETE_PARMSView { */ export interface MCI_WAVE_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -62171,7 +62171,7 @@ export class MCI_WAVE_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62246,7 +62246,7 @@ export class MCI_WAVE_SET_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62326,7 +62326,7 @@ export class MCI_WAVE_SET_PARMSView { */ export interface MCI_SEQ_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -62379,7 +62379,7 @@ export class MCI_SEQ_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62421,7 +62421,7 @@ export class MCI_SEQ_SET_PARMSView { // 0x24: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62468,7 +62468,7 @@ export class MCI_SEQ_SET_PARMSView { */ export interface MCI_ANIM_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -62527,7 +62527,7 @@ export class MCI_ANIM_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62570,7 +62570,7 @@ export class MCI_ANIM_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62617,7 +62617,7 @@ export class MCI_ANIM_OPEN_PARMSAView { */ export interface MCI_ANIM_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -62676,7 +62676,7 @@ export class MCI_ANIM_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62719,7 +62719,7 @@ export class MCI_ANIM_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62766,7 +62766,7 @@ export class MCI_ANIM_OPEN_PARMSWView { */ export interface MCI_ANIM_PLAY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -62803,7 +62803,7 @@ export class MCI_ANIM_PLAY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62825,7 +62825,7 @@ export class MCI_ANIM_PLAY_PARMSView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62852,7 +62852,7 @@ export class MCI_ANIM_PLAY_PARMSView { */ export interface MCI_ANIM_STEP_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrames: number; } @@ -62881,7 +62881,7 @@ export class MCI_ANIM_STEP_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62893,7 +62893,7 @@ export class MCI_ANIM_STEP_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -62910,7 +62910,7 @@ export class MCI_ANIM_STEP_PARMSView { */ export interface MCI_ANIM_WINDOW_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -62950,7 +62950,7 @@ export class MCI_ANIM_WINDOW_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -62974,7 +62974,7 @@ export class MCI_ANIM_WINDOW_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63002,7 +63002,7 @@ export class MCI_ANIM_WINDOW_PARMSAView { */ export interface MCI_ANIM_WINDOW_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -63042,7 +63042,7 @@ export class MCI_ANIM_WINDOW_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63066,7 +63066,7 @@ export class MCI_ANIM_WINDOW_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63094,7 +63094,7 @@ export class MCI_ANIM_WINDOW_PARMSWView { */ export interface MCI_ANIM_RECT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; } @@ -63122,7 +63122,7 @@ export class MCI_ANIM_RECT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63133,7 +63133,7 @@ export class MCI_ANIM_RECT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63148,7 +63148,7 @@ export class MCI_ANIM_RECT_PARMSView { */ export interface MCI_ANIM_UPDATE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Gdi.HDC */ @@ -63180,7 +63180,7 @@ export class MCI_ANIM_UPDATE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63197,7 +63197,7 @@ export class MCI_ANIM_UPDATE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63217,7 +63217,7 @@ export class MCI_ANIM_UPDATE_PARMSView { */ export interface MCI_OVLY_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -63276,7 +63276,7 @@ export class MCI_OVLY_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63319,7 +63319,7 @@ export class MCI_OVLY_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63366,7 +63366,7 @@ export class MCI_OVLY_OPEN_PARMSAView { */ export interface MCI_OVLY_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -63425,7 +63425,7 @@ export class MCI_OVLY_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63468,7 +63468,7 @@ export class MCI_OVLY_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63515,7 +63515,7 @@ export class MCI_OVLY_OPEN_PARMSWView { */ export interface MCI_OVLY_WINDOW_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -63555,7 +63555,7 @@ export class MCI_OVLY_WINDOW_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63579,7 +63579,7 @@ export class MCI_OVLY_WINDOW_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63607,7 +63607,7 @@ export class MCI_OVLY_WINDOW_PARMSAView { */ export interface MCI_OVLY_WINDOW_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -63647,7 +63647,7 @@ export class MCI_OVLY_WINDOW_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63671,7 +63671,7 @@ export class MCI_OVLY_WINDOW_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63699,7 +63699,7 @@ export class MCI_OVLY_WINDOW_PARMSWView { */ export interface MCI_OVLY_RECT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; } @@ -63727,7 +63727,7 @@ export class MCI_OVLY_RECT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63738,7 +63738,7 @@ export class MCI_OVLY_RECT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63753,7 +63753,7 @@ export class MCI_OVLY_RECT_PARMSView { */ export interface MCI_OVLY_SAVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -63788,7 +63788,7 @@ export class MCI_OVLY_SAVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63805,7 +63805,7 @@ export class MCI_OVLY_SAVE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63826,7 +63826,7 @@ export class MCI_OVLY_SAVE_PARMSAView { */ export interface MCI_OVLY_SAVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -63861,7 +63861,7 @@ export class MCI_OVLY_SAVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63878,7 +63878,7 @@ export class MCI_OVLY_SAVE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63899,7 +63899,7 @@ export class MCI_OVLY_SAVE_PARMSWView { */ export interface MCI_OVLY_LOAD_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -63934,7 +63934,7 @@ export class MCI_OVLY_LOAD_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -63951,7 +63951,7 @@ export class MCI_OVLY_LOAD_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -63972,7 +63972,7 @@ export class MCI_OVLY_LOAD_PARMSAView { */ export interface MCI_OVLY_LOAD_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -64007,7 +64007,7 @@ export class MCI_OVLY_LOAD_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -64024,7 +64024,7 @@ export class MCI_OVLY_LOAD_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -66474,7 +66474,7 @@ export class JOYINFOEXView { */ export interface MCI_DGV_RECT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; } @@ -66502,7 +66502,7 @@ export class MCI_DGV_RECT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -66513,7 +66513,7 @@ export class MCI_DGV_RECT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -66528,7 +66528,7 @@ export class MCI_DGV_RECT_PARMSView { */ export interface MCI_DGV_CAPTURE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrFileName: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -66563,7 +66563,7 @@ export class MCI_DGV_CAPTURE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -66580,7 +66580,7 @@ export class MCI_DGV_CAPTURE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -66601,7 +66601,7 @@ export class MCI_DGV_CAPTURE_PARMSAView { */ export interface MCI_DGV_CAPTURE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrFileName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -66636,7 +66636,7 @@ export class MCI_DGV_CAPTURE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -66653,7 +66653,7 @@ export class MCI_DGV_CAPTURE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -66674,7 +66674,7 @@ export class MCI_DGV_CAPTURE_PARMSWView { */ export interface MCI_DGV_COPY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -66718,7 +66718,7 @@ export class MCI_DGV_COPY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -66749,7 +66749,7 @@ export class MCI_DGV_COPY_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -66784,7 +66784,7 @@ export class MCI_DGV_COPY_PARMSView { */ export interface MCI_DGV_CUE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTo: number; } @@ -66813,7 +66813,7 @@ export class MCI_DGV_CUE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -66825,7 +66825,7 @@ export class MCI_DGV_CUE_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -66842,7 +66842,7 @@ export class MCI_DGV_CUE_PARMSView { */ export interface MCI_DGV_CUT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -66886,7 +66886,7 @@ export class MCI_DGV_CUT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -66917,7 +66917,7 @@ export class MCI_DGV_CUT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -66952,7 +66952,7 @@ export class MCI_DGV_CUT_PARMSView { */ export interface MCI_DGV_DELETE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -66996,7 +66996,7 @@ export class MCI_DGV_DELETE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67027,7 +67027,7 @@ export class MCI_DGV_DELETE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67062,7 +67062,7 @@ export class MCI_DGV_DELETE_PARMSView { */ export interface MCI_DGV_INFO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -67101,7 +67101,7 @@ export class MCI_DGV_INFO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67122,7 +67122,7 @@ export class MCI_DGV_INFO_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67148,7 +67148,7 @@ export class MCI_DGV_INFO_PARMSAView { */ export interface MCI_DGV_INFO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -67187,7 +67187,7 @@ export class MCI_DGV_INFO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67208,7 +67208,7 @@ export class MCI_DGV_INFO_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67234,7 +67234,7 @@ export class MCI_DGV_INFO_PARMSWView { */ export interface MCI_DGV_LIST_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -67285,7 +67285,7 @@ export class MCI_DGV_LIST_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67319,7 +67319,7 @@ export class MCI_DGV_LIST_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67358,7 +67358,7 @@ export class MCI_DGV_LIST_PARMSAView { */ export interface MCI_DGV_LIST_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -67409,7 +67409,7 @@ export class MCI_DGV_LIST_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67443,7 +67443,7 @@ export class MCI_DGV_LIST_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67482,7 +67482,7 @@ export class MCI_DGV_LIST_PARMSWView { */ export interface MCI_DGV_MONITOR_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwSource: number; /** u32 */ @@ -67514,7 +67514,7 @@ export class MCI_DGV_MONITOR_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67529,7 +67529,7 @@ export class MCI_DGV_MONITOR_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67549,7 +67549,7 @@ export class MCI_DGV_MONITOR_PARMSView { */ export interface MCI_DGV_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -67608,7 +67608,7 @@ export class MCI_DGV_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67651,7 +67651,7 @@ export class MCI_DGV_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67698,7 +67698,7 @@ export class MCI_DGV_OPEN_PARMSAView { */ export interface MCI_DGV_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -67757,7 +67757,7 @@ export class MCI_DGV_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67800,7 +67800,7 @@ export class MCI_DGV_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67847,7 +67847,7 @@ export class MCI_DGV_OPEN_PARMSWView { */ export interface MCI_DGV_PASTE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTo: number; /** Windows.Win32.Foundation.RECT */ @@ -67888,7 +67888,7 @@ export class MCI_DGV_PASTE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -67916,7 +67916,7 @@ export class MCI_DGV_PASTE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -67948,7 +67948,7 @@ export class MCI_DGV_PASTE_PARMSView { */ export interface MCI_DGV_QUALITY_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** Windows.Win32.Foundation.PSTR */ @@ -67992,7 +67992,7 @@ export class MCI_DGV_QUALITY_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68020,7 +68020,7 @@ export class MCI_DGV_QUALITY_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68053,7 +68053,7 @@ export class MCI_DGV_QUALITY_PARMSAView { */ export interface MCI_DGV_QUALITY_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** Windows.Win32.Foundation.PWSTR */ @@ -68097,7 +68097,7 @@ export class MCI_DGV_QUALITY_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68125,7 +68125,7 @@ export class MCI_DGV_QUALITY_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68158,7 +68158,7 @@ export class MCI_DGV_QUALITY_PARMSWView { */ export interface MCI_DGV_RECORD_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -68202,7 +68202,7 @@ export class MCI_DGV_RECORD_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68233,7 +68233,7 @@ export class MCI_DGV_RECORD_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68268,7 +68268,7 @@ export class MCI_DGV_RECORD_PARMSView { */ export interface MCI_DGV_RESERVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrPath: string | null | Uint8Array; /** u32 */ @@ -68304,7 +68304,7 @@ export class MCI_DGV_RESERVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68322,7 +68322,7 @@ export class MCI_DGV_RESERVE_PARMSAView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68345,7 +68345,7 @@ export class MCI_DGV_RESERVE_PARMSAView { */ export interface MCI_DGV_RESERVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrPath: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -68381,7 +68381,7 @@ export class MCI_DGV_RESERVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68399,7 +68399,7 @@ export class MCI_DGV_RESERVE_PARMSWView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68422,7 +68422,7 @@ export class MCI_DGV_RESERVE_PARMSWView { */ export interface MCI_DGV_RESTORE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrFileName: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -68457,7 +68457,7 @@ export class MCI_DGV_RESTORE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68474,7 +68474,7 @@ export class MCI_DGV_RESTORE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68495,7 +68495,7 @@ export class MCI_DGV_RESTORE_PARMSAView { */ export interface MCI_DGV_RESTORE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrFileName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -68530,7 +68530,7 @@ export class MCI_DGV_RESTORE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68547,7 +68547,7 @@ export class MCI_DGV_RESTORE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68568,7 +68568,7 @@ export class MCI_DGV_RESTORE_PARMSWView { */ export interface MCI_DGV_SAVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrFileName: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -68603,7 +68603,7 @@ export class MCI_DGV_SAVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68620,7 +68620,7 @@ export class MCI_DGV_SAVE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68641,7 +68641,7 @@ export class MCI_DGV_SAVE_PARMSAView { */ export interface MCI_DGV_SAVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrFileName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -68676,7 +68676,7 @@ export class MCI_DGV_SAVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68693,7 +68693,7 @@ export class MCI_DGV_SAVE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68714,7 +68714,7 @@ export class MCI_DGV_SAVE_PARMSWView { */ export interface MCI_DGV_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -68754,7 +68754,7 @@ export class MCI_DGV_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68779,7 +68779,7 @@ export class MCI_DGV_SET_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68809,7 +68809,7 @@ export class MCI_DGV_SET_PARMSView { */ export interface MCI_DGV_SETAUDIO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -68860,7 +68860,7 @@ export class MCI_DGV_SETAUDIO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -68894,7 +68894,7 @@ export class MCI_DGV_SETAUDIO_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -68933,7 +68933,7 @@ export class MCI_DGV_SETAUDIO_PARMSAView { */ export interface MCI_DGV_SETAUDIO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -68984,7 +68984,7 @@ export class MCI_DGV_SETAUDIO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69018,7 +69018,7 @@ export class MCI_DGV_SETAUDIO_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69057,7 +69057,7 @@ export class MCI_DGV_SETAUDIO_PARMSWView { */ export interface MCI_DGV_SIGNAL_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwPosition: number; /** u32 */ @@ -69094,7 +69094,7 @@ export class MCI_DGV_SIGNAL_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69116,7 +69116,7 @@ export class MCI_DGV_SIGNAL_PARMSView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69143,7 +69143,7 @@ export class MCI_DGV_SIGNAL_PARMSView { */ export interface MCI_DGV_SETVIDEO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -69199,7 +69199,7 @@ export class MCI_DGV_SETVIDEO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69240,7 +69240,7 @@ export class MCI_DGV_SETVIDEO_PARMSAView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69286,7 +69286,7 @@ export class MCI_DGV_SETVIDEO_PARMSAView { */ export interface MCI_DGV_SETVIDEO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -69342,7 +69342,7 @@ export class MCI_DGV_SETVIDEO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69383,7 +69383,7 @@ export class MCI_DGV_SETVIDEO_PARMSWView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69429,9 +69429,9 @@ export class MCI_DGV_SETVIDEO_PARMSWView { */ export interface MCI_DGV_STATUS_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwReturn: Deno.PointerValue; + dwReturn: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -69477,12 +69477,12 @@ export class MCI_DGV_STATUS_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwReturn(): Deno.PointerValue { + get dwReturn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -69510,12 +69510,12 @@ export class MCI_DGV_STATUS_PARMSAView { // 0x24: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwReturn(value: Deno.PointerValue) { + set dwReturn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -69548,9 +69548,9 @@ export class MCI_DGV_STATUS_PARMSAView { */ export interface MCI_DGV_STATUS_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwReturn: Deno.PointerValue; + dwReturn: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -69596,12 +69596,12 @@ export class MCI_DGV_STATUS_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwReturn(): Deno.PointerValue { + get dwReturn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -69629,12 +69629,12 @@ export class MCI_DGV_STATUS_PARMSWView { // 0x24: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwReturn(value: Deno.PointerValue) { + set dwReturn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -69667,7 +69667,7 @@ export class MCI_DGV_STATUS_PARMSWView { */ export interface MCI_DGV_STEP_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrames: number; } @@ -69696,7 +69696,7 @@ export class MCI_DGV_STEP_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69708,7 +69708,7 @@ export class MCI_DGV_STEP_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69725,7 +69725,7 @@ export class MCI_DGV_STEP_PARMSView { */ export interface MCI_DGV_UPDATE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Gdi.HDC */ @@ -69757,7 +69757,7 @@ export class MCI_DGV_UPDATE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69774,7 +69774,7 @@ export class MCI_DGV_UPDATE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69794,7 +69794,7 @@ export class MCI_DGV_UPDATE_PARMSView { */ export interface MCI_DGV_WINDOW_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -69834,7 +69834,7 @@ export class MCI_DGV_WINDOW_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69858,7 +69858,7 @@ export class MCI_DGV_WINDOW_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69886,7 +69886,7 @@ export class MCI_DGV_WINDOW_PARMSAView { */ export interface MCI_DGV_WINDOW_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -69926,7 +69926,7 @@ export class MCI_DGV_WINDOW_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -69950,7 +69950,7 @@ export class MCI_DGV_WINDOW_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -69973,7 +69973,7 @@ export class MCI_DGV_WINDOW_PARMSWView { } } -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; /** * Windows.Win32.Media.Multimedia.ICOPEN (size: 56) @@ -70537,9 +70537,9 @@ export interface ICCOMPRESSFRAMES { /** u32 */ dwReserved2: number; /** isize */ - GetData: Deno.PointerValue; + GetData: bigint | number; /** isize */ - PutData: Deno.PointerValue; + PutData: bigint | number; } export const sizeofICCOMPRESSFRAMES = 96; @@ -70673,12 +70673,12 @@ export class ICCOMPRESSFRAMESView { // 0x4c: pad4 // 0x50: isize - get GetData(): Deno.PointerValue { + get GetData(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get PutData(): Deno.PointerValue { + get PutData(): bigint | number { return Number(this.view.getBigInt64(88, true)); } @@ -70757,12 +70757,12 @@ export class ICCOMPRESSFRAMESView { // 0x4c: pad4 // 0x50: isize - set GetData(value: Deno.PointerValue) { + set GetData(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set PutData(value: Deno.PointerValue) { + set PutData(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } } @@ -70776,7 +70776,7 @@ export interface ICSETSTATUSPROC { /** Windows.Win32.Foundation.LPARAM */ lParam: Uint8Array | Deno.PointerValue; /** isize */ - Status: Deno.PointerValue; + Status: bigint | number; } export const sizeofICSETSTATUSPROC = 24; @@ -70818,7 +70818,7 @@ export class ICSETSTATUSPROCView { } // 0x10: isize - get Status(): Deno.PointerValue { + get Status(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -70835,7 +70835,7 @@ export class ICSETSTATUSPROCView { } // 0x10: isize - set Status(value: Deno.PointerValue) { + set Status(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -71179,7 +71179,7 @@ export class ICDECOMPRESSEXView { } } -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; /** * Windows.Win32.Media.Multimedia.ICDRAWBEGIN (size: 80) @@ -73298,7 +73298,7 @@ export interface VIDEOHDR { /** u32 */ dwTimeCaptured: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** u32 */ dwFlags: number; /** array */ @@ -73363,7 +73363,7 @@ export class VIDEOHDRView { // 0x14: pad4 // 0x18: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -73403,7 +73403,7 @@ export class VIDEOHDRView { // 0x14: pad4 // 0x18: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -74607,13 +74607,13 @@ export interface WAVEOPENDESC { /** ptr */ lpFormat: Deno.PointerValue | Uint8Array; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** u32 */ uMappedDeviceID: number; /** usize */ - dnDevNode: Deno.PointerValue; + dnDevNode: bigint | number; } export const sizeofWAVEOPENDESC = 48; @@ -74660,12 +74660,12 @@ export class WAVEOPENDESCView { } // 0x10: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -74677,7 +74677,7 @@ export class WAVEOPENDESCView { // 0x24: pad4 // 0x28: usize - get dnDevNode(): Deno.PointerValue { + get dnDevNode(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -74692,12 +74692,12 @@ export class WAVEOPENDESCView { } // 0x10: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -74709,7 +74709,7 @@ export class WAVEOPENDESCView { // 0x24: pad4 // 0x28: usize - set dnDevNode(value: Deno.PointerValue) { + set dnDevNode(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -74776,11 +74776,11 @@ export interface MIXEROPENDESC { /** ptr */ pReserved0: Deno.PointerValue | Uint8Array; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** usize */ - dnDevNode: Deno.PointerValue; + dnDevNode: bigint | number; } export const sizeofMIXEROPENDESC = 40; @@ -74824,17 +74824,17 @@ export class MIXEROPENDESCView { } // 0x10: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dnDevNode(): Deno.PointerValue { + get dnDevNode(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -74849,17 +74849,17 @@ export class MIXEROPENDESCView { } // 0x10: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dnDevNode(value: Deno.PointerValue) { + set dnDevNode(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -75953,11 +75953,11 @@ export interface MIDIOPENDESC { /** Windows.Win32.Media.Audio.HMIDI */ hMidi: Uint8Array | Deno.PointerValue; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** usize */ - dnDevNode: Deno.PointerValue; + dnDevNode: bigint | number; /** u32 */ cIds: number; /** array */ @@ -76002,17 +76002,17 @@ export class MIDIOPENDESCView { } // 0x08: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dnDevNode(): Deno.PointerValue { + get dnDevNode(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -76035,17 +76035,17 @@ export class MIDIOPENDESCView { } // 0x08: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dnDevNode(value: Deno.PointerValue) { + set dnDevNode(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -76062,7 +76062,7 @@ export class MIDIOPENDESCView { } } -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; /** * Windows.Win32.Media.Speech.SPEVENT (size: 32) @@ -76073,7 +76073,7 @@ export interface SPEVENT { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** Windows.Win32.Foundation.WPARAM */ wParam: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LPARAM */ @@ -76119,7 +76119,7 @@ export class SPEVENTView { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -76146,7 +76146,7 @@ export class SPEVENTView { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -76170,7 +76170,7 @@ export interface SPSERIALIZEDEVENT { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** u32 */ SerializedwParam: number; /** i32 */ @@ -76216,7 +76216,7 @@ export class SPSERIALIZEDEVENTView { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -76241,7 +76241,7 @@ export class SPSERIALIZEDEVENTView { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -76265,11 +76265,11 @@ export interface SPSERIALIZEDEVENT64 { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** u64 */ - SerializedwParam: Deno.PointerValue; + SerializedwParam: bigint | number; /** i64 */ - SerializedlParam: Deno.PointerValue; + SerializedlParam: bigint | number; } export const sizeofSPSERIALIZEDEVENT64 = 32; @@ -76311,17 +76311,17 @@ export class SPSERIALIZEDEVENT64View { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SerializedwParam(): Deno.PointerValue { + get SerializedwParam(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: i64 - get SerializedlParam(): Deno.PointerValue { + get SerializedlParam(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -76336,17 +76336,17 @@ export class SPSERIALIZEDEVENT64View { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SerializedwParam(value: Deno.PointerValue) { + set SerializedwParam(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: i64 - set SerializedlParam(value: Deno.PointerValue) { + set SerializedlParam(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -76360,13 +76360,13 @@ export interface SPEVENTEX { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** Windows.Win32.Foundation.WPARAM */ wParam: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LPARAM */ lParam: Uint8Array | Deno.PointerValue; /** u64 */ - ullAudioTimeOffset: Deno.PointerValue; + ullAudioTimeOffset: bigint | number; } export const sizeofSPEVENTEX = 40; @@ -76410,7 +76410,7 @@ export class SPEVENTEXView { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -76427,7 +76427,7 @@ export class SPEVENTEXView { } // 0x20: u64 - get ullAudioTimeOffset(): Deno.PointerValue { + get ullAudioTimeOffset(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -76442,7 +76442,7 @@ export class SPEVENTEXView { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -76457,7 +76457,7 @@ export class SPEVENTEXView { } // 0x20: u64 - set ullAudioTimeOffset(value: Deno.PointerValue) { + set ullAudioTimeOffset(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -76467,9 +76467,9 @@ export class SPEVENTEXView { */ export interface SPEVENTSOURCEINFO { /** u64 */ - ullEventInterest: Deno.PointerValue; + ullEventInterest: bigint | number; /** u64 */ - ullQueuedInterest: Deno.PointerValue; + ullQueuedInterest: bigint | number; /** u32 */ ulCount: number; } @@ -76500,12 +76500,12 @@ export class SPEVENTSOURCEINFOView { } // 0x00: u64 - get ullEventInterest(): Deno.PointerValue { + get ullEventInterest(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullQueuedInterest(): Deno.PointerValue { + get ullQueuedInterest(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -76517,12 +76517,12 @@ export class SPEVENTSOURCEINFOView { // 0x14: pad4 // 0x00: u64 - set ullEventInterest(value: Deno.PointerValue) { + set ullEventInterest(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullQueuedInterest(value: Deno.PointerValue) { + set ullQueuedInterest(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -76545,9 +76545,9 @@ export interface SPAUDIOSTATUS { /** Windows.Win32.Media.Speech.SPAUDIOSTATE */ State: SPAUDIOSTATE; /** u64 */ - CurSeekPos: Deno.PointerValue; + CurSeekPos: bigint | number; /** u64 */ - CurDevicePos: Deno.PointerValue; + CurDevicePos: bigint | number; /** u32 */ dwAudioLevel: number; /** u32 */ @@ -76605,12 +76605,12 @@ export class SPAUDIOSTATUSView { // 0x0c: pad4 // 0x10: u64 - get CurSeekPos(): Deno.PointerValue { + get CurSeekPos(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get CurDevicePos(): Deno.PointerValue { + get CurDevicePos(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -76642,12 +76642,12 @@ export class SPAUDIOSTATUSView { // 0x0c: pad4 // 0x10: u64 - set CurSeekPos(value: Deno.PointerValue) { + set CurSeekPos(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set CurDevicePos(value: Deno.PointerValue) { + set CurDevicePos(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -77562,11 +77562,11 @@ export interface SPPHRASE_50 { /** u16 */ wHomophoneGroupId: number; /** u64 */ - ullGrammarID: Deno.PointerValue; + ullGrammarID: bigint | number; /** u64 */ - ftStartTime: Deno.PointerValue; + ftStartTime: bigint | number; /** u64 */ - ullAudioStreamPosition: Deno.PointerValue; + ullAudioStreamPosition: bigint | number; /** u32 */ ulAudioSizeBytes: number; /** u32 */ @@ -77662,17 +77662,17 @@ export class SPPHRASE_50View { } // 0x08: u64 - get ullGrammarID(): Deno.PointerValue { + get ullGrammarID(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ftStartTime(): Deno.PointerValue { + get ftStartTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullAudioStreamPosition(): Deno.PointerValue { + get ullAudioStreamPosition(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -77759,17 +77759,17 @@ export class SPPHRASE_50View { } // 0x08: u64 - set ullGrammarID(value: Deno.PointerValue) { + set ullGrammarID(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ftStartTime(value: Deno.PointerValue) { + set ftStartTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullAudioStreamPosition(value: Deno.PointerValue) { + set ullAudioStreamPosition(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -79283,11 +79283,11 @@ export interface SPRECORESULTTIMES { /** Windows.Win32.Foundation.FILETIME */ ftStreamTime: Uint8Array | Deno.PointerValue; /** u64 */ - ullLength: Deno.PointerValue; + ullLength: bigint | number; /** u32 */ dwTickCount: number; /** u64 */ - ullStart: Deno.PointerValue; + ullStart: bigint | number; } export const sizeofSPRECORESULTTIMES = 32; @@ -79324,7 +79324,7 @@ export class SPRECORESULTTIMESView { } // 0x08: u64 - get ullLength(): Deno.PointerValue { + get ullLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -79336,7 +79336,7 @@ export class SPRECORESULTTIMESView { // 0x14: pad4 // 0x18: u64 - get ullStart(): Deno.PointerValue { + get ullStart(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -79346,7 +79346,7 @@ export class SPRECORESULTTIMESView { } // 0x08: u64 - set ullLength(value: Deno.PointerValue) { + set ullLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -79358,7 +79358,7 @@ export class SPRECORESULTTIMESView { // 0x14: pad4 // 0x18: u64 - set ullStart(value: Deno.PointerValue) { + set ullStart(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -79679,7 +79679,7 @@ export interface SPRECOGNIZERSTATUS { /** Windows.Win32.Media.Speech.SPAUDIOSTATUS */ AudioStatus: Uint8Array | Deno.PointerValue; /** u64 */ - ullRecognitionStreamPos: Deno.PointerValue; + ullRecognitionStreamPos: bigint | number; /** u32 */ ulStreamNumber: number; /** u32 */ @@ -79691,7 +79691,7 @@ export interface SPRECOGNIZERSTATUS { /** array */ aLangID: Deno.PointerValue; /** u64 */ - ullRecognitionStreamTime: Deno.PointerValue; + ullRecognitionStreamTime: bigint | number; } export const sizeofSPRECOGNIZERSTATUS = 56; @@ -79736,7 +79736,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x08: u64 - get ullRecognitionStreamPos(): Deno.PointerValue { + get ullRecognitionStreamPos(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -79770,7 +79770,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x30: u64 - get ullRecognitionStreamTime(): Deno.PointerValue { + get ullRecognitionStreamTime(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -79780,7 +79780,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x08: u64 - set ullRecognitionStreamPos(value: Deno.PointerValue) { + set ullRecognitionStreamPos(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -79812,7 +79812,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x30: u64 - set ullRecognitionStreamTime(value: Deno.PointerValue) { + set ullRecognitionStreamTime(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -82601,13 +82601,13 @@ export class WM_STREAM_PRIORITY_RECORDView { */ export interface WM_WRITER_STATISTICS { /** u64 */ - qwSampleCount: Deno.PointerValue; + qwSampleCount: bigint | number; /** u64 */ - qwByteCount: Deno.PointerValue; + qwByteCount: bigint | number; /** u64 */ - qwDroppedSampleCount: Deno.PointerValue; + qwDroppedSampleCount: bigint | number; /** u64 */ - qwDroppedByteCount: Deno.PointerValue; + qwDroppedByteCount: bigint | number; /** u32 */ dwCurrentBitrate: number; /** u32 */ @@ -82661,22 +82661,22 @@ export class WM_WRITER_STATISTICSView { } // 0x00: u64 - get qwSampleCount(): Deno.PointerValue { + get qwSampleCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwByteCount(): Deno.PointerValue { + get qwByteCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get qwDroppedSampleCount(): Deno.PointerValue { + get qwDroppedSampleCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get qwDroppedByteCount(): Deno.PointerValue { + get qwDroppedByteCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -82711,22 +82711,22 @@ export class WM_WRITER_STATISTICSView { } // 0x00: u64 - set qwSampleCount(value: Deno.PointerValue) { + set qwSampleCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwByteCount(value: Deno.PointerValue) { + set qwByteCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set qwDroppedSampleCount(value: Deno.PointerValue) { + set qwDroppedSampleCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set qwDroppedByteCount(value: Deno.PointerValue) { + set qwDroppedByteCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -83016,13 +83016,13 @@ export interface WM_READER_CLIENTINFO { /** Windows.Win32.Foundation.PWSTR */ wszBrowserWebPage: string | null | Uint8Array | Uint16Array; /** u64 */ - qwReserved: Deno.PointerValue; + qwReserved: bigint | number; /** ptr */ pReserved: Deno.PointerValue | Uint8Array; /** Windows.Win32.Foundation.PWSTR */ wszHostExe: string | null | Uint8Array | Uint16Array; /** u64 */ - qwHostVersion: Deno.PointerValue; + qwHostVersion: bigint | number; /** Windows.Win32.Foundation.PWSTR */ wszPlayerUserAgent: string | null | Uint8Array | Uint16Array; } @@ -83105,7 +83105,7 @@ export class WM_READER_CLIENTINFOView { } // 0x20: u64 - get qwReserved(): Deno.PointerValue { + get qwReserved(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -83122,7 +83122,7 @@ export class WM_READER_CLIENTINFOView { } // 0x38: u64 - get qwHostVersion(): Deno.PointerValue { + get qwHostVersion(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -83158,7 +83158,7 @@ export class WM_READER_CLIENTINFOView { } // 0x20: u64 - set qwReserved(value: Deno.PointerValue) { + set qwReserved(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -83174,7 +83174,7 @@ export class WM_READER_CLIENTINFOView { } // 0x38: u64 - set qwHostVersion(value: Deno.PointerValue) { + set qwHostVersion(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -85335,7 +85335,7 @@ export interface WMVIDEOINFOHEADER { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Graphics.Gdi.BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; } @@ -85393,7 +85393,7 @@ export class WMVIDEOINFOHEADERView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -85424,7 +85424,7 @@ export class WMVIDEOINFOHEADERView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -85447,7 +85447,7 @@ export interface WMVIDEOINFOHEADER2 { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** u32 */ dwInterlaceFlags: number; /** u32 */ @@ -85529,7 +85529,7 @@ export class WMVIDEOINFOHEADER2View { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -85590,7 +85590,7 @@ export class WMVIDEOINFOHEADER2View { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -86532,7 +86532,7 @@ export interface TimedLevel { /** i32 */ state: number; /** i64 */ - timeStamp: Deno.PointerValue; + timeStamp: bigint | number; } export const sizeofTimedLevel = 32; @@ -86582,7 +86582,7 @@ export class TimedLevelView { // 0x14: pad4 // 0x18: i64 - get timeStamp(): Deno.PointerValue { + get timeStamp(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -86604,7 +86604,7 @@ export class TimedLevelView { // 0x14: pad4 // 0x18: i64 - set timeStamp(value: Deno.PointerValue) { + set timeStamp(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -88190,7 +88190,7 @@ export interface XAUDIO2_VOICE_STATE { /** u32 */ BuffersQueued: number; /** u64 */ - SamplesPlayed: Deno.PointerValue; + SamplesPlayed: bigint | number; } export const sizeofXAUDIO2_VOICE_STATE = 24; @@ -88232,7 +88232,7 @@ export class XAUDIO2_VOICE_STATEView { // 0x0c: pad4 // 0x10: u64 - get SamplesPlayed(): Deno.PointerValue { + get SamplesPlayed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -88249,7 +88249,7 @@ export class XAUDIO2_VOICE_STATEView { // 0x0c: pad4 // 0x10: u64 - set SamplesPlayed(value: Deno.PointerValue) { + set SamplesPlayed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -88259,9 +88259,9 @@ export class XAUDIO2_VOICE_STATEView { */ export interface XAUDIO2_PERFORMANCE_DATA { /** u64 */ - AudioCyclesSinceLastQuery: Deno.PointerValue; + AudioCyclesSinceLastQuery: bigint | number; /** u64 */ - TotalCyclesSinceLastQuery: Deno.PointerValue; + TotalCyclesSinceLastQuery: bigint | number; /** u32 */ MinimumCyclesPerQuantum: number; /** u32 */ @@ -88335,12 +88335,12 @@ export class XAUDIO2_PERFORMANCE_DATAView { } // 0x00: u64 - get AudioCyclesSinceLastQuery(): Deno.PointerValue { + get AudioCyclesSinceLastQuery(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TotalCyclesSinceLastQuery(): Deno.PointerValue { + get TotalCyclesSinceLastQuery(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -88405,12 +88405,12 @@ export class XAUDIO2_PERFORMANCE_DATAView { } // 0x00: u64 - set AudioCyclesSinceLastQuery(value: Deno.PointerValue) { + set AudioCyclesSinceLastQuery(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TotalCyclesSinceLastQuery(value: Deno.PointerValue) { + set TotalCyclesSinceLastQuery(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -89692,7 +89692,7 @@ export interface ACMSTREAMHEADER { /** u32 */ fdwStatus: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** ptr */ pbSrc: Deno.PointerValue | Uint8Array; /** u32 */ @@ -89700,7 +89700,7 @@ export interface ACMSTREAMHEADER { /** u32 */ cbSrcLengthUsed: number; /** usize */ - dwSrcUser: Deno.PointerValue; + dwSrcUser: bigint | number; /** ptr */ pbDst: Deno.PointerValue | Uint8Array; /** u32 */ @@ -89708,7 +89708,7 @@ export interface ACMSTREAMHEADER { /** u32 */ cbDstLengthUsed: number; /** usize */ - dwDstUser: Deno.PointerValue; + dwDstUser: bigint | number; /** array */ dwReservedDriver: Deno.PointerValue; } @@ -89766,7 +89766,7 @@ export class ACMSTREAMHEADERView { } // 0x08: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -89787,7 +89787,7 @@ export class ACMSTREAMHEADERView { } // 0x20: usize - get dwSrcUser(): Deno.PointerValue { + get dwSrcUser(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -89808,7 +89808,7 @@ export class ACMSTREAMHEADERView { } // 0x38: usize - get dwDstUser(): Deno.PointerValue { + get dwDstUser(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -89829,7 +89829,7 @@ export class ACMSTREAMHEADERView { } // 0x08: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -89849,7 +89849,7 @@ export class ACMSTREAMHEADERView { } // 0x20: usize - set dwSrcUser(value: Deno.PointerValue) { + set dwSrcUser(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -89869,7 +89869,7 @@ export class ACMSTREAMHEADERView { } // 0x38: usize - set dwDstUser(value: Deno.PointerValue) { + set dwDstUser(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -89892,7 +89892,7 @@ export interface D3DCONTENTPROTECTIONCAPS { /** u32 */ BlockAlignmentSize: number; /** u64 */ - ProtectedMemorySize: Deno.PointerValue; + ProtectedMemorySize: bigint | number; } export const sizeofD3DCONTENTPROTECTIONCAPS = 32; @@ -89948,7 +89948,7 @@ export class D3DCONTENTPROTECTIONCAPSView { } // 0x18: u64 - get ProtectedMemorySize(): Deno.PointerValue { + get ProtectedMemorySize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -89975,7 +89975,7 @@ export class D3DCONTENTPROTECTIONCAPSView { } // 0x18: u64 - set ProtectedMemorySize(value: Deno.PointerValue) { + set ProtectedMemorySize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -89985,7 +89985,7 @@ export class D3DCONTENTPROTECTIONCAPSView { */ export interface KSTIME { /** i64 */ - Time: Deno.PointerValue; + Time: bigint | number; /** u32 */ Numerator: number; /** u32 */ @@ -90017,7 +90017,7 @@ export class KSTIMEView { } // 0x00: i64 - get Time(): Deno.PointerValue { + get Time(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -90032,7 +90032,7 @@ export class KSTIMEView { } // 0x00: i64 - set Time(value: Deno.PointerValue) { + set Time(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -90058,7 +90058,7 @@ export interface KSSTREAM_HEADER { /** Windows.Win32.Media.KernelStreaming.KSTIME */ PresentationTime: Uint8Array | Deno.PointerValue; /** i64 */ - Duration: Deno.PointerValue; + Duration: bigint | number; /** u32 */ FrameExtent: number; /** u32 */ @@ -90124,7 +90124,7 @@ export class KSSTREAM_HEADERView { } // 0x10: i64 - get Duration(): Deno.PointerValue { + get Duration(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -90170,7 +90170,7 @@ export class KSSTREAM_HEADERView { } // 0x10: i64 - set Duration(value: Deno.PointerValue) { + set Duration(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -90406,9 +90406,9 @@ export interface DXVA_VideoSample2 { /** u32 */ Reserved: number; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** u32 */ SampleFormat: number; /** u32 */ @@ -90472,12 +90472,12 @@ export class DXVA_VideoSample2View { } // 0x08: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -90526,12 +90526,12 @@ export class DXVA_VideoSample2View { } // 0x08: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -90571,9 +90571,9 @@ export class DXVA_VideoSample2View { */ export interface DXVA_VideoSample32 { /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** u32 */ SampleFormat: number; /** u32 */ @@ -90624,12 +90624,12 @@ export class DXVA_VideoSample32View { } // 0x00: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -90669,12 +90669,12 @@ export class DXVA_VideoSample32View { } // 0x00: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -90808,7 +90808,7 @@ export interface DXVA_DeinterlaceBltEx32 { /** Windows.Win32.Foundation.RECT */ rcTarget: Uint8Array | Deno.PointerValue; /** i64 */ - rtTarget: Deno.PointerValue; + rtTarget: bigint | number; /** u32 */ NumSourceSurfaces: number; /** f32 */ @@ -90878,7 +90878,7 @@ export class DXVA_DeinterlaceBltEx32View { } // 0x18: i64 - get rtTarget(): Deno.PointerValue { + get rtTarget(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -90926,7 +90926,7 @@ export class DXVA_DeinterlaceBltEx32View { } // 0x18: i64 - set rtTarget(value: Deno.PointerValue) { + set rtTarget(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -90967,7 +90967,7 @@ export interface WAVEHDR { /** u32 */ dwBytesRecorded: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** u32 */ dwFlags: number; /** u32 */ @@ -90975,7 +90975,7 @@ export interface WAVEHDR { /** ptr */ lpNext: Deno.PointerValue | Uint8Array; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; } export const sizeofWAVEHDR = 48; @@ -91032,7 +91032,7 @@ export class WAVEHDRView { } // 0x10: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -91053,7 +91053,7 @@ export class WAVEHDRView { } // 0x28: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -91074,7 +91074,7 @@ export class WAVEHDRView { } // 0x10: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -91094,7 +91094,7 @@ export class WAVEHDRView { } // 0x28: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -93729,13 +93729,13 @@ export interface MIDIHDR { /** u32 */ dwBytesRecorded: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** u32 */ dwFlags: number; /** ptr */ lpNext: Deno.PointerValue | Uint8Array; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** u32 */ dwOffset: number; /** array */ @@ -93800,7 +93800,7 @@ export class MIDIHDRView { } // 0x10: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -93818,7 +93818,7 @@ export class MIDIHDRView { } // 0x28: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -93852,7 +93852,7 @@ export class MIDIHDRView { } // 0x10: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -93869,7 +93869,7 @@ export class MIDIHDRView { } // 0x28: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -95392,7 +95392,7 @@ export interface MIXERLINEA { /** u32 */ fdwLine: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** Windows.Win32.Media.Audio.MIXERLINE_COMPONENTTYPE */ dwComponentType: MIXERLINE_COMPONENTTYPE; /** u32 */ @@ -95482,7 +95482,7 @@ export class MIXERLINEAView { // 0x14: pad4 // 0x18: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -95552,7 +95552,7 @@ export class MIXERLINEAView { // 0x14: pad4 // 0x18: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -95607,7 +95607,7 @@ export interface MIXERLINEW { /** u32 */ fdwLine: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** Windows.Win32.Media.Audio.MIXERLINE_COMPONENTTYPE */ dwComponentType: MIXERLINE_COMPONENTTYPE; /** u32 */ @@ -95697,7 +95697,7 @@ export class MIXERLINEWView { // 0x14: pad4 // 0x18: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -95767,7 +95767,7 @@ export class MIXERLINEWView { // 0x14: pad4 // 0x18: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -99279,7 +99279,7 @@ export class AUDIOCLIENT_ACTIVATION_PARAMSView { } } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.Media.Audio.ACMDRIVERDETAILSA (size: 88) @@ -100309,7 +100309,7 @@ export class tACMFORMATDETAILSWView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Media.Audio.ACMFORMATCHOOSEA (size: 112) @@ -102272,15 +102272,15 @@ export interface ACMDRVSTREAMINSTANCE { /** ptr */ pwfltr: Deno.PointerValue | Uint8Array; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** u32 */ fdwOpen: number; /** u32 */ fdwDriver: number; /** usize */ - dwDriver: Deno.PointerValue; + dwDriver: bigint | number; /** Windows.Win32.Media.Audio.HACMSTREAM */ has: Uint8Array | Deno.PointerValue; } @@ -102350,12 +102350,12 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x20: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -102370,7 +102370,7 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x38: usize - get dwDriver(): Deno.PointerValue { + get dwDriver(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -102403,12 +102403,12 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x20: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -102423,7 +102423,7 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x38: usize - set dwDriver(value: Deno.PointerValue) { + set dwDriver(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -102442,7 +102442,7 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ fdwStatus: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** ptr */ pbSrc: Deno.PointerValue | Uint8Array; /** u32 */ @@ -102450,7 +102450,7 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ cbSrcLengthUsed: number; /** usize */ - dwSrcUser: Deno.PointerValue; + dwSrcUser: bigint | number; /** ptr */ pbDst: Deno.PointerValue | Uint8Array; /** u32 */ @@ -102458,7 +102458,7 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ cbDstLengthUsed: number; /** usize */ - dwDstUser: Deno.PointerValue; + dwDstUser: bigint | number; /** u32 */ fdwConvert: number; /** ptr */ @@ -102466,11 +102466,11 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ fdwDriver: number; /** usize */ - dwDriver: Deno.PointerValue; + dwDriver: bigint | number; /** u32 */ fdwPrepared: number; /** usize */ - dwPrepared: Deno.PointerValue; + dwPrepared: bigint | number; /** ptr */ pbPreparedSrc: Deno.PointerValue | Uint8Array; /** u32 */ @@ -102557,7 +102557,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x08: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -102578,7 +102578,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x20: usize - get dwSrcUser(): Deno.PointerValue { + get dwSrcUser(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -102599,7 +102599,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x38: usize - get dwDstUser(): Deno.PointerValue { + get dwDstUser(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -102624,7 +102624,7 @@ export class ACMDRVSTREAMHEADERView { // 0x54: pad4 // 0x58: usize - get dwDriver(): Deno.PointerValue { + get dwDriver(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -102636,7 +102636,7 @@ export class ACMDRVSTREAMHEADERView { // 0x64: pad4 // 0x68: usize - get dwPrepared(): Deno.PointerValue { + get dwPrepared(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -102677,7 +102677,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x08: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -102697,7 +102697,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x20: usize - set dwSrcUser(value: Deno.PointerValue) { + set dwSrcUser(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -102717,7 +102717,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x38: usize - set dwDstUser(value: Deno.PointerValue) { + set dwDstUser(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -102741,7 +102741,7 @@ export class ACMDRVSTREAMHEADERView { // 0x54: pad4 // 0x58: usize - set dwDriver(value: Deno.PointerValue) { + set dwDriver(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -102753,7 +102753,7 @@ export class ACMDRVSTREAMHEADERView { // 0x64: pad4 // 0x68: usize - set dwPrepared(value: Deno.PointerValue) { + set dwPrepared(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -103590,7 +103590,7 @@ export class KSPROPERTY_STEPPING_LONGView { */ export interface KSPROPERTY_STEPPING_LONGLONG { /** u64 */ - SteppingDelta: Deno.PointerValue; + SteppingDelta: bigint | number; /** Windows.Win32.Media.KernelStreaming.KSPROPERTY_BOUNDS_LONGLONG */ Bounds: Uint8Array | Deno.PointerValue; } @@ -103618,7 +103618,7 @@ export class KSPROPERTY_STEPPING_LONGLONGView { } // 0x00: u64 - get SteppingDelta(): Deno.PointerValue { + get SteppingDelta(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -103629,7 +103629,7 @@ export class KSPROPERTY_STEPPING_LONGLONGView { } // 0x00: u64 - set SteppingDelta(value: Deno.PointerValue) { + set SteppingDelta(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -103829,7 +103829,7 @@ export interface KSEVENT_TIME_MARK { /** Windows.Win32.Media.KernelStreaming.KSEVENTDATA */ EventData: Uint8Array | Deno.PointerValue; /** i64 */ - MarkTime: Deno.PointerValue; + MarkTime: bigint | number; } export const sizeofKSEVENT_TIME_MARK = 16; @@ -103861,7 +103861,7 @@ export class KSEVENT_TIME_MARKView { } // 0x08: i64 - get MarkTime(): Deno.PointerValue { + get MarkTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -103871,7 +103871,7 @@ export class KSEVENT_TIME_MARKView { } // 0x08: i64 - set MarkTime(value: Deno.PointerValue) { + set MarkTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -103883,9 +103883,9 @@ export interface KSEVENT_TIME_INTERVAL { /** Windows.Win32.Media.KernelStreaming.KSEVENTDATA */ EventData: Uint8Array | Deno.PointerValue; /** i64 */ - TimeBase: Deno.PointerValue; + TimeBase: bigint | number; /** i64 */ - Interval: Deno.PointerValue; + Interval: bigint | number; } export const sizeofKSEVENT_TIME_INTERVAL = 24; @@ -103919,12 +103919,12 @@ export class KSEVENT_TIME_INTERVALView { } // 0x08: i64 - get TimeBase(): Deno.PointerValue { + get TimeBase(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get Interval(): Deno.PointerValue { + get Interval(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -103934,12 +103934,12 @@ export class KSEVENT_TIME_INTERVALView { } // 0x08: i64 - set TimeBase(value: Deno.PointerValue) { + set TimeBase(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set Interval(value: Deno.PointerValue) { + set Interval(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -103949,9 +103949,9 @@ export class KSEVENT_TIME_INTERVALView { */ export interface KSINTERVAL { /** i64 */ - TimeBase: Deno.PointerValue; + TimeBase: bigint | number; /** i64 */ - Interval: Deno.PointerValue; + Interval: bigint | number; } export const sizeofKSINTERVAL = 16; @@ -103977,22 +103977,22 @@ export class KSINTERVALView { } // 0x00: i64 - get TimeBase(): Deno.PointerValue { + get TimeBase(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Interval(): Deno.PointerValue { + get Interval(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set TimeBase(value: Deno.PointerValue) { + set TimeBase(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Interval(value: Deno.PointerValue) { + set Interval(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -104115,9 +104115,9 @@ export class KSCOMPONENTIDView { */ export interface KSPROPERTY_POSITIONS { /** i64 */ - Current: Deno.PointerValue; + Current: bigint | number; /** i64 */ - Stop: Deno.PointerValue; + Stop: bigint | number; /** Windows.Win32.Media.KernelStreaming.KS_SEEKING_FLAGS */ CurrentFlags: KS_SEEKING_FLAGS; /** Windows.Win32.Media.KernelStreaming.KS_SEEKING_FLAGS */ @@ -104151,12 +104151,12 @@ export class KSPROPERTY_POSITIONSView { } // 0x00: i64 - get Current(): Deno.PointerValue { + get Current(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Stop(): Deno.PointerValue { + get Stop(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -104171,12 +104171,12 @@ export class KSPROPERTY_POSITIONSView { } // 0x00: i64 - set Current(value: Deno.PointerValue) { + set Current(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Stop(value: Deno.PointerValue) { + set Stop(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -104196,9 +104196,9 @@ export class KSPROPERTY_POSITIONSView { */ export interface KSPROPERTY_MEDIAAVAILABLE { /** i64 */ - Earliest: Deno.PointerValue; + Earliest: bigint | number; /** i64 */ - Latest: Deno.PointerValue; + Latest: bigint | number; } export const sizeofKSPROPERTY_MEDIAAVAILABLE = 16; @@ -104224,22 +104224,22 @@ export class KSPROPERTY_MEDIAAVAILABLEView { } // 0x00: i64 - get Earliest(): Deno.PointerValue { + get Earliest(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Latest(): Deno.PointerValue { + get Latest(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Earliest(value: Deno.PointerValue) { + set Earliest(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Latest(value: Deno.PointerValue) { + set Latest(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -104255,7 +104255,7 @@ export interface KSP_TIMEFORMAT { /** System.Guid */ TargetFormat: Uint8Array | Deno.PointerValue; /** i64 */ - Time: Deno.PointerValue; + Time: bigint | number; } export const sizeofKSP_TIMEFORMAT = 32; @@ -104303,7 +104303,7 @@ export class KSP_TIMEFORMATView { } // 0x18: i64 - get Time(): Deno.PointerValue { + get Time(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -104323,7 +104323,7 @@ export class KSP_TIMEFORMATView { } // 0x18: i64 - set Time(value: Deno.PointerValue) { + set Time(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -106243,7 +106243,7 @@ export class KSQUALITY_MANAGERView { */ export interface KSFRAMETIME { /** i64 */ - Duration: Deno.PointerValue; + Duration: bigint | number; /** u32 */ FrameFlags: number; /** u32 */ @@ -106275,7 +106275,7 @@ export class KSFRAMETIMEView { } // 0x00: i64 - get Duration(): Deno.PointerValue { + get Duration(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -106290,7 +106290,7 @@ export class KSFRAMETIMEView { } // 0x00: i64 - set Duration(value: Deno.PointerValue) { + set Duration(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -106310,9 +106310,9 @@ export class KSFRAMETIMEView { */ export interface KSRATE { /** i64 */ - PresentationStart: Deno.PointerValue; + PresentationStart: bigint | number; /** i64 */ - Duration: Deno.PointerValue; + Duration: bigint | number; /** Windows.Win32.Media.KernelStreaming.KSIDENTIFIER */ Interface: Uint8Array | Deno.PointerValue; /** i32 */ @@ -106350,12 +106350,12 @@ export class KSRATEView { } // 0x00: i64 - get PresentationStart(): Deno.PointerValue { + get PresentationStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Duration(): Deno.PointerValue { + get Duration(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -106376,12 +106376,12 @@ export class KSRATEView { } // 0x00: i64 - set PresentationStart(value: Deno.PointerValue) { + set PresentationStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Duration(value: Deno.PointerValue) { + set Duration(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -106505,9 +106505,9 @@ export class KSCLOCK_CREATEView { */ export interface KSCORRELATED_TIME { /** i64 */ - Time: Deno.PointerValue; + Time: bigint | number; /** i64 */ - SystemTime: Deno.PointerValue; + SystemTime: bigint | number; } export const sizeofKSCORRELATED_TIME = 16; @@ -106533,22 +106533,22 @@ export class KSCORRELATED_TIMEView { } // 0x00: i64 - get Time(): Deno.PointerValue { + get Time(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get SystemTime(): Deno.PointerValue { + get SystemTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Time(value: Deno.PointerValue) { + set Time(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set SystemTime(value: Deno.PointerValue) { + set SystemTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -106558,9 +106558,9 @@ export class KSCORRELATED_TIMEView { */ export interface KSRESOLUTION { /** i64 */ - Granularity: Deno.PointerValue; + Granularity: bigint | number; /** i64 */ - Error: Deno.PointerValue; + Error: bigint | number; } export const sizeofKSRESOLUTION = 16; @@ -106586,22 +106586,22 @@ export class KSRESOLUTIONView { } // 0x00: i64 - get Granularity(): Deno.PointerValue { + get Granularity(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Error(): Deno.PointerValue { + get Error(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Granularity(value: Deno.PointerValue) { + set Granularity(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Error(value: Deno.PointerValue) { + set Error(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -106615,7 +106615,7 @@ export interface KSQUALITY { /** u32 */ Proportion: number; /** i64 */ - DeltaTime: Deno.PointerValue; + DeltaTime: bigint | number; } export const sizeofKSQUALITY = 24; @@ -106657,7 +106657,7 @@ export class KSQUALITYView { // 0x0c: pad4 // 0x10: i64 - get DeltaTime(): Deno.PointerValue { + get DeltaTime(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -106674,7 +106674,7 @@ export class KSQUALITYView { // 0x0c: pad4 // 0x10: i64 - set DeltaTime(value: Deno.PointerValue) { + set DeltaTime(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -106874,7 +106874,7 @@ export interface _combined_e__Struct { /** u32 */ fHandle: number; /** u64 */ - uPayload: Deno.PointerValue; + uPayload: bigint | number; } export const sizeof_combined_e__Struct = 16; @@ -106912,7 +106912,7 @@ export class _combined_e__StructView { } // 0x08: u64 - get uPayload(): Deno.PointerValue { + get uPayload(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -106927,7 +106927,7 @@ export class _combined_e__StructView { } // 0x08: u64 - set uPayload(value: Deno.PointerValue) { + set uPayload(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -107047,9 +107047,9 @@ export class KSMULTIPLE_DATA_PROPView { */ export interface KSAUDIO_POSITION { /** u64 */ - PlayOffset: Deno.PointerValue; + PlayOffset: bigint | number; /** u64 */ - WriteOffset: Deno.PointerValue; + WriteOffset: bigint | number; } export const sizeofKSAUDIO_POSITION = 16; @@ -107075,22 +107075,22 @@ export class KSAUDIO_POSITIONView { } // 0x00: u64 - get PlayOffset(): Deno.PointerValue { + get PlayOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get WriteOffset(): Deno.PointerValue { + get WriteOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set PlayOffset(value: Deno.PointerValue) { + set PlayOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set WriteOffset(value: Deno.PointerValue) { + set WriteOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -107100,9 +107100,9 @@ export class KSAUDIO_POSITIONView { */ export interface KSAUDIO_PRESENTATION_POSITION { /** u64 */ - u64PositionInBlocks: Deno.PointerValue; + u64PositionInBlocks: bigint | number; /** u64 */ - u64QPCPosition: Deno.PointerValue; + u64QPCPosition: bigint | number; } export const sizeofKSAUDIO_PRESENTATION_POSITION = 16; @@ -107128,22 +107128,22 @@ export class KSAUDIO_PRESENTATION_POSITIONView { } // 0x00: u64 - get u64PositionInBlocks(): Deno.PointerValue { + get u64PositionInBlocks(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get u64QPCPosition(): Deno.PointerValue { + get u64QPCPosition(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set u64PositionInBlocks(value: Deno.PointerValue) { + set u64PositionInBlocks(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set u64QPCPosition(value: Deno.PointerValue) { + set u64QPCPosition(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -109448,9 +109448,9 @@ export interface KSRTAUDIO_HWREGISTER { /** u32 */ Width: number; /** u64 */ - Numerator: Deno.PointerValue; + Numerator: bigint | number; /** u64 */ - Denominator: Deno.PointerValue; + Denominator: bigint | number; /** u32 */ Accuracy: number; } @@ -109499,12 +109499,12 @@ export class KSRTAUDIO_HWREGISTERView { // 0x0c: pad4 // 0x10: u64 - get Numerator(): Deno.PointerValue { + get Numerator(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Denominator(): Deno.PointerValue { + get Denominator(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -109528,12 +109528,12 @@ export class KSRTAUDIO_HWREGISTERView { // 0x0c: pad4 // 0x10: u64 - set Numerator(value: Deno.PointerValue) { + set Numerator(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Denominator(value: Deno.PointerValue) { + set Denominator(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -109554,9 +109554,9 @@ export interface KSRTAUDIO_HWREGISTER32 { /** u32 */ Width: number; /** u64 */ - Numerator: Deno.PointerValue; + Numerator: bigint | number; /** u64 */ - Denominator: Deno.PointerValue; + Denominator: bigint | number; /** u32 */ Accuracy: number; } @@ -109601,12 +109601,12 @@ export class KSRTAUDIO_HWREGISTER32View { } // 0x08: u64 - get Numerator(): Deno.PointerValue { + get Numerator(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Denominator(): Deno.PointerValue { + get Denominator(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -109628,12 +109628,12 @@ export class KSRTAUDIO_HWREGISTER32View { } // 0x08: u64 - set Numerator(value: Deno.PointerValue) { + set Numerator(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Denominator(value: Deno.PointerValue) { + set Denominator(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -109768,7 +109768,7 @@ export interface KSRTAUDIO_GETREADPACKET_INFO { /** u32 */ Flags: number; /** u64 */ - PerformanceCounterValue: Deno.PointerValue; + PerformanceCounterValue: bigint | number; /** Windows.Win32.Foundation.BOOL */ MoreData: boolean; } @@ -109811,7 +109811,7 @@ export class KSRTAUDIO_GETREADPACKET_INFOView { } // 0x08: u64 - get PerformanceCounterValue(): Deno.PointerValue { + get PerformanceCounterValue(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -109833,7 +109833,7 @@ export class KSRTAUDIO_GETREADPACKET_INFOView { } // 0x08: u64 - set PerformanceCounterValue(value: Deno.PointerValue) { + set PerformanceCounterValue(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -111818,7 +111818,7 @@ export interface LOOPEDSTREAMING_POSITION_EVENT_DATA { /** Windows.Win32.Media.KernelStreaming.KSEVENTDATA */ KsEventData: Uint8Array | Deno.PointerValue; /** u64 */ - Position: Deno.PointerValue; + Position: bigint | number; } export const sizeofLOOPEDSTREAMING_POSITION_EVENT_DATA = 16; @@ -111850,7 +111850,7 @@ export class LOOPEDSTREAMING_POSITION_EVENT_DATAView { } // 0x08: u64 - get Position(): Deno.PointerValue { + get Position(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -111860,7 +111860,7 @@ export class LOOPEDSTREAMING_POSITION_EVENT_DATAView { } // 0x08: u64 - set Position(value: Deno.PointerValue) { + set Position(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -113633,7 +113633,7 @@ export interface KS_VIDEOINFOHEADER { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Media.KernelStreaming.KS_BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; } @@ -113691,7 +113691,7 @@ export class KS_VIDEOINFOHEADERView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -113722,7 +113722,7 @@ export class KS_VIDEOINFOHEADERView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -113745,7 +113745,7 @@ export interface KS_VIDEOINFO { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Media.KernelStreaming.KS_BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; /** _Anonymous_e__Union */ @@ -113807,7 +113807,7 @@ export class KS_VIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -113844,7 +113844,7 @@ export class KS_VIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -114056,7 +114056,7 @@ export interface KS_ANALOGVIDEOINFO { /** u32 */ dwActiveHeight: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; } export const sizeofKS_ANALOGVIDEOINFO = 32; @@ -114110,7 +114110,7 @@ export class KS_ANALOGVIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -114135,7 +114135,7 @@ export class KS_ANALOGVIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -114234,7 +114234,7 @@ export interface KS_VIDEOINFOHEADER2 { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** u32 */ dwInterlaceFlags: number; /** u32 */ @@ -114317,7 +114317,7 @@ export class KS_VIDEOINFOHEADER2View { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -114381,7 +114381,7 @@ export class KS_VIDEOINFOHEADER2View { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -115703,9 +115703,9 @@ export interface KS_VIDEO_STREAM_CONFIG_CAPS { /** i32 */ ShrinkTapsY: number; /** i64 */ - MinFrameInterval: Deno.PointerValue; + MinFrameInterval: bigint | number; /** i64 */ - MaxFrameInterval: Deno.PointerValue; + MaxFrameInterval: bigint | number; /** i32 */ MinBitsPerSecond: number; /** i32 */ @@ -115867,12 +115867,12 @@ export class KS_VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - get MinFrameInterval(): Deno.PointerValue { + get MinFrameInterval(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: i64 - get MaxFrameInterval(): Deno.PointerValue { + get MaxFrameInterval(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -115974,12 +115974,12 @@ export class KS_VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - set MinFrameInterval(value: Deno.PointerValue) { + set MinFrameInterval(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: i64 - set MaxFrameInterval(value: Deno.PointerValue) { + set MaxFrameInterval(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } @@ -117343,7 +117343,7 @@ export interface CC_HW_FIELD { /** u32 */ fieldFlags: number; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** array */ Lines: Deno.PointerValue; } @@ -117389,7 +117389,7 @@ export class CC_HW_FIELDView { // 0x0c: pad4 // 0x10: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -117412,7 +117412,7 @@ export class CC_HW_FIELDView { // 0x0c: pad4 // 0x10: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -117488,7 +117488,7 @@ export interface NABTS_BUFFER { /** Windows.Win32.Media.KernelStreaming.VBICODECFILTERING_SCANLINES */ ScanlinesRequested: Uint8Array | Deno.PointerValue; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** array */ NabtsLines: Deno.PointerValue; } @@ -117524,7 +117524,7 @@ export class NABTS_BUFFERView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -117540,7 +117540,7 @@ export class NABTS_BUFFERView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -118865,9 +118865,9 @@ export class KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_PIN_SView { */ export interface VRAM_SURFACE_INFO { /** usize */ - hSurface: Deno.PointerValue; + hSurface: bigint | number; /** i64 */ - VramPhysicalAddress: Deno.PointerValue; + VramPhysicalAddress: bigint | number; /** u32 */ cbCaptured: number; /** u32 */ @@ -118918,12 +118918,12 @@ export class VRAM_SURFACE_INFOView { } // 0x00: usize - get hSurface(): Deno.PointerValue { + get hSurface(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get VramPhysicalAddress(): Deno.PointerValue { + get VramPhysicalAddress(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -118961,12 +118961,12 @@ export class VRAM_SURFACE_INFOView { } // 0x00: usize - set hSurface(value: Deno.PointerValue) { + set hSurface(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set VramPhysicalAddress(value: Deno.PointerValue) { + set VramPhysicalAddress(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -119150,9 +119150,9 @@ export interface KS_FRAME_INFO { /** u32 */ dwFrameFlags: number; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** i64 */ - DropCount: Deno.PointerValue; + DropCount: bigint | number; /** Windows.Win32.Foundation.HANDLE */ hDirectDraw: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.HANDLE */ @@ -119217,12 +119217,12 @@ export class KS_FRAME_INFOView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get DropCount(): Deno.PointerValue { + get DropCount(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -119274,12 +119274,12 @@ export class KS_FRAME_INFOView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set DropCount(value: Deno.PointerValue) { + set DropCount(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -119325,9 +119325,9 @@ export interface KS_VBI_FRAME_INFO { /** u32 */ dwFrameFlags: number; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** i64 */ - DropCount: Deno.PointerValue; + DropCount: bigint | number; /** u32 */ dwSamplingFrequency: number; /** Windows.Win32.Media.KernelStreaming.KS_TVTUNER_CHANGE_INFO */ @@ -119380,12 +119380,12 @@ export class KS_VBI_FRAME_INFOView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get DropCount(): Deno.PointerValue { + get DropCount(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -119419,12 +119419,12 @@ export class KS_VBI_FRAME_INFOView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set DropCount(value: Deno.PointerValue) { + set DropCount(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -122690,9 +122690,9 @@ export interface KSCAMERA_EXTENDEDPROP_HEADER { /** u32 */ Result: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u64 */ - Capability: Deno.PointerValue; + Capability: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_HEADER = 32; @@ -122746,12 +122746,12 @@ export class KSCAMERA_EXTENDEDPROP_HEADERView { } // 0x10: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Capability(): Deno.PointerValue { + get Capability(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -122776,12 +122776,12 @@ export class KSCAMERA_EXTENDEDPROP_HEADERView { } // 0x10: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Capability(value: Deno.PointerValue) { + set Capability(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -123052,7 +123052,7 @@ export interface KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_VALUE */ VideoProc: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING = 32; @@ -123112,7 +123112,7 @@ export class KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTINGView { } // 0x18: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -123142,7 +123142,7 @@ export class KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTINGView { } // 0x18: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -123160,7 +123160,7 @@ export interface KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { /** i32 */ Value: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_EVCOMPENSATION = 24; @@ -123212,7 +123212,7 @@ export class KSCAMERA_EXTENDEDPROP_EVCOMPENSATIONView { } // 0x10: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -123237,7 +123237,7 @@ export class KSCAMERA_EXTENDEDPROP_EVCOMPENSATIONView { } // 0x10: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -123657,9 +123657,9 @@ export interface KSCAMERA_METADATA_CAPTURESTATS { /** u32 */ Reserved: number; /** u64 */ - ExposureTime: Deno.PointerValue; + ExposureTime: bigint | number; /** u64 */ - ExposureCompensationFlags: Deno.PointerValue; + ExposureCompensationFlags: bigint | number; /** i32 */ ExposureCompensationValue: number; /** u32 */ @@ -123677,9 +123677,9 @@ export interface KSCAMERA_METADATA_CAPTURESTATS { /** u32 */ ZoomFactor: number; /** u64 */ - SceneMode: Deno.PointerValue; + SceneMode: bigint | number; /** u64 */ - SensorFramerate: Deno.PointerValue; + SensorFramerate: bigint | number; } export const sizeofKSCAMERA_METADATA_CAPTURESTATS = 80; @@ -123747,12 +123747,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x10: u64 - get ExposureTime(): Deno.PointerValue { + get ExposureTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExposureCompensationFlags(): Deno.PointerValue { + get ExposureCompensationFlags(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -123797,12 +123797,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x40: u64 - get SceneMode(): Deno.PointerValue { + get SceneMode(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get SensorFramerate(): Deno.PointerValue { + get SensorFramerate(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -123822,12 +123822,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x10: u64 - set ExposureTime(value: Deno.PointerValue) { + set ExposureTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExposureCompensationFlags(value: Deno.PointerValue) { + set ExposureCompensationFlags(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -123872,12 +123872,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x40: u64 - set SceneMode(value: Deno.PointerValue) { + set SceneMode(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set SensorFramerate(value: Deno.PointerValue) { + set SensorFramerate(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } } @@ -123891,7 +123891,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { /** u32 */ ConfigCapCount: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER = 16; @@ -123929,7 +123929,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADERView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -123944,7 +123944,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADERView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -123958,7 +123958,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { /** u32 */ MaxNumberOfROIs: number; /** u64 */ - Capability: Deno.PointerValue; + Capability: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS = 16; @@ -123996,7 +123996,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSView { } // 0x08: u64 - get Capability(): Deno.PointerValue { + get Capability(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124011,7 +124011,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSView { } // 0x08: u64 - set Capability(value: Deno.PointerValue) { + set Capability(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124025,7 +124025,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { /** u32 */ ControlCount: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER = 16; @@ -124063,7 +124063,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADERView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124078,7 +124078,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADERView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124171,7 +124171,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_INFO { /** Windows.Win32.Foundation.RECT */ Region: Uint8Array | Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** i32 */ Weight: number; /** i32 */ @@ -124211,7 +124211,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_INFOView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124231,7 +124231,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_INFOView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -124253,7 +124253,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_ROI_INFO */ ROIInfo: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE = 16; @@ -124285,7 +124285,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCEView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124295,7 +124295,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCEView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124307,7 +124307,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_ROI_INFO */ ROIInfo: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_EXPOSURE = 16; @@ -124339,7 +124339,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_EXPOSUREView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124349,7 +124349,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_EXPOSUREView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124361,7 +124361,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_FOCUS { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_ROI_INFO */ ROIInfo: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_FOCUS = 16; @@ -124393,7 +124393,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_FOCUSView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124403,7 +124403,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_FOCUSView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124417,7 +124417,7 @@ export interface KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { /** u32 */ Type: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofKSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER = 16; @@ -124455,7 +124455,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADERView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124470,7 +124470,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADERView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124484,7 +124484,7 @@ export interface KSCAMERA_PERFRAMESETTING_CAP_HEADER { /** u32 */ ItemCount: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofKSCAMERA_PERFRAMESETTING_CAP_HEADER = 16; @@ -124522,7 +124522,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_HEADERView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124537,7 +124537,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_HEADERView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124619,7 +124619,7 @@ export interface KSCAMERA_PERFRAMESETTING_ITEM_HEADER { /** u32 */ Type: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofKSCAMERA_PERFRAMESETTING_ITEM_HEADER = 16; @@ -124657,7 +124657,7 @@ export class KSCAMERA_PERFRAMESETTING_ITEM_HEADERView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -124672,7 +124672,7 @@ export class KSCAMERA_PERFRAMESETTING_ITEM_HEADERView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -124769,7 +124769,7 @@ export interface KSCAMERA_PERFRAMESETTING_HEADER { /** System.Guid */ Id: Uint8Array | Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u32 */ LoopCount: number; /** u32 */ @@ -124823,7 +124823,7 @@ export class KSCAMERA_PERFRAMESETTING_HEADERView { } // 0x10: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -124853,7 +124853,7 @@ export class KSCAMERA_PERFRAMESETTING_HEADERView { } // 0x10: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -125590,7 +125590,7 @@ export interface KSCAMERA_PROFILE_MEDIAINFO { /** _MaxFrameRate_e__Struct */ MaxFrameRate: Uint8Array | Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u32 */ Data0: number; /** u32 */ @@ -125646,7 +125646,7 @@ export class KSCAMERA_PROFILE_MEDIAINFOView { } // 0x10: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -125681,7 +125681,7 @@ export class KSCAMERA_PROFILE_MEDIAINFOView { } // 0x10: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -127796,7 +127796,7 @@ export class KSPROPERTY_EXTXPORT_NODE_SView { */ export interface TIMECODE_SAMPLE { /** i64 */ - qwTick: Deno.PointerValue; + qwTick: bigint | number; /** Windows.Win32.Media.TIMECODE */ timecode: Uint8Array | Deno.PointerValue; /** u32 */ @@ -127832,7 +127832,7 @@ export class TIMECODE_SAMPLEView { } // 0x00: i64 - get qwTick(): Deno.PointerValue { + get qwTick(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -127853,7 +127853,7 @@ export class TIMECODE_SAMPLEView { } // 0x00: i64 - set qwTick(value: Deno.PointerValue) { + set qwTick(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -128980,9 +128980,9 @@ export interface KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S { /** Windows.Win32.Foundation.SIZE */ Dimensions: Uint8Array | Deno.PointerValue; /** i64 */ - CurrentActualFrameRate: Deno.PointerValue; + CurrentActualFrameRate: bigint | number; /** i64 */ - CurrentMaxAvailableFrameRate: Deno.PointerValue; + CurrentMaxAvailableFrameRate: bigint | number; } export const sizeofKSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S = 40; @@ -129038,12 +129038,12 @@ export class KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_SView { } // 0x18: i64 - get CurrentActualFrameRate(): Deno.PointerValue { + get CurrentActualFrameRate(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get CurrentMaxAvailableFrameRate(): Deno.PointerValue { + get CurrentMaxAvailableFrameRate(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -129068,12 +129068,12 @@ export class KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_SView { } // 0x18: i64 - set CurrentActualFrameRate(value: Deno.PointerValue) { + set CurrentActualFrameRate(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set CurrentMaxAvailableFrameRate(value: Deno.PointerValue) { + set CurrentMaxAvailableFrameRate(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } } @@ -129168,9 +129168,9 @@ export interface KSPROPERTY_DROPPEDFRAMES_CURRENT_S { /** Windows.Win32.Media.KernelStreaming.KSIDENTIFIER */ Property: Uint8Array | Deno.PointerValue; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** i64 */ - DropCount: Deno.PointerValue; + DropCount: bigint | number; /** u32 */ AverageFrameSize: number; } @@ -129209,12 +129209,12 @@ export class KSPROPERTY_DROPPEDFRAMES_CURRENT_SView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get DropCount(): Deno.PointerValue { + get DropCount(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -129231,12 +129231,12 @@ export class KSPROPERTY_DROPPEDFRAMES_CURRENT_SView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set DropCount(value: Deno.PointerValue) { + set DropCount(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -129892,7 +129892,7 @@ export class KSGOP_USERDATAView { */ export interface KS_AM_SimpleRateChange { /** i64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** i32 */ Rate: number; } @@ -129921,7 +129921,7 @@ export class KS_AM_SimpleRateChangeView { } // 0x00: i64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -129933,7 +129933,7 @@ export class KS_AM_SimpleRateChangeView { // 0x0c: pad4 // 0x00: i64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -129950,7 +129950,7 @@ export class KS_AM_SimpleRateChangeView { */ export interface KS_AM_ExactRateChange { /** i64 */ - OutputZeroTime: Deno.PointerValue; + OutputZeroTime: bigint | number; /** i32 */ Rate: number; } @@ -129979,7 +129979,7 @@ export class KS_AM_ExactRateChangeView { } // 0x00: i64 - get OutputZeroTime(): Deno.PointerValue { + get OutputZeroTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -129991,7 +129991,7 @@ export class KS_AM_ExactRateChangeView { // 0x0c: pad4 // 0x00: i64 - set OutputZeroTime(value: Deno.PointerValue) { + set OutputZeroTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -130529,7 +130529,7 @@ export interface KSAUDIOENGINE_VOLUMELEVEL { /** Windows.Win32.Media.KernelStreaming.AUDIO_CURVE_TYPE */ CurveType: AUDIO_CURVE_TYPE; /** u64 */ - CurveDuration: Deno.PointerValue; + CurveDuration: bigint | number; } export const sizeofKSAUDIOENGINE_VOLUMELEVEL = 16; @@ -130567,7 +130567,7 @@ export class KSAUDIOENGINE_VOLUMELEVELView { } // 0x08: u64 - get CurveDuration(): Deno.PointerValue { + get CurveDuration(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -130582,7 +130582,7 @@ export class KSAUDIOENGINE_VOLUMELEVELView { } // 0x08: u64 - set CurveDuration(value: Deno.PointerValue) { + set CurveDuration(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -130922,11 +130922,11 @@ export class KSAUDIOMODULE_NOTIFICATIONView { */ export interface OPTIMAL_WEIGHT_TOTALS { /** i64 */ - MinTotalNominator: Deno.PointerValue; + MinTotalNominator: bigint | number; /** i64 */ - MaxTotalNominator: Deno.PointerValue; + MaxTotalNominator: bigint | number; /** i64 */ - TotalDenominator: Deno.PointerValue; + TotalDenominator: bigint | number; } export const sizeofOPTIMAL_WEIGHT_TOTALS = 24; @@ -130954,32 +130954,32 @@ export class OPTIMAL_WEIGHT_TOTALSView { } // 0x00: i64 - get MinTotalNominator(): Deno.PointerValue { + get MinTotalNominator(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get MaxTotalNominator(): Deno.PointerValue { + get MaxTotalNominator(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get TotalDenominator(): Deno.PointerValue { + get TotalDenominator(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x00: i64 - set MinTotalNominator(value: Deno.PointerValue) { + set MinTotalNominator(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set MaxTotalNominator(value: Deno.PointerValue) { + set MaxTotalNominator(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set TotalDenominator(value: Deno.PointerValue) { + set TotalDenominator(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -133442,9 +133442,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { /** Windows.Win32.Media.MediaFoundation.D3D12_VIDEO_DECODER_HEAP_DESC */ VideoDecoderHeapDesc: Uint8Array | Deno.PointerValue; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE = 24; @@ -133478,12 +133478,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZEView { } // 0x08: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -133493,12 +133493,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZEView { } // 0x08: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -133516,9 +133516,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { /** ptr */ pInputStreamDescs: Deno.PointerValue | Uint8Array; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE = 48; @@ -133580,12 +133580,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZEView { } // 0x20: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -133614,12 +133614,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZEView { } // 0x20: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -133629,9 +133629,9 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZEView { */ export interface D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { /** u64 */ - Status: Deno.PointerValue; + Status: bigint | number; /** u64 */ - NumMacroblocksAffected: Deno.PointerValue; + NumMacroblocksAffected: bigint | number; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_RATIONAL */ FrameRate: Uint8Array | Deno.PointerValue; /** u32 */ @@ -133666,12 +133666,12 @@ export class D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICSView { } // 0x00: u64 - get Status(): Deno.PointerValue { + get Status(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get NumMacroblocksAffected(): Deno.PointerValue { + get NumMacroblocksAffected(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -133689,12 +133689,12 @@ export class D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICSView { // 0x1c: pad4 // 0x00: u64 - set Status(value: Deno.PointerValue) { + set Status(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set NumMacroblocksAffected(value: Deno.PointerValue) { + set NumMacroblocksAffected(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -133875,9 +133875,9 @@ export interface D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Size: Deno.PointerValue; + Size: bigint | number; } export const sizeofD3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM = 24; @@ -133911,12 +133911,12 @@ export class D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAMView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -133926,12 +133926,12 @@ export class D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAMView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -135330,7 +135330,7 @@ export class D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTSView { */ export interface D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; } @@ -135358,7 +135358,7 @@ export class D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAMView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -135369,7 +135369,7 @@ export class D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAMView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -135934,13 +135934,13 @@ export interface D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { /** Windows.Win32.Foundation.BOOL */ Protected: boolean; /** u64 */ - MotionVectorHeapMemoryPoolL0Size: Deno.PointerValue; + MotionVectorHeapMemoryPoolL0Size: bigint | number; /** u64 */ - MotionVectorHeapMemoryPoolL1Size: Deno.PointerValue; + MotionVectorHeapMemoryPoolL1Size: bigint | number; /** u64 */ - MotionEstimatorMemoryPoolL0Size: Deno.PointerValue; + MotionEstimatorMemoryPoolL0Size: bigint | number; /** u64 */ - MotionEstimatorMemoryPoolL1Size: Deno.PointerValue; + MotionEstimatorMemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE = 64; @@ -136016,22 +136016,22 @@ export class D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZEView { // 0x1c: pad4 // 0x20: u64 - get MotionVectorHeapMemoryPoolL0Size(): Deno.PointerValue { + get MotionVectorHeapMemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get MotionVectorHeapMemoryPoolL1Size(): Deno.PointerValue { + get MotionVectorHeapMemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get MotionEstimatorMemoryPoolL0Size(): Deno.PointerValue { + get MotionEstimatorMemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get MotionEstimatorMemoryPoolL1Size(): Deno.PointerValue { + get MotionEstimatorMemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -136068,22 +136068,22 @@ export class D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZEView { // 0x1c: pad4 // 0x20: u64 - set MotionVectorHeapMemoryPoolL0Size(value: Deno.PointerValue) { + set MotionVectorHeapMemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set MotionVectorHeapMemoryPoolL1Size(value: Deno.PointerValue) { + set MotionVectorHeapMemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set MotionEstimatorMemoryPoolL0Size(value: Deno.PointerValue) { + set MotionEstimatorMemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set MotionEstimatorMemoryPoolL1Size(value: Deno.PointerValue) { + set MotionEstimatorMemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -136285,7 +136285,7 @@ export class D3D12_VIDEO_MOTION_VECTOR_HEAP_DESCView { */ export interface D3D12_RESOURCE_COORDINATE { /** u64 */ - X: Deno.PointerValue; + X: bigint | number; /** u32 */ Y: number; /** u32 */ @@ -136322,7 +136322,7 @@ export class D3D12_RESOURCE_COORDINATEView { } // 0x00: u64 - get X(): Deno.PointerValue { + get X(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -136344,7 +136344,7 @@ export class D3D12_RESOURCE_COORDINATEView { // 0x14: pad4 // 0x00: u64 - set X(value: Deno.PointerValue) { + set X(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -136830,9 +136830,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { /** Windows.Win32.Foundation.BOOL */ Protected: boolean; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 = 32; @@ -136876,12 +136876,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1View { // 0x0c: pad4 // 0x10: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -136898,12 +136898,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1View { // 0x0c: pad4 // 0x10: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -136923,9 +136923,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { /** Windows.Win32.Foundation.BOOL */ Protected: boolean; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 = 56; @@ -136997,12 +136997,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1View { // 0x24: pad4 // 0x28: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -137038,12 +137038,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1View { // 0x24: pad4 // 0x28: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -137500,11 +137500,11 @@ export interface D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { /** ptr */ pInputData: Deno.PointerValue | Uint8Array; /** usize */ - InputDataSizeInBytes: Deno.PointerValue; + InputDataSizeInBytes: bigint | number; /** ptr */ pOutputData: Deno.PointerValue | Uint8Array; /** usize */ - OutputDataSizeInBytes: Deno.PointerValue; + OutputDataSizeInBytes: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT = 48; @@ -137558,7 +137558,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x18: usize - get InputDataSizeInBytes(): Deno.PointerValue { + get InputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -137569,7 +137569,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x28: usize - get OutputDataSizeInBytes(): Deno.PointerValue { + get OutputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -137591,7 +137591,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x18: usize - set InputDataSizeInBytes(value: Deno.PointerValue) { + set InputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -137601,7 +137601,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x28: usize - set OutputDataSizeInBytes(value: Deno.PointerValue) { + set OutputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -137617,11 +137617,11 @@ export interface D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { /** ptr */ pCreationParameters: Deno.PointerValue | Uint8Array; /** usize */ - CreationParametersSizeInBytes: Deno.PointerValue; + CreationParametersSizeInBytes: bigint | number; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE = 48; @@ -137675,17 +137675,17 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZEView { } // 0x18: usize - get CreationParametersSizeInBytes(): Deno.PointerValue { + get CreationParametersSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -137707,17 +137707,17 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZEView { } // 0x18: usize - set CreationParametersSizeInBytes(value: Deno.PointerValue) { + set CreationParametersSizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -137864,13 +137864,13 @@ export interface D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR { /** u32 */ MaxQP: number; /** u64 */ - MaxFrameBitSize: Deno.PointerValue; + MaxFrameBitSize: bigint | number; /** u64 */ - TargetBitRate: Deno.PointerValue; + TargetBitRate: bigint | number; /** u64 */ - VBVCapacity: Deno.PointerValue; + VBVCapacity: bigint | number; /** u64 */ - InitialVBVFullness: Deno.PointerValue; + InitialVBVFullness: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_RATE_CONTROL_CBR = 48; @@ -137924,22 +137924,22 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_CBRView { // 0x0c: pad4 // 0x10: u64 - get MaxFrameBitSize(): Deno.PointerValue { + get MaxFrameBitSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetBitRate(): Deno.PointerValue { + get TargetBitRate(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get VBVCapacity(): Deno.PointerValue { + get VBVCapacity(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get InitialVBVFullness(): Deno.PointerValue { + get InitialVBVFullness(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -137961,22 +137961,22 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_CBRView { // 0x0c: pad4 // 0x10: u64 - set MaxFrameBitSize(value: Deno.PointerValue) { + set MaxFrameBitSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetBitRate(value: Deno.PointerValue) { + set TargetBitRate(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set VBVCapacity(value: Deno.PointerValue) { + set VBVCapacity(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set InitialVBVFullness(value: Deno.PointerValue) { + set InitialVBVFullness(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -137992,15 +137992,15 @@ export interface D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR { /** u32 */ MaxQP: number; /** u64 */ - MaxFrameBitSize: Deno.PointerValue; + MaxFrameBitSize: bigint | number; /** u64 */ - TargetAvgBitRate: Deno.PointerValue; + TargetAvgBitRate: bigint | number; /** u64 */ - PeakBitRate: Deno.PointerValue; + PeakBitRate: bigint | number; /** u64 */ - VBVCapacity: Deno.PointerValue; + VBVCapacity: bigint | number; /** u64 */ - InitialVBVFullness: Deno.PointerValue; + InitialVBVFullness: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_RATE_CONTROL_VBR = 56; @@ -138056,27 +138056,27 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_VBRView { // 0x0c: pad4 // 0x10: u64 - get MaxFrameBitSize(): Deno.PointerValue { + get MaxFrameBitSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetAvgBitRate(): Deno.PointerValue { + get TargetAvgBitRate(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get PeakBitRate(): Deno.PointerValue { + get PeakBitRate(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get VBVCapacity(): Deno.PointerValue { + get VBVCapacity(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get InitialVBVFullness(): Deno.PointerValue { + get InitialVBVFullness(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -138098,27 +138098,27 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_VBRView { // 0x0c: pad4 // 0x10: u64 - set MaxFrameBitSize(value: Deno.PointerValue) { + set MaxFrameBitSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetAvgBitRate(value: Deno.PointerValue) { + set TargetAvgBitRate(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set PeakBitRate(value: Deno.PointerValue) { + set PeakBitRate(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set VBVCapacity(value: Deno.PointerValue) { + set VBVCapacity(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set InitialVBVFullness(value: Deno.PointerValue) { + set InitialVBVFullness(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -138134,11 +138134,11 @@ export interface D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR { /** u32 */ MaxQP: number; /** u64 */ - MaxFrameBitSize: Deno.PointerValue; + MaxFrameBitSize: bigint | number; /** u64 */ - TargetAvgBitRate: Deno.PointerValue; + TargetAvgBitRate: bigint | number; /** u64 */ - PeakBitRate: Deno.PointerValue; + PeakBitRate: bigint | number; /** u32 */ ConstantQualityTarget: number; } @@ -138195,17 +138195,17 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBRView { // 0x0c: pad4 // 0x10: u64 - get MaxFrameBitSize(): Deno.PointerValue { + get MaxFrameBitSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetAvgBitRate(): Deno.PointerValue { + get TargetAvgBitRate(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get PeakBitRate(): Deno.PointerValue { + get PeakBitRate(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -138234,17 +138234,17 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBRView { // 0x0c: pad4 // 0x10: u64 - set MaxFrameBitSize(value: Deno.PointerValue) { + set MaxFrameBitSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetAvgBitRate(value: Deno.PointerValue) { + set TargetAvgBitRate(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set PeakBitRate(value: Deno.PointerValue) { + set PeakBitRate(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -139634,9 +139634,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { /** Windows.Win32.Foundation.BOOL */ IsSupported: boolean; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE = 32; @@ -139680,12 +139680,12 @@ export class D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZEView { // 0x0c: pad4 // 0x10: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -139702,12 +139702,12 @@ export class D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZEView { // 0x0c: pad4 // 0x10: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -143211,7 +143211,7 @@ export interface D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM { /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; /** u64 */ - FrameStartOffset: Deno.PointerValue; + FrameStartOffset: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM = 16; @@ -143243,7 +143243,7 @@ export class D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAMView { } // 0x08: u64 - get FrameStartOffset(): Deno.PointerValue { + get FrameStartOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -143253,7 +143253,7 @@ export class D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAMView { } // 0x08: u64 - set FrameStartOffset(value: Deno.PointerValue) { + set FrameStartOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -143322,11 +143322,11 @@ export class D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTUREView { */ export interface D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA { /** u64 */ - bSize: Deno.PointerValue; + bSize: bigint | number; /** u64 */ - bStartOffset: Deno.PointerValue; + bStartOffset: bigint | number; /** u64 */ - bHeaderSize: Deno.PointerValue; + bHeaderSize: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA = 24; @@ -143354,32 +143354,32 @@ export class D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATAView { } // 0x00: u64 - get bSize(): Deno.PointerValue { + get bSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get bStartOffset(): Deno.PointerValue { + get bStartOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get bHeaderSize(): Deno.PointerValue { + get bHeaderSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set bSize(value: Deno.PointerValue) { + set bSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set bStartOffset(value: Deno.PointerValue) { + set bStartOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set bHeaderSize(value: Deno.PointerValue) { + set bHeaderSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -143389,17 +143389,17 @@ export class D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATAView { */ export interface D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { /** u64 */ - AverageQP: Deno.PointerValue; + AverageQP: bigint | number; /** u64 */ - IntraCodingUnitsCount: Deno.PointerValue; + IntraCodingUnitsCount: bigint | number; /** u64 */ - InterCodingUnitsCount: Deno.PointerValue; + InterCodingUnitsCount: bigint | number; /** u64 */ - SkipCodingUnitsCount: Deno.PointerValue; + SkipCodingUnitsCount: bigint | number; /** u64 */ - AverageMotionEstimationXDirection: Deno.PointerValue; + AverageMotionEstimationXDirection: bigint | number; /** u64 */ - AverageMotionEstimationYDirection: Deno.PointerValue; + AverageMotionEstimationYDirection: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS = 48; @@ -143433,62 +143433,62 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICSView { } // 0x00: u64 - get AverageQP(): Deno.PointerValue { + get AverageQP(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IntraCodingUnitsCount(): Deno.PointerValue { + get IntraCodingUnitsCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get InterCodingUnitsCount(): Deno.PointerValue { + get InterCodingUnitsCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get SkipCodingUnitsCount(): Deno.PointerValue { + get SkipCodingUnitsCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get AverageMotionEstimationXDirection(): Deno.PointerValue { + get AverageMotionEstimationXDirection(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get AverageMotionEstimationYDirection(): Deno.PointerValue { + get AverageMotionEstimationYDirection(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set AverageQP(value: Deno.PointerValue) { + set AverageQP(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IntraCodingUnitsCount(value: Deno.PointerValue) { + set IntraCodingUnitsCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set InterCodingUnitsCount(value: Deno.PointerValue) { + set InterCodingUnitsCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set SkipCodingUnitsCount(value: Deno.PointerValue) { + set SkipCodingUnitsCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set AverageMotionEstimationXDirection(value: Deno.PointerValue) { + set AverageMotionEstimationXDirection(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set AverageMotionEstimationYDirection(value: Deno.PointerValue) { + set AverageMotionEstimationYDirection(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -143498,13 +143498,13 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICSView { */ export interface D3D12_VIDEO_ENCODER_OUTPUT_METADATA { /** u64 */ - EncodeErrorFlags: Deno.PointerValue; + EncodeErrorFlags: bigint | number; /** Windows.Win32.Media.MediaFoundation.D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS */ EncodeStats: Uint8Array | Deno.PointerValue; /** u64 */ - EncodedBitstreamWrittenBytesCount: Deno.PointerValue; + EncodedBitstreamWrittenBytesCount: bigint | number; /** u64 */ - WrittenSubregionsCount: Deno.PointerValue; + WrittenSubregionsCount: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_OUTPUT_METADATA = 32; @@ -143534,7 +143534,7 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATAView { } // 0x00: u64 - get EncodeErrorFlags(): Deno.PointerValue { + get EncodeErrorFlags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -143545,17 +143545,17 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATAView { } // 0x10: u64 - get EncodedBitstreamWrittenBytesCount(): Deno.PointerValue { + get EncodedBitstreamWrittenBytesCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get WrittenSubregionsCount(): Deno.PointerValue { + get WrittenSubregionsCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set EncodeErrorFlags(value: Deno.PointerValue) { + set EncodeErrorFlags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -143565,12 +143565,12 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATAView { } // 0x10: u64 - set EncodedBitstreamWrittenBytesCount(value: Deno.PointerValue) { + set EncodedBitstreamWrittenBytesCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set WrittenSubregionsCount(value: Deno.PointerValue) { + set WrittenSubregionsCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -143582,7 +143582,7 @@ export interface D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER { /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER = 16; @@ -143614,7 +143614,7 @@ export class D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFERView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -143624,7 +143624,7 @@ export class D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFERView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -143852,7 +143852,7 @@ export class D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTSView { */ export interface AecQualityMetrics_Struct { /** i64 */ - i64Timestamp: Deno.PointerValue; + i64Timestamp: bigint | number; /** u8 */ ConvergenceFlag: number; /** u8 */ @@ -143948,7 +143948,7 @@ export class AecQualityMetrics_StructView { } // 0x00: i64 - get i64Timestamp(): Deno.PointerValue { + get i64Timestamp(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -144043,7 +144043,7 @@ export class AecQualityMetrics_StructView { } // 0x00: i64 - set i64Timestamp(value: Deno.PointerValue) { + set i64Timestamp(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -144236,15 +144236,15 @@ export class TOC_DESCRIPTORView { */ export interface TOC_ENTRY_DESCRIPTOR { /** u64 */ - qwStartTime: Deno.PointerValue; + qwStartTime: bigint | number; /** u64 */ - qwEndTime: Deno.PointerValue; + qwEndTime: bigint | number; /** u64 */ - qwStartPacketOffset: Deno.PointerValue; + qwStartPacketOffset: bigint | number; /** u64 */ - qwEndPacketOffset: Deno.PointerValue; + qwEndPacketOffset: bigint | number; /** u64 */ - qwRepresentativeFrameTime: Deno.PointerValue; + qwRepresentativeFrameTime: bigint | number; } export const sizeofTOC_ENTRY_DESCRIPTOR = 40; @@ -144276,52 +144276,52 @@ export class TOC_ENTRY_DESCRIPTORView { } // 0x00: u64 - get qwStartTime(): Deno.PointerValue { + get qwStartTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwEndTime(): Deno.PointerValue { + get qwEndTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get qwStartPacketOffset(): Deno.PointerValue { + get qwStartPacketOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get qwEndPacketOffset(): Deno.PointerValue { + get qwEndPacketOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get qwRepresentativeFrameTime(): Deno.PointerValue { + get qwRepresentativeFrameTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: u64 - set qwStartTime(value: Deno.PointerValue) { + set qwStartTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwEndTime(value: Deno.PointerValue) { + set qwEndTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set qwStartPacketOffset(value: Deno.PointerValue) { + set qwStartPacketOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set qwEndPacketOffset(value: Deno.PointerValue) { + set qwEndPacketOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set qwRepresentativeFrameTime(value: Deno.PointerValue) { + set qwRepresentativeFrameTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -145802,9 +145802,9 @@ export class DXVA_VideoDescView { */ export interface DXVA_VideoSample { /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVA_SampleFormat */ SampleFormat: DXVA_SampleFormat; /** ptr */ @@ -145839,12 +145839,12 @@ export class DXVA_VideoSampleView { } // 0x00: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -145862,12 +145862,12 @@ export class DXVA_VideoSampleView { } // 0x00: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -146030,7 +146030,7 @@ export interface DXVA_DeinterlaceBlt { /** u32 */ Reserved: number; /** i64 */ - rtTarget: Deno.PointerValue; + rtTarget: bigint | number; /** Windows.Win32.Foundation.RECT */ DstRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -146088,7 +146088,7 @@ export class DXVA_DeinterlaceBltView { } // 0x08: i64 - get rtTarget(): Deno.PointerValue { + get rtTarget(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -146131,7 +146131,7 @@ export class DXVA_DeinterlaceBltView { } // 0x08: i64 - set rtTarget(value: Deno.PointerValue) { + set rtTarget(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -146172,7 +146172,7 @@ export interface DXVA_DeinterlaceBltEx { /** Windows.Win32.Foundation.RECT */ rcTarget: Uint8Array | Deno.PointerValue; /** i64 */ - rtTarget: Deno.PointerValue; + rtTarget: bigint | number; /** u32 */ NumSourceSurfaces: number; /** f32 */ @@ -146242,7 +146242,7 @@ export class DXVA_DeinterlaceBltExView { } // 0x18: i64 - get rtTarget(): Deno.PointerValue { + get rtTarget(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -146290,7 +146290,7 @@ export class DXVA_DeinterlaceBltExView { } // 0x18: i64 - set rtTarget(value: Deno.PointerValue) { + set rtTarget(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -149576,9 +149576,9 @@ export class DXVAHDSW_CALLBACKSView { */ export interface DXVAHDETW_CREATEVIDEOPROCESSOR { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pD3D9Ex: Deno.PointerValue; + pD3D9Ex: bigint | number; /** System.Guid */ VPGuid: Uint8Array | Deno.PointerValue; } @@ -149608,12 +149608,12 @@ export class DXVAHDETW_CREATEVIDEOPROCESSORView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get pD3D9Ex(): Deno.PointerValue { + get pD3D9Ex(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -149624,12 +149624,12 @@ export class DXVAHDETW_CREATEVIDEOPROCESSORView { } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set pD3D9Ex(value: Deno.PointerValue) { + set pD3D9Ex(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -149644,7 +149644,7 @@ export class DXVAHDETW_CREATEVIDEOPROCESSORView { */ export interface DXVAHDETW_VIDEOPROCESSBLTSTATE { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVAHD_BLT_STATE */ State: DXVAHD_BLT_STATE; /** u32 */ @@ -149681,7 +149681,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTSTATEView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -149703,7 +149703,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTSTATEView { // 0x14: pad4 // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -149730,7 +149730,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTSTATEView { */ export interface DXVAHDETW_VIDEOPROCESSSTREAMSTATE { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u32 */ StreamNumber: number; /** Windows.Win32.Media.MediaFoundation.DXVAHD_STREAM_STATE */ @@ -149770,7 +149770,7 @@ export class DXVAHDETW_VIDEOPROCESSSTREAMSTATEView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -149795,7 +149795,7 @@ export class DXVAHDETW_VIDEOPROCESSSTREAMSTATEView { } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -149825,9 +149825,9 @@ export class DXVAHDETW_VIDEOPROCESSSTREAMSTATEView { */ export interface DXVAHDETW_VIDEOPROCESSBLTHD { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pOutputSurface: Deno.PointerValue; + pOutputSurface: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Direct3D9.D3DFORMAT */ @@ -149878,12 +149878,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHDView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get pOutputSurface(): Deno.PointerValue { + get pOutputSurface(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -149921,12 +149921,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHDView { // 0x2c: pad4 // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set pOutputSurface(value: Deno.PointerValue) { + set pOutputSurface(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -149968,9 +149968,9 @@ export class DXVAHDETW_VIDEOPROCESSBLTHDView { */ export interface DXVAHDETW_VIDEOPROCESSBLTHD_STREAM { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pInputSurface: Deno.PointerValue; + pInputSurface: bigint | number; /** Windows.Win32.Foundation.RECT */ SourceRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -150036,12 +150036,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHD_STREAMView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get pInputSurface(): Deno.PointerValue { + get pInputSurface(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -150098,12 +150098,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHD_STREAMView { } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set pInputSurface(value: Deno.PointerValue) { + set pInputSurface(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -150163,7 +150163,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTHD_STREAMView { */ export interface DXVAHDETW_DESTROYVIDEOPROCESSOR { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; } export const sizeofDXVAHDETW_DESTROYVIDEOPROCESSOR = 8; @@ -150187,12 +150187,12 @@ export class DXVAHDETW_DESTROYVIDEOPROCESSORView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -150651,9 +150651,9 @@ export class DXVA2_AYUVSample8View { */ export interface DXVA2_VideoSample { /** i64 */ - Start: Deno.PointerValue; + Start: bigint | number; /** i64 */ - End: Deno.PointerValue; + End: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVA2_ExtendedFormat */ SampleFormat: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Direct3D9.IDirect3DSurface9 */ @@ -150708,12 +150708,12 @@ export class DXVA2_VideoSampleView { } // 0x00: i64 - get Start(): Deno.PointerValue { + get Start(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -150761,12 +150761,12 @@ export class DXVA2_VideoSampleView { // 0x44: pad4 // 0x00: i64 - set Start(value: Deno.PointerValue) { + set Start(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -150898,7 +150898,7 @@ export class DXVA2_ValueRangeView { */ export interface DXVA2_VideoProcessBltParams { /** i64 */ - TargetFrame: Deno.PointerValue; + TargetFrame: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.SIZE */ @@ -150972,7 +150972,7 @@ export class DXVA2_VideoProcessBltParamsView { } // 0x00: i64 - get TargetFrame(): Deno.PointerValue { + get TargetFrame(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -151051,7 +151051,7 @@ export class DXVA2_VideoProcessBltParamsView { // 0x64: pad4 // 0x00: i64 - set TargetFrame(value: Deno.PointerValue) { + set TargetFrame(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -151576,9 +151576,9 @@ export class DXVA2_DecodeBufferDescView { */ export interface DXVA2_AES_CTR_IV { /** u64 */ - IV: Deno.PointerValue; + IV: bigint | number; /** u64 */ - Count: Deno.PointerValue; + Count: bigint | number; } export const sizeofDXVA2_AES_CTR_IV = 16; @@ -151604,22 +151604,22 @@ export class DXVA2_AES_CTR_IVView { } // 0x00: u64 - get IV(): Deno.PointerValue { + get IV(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Count(): Deno.PointerValue { + get Count(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set IV(value: Deno.PointerValue) { + set IV(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Count(value: Deno.PointerValue) { + set Count(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -152841,7 +152841,7 @@ export interface OPM_OUTPUT_ID_DATA { /** u32 */ ulStatusFlags: number; /** u64 */ - OutputId: Deno.PointerValue; + OutputId: bigint | number; } export const sizeofOPM_OUTPUT_ID_DATA = 24; @@ -152883,7 +152883,7 @@ export class OPM_OUTPUT_ID_DATAView { // 0x0c: pad4 // 0x10: u64 - get OutputId(): Deno.PointerValue { + get OutputId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -152900,7 +152900,7 @@ export class OPM_OUTPUT_ID_DATAView { // 0x0c: pad4 // 0x10: u64 - set OutputId(value: Deno.PointerValue) { + set OutputId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -153692,7 +153692,7 @@ export interface MFVideoInfo { /** Windows.Win32.Media.MediaFoundation.MFVideoArea */ PanScanAperture: Uint8Array | Deno.PointerValue; /** u64 */ - VideoFlags: Deno.PointerValue; + VideoFlags: bigint | number; } export const sizeofMFVideoInfo = 88; @@ -153822,7 +153822,7 @@ export class MFVideoInfoView { } // 0x50: u64 - get VideoFlags(): Deno.PointerValue { + get VideoFlags(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -153899,7 +153899,7 @@ export class MFVideoInfoView { } // 0x50: u64 - set VideoFlags(value: Deno.PointerValue) { + set VideoFlags(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -154204,9 +154204,9 @@ export class MFVideoSurfaceInfoView { */ export interface MFVideoCompressedInfo { /** i64 */ - AvgBitrate: Deno.PointerValue; + AvgBitrate: bigint | number; /** i64 */ - AvgBitErrorRate: Deno.PointerValue; + AvgBitErrorRate: bigint | number; /** u32 */ MaxKeyFrameSpacing: number; } @@ -154237,12 +154237,12 @@ export class MFVideoCompressedInfoView { } // 0x00: i64 - get AvgBitrate(): Deno.PointerValue { + get AvgBitrate(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get AvgBitErrorRate(): Deno.PointerValue { + get AvgBitErrorRate(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -154254,12 +154254,12 @@ export class MFVideoCompressedInfoView { // 0x14: pad4 // 0x00: i64 - set AvgBitrate(value: Deno.PointerValue) { + set AvgBitrate(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set AvgBitErrorRate(value: Deno.PointerValue) { + set AvgBitErrorRate(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -154380,7 +154380,7 @@ export class MFVIDEOFORMATView { */ export interface MFT_INPUT_STREAM_INFO { /** i64 */ - hnsMaxLatency: Deno.PointerValue; + hnsMaxLatency: bigint | number; /** u32 */ dwFlags: number; /** u32 */ @@ -154420,7 +154420,7 @@ export class MFT_INPUT_STREAM_INFOView { } // 0x00: i64 - get hnsMaxLatency(): Deno.PointerValue { + get hnsMaxLatency(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -154445,7 +154445,7 @@ export class MFT_INPUT_STREAM_INFOView { } // 0x00: i64 - set hnsMaxLatency(value: Deno.PointerValue) { + set hnsMaxLatency(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -154805,13 +154805,13 @@ export class MFT_STREAM_STATE_PARAMView { */ export interface MFCLOCK_PROPERTIES { /** u64 */ - qwCorrelationRate: Deno.PointerValue; + qwCorrelationRate: bigint | number; /** System.Guid */ guidClockId: Uint8Array | Deno.PointerValue; /** u32 */ dwClockFlags: number; /** u64 */ - qwClockFrequency: Deno.PointerValue; + qwClockFrequency: bigint | number; /** u32 */ dwClockTolerance: number; /** u32 */ @@ -154850,7 +154850,7 @@ export class MFCLOCK_PROPERTIESView { } // 0x00: u64 - get qwCorrelationRate(): Deno.PointerValue { + get qwCorrelationRate(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -154868,7 +154868,7 @@ export class MFCLOCK_PROPERTIESView { // 0x14: pad4 // 0x18: u64 - get qwClockFrequency(): Deno.PointerValue { + get qwClockFrequency(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -154883,7 +154883,7 @@ export class MFCLOCK_PROPERTIESView { } // 0x00: u64 - set qwCorrelationRate(value: Deno.PointerValue) { + set qwCorrelationRate(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -154900,7 +154900,7 @@ export class MFCLOCK_PROPERTIESView { // 0x14: pad4 // 0x18: u64 - set qwClockFrequency(value: Deno.PointerValue) { + set qwClockFrequency(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -155207,7 +155207,7 @@ export class ASF_FLAT_SYNCHRONISED_LYRICSView { */ export interface MFTOPONODE_ATTRIBUTE_UPDATE { /** u64 */ - NodeId: Deno.PointerValue; + NodeId: bigint | number; /** System.Guid */ guidAttributeKey: Uint8Array | Deno.PointerValue; /** Windows.Win32.Media.MediaFoundation.MF_ATTRIBUTE_TYPE */ @@ -155244,7 +155244,7 @@ export class MFTOPONODE_ATTRIBUTE_UPDATEView { } // 0x00: u64 - get NodeId(): Deno.PointerValue { + get NodeId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -155268,7 +155268,7 @@ export class MFTOPONODE_ATTRIBUTE_UPDATEView { } // 0x00: u64 - set NodeId(value: Deno.PointerValue) { + set NodeId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -155348,19 +155348,19 @@ export class MF_LEAKY_BUCKET_PAIRView { */ export interface MFBYTESTREAM_BUFFERING_PARAMS { /** u64 */ - cbTotalFileSize: Deno.PointerValue; + cbTotalFileSize: bigint | number; /** u64 */ - cbPlayableDataSize: Deno.PointerValue; + cbPlayableDataSize: bigint | number; /** ptr */ prgBuckets: Deno.PointerValue | Uint8Array; /** u32 */ cBuckets: number; /** u64 */ - qwNetBufferingTime: Deno.PointerValue; + qwNetBufferingTime: bigint | number; /** u64 */ - qwExtraBufferingTimeDuringSeek: Deno.PointerValue; + qwExtraBufferingTimeDuringSeek: bigint | number; /** u64 */ - qwPlayDuration: Deno.PointerValue; + qwPlayDuration: bigint | number; /** f32 */ dRate: number; } @@ -155402,12 +155402,12 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { } // 0x00: u64 - get cbTotalFileSize(): Deno.PointerValue { + get cbTotalFileSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get cbPlayableDataSize(): Deno.PointerValue { + get cbPlayableDataSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -155425,17 +155425,17 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { // 0x1c: pad4 // 0x20: u64 - get qwNetBufferingTime(): Deno.PointerValue { + get qwNetBufferingTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get qwExtraBufferingTimeDuringSeek(): Deno.PointerValue { + get qwExtraBufferingTimeDuringSeek(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get qwPlayDuration(): Deno.PointerValue { + get qwPlayDuration(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -155447,12 +155447,12 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { // 0x3c: pad4 // 0x00: u64 - set cbTotalFileSize(value: Deno.PointerValue) { + set cbTotalFileSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set cbPlayableDataSize(value: Deno.PointerValue) { + set cbPlayableDataSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -155469,17 +155469,17 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { // 0x1c: pad4 // 0x20: u64 - set qwNetBufferingTime(value: Deno.PointerValue) { + set qwNetBufferingTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set qwExtraBufferingTimeDuringSeek(value: Deno.PointerValue) { + set qwExtraBufferingTimeDuringSeek(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set qwPlayDuration(value: Deno.PointerValue) { + set qwPlayDuration(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -155496,9 +155496,9 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { */ export interface MF_BYTE_STREAM_CACHE_RANGE { /** u64 */ - qwStartOffset: Deno.PointerValue; + qwStartOffset: bigint | number; /** u64 */ - qwEndOffset: Deno.PointerValue; + qwEndOffset: bigint | number; } export const sizeofMF_BYTE_STREAM_CACHE_RANGE = 16; @@ -155524,22 +155524,22 @@ export class MF_BYTE_STREAM_CACHE_RANGEView { } // 0x00: u64 - get qwStartOffset(): Deno.PointerValue { + get qwStartOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwEndOffset(): Deno.PointerValue { + get qwEndOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set qwStartOffset(value: Deno.PointerValue) { + set qwStartOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwEndOffset(value: Deno.PointerValue) { + set qwEndOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -156291,9 +156291,9 @@ export interface MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA { /** Windows.Win32.Foundation.HRESULT */ Status: Uint8Array | Deno.PointerValue; /** i64 */ - TransportTimeInHundredsOfNanoseconds: Deno.PointerValue; + TransportTimeInHundredsOfNanoseconds: bigint | number; /** i64 */ - ExecutionTimeInHundredsOfNanoseconds: Deno.PointerValue; + ExecutionTimeInHundredsOfNanoseconds: bigint | number; /** array */ OutputData: Deno.PointerValue; } @@ -156355,12 +156355,12 @@ export class MFCONTENTPROTECTIONDEVICE_OUTPUT_DATAView { } // 0x18: i64 - get TransportTimeInHundredsOfNanoseconds(): Deno.PointerValue { + get TransportTimeInHundredsOfNanoseconds(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get ExecutionTimeInHundredsOfNanoseconds(): Deno.PointerValue { + get ExecutionTimeInHundredsOfNanoseconds(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -156393,12 +156393,12 @@ export class MFCONTENTPROTECTIONDEVICE_OUTPUT_DATAView { } // 0x18: i64 - set TransportTimeInHundredsOfNanoseconds(value: Deno.PointerValue) { + set TransportTimeInHundredsOfNanoseconds(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set ExecutionTimeInHundredsOfNanoseconds(value: Deno.PointerValue) { + set ExecutionTimeInHundredsOfNanoseconds(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -158775,7 +158775,7 @@ export class MFPinholeCameraIntrinsicsView { */ export interface MFMPEG2DLNASINKSTATS { /** u64 */ - cBytesWritten: Deno.PointerValue; + cBytesWritten: bigint | number; /** Windows.Win32.Foundation.BOOL */ fPAL: boolean; /** u32 */ @@ -158785,23 +158785,23 @@ export interface MFMPEG2DLNASINKSTATS { /** u32 */ dwVideoHeight: number; /** u64 */ - cVideoFramesReceived: Deno.PointerValue; + cVideoFramesReceived: bigint | number; /** u64 */ - cVideoFramesEncoded: Deno.PointerValue; + cVideoFramesEncoded: bigint | number; /** u64 */ - cVideoFramesSkipped: Deno.PointerValue; + cVideoFramesSkipped: bigint | number; /** u64 */ - cBlackVideoFramesEncoded: Deno.PointerValue; + cBlackVideoFramesEncoded: bigint | number; /** u64 */ - cVideoFramesDuplicated: Deno.PointerValue; + cVideoFramesDuplicated: bigint | number; /** u32 */ cAudioSamplesPerSec: number; /** u32 */ cAudioChannels: number; /** u64 */ - cAudioBytesReceived: Deno.PointerValue; + cAudioBytesReceived: bigint | number; /** u64 */ - cAudioFramesEncoded: Deno.PointerValue; + cAudioFramesEncoded: bigint | number; } export const sizeofMFMPEG2DLNASINKSTATS = 88; @@ -158851,7 +158851,7 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x00: u64 - get cBytesWritten(): Deno.PointerValue { + get cBytesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -158876,27 +158876,27 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x18: u64 - get cVideoFramesReceived(): Deno.PointerValue { + get cVideoFramesReceived(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cVideoFramesEncoded(): Deno.PointerValue { + get cVideoFramesEncoded(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get cVideoFramesSkipped(): Deno.PointerValue { + get cVideoFramesSkipped(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get cBlackVideoFramesEncoded(): Deno.PointerValue { + get cBlackVideoFramesEncoded(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get cVideoFramesDuplicated(): Deno.PointerValue { + get cVideoFramesDuplicated(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -158911,17 +158911,17 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x48: u64 - get cAudioBytesReceived(): Deno.PointerValue { + get cAudioBytesReceived(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get cAudioFramesEncoded(): Deno.PointerValue { + get cAudioFramesEncoded(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x00: u64 - set cBytesWritten(value: Deno.PointerValue) { + set cBytesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -158946,27 +158946,27 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x18: u64 - set cVideoFramesReceived(value: Deno.PointerValue) { + set cVideoFramesReceived(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cVideoFramesEncoded(value: Deno.PointerValue) { + set cVideoFramesEncoded(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set cVideoFramesSkipped(value: Deno.PointerValue) { + set cVideoFramesSkipped(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set cBlackVideoFramesEncoded(value: Deno.PointerValue) { + set cBlackVideoFramesEncoded(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set cVideoFramesDuplicated(value: Deno.PointerValue) { + set cVideoFramesDuplicated(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -158981,12 +158981,12 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x48: u64 - set cAudioBytesReceived(value: Deno.PointerValue) { + set cAudioBytesReceived(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set cAudioFramesEncoded(value: Deno.PointerValue) { + set cAudioFramesEncoded(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -158998,27 +158998,27 @@ export interface MF_SINK_WRITER_STATISTICS { /** u32 */ cb: number; /** i64 */ - llLastTimestampReceived: Deno.PointerValue; + llLastTimestampReceived: bigint | number; /** i64 */ - llLastTimestampEncoded: Deno.PointerValue; + llLastTimestampEncoded: bigint | number; /** i64 */ - llLastTimestampProcessed: Deno.PointerValue; + llLastTimestampProcessed: bigint | number; /** i64 */ - llLastStreamTickReceived: Deno.PointerValue; + llLastStreamTickReceived: bigint | number; /** i64 */ - llLastSinkSampleRequest: Deno.PointerValue; + llLastSinkSampleRequest: bigint | number; /** u64 */ - qwNumSamplesReceived: Deno.PointerValue; + qwNumSamplesReceived: bigint | number; /** u64 */ - qwNumSamplesEncoded: Deno.PointerValue; + qwNumSamplesEncoded: bigint | number; /** u64 */ - qwNumSamplesProcessed: Deno.PointerValue; + qwNumSamplesProcessed: bigint | number; /** u64 */ - qwNumStreamTicksReceived: Deno.PointerValue; + qwNumStreamTicksReceived: bigint | number; /** u32 */ dwByteCountQueued: number; /** u64 */ - qwByteCountProcessed: Deno.PointerValue; + qwByteCountProcessed: bigint | number; /** u32 */ dwNumOutstandingSinkSampleRequests: number; /** u32 */ @@ -159089,47 +159089,47 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x04: pad4 // 0x08: i64 - get llLastTimestampReceived(): Deno.PointerValue { + get llLastTimestampReceived(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get llLastTimestampEncoded(): Deno.PointerValue { + get llLastTimestampEncoded(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get llLastTimestampProcessed(): Deno.PointerValue { + get llLastTimestampProcessed(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get llLastStreamTickReceived(): Deno.PointerValue { + get llLastStreamTickReceived(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get llLastSinkSampleRequest(): Deno.PointerValue { + get llLastSinkSampleRequest(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: u64 - get qwNumSamplesReceived(): Deno.PointerValue { + get qwNumSamplesReceived(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get qwNumSamplesEncoded(): Deno.PointerValue { + get qwNumSamplesEncoded(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get qwNumSamplesProcessed(): Deno.PointerValue { + get qwNumSamplesProcessed(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get qwNumStreamTicksReceived(): Deno.PointerValue { + get qwNumStreamTicksReceived(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -159141,7 +159141,7 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x54: pad4 // 0x58: u64 - get qwByteCountProcessed(): Deno.PointerValue { + get qwByteCountProcessed(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -159173,47 +159173,47 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x04: pad4 // 0x08: i64 - set llLastTimestampReceived(value: Deno.PointerValue) { + set llLastTimestampReceived(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set llLastTimestampEncoded(value: Deno.PointerValue) { + set llLastTimestampEncoded(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set llLastTimestampProcessed(value: Deno.PointerValue) { + set llLastTimestampProcessed(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set llLastStreamTickReceived(value: Deno.PointerValue) { + set llLastStreamTickReceived(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set llLastSinkSampleRequest(value: Deno.PointerValue) { + set llLastSinkSampleRequest(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: u64 - set qwNumSamplesReceived(value: Deno.PointerValue) { + set qwNumSamplesReceived(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set qwNumSamplesEncoded(value: Deno.PointerValue) { + set qwNumSamplesEncoded(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set qwNumSamplesProcessed(value: Deno.PointerValue) { + set qwNumSamplesProcessed(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set qwNumStreamTicksReceived(value: Deno.PointerValue) { + set qwNumStreamTicksReceived(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -159225,7 +159225,7 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x54: pad4 // 0x58: u64 - set qwByteCountProcessed(value: Deno.PointerValue) { + set qwByteCountProcessed(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -159661,7 +159661,7 @@ export interface MFP_MEDIAITEM_CREATED_EVENT { /** Windows.Win32.Media.MediaFoundation.IMFPMediaItem */ pMediaItem: Uint8Array | Deno.PointerValue; /** usize */ - dwUserData: Deno.PointerValue; + dwUserData: bigint | number; } export const sizeofMFP_MEDIAITEM_CREATED_EVENT = 24; @@ -159701,7 +159701,7 @@ export class MFP_MEDIAITEM_CREATED_EVENTView { } // 0x10: usize - get dwUserData(): Deno.PointerValue { + get dwUserData(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -159716,7 +159716,7 @@ export class MFP_MEDIAITEM_CREATED_EVENTView { } // 0x10: usize - set dwUserData(value: Deno.PointerValue) { + set dwUserData(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -160077,7 +160077,7 @@ export interface MFP_ACQUIRE_USER_CREDENTIAL_EVENT { /** Windows.Win32.Media.MediaFoundation.MFP_EVENT_HEADER */ header: Uint8Array | Deno.PointerValue; /** usize */ - dwUserData: Deno.PointerValue; + dwUserData: bigint | number; /** Windows.Win32.Foundation.BOOL */ fProceedWithAuthentication: boolean; /** Windows.Win32.Foundation.HRESULT */ @@ -160158,7 +160158,7 @@ export class MFP_ACQUIRE_USER_CREDENTIAL_EVENTView { } // 0x08: usize - get dwUserData(): Deno.PointerValue { + get dwUserData(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -160221,7 +160221,7 @@ export class MFP_ACQUIRE_USER_CREDENTIAL_EVENTView { } // 0x08: usize - set dwUserData(value: Deno.PointerValue) { + set dwUserData(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -161694,7 +161694,7 @@ export class FaceCharacterizationView { */ export interface CapturedMetadataExposureCompensation { /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** i32 */ Value: number; } @@ -161723,7 +161723,7 @@ export class CapturedMetadataExposureCompensationView { } // 0x00: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -161735,7 +161735,7 @@ export class CapturedMetadataExposureCompensationView { // 0x0c: pad4 // 0x00: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -161879,9 +161879,9 @@ export interface MetadataTimeStamps { /** u32 */ Flags: number; /** i64 */ - Device: Deno.PointerValue; + Device: bigint | number; /** i64 */ - Presentation: Deno.PointerValue; + Presentation: bigint | number; } export const sizeofMetadataTimeStamps = 24; @@ -161917,12 +161917,12 @@ export class MetadataTimeStampsView { // 0x04: pad4 // 0x08: i64 - get Device(): Deno.PointerValue { + get Device(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get Presentation(): Deno.PointerValue { + get Presentation(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -161934,12 +161934,12 @@ export class MetadataTimeStampsView { // 0x04: pad4 // 0x08: i64 - set Device(value: Deno.PointerValue) { + set Device(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set Presentation(value: Deno.PointerValue) { + set Presentation(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -162304,7 +162304,7 @@ export function timeSetEvent( uDelay: number /* u32 */, uResolution: number /* u32 */, fptc: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.LPTIMECALLBACK */, - dwUser: Deno.PointerValue /* usize */, + dwUser: bigint | number /* usize */, fuEvent: number /* u32 */, ): number /* u32 */ { return libWINMM_dll.timeSetEvent(uDelay, uResolution, util.toPointer(fptc), dwUser, fuEvent); diff --git a/api/Media/Audio.ts b/api/Media/Audio.ts index 59bb244..d939b4d 100644 --- a/api/Media/Audio.ts +++ b/api/Media/Audio.ts @@ -1665,7 +1665,7 @@ export class UNCOMPRESSEDAUDIOFORMATView { */ export interface APO_CONNECTION_PROPERTY { /** usize */ - pBuffer: Deno.PointerValue; + pBuffer: bigint | number; /** u32 */ u32ValidFrameCount: number; /** Windows.Win32.Media.Audio.Apo.APO_BUFFER_FLAGS */ @@ -1702,7 +1702,7 @@ export class APO_CONNECTION_PROPERTYView { } // 0x00: usize - get pBuffer(): Deno.PointerValue { + get pBuffer(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1724,7 +1724,7 @@ export class APO_CONNECTION_PROPERTYView { // 0x14: pad4 // 0x00: usize - set pBuffer(value: Deno.PointerValue) { + set pBuffer(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1753,7 +1753,7 @@ export interface APO_CONNECTION_PROPERTY_V2 { /** Windows.Win32.Media.Audio.Apo.APO_CONNECTION_PROPERTY */ property: Uint8Array | Deno.PointerValue; /** u64 */ - u64QPCTime: Deno.PointerValue; + u64QPCTime: bigint | number; } export const sizeofAPO_CONNECTION_PROPERTY_V2 = 16; @@ -1785,7 +1785,7 @@ export class APO_CONNECTION_PROPERTY_V2View { } // 0x08: u64 - get u64QPCTime(): Deno.PointerValue { + get u64QPCTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1795,7 +1795,7 @@ export class APO_CONNECTION_PROPERTY_V2View { } // 0x08: u64 - set u64QPCTime(value: Deno.PointerValue) { + set u64QPCTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1807,7 +1807,7 @@ export interface APO_CONNECTION_DESCRIPTOR { /** Windows.Win32.Media.Audio.Apo.APO_CONNECTION_BUFFER_TYPE */ Type: APO_CONNECTION_BUFFER_TYPE; /** usize */ - pBuffer: Deno.PointerValue; + pBuffer: bigint | number; /** u32 */ u32MaxFrameCount: number; /** Windows.Win32.Media.Audio.Apo.IAudioMediaType */ @@ -1855,7 +1855,7 @@ export class APO_CONNECTION_DESCRIPTORView { // 0x04: pad4 // 0x08: usize - get pBuffer(): Deno.PointerValue { + get pBuffer(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1887,7 +1887,7 @@ export class APO_CONNECTION_DESCRIPTORView { // 0x04: pad4 // 0x08: usize - set pBuffer(value: Deno.PointerValue) { + set pBuffer(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2450,7 +2450,7 @@ export class APOInitSystemEffects2View { // 0x3c: pad4 } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -2977,9 +2977,9 @@ export class AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_NOTIFICATIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3005,22 +3005,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5927,7 +5927,7 @@ export interface DMUS_EVENTHEADER { /** u32 */ dwChannelGroup: number; /** i64 */ - rtDelta: Deno.PointerValue; + rtDelta: bigint | number; /** u32 */ dwFlags: number; } @@ -5970,7 +5970,7 @@ export class DMUS_EVENTHEADERView { } // 0x08: i64 - get rtDelta(): Deno.PointerValue { + get rtDelta(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -5992,7 +5992,7 @@ export class DMUS_EVENTHEADERView { } // 0x08: i64 - set rtDelta(value: Deno.PointerValue) { + set rtDelta(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -7136,7 +7136,7 @@ export interface DMUS_VOICE_STATE { /** Windows.Win32.Foundation.BOOL */ bExists: boolean; /** u64 */ - spPosition: Deno.PointerValue; + spPosition: bigint | number; } export const sizeofDMUS_VOICE_STATE = 16; @@ -7170,7 +7170,7 @@ export class DMUS_VOICE_STATEView { // 0x04: pad4 // 0x08: u64 - get spPosition(): Deno.PointerValue { + get spPosition(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7182,7 +7182,7 @@ export class DMUS_VOICE_STATEView { // 0x04: pad4 // 0x08: u64 - set spPosition(value: Deno.PointerValue) { + set spPosition(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8562,9 +8562,9 @@ export interface DSEFFECTDESC { /** System.Guid */ guidDSFXClass: Uint8Array | Deno.PointerValue; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; } export const sizeofDSEFFECTDESC = 32; @@ -8612,12 +8612,12 @@ export class DSEFFECTDESCView { } // 0x10: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8637,12 +8637,12 @@ export class DSEFFECTDESCView { } // 0x10: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -9749,7 +9749,7 @@ export class DSCBCAPSView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Media.Audio.DirectSound.DSBPOSITIONNOTIFY (size: 16) @@ -11079,31 +11079,31 @@ export class AUDIO_VOLUME_NOTIFICATION_DATAView { } } -export type HMIDI = Deno.PointerValue; +export type HMIDI = bigint | number; -export type HMIDIIN = Deno.PointerValue; +export type HMIDIIN = bigint | number; -export type HMIDIOUT = Deno.PointerValue; +export type HMIDIOUT = bigint | number; -export type HMIDISTRM = Deno.PointerValue; +export type HMIDISTRM = bigint | number; -export type HMIXER = Deno.PointerValue; +export type HMIXER = bigint | number; -export type HMIXEROBJ = Deno.PointerValue; +export type HMIXEROBJ = bigint | number; -export type HWAVE = Deno.PointerValue; +export type HWAVE = bigint | number; -export type HWAVEOUT = Deno.PointerValue; +export type HWAVEOUT = bigint | number; -export type HWAVEIN = Deno.PointerValue; +export type HWAVEIN = bigint | number; -export type HACMDRIVERID = Deno.PointerValue; +export type HACMDRIVERID = bigint | number; -export type HACMDRIVER = Deno.PointerValue; +export type HACMDRIVER = bigint | number; -export type HACMSTREAM = Deno.PointerValue; +export type HACMSTREAM = bigint | number; -export type HACMOBJ = Deno.PointerValue; +export type HACMOBJ = bigint | number; /** * _Samples_e__Union (size: 8) @@ -11546,11 +11546,11 @@ export interface MIDIOPENDESC { /** Windows.Win32.Media.Audio.HMIDI */ hMidi: Uint8Array | Deno.PointerValue; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** usize */ - dnDevNode: Deno.PointerValue; + dnDevNode: bigint | number; /** u32 */ cIds: number; /** array */ @@ -11595,17 +11595,17 @@ export class MIDIOPENDESCView { } // 0x08: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dnDevNode(): Deno.PointerValue { + get dnDevNode(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -11628,17 +11628,17 @@ export class MIDIOPENDESCView { } // 0x08: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dnDevNode(value: Deno.PointerValue) { + set dnDevNode(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -12994,7 +12994,7 @@ export interface XAUDIO2_VOICE_STATE { /** u32 */ BuffersQueued: number; /** u64 */ - SamplesPlayed: Deno.PointerValue; + SamplesPlayed: bigint | number; } export const sizeofXAUDIO2_VOICE_STATE = 24; @@ -13036,7 +13036,7 @@ export class XAUDIO2_VOICE_STATEView { // 0x0c: pad4 // 0x10: u64 - get SamplesPlayed(): Deno.PointerValue { + get SamplesPlayed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -13053,7 +13053,7 @@ export class XAUDIO2_VOICE_STATEView { // 0x0c: pad4 // 0x10: u64 - set SamplesPlayed(value: Deno.PointerValue) { + set SamplesPlayed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -13063,9 +13063,9 @@ export class XAUDIO2_VOICE_STATEView { */ export interface XAUDIO2_PERFORMANCE_DATA { /** u64 */ - AudioCyclesSinceLastQuery: Deno.PointerValue; + AudioCyclesSinceLastQuery: bigint | number; /** u64 */ - TotalCyclesSinceLastQuery: Deno.PointerValue; + TotalCyclesSinceLastQuery: bigint | number; /** u32 */ MinimumCyclesPerQuantum: number; /** u32 */ @@ -13139,12 +13139,12 @@ export class XAUDIO2_PERFORMANCE_DATAView { } // 0x00: u64 - get AudioCyclesSinceLastQuery(): Deno.PointerValue { + get AudioCyclesSinceLastQuery(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TotalCyclesSinceLastQuery(): Deno.PointerValue { + get TotalCyclesSinceLastQuery(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13209,12 +13209,12 @@ export class XAUDIO2_PERFORMANCE_DATAView { } // 0x00: u64 - set AudioCyclesSinceLastQuery(value: Deno.PointerValue) { + set AudioCyclesSinceLastQuery(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TotalCyclesSinceLastQuery(value: Deno.PointerValue) { + set TotalCyclesSinceLastQuery(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -14496,7 +14496,7 @@ export interface ACMSTREAMHEADER { /** u32 */ fdwStatus: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** ptr */ pbSrc: Deno.PointerValue | Uint8Array; /** u32 */ @@ -14504,7 +14504,7 @@ export interface ACMSTREAMHEADER { /** u32 */ cbSrcLengthUsed: number; /** usize */ - dwSrcUser: Deno.PointerValue; + dwSrcUser: bigint | number; /** ptr */ pbDst: Deno.PointerValue | Uint8Array; /** u32 */ @@ -14512,7 +14512,7 @@ export interface ACMSTREAMHEADER { /** u32 */ cbDstLengthUsed: number; /** usize */ - dwDstUser: Deno.PointerValue; + dwDstUser: bigint | number; /** array */ dwReservedDriver: Deno.PointerValue; } @@ -14570,7 +14570,7 @@ export class ACMSTREAMHEADERView { } // 0x08: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -14591,7 +14591,7 @@ export class ACMSTREAMHEADERView { } // 0x20: usize - get dwSrcUser(): Deno.PointerValue { + get dwSrcUser(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -14612,7 +14612,7 @@ export class ACMSTREAMHEADERView { } // 0x38: usize - get dwDstUser(): Deno.PointerValue { + get dwDstUser(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -14633,7 +14633,7 @@ export class ACMSTREAMHEADERView { } // 0x08: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -14653,7 +14653,7 @@ export class ACMSTREAMHEADERView { } // 0x20: usize - set dwSrcUser(value: Deno.PointerValue) { + set dwSrcUser(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -14673,7 +14673,7 @@ export class ACMSTREAMHEADERView { } // 0x38: usize - set dwDstUser(value: Deno.PointerValue) { + set dwDstUser(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -14694,7 +14694,7 @@ export interface WAVEHDR { /** u32 */ dwBytesRecorded: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** u32 */ dwFlags: number; /** u32 */ @@ -14702,7 +14702,7 @@ export interface WAVEHDR { /** ptr */ lpNext: Deno.PointerValue | Uint8Array; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; } export const sizeofWAVEHDR = 48; @@ -14759,7 +14759,7 @@ export class WAVEHDRView { } // 0x10: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -14780,7 +14780,7 @@ export class WAVEHDRView { } // 0x28: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -14801,7 +14801,7 @@ export class WAVEHDRView { } // 0x10: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -14821,7 +14821,7 @@ export class WAVEHDRView { } // 0x28: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -17456,13 +17456,13 @@ export interface MIDIHDR { /** u32 */ dwBytesRecorded: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** u32 */ dwFlags: number; /** ptr */ lpNext: Deno.PointerValue | Uint8Array; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** u32 */ dwOffset: number; /** array */ @@ -17527,7 +17527,7 @@ export class MIDIHDRView { } // 0x10: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -17545,7 +17545,7 @@ export class MIDIHDRView { } // 0x28: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -17579,7 +17579,7 @@ export class MIDIHDRView { } // 0x10: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -17596,7 +17596,7 @@ export class MIDIHDRView { } // 0x28: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -19119,7 +19119,7 @@ export interface MIXERLINEA { /** u32 */ fdwLine: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** Windows.Win32.Media.Audio.MIXERLINE_COMPONENTTYPE */ dwComponentType: MIXERLINE_COMPONENTTYPE; /** u32 */ @@ -19209,7 +19209,7 @@ export class MIXERLINEAView { // 0x14: pad4 // 0x18: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -19279,7 +19279,7 @@ export class MIXERLINEAView { // 0x14: pad4 // 0x18: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -19334,7 +19334,7 @@ export interface MIXERLINEW { /** u32 */ fdwLine: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** Windows.Win32.Media.Audio.MIXERLINE_COMPONENTTYPE */ dwComponentType: MIXERLINE_COMPONENTTYPE; /** u32 */ @@ -19424,7 +19424,7 @@ export class MIXERLINEWView { // 0x14: pad4 // 0x18: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -19494,7 +19494,7 @@ export class MIXERLINEWView { // 0x14: pad4 // 0x18: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -23006,7 +23006,7 @@ export class AUDIOCLIENT_ACTIVATION_PARAMSView { } } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.Media.Audio.ACMDRIVERDETAILSA (size: 88) @@ -24036,9 +24036,9 @@ export class tACMFORMATDETAILSWView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Media.Audio.ACMFORMATCHOOSEA (size: 112) @@ -26001,15 +26001,15 @@ export interface ACMDRVSTREAMINSTANCE { /** ptr */ pwfltr: Deno.PointerValue | Uint8Array; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** u32 */ fdwOpen: number; /** u32 */ fdwDriver: number; /** usize */ - dwDriver: Deno.PointerValue; + dwDriver: bigint | number; /** Windows.Win32.Media.Audio.HACMSTREAM */ has: Uint8Array | Deno.PointerValue; } @@ -26079,12 +26079,12 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x20: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -26099,7 +26099,7 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x38: usize - get dwDriver(): Deno.PointerValue { + get dwDriver(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -26132,12 +26132,12 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x20: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -26152,7 +26152,7 @@ export class ACMDRVSTREAMINSTANCEView { } // 0x38: usize - set dwDriver(value: Deno.PointerValue) { + set dwDriver(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -26171,7 +26171,7 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ fdwStatus: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** ptr */ pbSrc: Deno.PointerValue | Uint8Array; /** u32 */ @@ -26179,7 +26179,7 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ cbSrcLengthUsed: number; /** usize */ - dwSrcUser: Deno.PointerValue; + dwSrcUser: bigint | number; /** ptr */ pbDst: Deno.PointerValue | Uint8Array; /** u32 */ @@ -26187,7 +26187,7 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ cbDstLengthUsed: number; /** usize */ - dwDstUser: Deno.PointerValue; + dwDstUser: bigint | number; /** u32 */ fdwConvert: number; /** ptr */ @@ -26195,11 +26195,11 @@ export interface ACMDRVSTREAMHEADER { /** u32 */ fdwDriver: number; /** usize */ - dwDriver: Deno.PointerValue; + dwDriver: bigint | number; /** u32 */ fdwPrepared: number; /** usize */ - dwPrepared: Deno.PointerValue; + dwPrepared: bigint | number; /** ptr */ pbPreparedSrc: Deno.PointerValue | Uint8Array; /** u32 */ @@ -26286,7 +26286,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x08: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -26307,7 +26307,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x20: usize - get dwSrcUser(): Deno.PointerValue { + get dwSrcUser(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -26328,7 +26328,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x38: usize - get dwDstUser(): Deno.PointerValue { + get dwDstUser(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -26353,7 +26353,7 @@ export class ACMDRVSTREAMHEADERView { // 0x54: pad4 // 0x58: usize - get dwDriver(): Deno.PointerValue { + get dwDriver(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -26365,7 +26365,7 @@ export class ACMDRVSTREAMHEADERView { // 0x64: pad4 // 0x68: usize - get dwPrepared(): Deno.PointerValue { + get dwPrepared(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -26406,7 +26406,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x08: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -26426,7 +26426,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x20: usize - set dwSrcUser(value: Deno.PointerValue) { + set dwSrcUser(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -26446,7 +26446,7 @@ export class ACMDRVSTREAMHEADERView { } // 0x38: usize - set dwDstUser(value: Deno.PointerValue) { + set dwDstUser(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -26470,7 +26470,7 @@ export class ACMDRVSTREAMHEADERView { // 0x54: pad4 // 0x58: usize - set dwDriver(value: Deno.PointerValue) { + set dwDriver(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -26482,7 +26482,7 @@ export class ACMDRVSTREAMHEADERView { // 0x64: pad4 // 0x68: usize - set dwPrepared(value: Deno.PointerValue) { + set dwPrepared(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -26715,7 +26715,7 @@ export class ACMDRVFORMATSUGGESTView { export type HRESULT = number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; // Native Libraries @@ -27420,7 +27420,7 @@ export function waveOutGetNumDevs(): number /* u32 */ { } export function waveOutGetDevCapsA( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pwoc: Deno.PointerValue | Uint8Array /* ptr */, cbwoc: number /* u32 */, ): number /* u32 */ { @@ -27428,7 +27428,7 @@ export function waveOutGetDevCapsA( } export function waveOutGetDevCapsW( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pwoc: Deno.PointerValue | Uint8Array /* ptr */, cbwoc: number /* u32 */, ): number /* u32 */ { @@ -27469,8 +27469,8 @@ export function waveOutOpen( phwo: Deno.PointerValue | Uint8Array /* ptr */, uDeviceID: number /* u32 */, pwfx: Deno.PointerValue | Uint8Array /* ptr */, - dwCallback: Deno.PointerValue /* usize */, - dwInstance: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, + dwInstance: bigint | number /* usize */, fdwOpen: MIDI_WAVE_OPEN_TYPE /* Windows.Win32.Media.Audio.MIDI_WAVE_OPEN_TYPE */, ): number /* u32 */ { return libWINMM_dll.waveOutOpen(util.toPointer(phwo), uDeviceID, util.toPointer(pwfx), dwCallback, dwInstance, fdwOpen); @@ -27576,8 +27576,8 @@ export function waveOutGetID( export function waveOutMessage( hwo: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HWAVEOUT */, uMsg: number /* u32 */, - dw1: Deno.PointerValue /* usize */, - dw2: Deno.PointerValue /* usize */, + dw1: bigint | number /* usize */, + dw2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.waveOutMessage(util.toPointer(hwo), uMsg, dw1, dw2); } @@ -27587,7 +27587,7 @@ export function waveInGetNumDevs(): number /* u32 */ { } export function waveInGetDevCapsA( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pwic: Deno.PointerValue | Uint8Array /* ptr */, cbwic: number /* u32 */, ): number /* u32 */ { @@ -27595,7 +27595,7 @@ export function waveInGetDevCapsA( } export function waveInGetDevCapsW( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pwic: Deno.PointerValue | Uint8Array /* ptr */, cbwic: number /* u32 */, ): number /* u32 */ { @@ -27622,8 +27622,8 @@ export function waveInOpen( phwi: Deno.PointerValue | Uint8Array /* ptr */, uDeviceID: number /* u32 */, pwfx: Deno.PointerValue | Uint8Array /* ptr */, - dwCallback: Deno.PointerValue /* usize */, - dwInstance: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, + dwInstance: bigint | number /* usize */, fdwOpen: MIDI_WAVE_OPEN_TYPE /* Windows.Win32.Media.Audio.MIDI_WAVE_OPEN_TYPE */, ): number /* u32 */ { return libWINMM_dll.waveInOpen(util.toPointer(phwi), uDeviceID, util.toPointer(pwfx), dwCallback, dwInstance, fdwOpen); @@ -27695,8 +27695,8 @@ export function waveInGetID( export function waveInMessage( hwi: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HWAVEIN */, uMsg: number /* u32 */, - dw1: Deno.PointerValue /* usize */, - dw2: Deno.PointerValue /* usize */, + dw1: bigint | number /* usize */, + dw2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.waveInMessage(util.toPointer(hwi), uMsg, dw1, dw2); } @@ -27709,8 +27709,8 @@ export function midiStreamOpen( phms: Deno.PointerValue | Uint8Array /* ptr */, puDeviceID: Deno.PointerValue | Uint8Array /* ptr */, cMidi: number /* u32 */, - dwCallback: Deno.PointerValue /* usize */, - dwInstance: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, + dwInstance: bigint | number /* usize */, fdwOpen: number /* u32 */, ): number /* u32 */ { return libWINMM_dll.midiStreamOpen(util.toPointer(phms), util.toPointer(puDeviceID), cMidi, dwCallback, dwInstance, fdwOpen); @@ -27781,7 +27781,7 @@ export function midiDisconnect( } export function midiOutGetDevCapsA( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pmoc: Deno.PointerValue | Uint8Array /* ptr */, cbmoc: number /* u32 */, ): number /* u32 */ { @@ -27789,7 +27789,7 @@ export function midiOutGetDevCapsA( } export function midiOutGetDevCapsW( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pmoc: Deno.PointerValue | Uint8Array /* ptr */, cbmoc: number /* u32 */, ): number /* u32 */ { @@ -27829,8 +27829,8 @@ export function midiOutGetErrorTextW( export function midiOutOpen( phmo: Deno.PointerValue | Uint8Array /* ptr */, uDeviceID: number /* u32 */, - dwCallback: Deno.PointerValue /* usize */, - dwInstance: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, + dwInstance: bigint | number /* usize */, fdwOpen: MIDI_WAVE_OPEN_TYPE /* Windows.Win32.Media.Audio.MIDI_WAVE_OPEN_TYPE */, ): number /* u32 */ { return libWINMM_dll.midiOutOpen(util.toPointer(phmo), uDeviceID, dwCallback, dwInstance, fdwOpen); @@ -27907,8 +27907,8 @@ export function midiOutGetID( export function midiOutMessage( hmo: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HMIDIOUT */, uMsg: number /* u32 */, - dw1: Deno.PointerValue /* usize */, - dw2: Deno.PointerValue /* usize */, + dw1: bigint | number /* usize */, + dw2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.midiOutMessage(util.toPointer(hmo), uMsg, dw1, dw2); } @@ -27918,7 +27918,7 @@ export function midiInGetNumDevs(): number /* u32 */ { } export function midiInGetDevCapsA( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pmic: Deno.PointerValue | Uint8Array /* ptr */, cbmic: number /* u32 */, ): number /* u32 */ { @@ -27926,7 +27926,7 @@ export function midiInGetDevCapsA( } export function midiInGetDevCapsW( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pmic: Deno.PointerValue | Uint8Array /* ptr */, cbmic: number /* u32 */, ): number /* u32 */ { @@ -27952,8 +27952,8 @@ export function midiInGetErrorTextW( export function midiInOpen( phmi: Deno.PointerValue | Uint8Array /* ptr */, uDeviceID: number /* u32 */, - dwCallback: Deno.PointerValue /* usize */, - dwInstance: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, + dwInstance: bigint | number /* usize */, fdwOpen: MIDI_WAVE_OPEN_TYPE /* Windows.Win32.Media.Audio.MIDI_WAVE_OPEN_TYPE */, ): number /* u32 */ { return libWINMM_dll.midiInOpen(util.toPointer(phmi), uDeviceID, dwCallback, dwInstance, fdwOpen); @@ -28017,8 +28017,8 @@ export function midiInGetID( export function midiInMessage( hmi: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HMIDIIN */, uMsg: number /* u32 */, - dw1: Deno.PointerValue /* usize */, - dw2: Deno.PointerValue /* usize */, + dw1: bigint | number /* usize */, + dw2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.midiInMessage(util.toPointer(hmi), uMsg, dw1, dw2); } @@ -28028,7 +28028,7 @@ export function auxGetNumDevs(): number /* u32 */ { } export function auxGetDevCapsA( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pac: Deno.PointerValue | Uint8Array /* ptr */, cbac: number /* u32 */, ): number /* u32 */ { @@ -28036,7 +28036,7 @@ export function auxGetDevCapsA( } export function auxGetDevCapsW( - uDeviceID: Deno.PointerValue /* usize */, + uDeviceID: bigint | number /* usize */, pac: Deno.PointerValue | Uint8Array /* ptr */, cbac: number /* u32 */, ): number /* u32 */ { @@ -28060,8 +28060,8 @@ export function auxGetVolume( export function auxOutMessage( uDeviceID: number /* u32 */, uMsg: number /* u32 */, - dw1: Deno.PointerValue /* usize */, - dw2: Deno.PointerValue /* usize */, + dw1: bigint | number /* usize */, + dw2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.auxOutMessage(uDeviceID, uMsg, dw1, dw2); } @@ -28071,7 +28071,7 @@ export function mixerGetNumDevs(): number /* u32 */ { } export function mixerGetDevCapsA( - uMxId: Deno.PointerValue /* usize */, + uMxId: bigint | number /* usize */, pmxcaps: Deno.PointerValue | Uint8Array /* ptr */, cbmxcaps: number /* u32 */, ): number /* u32 */ { @@ -28079,7 +28079,7 @@ export function mixerGetDevCapsA( } export function mixerGetDevCapsW( - uMxId: Deno.PointerValue /* usize */, + uMxId: bigint | number /* usize */, pmxcaps: Deno.PointerValue | Uint8Array /* ptr */, cbmxcaps: number /* u32 */, ): number /* u32 */ { @@ -28089,8 +28089,8 @@ export function mixerGetDevCapsW( export function mixerOpen( phmx: Deno.PointerValue | Uint8Array /* ptr */, uMxId: number /* u32 */, - dwCallback: Deno.PointerValue /* usize */, - dwInstance: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, + dwInstance: bigint | number /* usize */, fdwOpen: number /* u32 */, ): number /* u32 */ { return libWINMM_dll.mixerOpen(util.toPointer(phmx), uMxId, dwCallback, dwInstance, fdwOpen); @@ -28105,8 +28105,8 @@ export function mixerClose( export function mixerMessage( hmx: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HMIXER */, uMsg: number /* u32 */, - dwParam1: Deno.PointerValue /* usize */, - dwParam2: Deno.PointerValue /* usize */, + dwParam1: bigint | number /* usize */, + dwParam2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.mixerMessage(util.toPointer(hmx), uMsg, dwParam1, dwParam2); } @@ -28257,7 +28257,7 @@ export function acmMetrics( export function acmDriverEnum( fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMDRIVERENUMCB */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmDriverEnum(util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28366,7 +28366,7 @@ export function acmFormatTagEnumA( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, paftd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFORMATTAGENUMCBA */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFormatTagEnumA(util.toPointer(had), util.toPointer(paftd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28376,7 +28376,7 @@ export function acmFormatTagEnumW( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, paftd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFORMATTAGENUMCBW */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFormatTagEnumW(util.toPointer(had), util.toPointer(paftd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28402,7 +28402,7 @@ export function acmFormatEnumA( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, pafd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFORMATENUMCBA */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFormatEnumA(util.toPointer(had), util.toPointer(pafd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28412,7 +28412,7 @@ export function acmFormatEnumW( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, pafd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFORMATENUMCBW */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFormatEnumW(util.toPointer(had), util.toPointer(pafd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28460,7 +28460,7 @@ export function acmFilterTagEnumA( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, paftd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFILTERTAGENUMCBA */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFilterTagEnumA(util.toPointer(had), util.toPointer(paftd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28470,7 +28470,7 @@ export function acmFilterTagEnumW( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, paftd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFILTERTAGENUMCBW */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFilterTagEnumW(util.toPointer(had), util.toPointer(paftd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28496,7 +28496,7 @@ export function acmFilterEnumA( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, pafd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFILTERENUMCBA */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFilterEnumA(util.toPointer(had), util.toPointer(pafd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28506,7 +28506,7 @@ export function acmFilterEnumW( had: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.HACMDRIVER */, pafd: Deno.PointerValue | Uint8Array /* ptr */, fnCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Audio.ACMFILTERENUMCBW */, - dwInstance: Deno.PointerValue /* usize */, + dwInstance: bigint | number /* usize */, fdwEnum: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmFilterEnumW(util.toPointer(had), util.toPointer(pafd), util.toPointer(fnCallback), dwInstance, fdwEnum); @@ -28530,8 +28530,8 @@ export function acmStreamOpen( pwfxSrc: Deno.PointerValue | Uint8Array /* ptr */, pwfxDst: Deno.PointerValue | Uint8Array /* ptr */, pwfltr: Deno.PointerValue | Uint8Array /* ptr */, - dwCallback: Deno.PointerValue /* usize */, - dwInstance: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, + dwInstance: bigint | number /* usize */, fdwOpen: number /* u32 */, ): number /* u32 */ { return libMSACM32_dll.acmStreamOpen(util.toPointer(phas), util.toPointer(had), util.toPointer(pwfxSrc), util.toPointer(pwfxDst), util.toPointer(pwfltr), dwCallback, dwInstance, fdwOpen); diff --git a/api/Media/Audio/Apo.ts b/api/Media/Audio/Apo.ts index d351ac0..9940346 100644 --- a/api/Media/Audio/Apo.ts +++ b/api/Media/Audio/Apo.ts @@ -253,7 +253,7 @@ export class UNCOMPRESSEDAUDIOFORMATView { */ export interface APO_CONNECTION_PROPERTY { /** usize */ - pBuffer: Deno.PointerValue; + pBuffer: bigint | number; /** u32 */ u32ValidFrameCount: number; /** Windows.Win32.Media.Audio.Apo.APO_BUFFER_FLAGS */ @@ -290,7 +290,7 @@ export class APO_CONNECTION_PROPERTYView { } // 0x00: usize - get pBuffer(): Deno.PointerValue { + get pBuffer(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -312,7 +312,7 @@ export class APO_CONNECTION_PROPERTYView { // 0x14: pad4 // 0x00: usize - set pBuffer(value: Deno.PointerValue) { + set pBuffer(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -341,7 +341,7 @@ export interface APO_CONNECTION_PROPERTY_V2 { /** Windows.Win32.Media.Audio.Apo.APO_CONNECTION_PROPERTY */ property: Uint8Array | Deno.PointerValue; /** u64 */ - u64QPCTime: Deno.PointerValue; + u64QPCTime: bigint | number; } export const sizeofAPO_CONNECTION_PROPERTY_V2 = 16; @@ -373,7 +373,7 @@ export class APO_CONNECTION_PROPERTY_V2View { } // 0x08: u64 - get u64QPCTime(): Deno.PointerValue { + get u64QPCTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -383,7 +383,7 @@ export class APO_CONNECTION_PROPERTY_V2View { } // 0x08: u64 - set u64QPCTime(value: Deno.PointerValue) { + set u64QPCTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -395,7 +395,7 @@ export interface APO_CONNECTION_DESCRIPTOR { /** Windows.Win32.Media.Audio.Apo.APO_CONNECTION_BUFFER_TYPE */ Type: APO_CONNECTION_BUFFER_TYPE; /** usize */ - pBuffer: Deno.PointerValue; + pBuffer: bigint | number; /** u32 */ u32MaxFrameCount: number; /** Windows.Win32.Media.Audio.Apo.IAudioMediaType */ @@ -443,7 +443,7 @@ export class APO_CONNECTION_DESCRIPTORView { // 0x04: pad4 // 0x08: usize - get pBuffer(): Deno.PointerValue { + get pBuffer(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -475,7 +475,7 @@ export class APO_CONNECTION_DESCRIPTORView { // 0x04: pad4 // 0x08: usize - set pBuffer(value: Deno.PointerValue) { + set pBuffer(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1038,7 +1038,7 @@ export class APOInitSystemEffects2View { // 0x3c: pad4 } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -1565,9 +1565,9 @@ export class AUDIO_SYSTEMEFFECTS_PROPERTY_CHANGE_NOTIFICATIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1593,22 +1593,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Media/Audio/DirectMusic.ts b/api/Media/Audio/DirectMusic.ts index c5351d1..fe029e8 100644 --- a/api/Media/Audio/DirectMusic.ts +++ b/api/Media/Audio/DirectMusic.ts @@ -2822,7 +2822,7 @@ export interface DMUS_EVENTHEADER { /** u32 */ dwChannelGroup: number; /** i64 */ - rtDelta: Deno.PointerValue; + rtDelta: bigint | number; /** u32 */ dwFlags: number; } @@ -2865,7 +2865,7 @@ export class DMUS_EVENTHEADERView { } // 0x08: i64 - get rtDelta(): Deno.PointerValue { + get rtDelta(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -2887,7 +2887,7 @@ export class DMUS_EVENTHEADERView { } // 0x08: i64 - set rtDelta(value: Deno.PointerValue) { + set rtDelta(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -4033,7 +4033,7 @@ export interface DMUS_VOICE_STATE { /** Windows.Win32.Foundation.BOOL */ bExists: boolean; /** u64 */ - spPosition: Deno.PointerValue; + spPosition: bigint | number; } export const sizeofDMUS_VOICE_STATE = 16; @@ -4067,7 +4067,7 @@ export class DMUS_VOICE_STATEView { // 0x04: pad4 // 0x08: u64 - get spPosition(): Deno.PointerValue { + get spPosition(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4079,7 +4079,7 @@ export class DMUS_VOICE_STATEView { // 0x04: pad4 // 0x08: u64 - set spPosition(value: Deno.PointerValue) { + set spPosition(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5048,7 +5048,7 @@ export class MDEVICECAPSEXView { } } -export type HMIDI = Deno.PointerValue; +export type HMIDI = bigint | number; /** * Windows.Win32.Media.Audio.DirectMusic.MIDIOPENDESC (size: 48) @@ -5057,11 +5057,11 @@ export interface MIDIOPENDESC { /** Windows.Win32.Media.Audio.HMIDI */ hMidi: Uint8Array | Deno.PointerValue; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** usize */ - dnDevNode: Deno.PointerValue; + dnDevNode: bigint | number; /** u32 */ cIds: number; /** array */ @@ -5106,17 +5106,17 @@ export class MIDIOPENDESCView { } // 0x08: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dnDevNode(): Deno.PointerValue { + get dnDevNode(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -5139,17 +5139,17 @@ export class MIDIOPENDESCView { } // 0x08: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dnDevNode(value: Deno.PointerValue) { + set dnDevNode(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } diff --git a/api/Media/Audio/DirectSound.ts b/api/Media/Audio/DirectSound.ts index a389c2a..18fd54e 100644 --- a/api/Media/Audio/DirectSound.ts +++ b/api/Media/Audio/DirectSound.ts @@ -775,9 +775,9 @@ export interface DSEFFECTDESC { /** System.Guid */ guidDSFXClass: Uint8Array | Deno.PointerValue; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; } export const sizeofDSEFFECTDESC = 32; @@ -825,12 +825,12 @@ export class DSEFFECTDESCView { } // 0x10: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -850,12 +850,12 @@ export class DSEFFECTDESCView { } // 0x10: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -1962,7 +1962,7 @@ export class DSCBCAPSView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Media.Audio.DirectSound.DSBPOSITIONNOTIFY (size: 16) @@ -3107,7 +3107,7 @@ export class DSCFXNoiseSuppressView { export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/Media/Audio/XAudio2.ts b/api/Media/Audio/XAudio2.ts index 7fd83ef..e18cc62 100644 --- a/api/Media/Audio/XAudio2.ts +++ b/api/Media/Audio/XAudio2.ts @@ -1595,7 +1595,7 @@ export interface XAUDIO2_VOICE_STATE { /** u32 */ BuffersQueued: number; /** u64 */ - SamplesPlayed: Deno.PointerValue; + SamplesPlayed: bigint | number; } export const sizeofXAUDIO2_VOICE_STATE = 24; @@ -1637,7 +1637,7 @@ export class XAUDIO2_VOICE_STATEView { // 0x0c: pad4 // 0x10: u64 - get SamplesPlayed(): Deno.PointerValue { + get SamplesPlayed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1654,7 +1654,7 @@ export class XAUDIO2_VOICE_STATEView { // 0x0c: pad4 // 0x10: u64 - set SamplesPlayed(value: Deno.PointerValue) { + set SamplesPlayed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -1664,9 +1664,9 @@ export class XAUDIO2_VOICE_STATEView { */ export interface XAUDIO2_PERFORMANCE_DATA { /** u64 */ - AudioCyclesSinceLastQuery: Deno.PointerValue; + AudioCyclesSinceLastQuery: bigint | number; /** u64 */ - TotalCyclesSinceLastQuery: Deno.PointerValue; + TotalCyclesSinceLastQuery: bigint | number; /** u32 */ MinimumCyclesPerQuantum: number; /** u32 */ @@ -1740,12 +1740,12 @@ export class XAUDIO2_PERFORMANCE_DATAView { } // 0x00: u64 - get AudioCyclesSinceLastQuery(): Deno.PointerValue { + get AudioCyclesSinceLastQuery(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TotalCyclesSinceLastQuery(): Deno.PointerValue { + get TotalCyclesSinceLastQuery(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1810,12 +1810,12 @@ export class XAUDIO2_PERFORMANCE_DATAView { } // 0x00: u64 - set AudioCyclesSinceLastQuery(value: Deno.PointerValue) { + set AudioCyclesSinceLastQuery(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TotalCyclesSinceLastQuery(value: Deno.PointerValue) { + set TotalCyclesSinceLastQuery(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } diff --git a/api/Media/DeviceManager.ts b/api/Media/DeviceManager.ts index e93612d..05611a0 100644 --- a/api/Media/DeviceManager.ts +++ b/api/Media/DeviceManager.ts @@ -1026,9 +1026,9 @@ export class WMDMMetadataViewView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1054,22 +1054,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Media/DirectShow.ts b/api/Media/DirectShow.ts index 499940d..775a965 100644 --- a/api/Media/DirectShow.ts +++ b/api/Media/DirectShow.ts @@ -4046,9 +4046,9 @@ export interface AM_SAMPLE2_PROPERTIES { /** i32 */ lActual: number; /** i64 */ - tStart: Deno.PointerValue; + tStart: bigint | number; /** i64 */ - tStop: Deno.PointerValue; + tStop: bigint | number; /** u32 */ dwStreamId: number; /** ptr */ @@ -4120,12 +4120,12 @@ export class AM_SAMPLE2_PROPERTIESView { } // 0x10: i64 - get tStart(): Deno.PointerValue { + get tStart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get tStop(): Deno.PointerValue { + get tStop(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -4176,12 +4176,12 @@ export class AM_SAMPLE2_PROPERTIESView { } // 0x10: i64 - set tStart(value: Deno.PointerValue) { + set tStart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set tStop(value: Deno.PointerValue) { + set tStop(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -4703,9 +4703,9 @@ export class REGFILTERPINS2View { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4731,22 +4731,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4883,9 +4883,9 @@ export interface Quality { /** i32 */ Proportion: number; /** i64 */ - Late: Deno.PointerValue; + Late: bigint | number; /** i64 */ - TimeStamp: Deno.PointerValue; + TimeStamp: bigint | number; } export const sizeofQuality = 24; @@ -4925,12 +4925,12 @@ export class QualityView { } // 0x08: i64 - get Late(): Deno.PointerValue { + get Late(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get TimeStamp(): Deno.PointerValue { + get TimeStamp(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -4945,12 +4945,12 @@ export class QualityView { } // 0x08: i64 - set Late(value: Deno.PointerValue) { + set Late(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set TimeStamp(value: Deno.PointerValue) { + set TimeStamp(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -5045,9 +5045,9 @@ export class COLORKEYView { */ export interface AM_STREAM_INFO { /** i64 */ - tStart: Deno.PointerValue; + tStart: bigint | number; /** i64 */ - tStop: Deno.PointerValue; + tStop: bigint | number; /** u32 */ dwStartCookie: number; /** u32 */ @@ -5086,12 +5086,12 @@ export class AM_STREAM_INFOView { } // 0x00: i64 - get tStart(): Deno.PointerValue { + get tStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get tStop(): Deno.PointerValue { + get tStop(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -5113,12 +5113,12 @@ export class AM_STREAM_INFOView { // 0x1c: pad4 // 0x00: i64 - set tStart(value: Deno.PointerValue) { + set tStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set tStop(value: Deno.PointerValue) { + set tStop(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -5232,9 +5232,9 @@ export interface VIDEO_STREAM_CONFIG_CAPS { /** i32 */ ShrinkTapsY: number; /** i64 */ - MinFrameInterval: Deno.PointerValue; + MinFrameInterval: bigint | number; /** i64 */ - MaxFrameInterval: Deno.PointerValue; + MaxFrameInterval: bigint | number; /** i32 */ MinBitsPerSecond: number; /** i32 */ @@ -5396,12 +5396,12 @@ export class VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - get MinFrameInterval(): Deno.PointerValue { + get MinFrameInterval(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: i64 - get MaxFrameInterval(): Deno.PointerValue { + get MaxFrameInterval(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -5503,12 +5503,12 @@ export class VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - set MinFrameInterval(value: Deno.PointerValue) { + set MinFrameInterval(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: i64 - set MaxFrameInterval(value: Deno.PointerValue) { + set MaxFrameInterval(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } @@ -6218,9 +6218,9 @@ export interface VMRPRESENTATIONINFO { /** Windows.Win32.Graphics.DirectDraw.IDirectDrawSurface7 */ lpSurf: Uint8Array | Deno.PointerValue; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Foundation.SIZE */ szAspectRatio: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -6284,12 +6284,12 @@ export class VMRPRESENTATIONINFOView { } // 0x10: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -6334,12 +6334,12 @@ export class VMRPRESENTATIONINFOView { } // 0x10: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -6656,7 +6656,7 @@ export class VMRGUIDView { } } -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; /** * _u_e__Struct (size: 16) @@ -6730,7 +6730,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -6770,7 +6770,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6785,7 +6785,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -7263,7 +7263,7 @@ export class VMRDeinterlaceCapsView { // 0x14: pad4 } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.Media.DirectShow.VMRALPHABITMAP (size: 56) @@ -10565,7 +10565,7 @@ export interface BDA_WMDRM_STATUS { /** u32 */ ulRevInfoSequenceNumber: number; /** u64 */ - ulRevInfoIssuedTime: Deno.PointerValue; + ulRevInfoIssuedTime: bigint | number; /** u32 */ ulRevListVersion: number; /** u32 */ @@ -10644,7 +10644,7 @@ export class BDA_WMDRM_STATUSView { } // 0x18: u64 - get ulRevInfoIssuedTime(): Deno.PointerValue { + get ulRevInfoIssuedTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -10696,7 +10696,7 @@ export class BDA_WMDRM_STATUSView { } // 0x18: u64 - set ulRevInfoIssuedTime(value: Deno.PointerValue) { + set ulRevInfoIssuedTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -11311,7 +11311,7 @@ export interface BDA_SCAN_CAPABILTIES { /** i32 */ lResult: number; /** u64 */ - ul64AnalogStandardsSupported: Deno.PointerValue; + ul64AnalogStandardsSupported: bigint | number; } export const sizeofBDA_SCAN_CAPABILTIES = 16; @@ -11345,7 +11345,7 @@ export class BDA_SCAN_CAPABILTIESView { // 0x04: pad4 // 0x08: u64 - get ul64AnalogStandardsSupported(): Deno.PointerValue { + get ul64AnalogStandardsSupported(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11357,7 +11357,7 @@ export class BDA_SCAN_CAPABILTIESView { // 0x04: pad4 // 0x08: u64 - set ul64AnalogStandardsSupported(value: Deno.PointerValue) { + set ul64AnalogStandardsSupported(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13256,11 +13256,11 @@ export class SmartCardApplicationView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -13312,7 +13312,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -13323,7 +13323,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -13359,7 +13359,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13370,7 +13370,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -13407,7 +13407,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -13436,7 +13436,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -13448,7 +13448,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14757,7 +14757,7 @@ export interface VIDEOINFO { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Graphics.Gdi.BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; /** _Anonymous_e__Union */ @@ -14819,7 +14819,7 @@ export class VIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -14856,7 +14856,7 @@ export class VIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -14884,7 +14884,7 @@ export interface ANALOGVIDEOINFO { /** u32 */ dwActiveHeight: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; } export const sizeofANALOGVIDEOINFO = 32; @@ -14938,7 +14938,7 @@ export class ANALOGVIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -14963,7 +14963,7 @@ export class ANALOGVIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -15338,9 +15338,9 @@ export interface VMR9PresentationInfo { /** Windows.Win32.Graphics.Direct3D9.IDirect3DSurface9 */ lpSurf: Uint8Array | Deno.PointerValue; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Foundation.SIZE */ szAspectRatio: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -15404,12 +15404,12 @@ export class VMR9PresentationInfoView { } // 0x10: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -15454,12 +15454,12 @@ export class VMR9PresentationInfoView { } // 0x10: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -16578,9 +16578,9 @@ export interface VMR9VideoStreamInfo { /** Windows.Win32.Media.DirectShow.VMR9NormalizedRect */ rNormal: Uint8Array | Deno.PointerValue; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Media.DirectShow.VMR9_SampleFormat */ SampleFormat: VMR9_SampleFormat; } @@ -16655,12 +16655,12 @@ export class VMR9VideoStreamInfoView { } // 0x20: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -16702,12 +16702,12 @@ export class VMR9VideoStreamInfoView { } // 0x20: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } @@ -17545,7 +17545,7 @@ export interface TIMECODE { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - qw: Deno.PointerValue; + qw: bigint | number; } export const sizeofTIMECODE = 16; @@ -17577,7 +17577,7 @@ export class TIMECODEView { } // 0x08: u64 - get qw(): Deno.PointerValue { + get qw(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17587,7 +17587,7 @@ export class TIMECODEView { } // 0x08: u64 - set qw(value: Deno.PointerValue) { + set qw(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -18048,7 +18048,7 @@ export interface AVISTDINDEX { /** u32 */ dwChunkId: number; /** u64 */ - qwBaseOffset: Deno.PointerValue; + qwBaseOffset: bigint | number; /** u32 */ dwReserved_3: number; /** array */ @@ -18133,7 +18133,7 @@ export class AVISTDINDEXView { // 0x14: pad4 // 0x18: u64 - get qwBaseOffset(): Deno.PointerValue { + get qwBaseOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -18188,7 +18188,7 @@ export class AVISTDINDEXView { // 0x14: pad4 // 0x18: u64 - set qwBaseOffset(value: Deno.PointerValue) { + set qwBaseOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -18296,7 +18296,7 @@ export interface AVITIMEDINDEX { /** u32 */ dwChunkId: number; /** u64 */ - qwBaseOffset: Deno.PointerValue; + qwBaseOffset: bigint | number; /** u32 */ dwReserved_3: number; /** array */ @@ -18385,7 +18385,7 @@ export class AVITIMEDINDEXView { // 0x14: pad4 // 0x18: u64 - get qwBaseOffset(): Deno.PointerValue { + get qwBaseOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -18446,7 +18446,7 @@ export class AVITIMEDINDEXView { // 0x14: pad4 // 0x18: u64 - set qwBaseOffset(value: Deno.PointerValue) { + set qwBaseOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -18920,7 +18920,7 @@ export interface AVIFIELDINDEX { /** u32 */ dwChunkId: number; /** u64 */ - qwBaseOffset: Deno.PointerValue; + qwBaseOffset: bigint | number; /** u32 */ dwReserved3: number; /** array */ @@ -19005,7 +19005,7 @@ export class AVIFIELDINDEXView { // 0x14: pad4 // 0x18: u64 - get qwBaseOffset(): Deno.PointerValue { + get qwBaseOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -19060,7 +19060,7 @@ export class AVIFIELDINDEXView { // 0x14: pad4 // 0x18: u64 - set qwBaseOffset(value: Deno.PointerValue) { + set qwBaseOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -20778,7 +20778,7 @@ export class AM_DvdKaraokeDataView { */ export interface AM_SimpleRateChange { /** i64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** i32 */ Rate: number; } @@ -20807,7 +20807,7 @@ export class AM_SimpleRateChangeView { } // 0x00: i64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -20819,7 +20819,7 @@ export class AM_SimpleRateChangeView { // 0x0c: pad4 // 0x00: i64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -20889,7 +20889,7 @@ export class AM_QueryRateView { */ export interface AM_ExactRateChange { /** i64 */ - OutputZeroTime: Deno.PointerValue; + OutputZeroTime: bigint | number; /** i32 */ Rate: number; } @@ -20918,7 +20918,7 @@ export class AM_ExactRateChangeView { } // 0x00: i64 - get OutputZeroTime(): Deno.PointerValue { + get OutputZeroTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -20930,7 +20930,7 @@ export class AM_ExactRateChangeView { // 0x0c: pad4 // 0x00: i64 - set OutputZeroTime(value: Deno.PointerValue) { + set OutputZeroTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -20947,9 +20947,9 @@ export class AM_ExactRateChangeView { */ export interface AM_DVD_ChangeRate { /** i64 */ - StartInTime: Deno.PointerValue; + StartInTime: bigint | number; /** i64 */ - StartOutTime: Deno.PointerValue; + StartOutTime: bigint | number; /** i32 */ Rate: number; } @@ -20980,12 +20980,12 @@ export class AM_DVD_ChangeRateView { } // 0x00: i64 - get StartInTime(): Deno.PointerValue { + get StartInTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get StartOutTime(): Deno.PointerValue { + get StartOutTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -20997,12 +20997,12 @@ export class AM_DVD_ChangeRateView { // 0x14: pad4 // 0x00: i64 - set StartInTime(value: Deno.PointerValue) { + set StartInTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set StartOutTime(value: Deno.PointerValue) { + set StartOutTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -21149,9 +21149,9 @@ export class MP_PARAMINFOView { */ export interface MP_ENVELOPE_SEGMENT { /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** f32 */ valStart: number; /** f32 */ @@ -21193,12 +21193,12 @@ export class MP_ENVELOPE_SEGMENTView { } // 0x00: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -21223,12 +21223,12 @@ export class MP_ENVELOPE_SEGMENTView { } // 0x00: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -21397,9 +21397,9 @@ export class DXVA2_Fixed32View { */ export interface DXVA2_VIDEOSAMPLE { /** i64 */ - Start: Deno.PointerValue; + Start: bigint | number; /** i64 */ - End: Deno.PointerValue; + End: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVA2_ExtendedFormat */ SampleFormat: Uint8Array | Deno.PointerValue; /** u32 */ @@ -21454,12 +21454,12 @@ export class DXVA2_VIDEOSAMPLEView { } // 0x00: i64 - get Start(): Deno.PointerValue { + get Start(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -21507,12 +21507,12 @@ export class DXVA2_VIDEOSAMPLEView { } // 0x00: i64 - set Start(value: Deno.PointerValue) { + set Start(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -21795,7 +21795,7 @@ export class DXVA2_FilterValuesView { */ export interface DXVA2_VIDEOPROCESSBLT { /** i64 */ - TargetFrame: Deno.PointerValue; + TargetFrame: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.SIZE */ @@ -21878,7 +21878,7 @@ export class DXVA2_VIDEOPROCESSBLTView { } // 0x00: i64 - get TargetFrame(): Deno.PointerValue { + get TargetFrame(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -21970,7 +21970,7 @@ export class DXVA2_VIDEOPROCESSBLTView { // 0x74: pad4 // 0x00: i64 - set TargetFrame(value: Deno.PointerValue) { + set TargetFrame(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -22444,9 +22444,9 @@ export interface DXVA2Trace_DecodeDevCreatedData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pD3DDevice: Deno.PointerValue; + pD3DDevice: bigint | number; /** System.Guid */ DeviceGuid: Uint8Array | Deno.PointerValue; /** u32 */ @@ -22497,12 +22497,12 @@ export class DXVA2Trace_DecodeDevCreatedDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pD3DDevice(): Deno.PointerValue { + get pD3DDevice(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -22535,12 +22535,12 @@ export class DXVA2Trace_DecodeDevCreatedDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pD3DDevice(value: Deno.PointerValue) { + set pD3DDevice(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -22574,7 +22574,7 @@ export interface DXVA2Trace_DecodeDeviceData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** Windows.Win32.Foundation.BOOL */ Enter: boolean; } @@ -22611,7 +22611,7 @@ export class DXVA2Trace_DecodeDeviceDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -22628,7 +22628,7 @@ export class DXVA2Trace_DecodeDeviceDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -22647,9 +22647,9 @@ export interface DXVA2Trace_DecodeDevBeginFrameData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pRenderTarget: Deno.PointerValue; + pRenderTarget: bigint | number; /** Windows.Win32.Foundation.BOOL */ Enter: boolean; } @@ -22688,12 +22688,12 @@ export class DXVA2Trace_DecodeDevBeginFrameDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pRenderTarget(): Deno.PointerValue { + get pRenderTarget(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -22710,12 +22710,12 @@ export class DXVA2Trace_DecodeDevBeginFrameDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pRenderTarget(value: Deno.PointerValue) { + set pRenderTarget(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -22734,7 +22734,7 @@ export interface DXVA2Trace_DecodeDevGetBufferData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u32 */ BufferType: number; /** Windows.Win32.Foundation.BOOL */ @@ -22774,7 +22774,7 @@ export class DXVA2Trace_DecodeDevGetBufferDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -22794,7 +22794,7 @@ export class DXVA2Trace_DecodeDevGetBufferDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -22816,9 +22816,9 @@ export interface DXVA2Trace_VideoProcessDevCreatedData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pD3DDevice: Deno.PointerValue; + pD3DDevice: bigint | number; /** System.Guid */ DeviceGuid: Uint8Array | Deno.PointerValue; /** u32 */ @@ -22872,12 +22872,12 @@ export class DXVA2Trace_VideoProcessDevCreatedDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pD3DDevice(): Deno.PointerValue { + get pD3DDevice(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -22913,12 +22913,12 @@ export class DXVA2Trace_VideoProcessDevCreatedDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pD3DDevice(value: Deno.PointerValue) { + set pD3DDevice(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -22955,7 +22955,7 @@ export interface DXVA2Trace_VideoProcessDeviceData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** Windows.Win32.Foundation.BOOL */ Enter: boolean; } @@ -22992,7 +22992,7 @@ export class DXVA2Trace_VideoProcessDeviceDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23009,7 +23009,7 @@ export class DXVA2Trace_VideoProcessDeviceDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -23028,11 +23028,11 @@ export interface DXVA2TraceVideoProcessBltData { /** Windows.Win32.System.Diagnostics.Etw.EVENT_TRACE_HEADER */ wmiHeader: Uint8Array | Deno.PointerValue; /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pRenderTarget: Deno.PointerValue; + pRenderTarget: bigint | number; /** u64 */ - TargetFrameTime: Deno.PointerValue; + TargetFrameTime: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BOOL */ @@ -23077,17 +23077,17 @@ export class DXVA2TraceVideoProcessBltDataView { } // 0x08: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get pRenderTarget(): Deno.PointerValue { + get pRenderTarget(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetFrameTime(): Deno.PointerValue { + get TargetFrameTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -23110,17 +23110,17 @@ export class DXVA2TraceVideoProcessBltDataView { } // 0x08: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set pRenderTarget(value: Deno.PointerValue) { + set pRenderTarget(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetFrameTime(value: Deno.PointerValue) { + set TargetFrameTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -23144,9 +23144,9 @@ export interface WMDRMProtectionInfo { /** array */ wszKID: Deno.PointerValue; /** u64 */ - qwCounter: Deno.PointerValue; + qwCounter: bigint | number; /** u64 */ - qwIndex: Deno.PointerValue; + qwIndex: bigint | number; /** u8 */ bOffset: number; } @@ -23185,12 +23185,12 @@ export class WMDRMProtectionInfoView { } // 0x08: u64 - get qwCounter(): Deno.PointerValue { + get qwCounter(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get qwIndex(): Deno.PointerValue { + get qwIndex(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -23207,12 +23207,12 @@ export class WMDRMProtectionInfoView { } // 0x08: u64 - set qwCounter(value: Deno.PointerValue) { + set qwCounter(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set qwIndex(value: Deno.PointerValue) { + set qwIndex(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -23366,15 +23366,15 @@ export class STREAMBUFFER_ATTRIBUTEView { */ export interface SBE_PIN_DATA { /** u64 */ - cDataBytes: Deno.PointerValue; + cDataBytes: bigint | number; /** u64 */ - cSamplesProcessed: Deno.PointerValue; + cSamplesProcessed: bigint | number; /** u64 */ - cDiscontinuities: Deno.PointerValue; + cDiscontinuities: bigint | number; /** u64 */ - cSyncPoints: Deno.PointerValue; + cSyncPoints: bigint | number; /** u64 */ - cTimestamps: Deno.PointerValue; + cTimestamps: bigint | number; } export const sizeofSBE_PIN_DATA = 40; @@ -23406,52 +23406,52 @@ export class SBE_PIN_DATAView { } // 0x00: u64 - get cDataBytes(): Deno.PointerValue { + get cDataBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get cSamplesProcessed(): Deno.PointerValue { + get cSamplesProcessed(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get cDiscontinuities(): Deno.PointerValue { + get cDiscontinuities(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get cSyncPoints(): Deno.PointerValue { + get cSyncPoints(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cTimestamps(): Deno.PointerValue { + get cTimestamps(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: u64 - set cDataBytes(value: Deno.PointerValue) { + set cDataBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set cSamplesProcessed(value: Deno.PointerValue) { + set cSamplesProcessed(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set cDiscontinuities(value: Deno.PointerValue) { + set cDiscontinuities(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set cSyncPoints(value: Deno.PointerValue) { + set cSyncPoints(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cTimestamps(value: Deno.PointerValue) { + set cTimestamps(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -26354,9 +26354,9 @@ export interface UDCR_TAG { /** array */ KID: Deno.PointerValue; /** u64 */ - ullBaseCounter: Deno.PointerValue; + ullBaseCounter: bigint | number; /** u64 */ - ullBaseCounterRange: Deno.PointerValue; + ullBaseCounterRange: bigint | number; /** Windows.Win32.Foundation.BOOL */ fScrambled: boolean; /** u8 */ @@ -26417,12 +26417,12 @@ export class UDCR_TAGView { } // 0x10: u64 - get ullBaseCounter(): Deno.PointerValue { + get ullBaseCounter(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullBaseCounterRange(): Deno.PointerValue { + get ullBaseCounterRange(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -26461,12 +26461,12 @@ export class UDCR_TAGView { } // 0x10: u64 - set ullBaseCounter(value: Deno.PointerValue) { + set ullBaseCounter(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullBaseCounterRange(value: Deno.PointerValue) { + set ullBaseCounterRange(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -26723,7 +26723,7 @@ export class VA_OPTIONAL_VIDEO_PROPERTIESView { */ export interface _Others { /** i64 */ - _bitfield: Deno.PointerValue; + _bitfield: bigint | number; } export const sizeof_Others = 8; @@ -26747,12 +26747,12 @@ export class _OthersView { } // 0x00: i64 - get _bitfield(): Deno.PointerValue { + get _bitfield(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set _bitfield(value: Deno.PointerValue) { + set _bitfield(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -26764,7 +26764,7 @@ export interface _Fields_e__Union { /** _Others */ Others: Uint8Array | Deno.PointerValue; /** i64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeof_Fields_e__Union = 16; @@ -26796,7 +26796,7 @@ export class _Fields_e__UnionView { } // 0x08: i64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -26806,7 +26806,7 @@ export class _Fields_e__UnionView { } // 0x08: i64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -26818,7 +26818,7 @@ export interface TRANSPORT_PROPERTIES { /** u32 */ PID: number; /** i64 */ - PCR: Deno.PointerValue; + PCR: bigint | number; /** _Fields_e__Union */ Fields: Uint8Array | Deno.PointerValue; } @@ -26856,7 +26856,7 @@ export class TRANSPORT_PROPERTIESView { // 0x04: pad4 // 0x08: i64 - get PCR(): Deno.PointerValue { + get PCR(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -26874,7 +26874,7 @@ export class TRANSPORT_PROPERTIESView { // 0x04: pad4 // 0x08: i64 - set PCR(value: Deno.PointerValue) { + set PCR(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -26991,7 +26991,7 @@ export class PBDA_TAG_ATTRIBUTEView { */ export interface CAPTURE_STREAMTIME { /** i64 */ - StreamTime: Deno.PointerValue; + StreamTime: bigint | number; } export const sizeofCAPTURE_STREAMTIME = 8; @@ -27015,12 +27015,12 @@ export class CAPTURE_STREAMTIMEView { } // 0x00: i64 - get StreamTime(): Deno.PointerValue { + get StreamTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set StreamTime(value: Deno.PointerValue) { + set StreamTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -27130,9 +27130,9 @@ export class DSHOW_STREAM_DESCView { */ export interface SAMPLE_LIVE_STREAM_TIME { /** u64 */ - qwStreamTime: Deno.PointerValue; + qwStreamTime: bigint | number; /** u64 */ - qwLiveTime: Deno.PointerValue; + qwLiveTime: bigint | number; } export const sizeofSAMPLE_LIVE_STREAM_TIME = 16; @@ -27158,22 +27158,22 @@ export class SAMPLE_LIVE_STREAM_TIMEView { } // 0x00: u64 - get qwStreamTime(): Deno.PointerValue { + get qwStreamTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwLiveTime(): Deno.PointerValue { + get qwLiveTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set qwStreamTime(value: Deno.PointerValue) { + set qwStreamTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwLiveTime(value: Deno.PointerValue) { + set qwLiveTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -28965,7 +28965,7 @@ export interface KSM_BDA_SCAN_FILTER { /** u32 */ ulScanModulationTypeSize: number; /** u64 */ - AnalogVideoStandards: Deno.PointerValue; + AnalogVideoStandards: bigint | number; /** array */ argbScanModulationTypes: Deno.PointerValue; } @@ -29011,7 +29011,7 @@ export class KSM_BDA_SCAN_FILTERView { // 0x0c: pad4 // 0x10: u64 - get AnalogVideoStandards(): Deno.PointerValue { + get AnalogVideoStandards(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -29034,7 +29034,7 @@ export class KSM_BDA_SCAN_FILTERView { // 0x0c: pad4 // 0x10: u64 - set AnalogVideoStandards(value: Deno.PointerValue) { + set AnalogVideoStandards(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -29119,7 +29119,7 @@ export interface KSM_BDA_GDDS_TUNEXMLFROMIDX { /** Windows.Win32.Media.KernelStreaming.KSIDENTIFIER */ Method: Uint8Array | Deno.PointerValue; /** u64 */ - ulIdx: Deno.PointerValue; + ulIdx: bigint | number; } export const sizeofKSM_BDA_GDDS_TUNEXMLFROMIDX = 16; @@ -29151,7 +29151,7 @@ export class KSM_BDA_GDDS_TUNEXMLFROMIDXView { } // 0x08: u64 - get ulIdx(): Deno.PointerValue { + get ulIdx(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -29161,7 +29161,7 @@ export class KSM_BDA_GDDS_TUNEXMLFROMIDXView { } // 0x08: u64 - set ulIdx(value: Deno.PointerValue) { + set ulIdx(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -29834,7 +29834,7 @@ export interface KSDATAFORMAT { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** i64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; } export const sizeofKSDATAFORMAT = 16; @@ -29866,7 +29866,7 @@ export class KSDATAFORMATView { } // 0x08: i64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -29876,7 +29876,7 @@ export class KSDATAFORMATView { } // 0x08: i64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -29932,7 +29932,7 @@ export interface BDA_TRANSPORT_INFO { /** u32 */ ulcbPhyiscalFrameAlignment: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; } export const sizeofBDA_TRANSPORT_INFO = 24; @@ -29980,7 +29980,7 @@ export class BDA_TRANSPORT_INFOView { // 0x0c: pad4 // 0x10: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -30002,7 +30002,7 @@ export class BDA_TRANSPORT_INFOView { // 0x0c: pad4 // 0x10: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -30069,7 +30069,7 @@ export interface ChannelChangeInfo { /** Windows.Win32.Media.DirectShow.ChannelChangeSpanningEvent_State */ state: ChannelChangeSpanningEvent_State; /** u64 */ - TimeStamp: Deno.PointerValue; + TimeStamp: bigint | number; } export const sizeofChannelChangeInfo = 16; @@ -30103,7 +30103,7 @@ export class ChannelChangeInfoView { // 0x04: pad4 // 0x08: u64 - get TimeStamp(): Deno.PointerValue { + get TimeStamp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -30115,7 +30115,7 @@ export class ChannelChangeInfoView { // 0x04: pad4 // 0x08: u64 - set TimeStamp(value: Deno.PointerValue) { + set TimeStamp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -30127,7 +30127,7 @@ export interface ChannelTypeInfo { /** Windows.Win32.Media.DirectShow.ChannelType */ channelType: ChannelType; /** u64 */ - timeStamp: Deno.PointerValue; + timeStamp: bigint | number; } export const sizeofChannelTypeInfo = 16; @@ -30161,7 +30161,7 @@ export class ChannelTypeInfoView { // 0x04: pad4 // 0x08: u64 - get timeStamp(): Deno.PointerValue { + get timeStamp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -30173,7 +30173,7 @@ export class ChannelTypeInfoView { // 0x04: pad4 // 0x08: u64 - set timeStamp(value: Deno.PointerValue) { + set timeStamp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Media/DxMediaObjects.ts b/api/Media/DxMediaObjects.ts index 699028a..08970b9 100644 --- a/api/Media/DxMediaObjects.ts +++ b/api/Media/DxMediaObjects.ts @@ -231,9 +231,9 @@ export interface DMO_OUTPUT_DATA_BUFFER { /** u32 */ dwStatus: number; /** i64 */ - rtTimestamp: Deno.PointerValue; + rtTimestamp: bigint | number; /** i64 */ - rtTimelength: Deno.PointerValue; + rtTimelength: bigint | number; } export const sizeofDMO_OUTPUT_DATA_BUFFER = 32; @@ -277,12 +277,12 @@ export class DMO_OUTPUT_DATA_BUFFERView { // 0x0c: pad4 // 0x10: i64 - get rtTimestamp(): Deno.PointerValue { + get rtTimestamp(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get rtTimelength(): Deno.PointerValue { + get rtTimelength(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -299,12 +299,12 @@ export class DMO_OUTPUT_DATA_BUFFERView { // 0x0c: pad4 // 0x10: i64 - set rtTimestamp(value: Deno.PointerValue) { + set rtTimestamp(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set rtTimelength(value: Deno.PointerValue) { + set rtTimelength(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } diff --git a/api/Media/KernelStreaming.ts b/api/Media/KernelStreaming.ts index 7750cee..f2bee50 100644 --- a/api/Media/KernelStreaming.ts +++ b/api/Media/KernelStreaming.ts @@ -1712,7 +1712,7 @@ export class DEVPROPKEYView { */ export interface KSTIME { /** i64 */ - Time: Deno.PointerValue; + Time: bigint | number; /** u32 */ Numerator: number; /** u32 */ @@ -1744,7 +1744,7 @@ export class KSTIMEView { } // 0x00: i64 - get Time(): Deno.PointerValue { + get Time(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -1759,7 +1759,7 @@ export class KSTIMEView { } // 0x00: i64 - set Time(value: Deno.PointerValue) { + set Time(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -1785,7 +1785,7 @@ export interface KSSTREAM_HEADER { /** Windows.Win32.Media.KernelStreaming.KSTIME */ PresentationTime: Uint8Array | Deno.PointerValue; /** i64 */ - Duration: Deno.PointerValue; + Duration: bigint | number; /** u32 */ FrameExtent: number; /** u32 */ @@ -1851,7 +1851,7 @@ export class KSSTREAM_HEADERView { } // 0x10: i64 - get Duration(): Deno.PointerValue { + get Duration(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1897,7 +1897,7 @@ export class KSSTREAM_HEADERView { } // 0x10: i64 - set Duration(value: Deno.PointerValue) { + set Duration(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -1932,9 +1932,9 @@ export class KSSTREAM_HEADERView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1960,22 +1960,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3160,7 +3160,7 @@ export class KSPROPERTY_STEPPING_LONGView { */ export interface KSPROPERTY_STEPPING_LONGLONG { /** u64 */ - SteppingDelta: Deno.PointerValue; + SteppingDelta: bigint | number; /** Windows.Win32.Media.KernelStreaming.KSPROPERTY_BOUNDS_LONGLONG */ Bounds: Uint8Array | Deno.PointerValue; } @@ -3188,7 +3188,7 @@ export class KSPROPERTY_STEPPING_LONGLONGView { } // 0x00: u64 - get SteppingDelta(): Deno.PointerValue { + get SteppingDelta(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3199,7 +3199,7 @@ export class KSPROPERTY_STEPPING_LONGLONGView { } // 0x00: u64 - set SteppingDelta(value: Deno.PointerValue) { + set SteppingDelta(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3458,7 +3458,7 @@ export interface KSEVENT_TIME_MARK { /** Windows.Win32.Media.KernelStreaming.KSEVENTDATA */ EventData: Uint8Array | Deno.PointerValue; /** i64 */ - MarkTime: Deno.PointerValue; + MarkTime: bigint | number; } export const sizeofKSEVENT_TIME_MARK = 16; @@ -3490,7 +3490,7 @@ export class KSEVENT_TIME_MARKView { } // 0x08: i64 - get MarkTime(): Deno.PointerValue { + get MarkTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -3500,7 +3500,7 @@ export class KSEVENT_TIME_MARKView { } // 0x08: i64 - set MarkTime(value: Deno.PointerValue) { + set MarkTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -3512,9 +3512,9 @@ export interface KSEVENT_TIME_INTERVAL { /** Windows.Win32.Media.KernelStreaming.KSEVENTDATA */ EventData: Uint8Array | Deno.PointerValue; /** i64 */ - TimeBase: Deno.PointerValue; + TimeBase: bigint | number; /** i64 */ - Interval: Deno.PointerValue; + Interval: bigint | number; } export const sizeofKSEVENT_TIME_INTERVAL = 24; @@ -3548,12 +3548,12 @@ export class KSEVENT_TIME_INTERVALView { } // 0x08: i64 - get TimeBase(): Deno.PointerValue { + get TimeBase(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get Interval(): Deno.PointerValue { + get Interval(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -3563,12 +3563,12 @@ export class KSEVENT_TIME_INTERVALView { } // 0x08: i64 - set TimeBase(value: Deno.PointerValue) { + set TimeBase(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set Interval(value: Deno.PointerValue) { + set Interval(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -3578,9 +3578,9 @@ export class KSEVENT_TIME_INTERVALView { */ export interface KSINTERVAL { /** i64 */ - TimeBase: Deno.PointerValue; + TimeBase: bigint | number; /** i64 */ - Interval: Deno.PointerValue; + Interval: bigint | number; } export const sizeofKSINTERVAL = 16; @@ -3606,22 +3606,22 @@ export class KSINTERVALView { } // 0x00: i64 - get TimeBase(): Deno.PointerValue { + get TimeBase(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Interval(): Deno.PointerValue { + get Interval(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set TimeBase(value: Deno.PointerValue) { + set TimeBase(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Interval(value: Deno.PointerValue) { + set Interval(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -3744,9 +3744,9 @@ export class KSCOMPONENTIDView { */ export interface KSPROPERTY_POSITIONS { /** i64 */ - Current: Deno.PointerValue; + Current: bigint | number; /** i64 */ - Stop: Deno.PointerValue; + Stop: bigint | number; /** Windows.Win32.Media.KernelStreaming.KS_SEEKING_FLAGS */ CurrentFlags: KS_SEEKING_FLAGS; /** Windows.Win32.Media.KernelStreaming.KS_SEEKING_FLAGS */ @@ -3780,12 +3780,12 @@ export class KSPROPERTY_POSITIONSView { } // 0x00: i64 - get Current(): Deno.PointerValue { + get Current(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Stop(): Deno.PointerValue { + get Stop(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -3800,12 +3800,12 @@ export class KSPROPERTY_POSITIONSView { } // 0x00: i64 - set Current(value: Deno.PointerValue) { + set Current(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Stop(value: Deno.PointerValue) { + set Stop(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -3825,9 +3825,9 @@ export class KSPROPERTY_POSITIONSView { */ export interface KSPROPERTY_MEDIAAVAILABLE { /** i64 */ - Earliest: Deno.PointerValue; + Earliest: bigint | number; /** i64 */ - Latest: Deno.PointerValue; + Latest: bigint | number; } export const sizeofKSPROPERTY_MEDIAAVAILABLE = 16; @@ -3853,22 +3853,22 @@ export class KSPROPERTY_MEDIAAVAILABLEView { } // 0x00: i64 - get Earliest(): Deno.PointerValue { + get Earliest(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Latest(): Deno.PointerValue { + get Latest(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Earliest(value: Deno.PointerValue) { + set Earliest(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Latest(value: Deno.PointerValue) { + set Latest(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -3884,7 +3884,7 @@ export interface KSP_TIMEFORMAT { /** System.Guid */ TargetFormat: Uint8Array | Deno.PointerValue; /** i64 */ - Time: Deno.PointerValue; + Time: bigint | number; } export const sizeofKSP_TIMEFORMAT = 32; @@ -3932,7 +3932,7 @@ export class KSP_TIMEFORMATView { } // 0x18: i64 - get Time(): Deno.PointerValue { + get Time(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -3952,7 +3952,7 @@ export class KSP_TIMEFORMATView { } // 0x18: i64 - set Time(value: Deno.PointerValue) { + set Time(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -4454,7 +4454,7 @@ export interface KSDATAFORMAT { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** i64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; } export const sizeofKSDATAFORMAT = 16; @@ -4486,7 +4486,7 @@ export class KSDATAFORMATView { } // 0x08: i64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -4496,7 +4496,7 @@ export class KSDATAFORMATView { } // 0x08: i64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -4569,7 +4569,7 @@ export class KSATTRIBUTEView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Media.KernelStreaming.KSPIN_CONNECT (size: 40) @@ -4750,11 +4750,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -4806,7 +4806,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4817,7 +4817,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4853,7 +4853,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4864,7 +4864,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4901,7 +4901,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -4930,7 +4930,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4942,7 +4942,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6139,7 +6139,7 @@ export class KSQUALITY_MANAGERView { */ export interface KSFRAMETIME { /** i64 */ - Duration: Deno.PointerValue; + Duration: bigint | number; /** u32 */ FrameFlags: number; /** u32 */ @@ -6171,7 +6171,7 @@ export class KSFRAMETIMEView { } // 0x00: i64 - get Duration(): Deno.PointerValue { + get Duration(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -6186,7 +6186,7 @@ export class KSFRAMETIMEView { } // 0x00: i64 - set Duration(value: Deno.PointerValue) { + set Duration(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -6206,9 +6206,9 @@ export class KSFRAMETIMEView { */ export interface KSRATE { /** i64 */ - PresentationStart: Deno.PointerValue; + PresentationStart: bigint | number; /** i64 */ - Duration: Deno.PointerValue; + Duration: bigint | number; /** Windows.Win32.Media.KernelStreaming.KSIDENTIFIER */ Interface: Uint8Array | Deno.PointerValue; /** i32 */ @@ -6246,12 +6246,12 @@ export class KSRATEView { } // 0x00: i64 - get PresentationStart(): Deno.PointerValue { + get PresentationStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Duration(): Deno.PointerValue { + get Duration(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -6272,12 +6272,12 @@ export class KSRATEView { } // 0x00: i64 - set PresentationStart(value: Deno.PointerValue) { + set PresentationStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Duration(value: Deno.PointerValue) { + set Duration(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -6401,9 +6401,9 @@ export class KSCLOCK_CREATEView { */ export interface KSCORRELATED_TIME { /** i64 */ - Time: Deno.PointerValue; + Time: bigint | number; /** i64 */ - SystemTime: Deno.PointerValue; + SystemTime: bigint | number; } export const sizeofKSCORRELATED_TIME = 16; @@ -6429,22 +6429,22 @@ export class KSCORRELATED_TIMEView { } // 0x00: i64 - get Time(): Deno.PointerValue { + get Time(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get SystemTime(): Deno.PointerValue { + get SystemTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Time(value: Deno.PointerValue) { + set Time(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set SystemTime(value: Deno.PointerValue) { + set SystemTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -6454,9 +6454,9 @@ export class KSCORRELATED_TIMEView { */ export interface KSRESOLUTION { /** i64 */ - Granularity: Deno.PointerValue; + Granularity: bigint | number; /** i64 */ - Error: Deno.PointerValue; + Error: bigint | number; } export const sizeofKSRESOLUTION = 16; @@ -6482,22 +6482,22 @@ export class KSRESOLUTIONView { } // 0x00: i64 - get Granularity(): Deno.PointerValue { + get Granularity(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Error(): Deno.PointerValue { + get Error(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Granularity(value: Deno.PointerValue) { + set Granularity(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Error(value: Deno.PointerValue) { + set Error(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -6511,7 +6511,7 @@ export interface KSQUALITY { /** u32 */ Proportion: number; /** i64 */ - DeltaTime: Deno.PointerValue; + DeltaTime: bigint | number; } export const sizeofKSQUALITY = 24; @@ -6553,7 +6553,7 @@ export class KSQUALITYView { // 0x0c: pad4 // 0x10: i64 - get DeltaTime(): Deno.PointerValue { + get DeltaTime(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6570,7 +6570,7 @@ export class KSQUALITYView { // 0x0c: pad4 // 0x10: i64 - set DeltaTime(value: Deno.PointerValue) { + set DeltaTime(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -6770,7 +6770,7 @@ export interface _combined_e__Struct { /** u32 */ fHandle: number; /** u64 */ - uPayload: Deno.PointerValue; + uPayload: bigint | number; } export const sizeof_combined_e__Struct = 16; @@ -6808,7 +6808,7 @@ export class _combined_e__StructView { } // 0x08: u64 - get uPayload(): Deno.PointerValue { + get uPayload(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6823,7 +6823,7 @@ export class _combined_e__StructView { } // 0x08: u64 - set uPayload(value: Deno.PointerValue) { + set uPayload(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6943,9 +6943,9 @@ export class KSMULTIPLE_DATA_PROPView { */ export interface KSAUDIO_POSITION { /** u64 */ - PlayOffset: Deno.PointerValue; + PlayOffset: bigint | number; /** u64 */ - WriteOffset: Deno.PointerValue; + WriteOffset: bigint | number; } export const sizeofKSAUDIO_POSITION = 16; @@ -6971,22 +6971,22 @@ export class KSAUDIO_POSITIONView { } // 0x00: u64 - get PlayOffset(): Deno.PointerValue { + get PlayOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get WriteOffset(): Deno.PointerValue { + get WriteOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set PlayOffset(value: Deno.PointerValue) { + set PlayOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set WriteOffset(value: Deno.PointerValue) { + set WriteOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6996,9 +6996,9 @@ export class KSAUDIO_POSITIONView { */ export interface KSAUDIO_PRESENTATION_POSITION { /** u64 */ - u64PositionInBlocks: Deno.PointerValue; + u64PositionInBlocks: bigint | number; /** u64 */ - u64QPCPosition: Deno.PointerValue; + u64QPCPosition: bigint | number; } export const sizeofKSAUDIO_PRESENTATION_POSITION = 16; @@ -7024,22 +7024,22 @@ export class KSAUDIO_PRESENTATION_POSITIONView { } // 0x00: u64 - get u64PositionInBlocks(): Deno.PointerValue { + get u64PositionInBlocks(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get u64QPCPosition(): Deno.PointerValue { + get u64QPCPosition(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set u64PositionInBlocks(value: Deno.PointerValue) { + set u64PositionInBlocks(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set u64QPCPosition(value: Deno.PointerValue) { + set u64QPCPosition(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9405,9 +9405,9 @@ export interface KSRTAUDIO_HWREGISTER { /** u32 */ Width: number; /** u64 */ - Numerator: Deno.PointerValue; + Numerator: bigint | number; /** u64 */ - Denominator: Deno.PointerValue; + Denominator: bigint | number; /** u32 */ Accuracy: number; } @@ -9456,12 +9456,12 @@ export class KSRTAUDIO_HWREGISTERView { // 0x0c: pad4 // 0x10: u64 - get Numerator(): Deno.PointerValue { + get Numerator(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Denominator(): Deno.PointerValue { + get Denominator(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9485,12 +9485,12 @@ export class KSRTAUDIO_HWREGISTERView { // 0x0c: pad4 // 0x10: u64 - set Numerator(value: Deno.PointerValue) { + set Numerator(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Denominator(value: Deno.PointerValue) { + set Denominator(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -9511,9 +9511,9 @@ export interface KSRTAUDIO_HWREGISTER32 { /** u32 */ Width: number; /** u64 */ - Numerator: Deno.PointerValue; + Numerator: bigint | number; /** u64 */ - Denominator: Deno.PointerValue; + Denominator: bigint | number; /** u32 */ Accuracy: number; } @@ -9558,12 +9558,12 @@ export class KSRTAUDIO_HWREGISTER32View { } // 0x08: u64 - get Numerator(): Deno.PointerValue { + get Numerator(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Denominator(): Deno.PointerValue { + get Denominator(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -9585,12 +9585,12 @@ export class KSRTAUDIO_HWREGISTER32View { } // 0x08: u64 - set Numerator(value: Deno.PointerValue) { + set Numerator(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Denominator(value: Deno.PointerValue) { + set Denominator(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -9725,7 +9725,7 @@ export interface KSRTAUDIO_GETREADPACKET_INFO { /** u32 */ Flags: number; /** u64 */ - PerformanceCounterValue: Deno.PointerValue; + PerformanceCounterValue: bigint | number; /** Windows.Win32.Foundation.BOOL */ MoreData: boolean; } @@ -9768,7 +9768,7 @@ export class KSRTAUDIO_GETREADPACKET_INFOView { } // 0x08: u64 - get PerformanceCounterValue(): Deno.PointerValue { + get PerformanceCounterValue(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9790,7 +9790,7 @@ export class KSRTAUDIO_GETREADPACKET_INFOView { } // 0x08: u64 - set PerformanceCounterValue(value: Deno.PointerValue) { + set PerformanceCounterValue(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10671,7 +10671,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -10711,7 +10711,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -10726,7 +10726,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -11907,7 +11907,7 @@ export interface LOOPEDSTREAMING_POSITION_EVENT_DATA { /** Windows.Win32.Media.KernelStreaming.KSEVENTDATA */ KsEventData: Uint8Array | Deno.PointerValue; /** u64 */ - Position: Deno.PointerValue; + Position: bigint | number; } export const sizeofLOOPEDSTREAMING_POSITION_EVENT_DATA = 16; @@ -11939,7 +11939,7 @@ export class LOOPEDSTREAMING_POSITION_EVENT_DATAView { } // 0x08: u64 - get Position(): Deno.PointerValue { + get Position(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11949,7 +11949,7 @@ export class LOOPEDSTREAMING_POSITION_EVENT_DATAView { } // 0x08: u64 - set Position(value: Deno.PointerValue) { + set Position(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13803,7 +13803,7 @@ export interface KS_VIDEOINFOHEADER { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Media.KernelStreaming.KS_BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; } @@ -13861,7 +13861,7 @@ export class KS_VIDEOINFOHEADERView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -13892,7 +13892,7 @@ export class KS_VIDEOINFOHEADERView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -13915,7 +13915,7 @@ export interface KS_VIDEOINFO { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Media.KernelStreaming.KS_BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; /** _Anonymous_e__Union */ @@ -13977,7 +13977,7 @@ export class KS_VIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -14014,7 +14014,7 @@ export class KS_VIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -14226,7 +14226,7 @@ export interface KS_ANALOGVIDEOINFO { /** u32 */ dwActiveHeight: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; } export const sizeofKS_ANALOGVIDEOINFO = 32; @@ -14280,7 +14280,7 @@ export class KS_ANALOGVIDEOINFOView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -14305,7 +14305,7 @@ export class KS_ANALOGVIDEOINFOView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -14404,7 +14404,7 @@ export interface KS_VIDEOINFOHEADER2 { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** u32 */ dwInterlaceFlags: number; /** u32 */ @@ -14487,7 +14487,7 @@ export class KS_VIDEOINFOHEADER2View { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -14551,7 +14551,7 @@ export class KS_VIDEOINFOHEADER2View { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -15926,9 +15926,9 @@ export interface KS_VIDEO_STREAM_CONFIG_CAPS { /** i32 */ ShrinkTapsY: number; /** i64 */ - MinFrameInterval: Deno.PointerValue; + MinFrameInterval: bigint | number; /** i64 */ - MaxFrameInterval: Deno.PointerValue; + MaxFrameInterval: bigint | number; /** i32 */ MinBitsPerSecond: number; /** i32 */ @@ -16090,12 +16090,12 @@ export class KS_VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - get MinFrameInterval(): Deno.PointerValue { + get MinFrameInterval(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: i64 - get MaxFrameInterval(): Deno.PointerValue { + get MaxFrameInterval(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -16197,12 +16197,12 @@ export class KS_VIDEO_STREAM_CONFIG_CAPSView { } // 0x60: i64 - set MinFrameInterval(value: Deno.PointerValue) { + set MinFrameInterval(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: i64 - set MaxFrameInterval(value: Deno.PointerValue) { + set MaxFrameInterval(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } @@ -17566,7 +17566,7 @@ export interface CC_HW_FIELD { /** u32 */ fieldFlags: number; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** array */ Lines: Deno.PointerValue; } @@ -17612,7 +17612,7 @@ export class CC_HW_FIELDView { // 0x0c: pad4 // 0x10: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -17635,7 +17635,7 @@ export class CC_HW_FIELDView { // 0x0c: pad4 // 0x10: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -17711,7 +17711,7 @@ export interface NABTS_BUFFER { /** Windows.Win32.Media.KernelStreaming.VBICODECFILTERING_SCANLINES */ ScanlinesRequested: Uint8Array | Deno.PointerValue; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** array */ NabtsLines: Deno.PointerValue; } @@ -17747,7 +17747,7 @@ export class NABTS_BUFFERView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -17763,7 +17763,7 @@ export class NABTS_BUFFERView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -19088,9 +19088,9 @@ export class KSPROPERTY_VBICODECFILTERING_STATISTICS_CC_PIN_SView { */ export interface VRAM_SURFACE_INFO { /** usize */ - hSurface: Deno.PointerValue; + hSurface: bigint | number; /** i64 */ - VramPhysicalAddress: Deno.PointerValue; + VramPhysicalAddress: bigint | number; /** u32 */ cbCaptured: number; /** u32 */ @@ -19141,12 +19141,12 @@ export class VRAM_SURFACE_INFOView { } // 0x00: usize - get hSurface(): Deno.PointerValue { + get hSurface(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get VramPhysicalAddress(): Deno.PointerValue { + get VramPhysicalAddress(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -19184,12 +19184,12 @@ export class VRAM_SURFACE_INFOView { } // 0x00: usize - set hSurface(value: Deno.PointerValue) { + set hSurface(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set VramPhysicalAddress(value: Deno.PointerValue) { + set VramPhysicalAddress(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -19373,9 +19373,9 @@ export interface KS_FRAME_INFO { /** u32 */ dwFrameFlags: number; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** i64 */ - DropCount: Deno.PointerValue; + DropCount: bigint | number; /** Windows.Win32.Foundation.HANDLE */ hDirectDraw: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.HANDLE */ @@ -19440,12 +19440,12 @@ export class KS_FRAME_INFOView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get DropCount(): Deno.PointerValue { + get DropCount(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -19497,12 +19497,12 @@ export class KS_FRAME_INFOView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set DropCount(value: Deno.PointerValue) { + set DropCount(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -19548,9 +19548,9 @@ export interface KS_VBI_FRAME_INFO { /** u32 */ dwFrameFlags: number; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** i64 */ - DropCount: Deno.PointerValue; + DropCount: bigint | number; /** u32 */ dwSamplingFrequency: number; /** Windows.Win32.Media.KernelStreaming.KS_TVTUNER_CHANGE_INFO */ @@ -19603,12 +19603,12 @@ export class KS_VBI_FRAME_INFOView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get DropCount(): Deno.PointerValue { + get DropCount(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -19642,12 +19642,12 @@ export class KS_VBI_FRAME_INFOView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set DropCount(value: Deno.PointerValue) { + set DropCount(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -22913,9 +22913,9 @@ export interface KSCAMERA_EXTENDEDPROP_HEADER { /** u32 */ Result: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u64 */ - Capability: Deno.PointerValue; + Capability: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_HEADER = 32; @@ -22969,12 +22969,12 @@ export class KSCAMERA_EXTENDEDPROP_HEADERView { } // 0x10: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Capability(): Deno.PointerValue { + get Capability(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -22999,12 +22999,12 @@ export class KSCAMERA_EXTENDEDPROP_HEADERView { } // 0x10: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Capability(value: Deno.PointerValue) { + set Capability(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -23275,7 +23275,7 @@ export interface KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_VALUE */ VideoProc: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_VIDEOPROCSETTING = 32; @@ -23335,7 +23335,7 @@ export class KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTINGView { } // 0x18: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -23365,7 +23365,7 @@ export class KSCAMERA_EXTENDEDPROP_VIDEOPROCSETTINGView { } // 0x18: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -23383,7 +23383,7 @@ export interface KSCAMERA_EXTENDEDPROP_EVCOMPENSATION { /** i32 */ Value: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_EVCOMPENSATION = 24; @@ -23435,7 +23435,7 @@ export class KSCAMERA_EXTENDEDPROP_EVCOMPENSATIONView { } // 0x10: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -23460,7 +23460,7 @@ export class KSCAMERA_EXTENDEDPROP_EVCOMPENSATIONView { } // 0x10: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -23880,9 +23880,9 @@ export interface KSCAMERA_METADATA_CAPTURESTATS { /** u32 */ Reserved: number; /** u64 */ - ExposureTime: Deno.PointerValue; + ExposureTime: bigint | number; /** u64 */ - ExposureCompensationFlags: Deno.PointerValue; + ExposureCompensationFlags: bigint | number; /** i32 */ ExposureCompensationValue: number; /** u32 */ @@ -23900,9 +23900,9 @@ export interface KSCAMERA_METADATA_CAPTURESTATS { /** u32 */ ZoomFactor: number; /** u64 */ - SceneMode: Deno.PointerValue; + SceneMode: bigint | number; /** u64 */ - SensorFramerate: Deno.PointerValue; + SensorFramerate: bigint | number; } export const sizeofKSCAMERA_METADATA_CAPTURESTATS = 80; @@ -23970,12 +23970,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x10: u64 - get ExposureTime(): Deno.PointerValue { + get ExposureTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExposureCompensationFlags(): Deno.PointerValue { + get ExposureCompensationFlags(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -24020,12 +24020,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x40: u64 - get SceneMode(): Deno.PointerValue { + get SceneMode(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get SensorFramerate(): Deno.PointerValue { + get SensorFramerate(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -24045,12 +24045,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x10: u64 - set ExposureTime(value: Deno.PointerValue) { + set ExposureTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExposureCompensationFlags(value: Deno.PointerValue) { + set ExposureCompensationFlags(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -24095,12 +24095,12 @@ export class KSCAMERA_METADATA_CAPTURESTATSView { } // 0x40: u64 - set SceneMode(value: Deno.PointerValue) { + set SceneMode(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set SensorFramerate(value: Deno.PointerValue) { + set SensorFramerate(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } } @@ -24114,7 +24114,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER { /** u32 */ ConfigCapCount: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADER = 16; @@ -24152,7 +24152,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADERView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24167,7 +24167,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSHEADERView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24181,7 +24181,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS { /** u32 */ MaxNumberOfROIs: number; /** u64 */ - Capability: Deno.PointerValue; + Capability: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPS = 16; @@ -24219,7 +24219,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSView { } // 0x08: u64 - get Capability(): Deno.PointerValue { + get Capability(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24234,7 +24234,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_CONFIGCAPSView { } // 0x08: u64 - set Capability(value: Deno.PointerValue) { + set Capability(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24248,7 +24248,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER { /** u32 */ ControlCount: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADER = 16; @@ -24286,7 +24286,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADERView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24301,7 +24301,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_ISPCONTROLHEADERView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24394,7 +24394,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_INFO { /** Windows.Win32.Foundation.RECT */ Region: Uint8Array | Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** i32 */ Weight: number; /** i32 */ @@ -24434,7 +24434,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_INFOView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24454,7 +24454,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_INFOView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -24476,7 +24476,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_ROI_INFO */ ROIInfo: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCE = 16; @@ -24508,7 +24508,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCEView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24518,7 +24518,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_WHITEBALANCEView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24530,7 +24530,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_EXPOSURE { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_ROI_INFO */ ROIInfo: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_EXPOSURE = 16; @@ -24562,7 +24562,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_EXPOSUREView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24572,7 +24572,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_EXPOSUREView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24584,7 +24584,7 @@ export interface KSCAMERA_EXTENDEDPROP_ROI_FOCUS { /** Windows.Win32.Media.KernelStreaming.KSCAMERA_EXTENDEDPROP_ROI_INFO */ ROIInfo: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofKSCAMERA_EXTENDEDPROP_ROI_FOCUS = 16; @@ -24616,7 +24616,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_FOCUSView { } // 0x08: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24626,7 +24626,7 @@ export class KSCAMERA_EXTENDEDPROP_ROI_FOCUSView { } // 0x08: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24640,7 +24640,7 @@ export interface KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER { /** u32 */ Type: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofKSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADER = 16; @@ -24678,7 +24678,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADERView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24693,7 +24693,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_ITEM_HEADERView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24707,7 +24707,7 @@ export interface KSCAMERA_PERFRAMESETTING_CAP_HEADER { /** u32 */ ItemCount: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofKSCAMERA_PERFRAMESETTING_CAP_HEADER = 16; @@ -24745,7 +24745,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_HEADERView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24760,7 +24760,7 @@ export class KSCAMERA_PERFRAMESETTING_CAP_HEADERView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24842,7 +24842,7 @@ export interface KSCAMERA_PERFRAMESETTING_ITEM_HEADER { /** u32 */ Type: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofKSCAMERA_PERFRAMESETTING_ITEM_HEADER = 16; @@ -24880,7 +24880,7 @@ export class KSCAMERA_PERFRAMESETTING_ITEM_HEADERView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24895,7 +24895,7 @@ export class KSCAMERA_PERFRAMESETTING_ITEM_HEADERView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24992,7 +24992,7 @@ export interface KSCAMERA_PERFRAMESETTING_HEADER { /** System.Guid */ Id: Uint8Array | Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u32 */ LoopCount: number; /** u32 */ @@ -25046,7 +25046,7 @@ export class KSCAMERA_PERFRAMESETTING_HEADERView { } // 0x10: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -25076,7 +25076,7 @@ export class KSCAMERA_PERFRAMESETTING_HEADERView { } // 0x10: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -25813,7 +25813,7 @@ export interface KSCAMERA_PROFILE_MEDIAINFO { /** _MaxFrameRate_e__Struct */ MaxFrameRate: Uint8Array | Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u32 */ Data0: number; /** u32 */ @@ -25869,7 +25869,7 @@ export class KSCAMERA_PROFILE_MEDIAINFOView { } // 0x10: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -25904,7 +25904,7 @@ export class KSCAMERA_PROFILE_MEDIAINFOView { } // 0x10: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -28989,7 +28989,7 @@ export interface TIMECODE { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - qw: Deno.PointerValue; + qw: bigint | number; } export const sizeofTIMECODE = 16; @@ -29021,7 +29021,7 @@ export class TIMECODEView { } // 0x08: u64 - get qw(): Deno.PointerValue { + get qw(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -29031,7 +29031,7 @@ export class TIMECODEView { } // 0x08: u64 - set qw(value: Deno.PointerValue) { + set qw(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -29041,7 +29041,7 @@ export class TIMECODEView { */ export interface TIMECODE_SAMPLE { /** i64 */ - qwTick: Deno.PointerValue; + qwTick: bigint | number; /** Windows.Win32.Media.TIMECODE */ timecode: Uint8Array | Deno.PointerValue; /** u32 */ @@ -29077,7 +29077,7 @@ export class TIMECODE_SAMPLEView { } // 0x00: i64 - get qwTick(): Deno.PointerValue { + get qwTick(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -29098,7 +29098,7 @@ export class TIMECODE_SAMPLEView { } // 0x00: i64 - set qwTick(value: Deno.PointerValue) { + set qwTick(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -30225,9 +30225,9 @@ export interface KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S { /** Windows.Win32.Foundation.SIZE */ Dimensions: Uint8Array | Deno.PointerValue; /** i64 */ - CurrentActualFrameRate: Deno.PointerValue; + CurrentActualFrameRate: bigint | number; /** i64 */ - CurrentMaxAvailableFrameRate: Deno.PointerValue; + CurrentMaxAvailableFrameRate: bigint | number; } export const sizeofKSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_S = 40; @@ -30283,12 +30283,12 @@ export class KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_SView { } // 0x18: i64 - get CurrentActualFrameRate(): Deno.PointerValue { + get CurrentActualFrameRate(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get CurrentMaxAvailableFrameRate(): Deno.PointerValue { + get CurrentMaxAvailableFrameRate(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -30313,12 +30313,12 @@ export class KSPROPERTY_VIDEOCONTROL_ACTUAL_FRAME_RATE_SView { } // 0x18: i64 - set CurrentActualFrameRate(value: Deno.PointerValue) { + set CurrentActualFrameRate(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set CurrentMaxAvailableFrameRate(value: Deno.PointerValue) { + set CurrentMaxAvailableFrameRate(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } } @@ -30413,9 +30413,9 @@ export interface KSPROPERTY_DROPPEDFRAMES_CURRENT_S { /** Windows.Win32.Media.KernelStreaming.KSIDENTIFIER */ Property: Uint8Array | Deno.PointerValue; /** i64 */ - PictureNumber: Deno.PointerValue; + PictureNumber: bigint | number; /** i64 */ - DropCount: Deno.PointerValue; + DropCount: bigint | number; /** u32 */ AverageFrameSize: number; } @@ -30454,12 +30454,12 @@ export class KSPROPERTY_DROPPEDFRAMES_CURRENT_SView { } // 0x08: i64 - get PictureNumber(): Deno.PointerValue { + get PictureNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get DropCount(): Deno.PointerValue { + get DropCount(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -30476,12 +30476,12 @@ export class KSPROPERTY_DROPPEDFRAMES_CURRENT_SView { } // 0x08: i64 - set PictureNumber(value: Deno.PointerValue) { + set PictureNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set DropCount(value: Deno.PointerValue) { + set DropCount(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -31137,7 +31137,7 @@ export class KSGOP_USERDATAView { */ export interface KS_AM_SimpleRateChange { /** i64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** i32 */ Rate: number; } @@ -31166,7 +31166,7 @@ export class KS_AM_SimpleRateChangeView { } // 0x00: i64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -31178,7 +31178,7 @@ export class KS_AM_SimpleRateChangeView { // 0x0c: pad4 // 0x00: i64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -31195,7 +31195,7 @@ export class KS_AM_SimpleRateChangeView { */ export interface KS_AM_ExactRateChange { /** i64 */ - OutputZeroTime: Deno.PointerValue; + OutputZeroTime: bigint | number; /** i32 */ Rate: number; } @@ -31224,7 +31224,7 @@ export class KS_AM_ExactRateChangeView { } // 0x00: i64 - get OutputZeroTime(): Deno.PointerValue { + get OutputZeroTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -31236,7 +31236,7 @@ export class KS_AM_ExactRateChangeView { // 0x0c: pad4 // 0x00: i64 - set OutputZeroTime(value: Deno.PointerValue) { + set OutputZeroTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -31774,7 +31774,7 @@ export interface KSAUDIOENGINE_VOLUMELEVEL { /** Windows.Win32.Media.KernelStreaming.AUDIO_CURVE_TYPE */ CurveType: AUDIO_CURVE_TYPE; /** u64 */ - CurveDuration: Deno.PointerValue; + CurveDuration: bigint | number; } export const sizeofKSAUDIOENGINE_VOLUMELEVEL = 16; @@ -31812,7 +31812,7 @@ export class KSAUDIOENGINE_VOLUMELEVELView { } // 0x08: u64 - get CurveDuration(): Deno.PointerValue { + get CurveDuration(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -31827,7 +31827,7 @@ export class KSAUDIOENGINE_VOLUMELEVELView { } // 0x08: u64 - set CurveDuration(value: Deno.PointerValue) { + set CurveDuration(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -32167,11 +32167,11 @@ export class KSAUDIOMODULE_NOTIFICATIONView { */ export interface OPTIMAL_WEIGHT_TOTALS { /** i64 */ - MinTotalNominator: Deno.PointerValue; + MinTotalNominator: bigint | number; /** i64 */ - MaxTotalNominator: Deno.PointerValue; + MaxTotalNominator: bigint | number; /** i64 */ - TotalDenominator: Deno.PointerValue; + TotalDenominator: bigint | number; } export const sizeofOPTIMAL_WEIGHT_TOTALS = 24; @@ -32199,32 +32199,32 @@ export class OPTIMAL_WEIGHT_TOTALSView { } // 0x00: i64 - get MinTotalNominator(): Deno.PointerValue { + get MinTotalNominator(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get MaxTotalNominator(): Deno.PointerValue { + get MaxTotalNominator(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get TotalDenominator(): Deno.PointerValue { + get TotalDenominator(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x00: i64 - set MinTotalNominator(value: Deno.PointerValue) { + set MinTotalNominator(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set MaxTotalNominator(value: Deno.PointerValue) { + set MaxTotalNominator(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set TotalDenominator(value: Deno.PointerValue) { + set TotalDenominator(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } diff --git a/api/Media/MediaFoundation.ts b/api/Media/MediaFoundation.ts index 79f516b..69b5450 100644 --- a/api/Media/MediaFoundation.ts +++ b/api/Media/MediaFoundation.ts @@ -3881,7 +3881,7 @@ export interface VIDEOINFOHEADER { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Graphics.Gdi.BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; } @@ -3939,7 +3939,7 @@ export class VIDEOINFOHEADERView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -3970,7 +3970,7 @@ export class VIDEOINFOHEADERView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -4068,9 +4068,9 @@ export class MPEG1VIDEOINFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4096,22 +4096,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4184,7 +4184,7 @@ export interface VIDEOINFOHEADER2 { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** u32 */ dwInterlaceFlags: number; /** u32 */ @@ -4267,7 +4267,7 @@ export class VIDEOINFOHEADER2View { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -4331,7 +4331,7 @@ export class VIDEOINFOHEADER2View { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -4516,7 +4516,7 @@ export interface D3DCONTENTPROTECTIONCAPS { /** u32 */ BlockAlignmentSize: number; /** u64 */ - ProtectedMemorySize: Deno.PointerValue; + ProtectedMemorySize: bigint | number; } export const sizeofD3DCONTENTPROTECTIONCAPS = 32; @@ -4572,7 +4572,7 @@ export class D3DCONTENTPROTECTIONCAPSView { } // 0x18: u64 - get ProtectedMemorySize(): Deno.PointerValue { + get ProtectedMemorySize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4599,7 +4599,7 @@ export class D3DCONTENTPROTECTIONCAPSView { } // 0x18: u64 - set ProtectedMemorySize(value: Deno.PointerValue) { + set ProtectedMemorySize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4613,9 +4613,9 @@ export interface DXVA_VideoSample2 { /** u32 */ Reserved: number; /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** u32 */ SampleFormat: number; /** u32 */ @@ -4679,12 +4679,12 @@ export class DXVA_VideoSample2View { } // 0x08: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -4733,12 +4733,12 @@ export class DXVA_VideoSample2View { } // 0x08: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -4778,9 +4778,9 @@ export class DXVA_VideoSample2View { */ export interface DXVA_VideoSample32 { /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** u32 */ SampleFormat: number; /** u32 */ @@ -4831,12 +4831,12 @@ export class DXVA_VideoSample32View { } // 0x00: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -4876,12 +4876,12 @@ export class DXVA_VideoSample32View { } // 0x00: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -5015,7 +5015,7 @@ export interface DXVA_DeinterlaceBltEx32 { /** Windows.Win32.Foundation.RECT */ rcTarget: Uint8Array | Deno.PointerValue; /** i64 */ - rtTarget: Deno.PointerValue; + rtTarget: bigint | number; /** u32 */ NumSourceSurfaces: number; /** f32 */ @@ -5085,7 +5085,7 @@ export class DXVA_DeinterlaceBltEx32View { } // 0x18: i64 - get rtTarget(): Deno.PointerValue { + get rtTarget(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -5133,7 +5133,7 @@ export class DXVA_DeinterlaceBltEx32View { } // 0x18: i64 - set rtTarget(value: Deno.PointerValue) { + set rtTarget(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -7164,9 +7164,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE { /** Windows.Win32.Media.MediaFoundation.D3D12_VIDEO_DECODER_HEAP_DESC */ VideoDecoderHeapDesc: Uint8Array | Deno.PointerValue; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE = 24; @@ -7200,12 +7200,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZEView { } // 0x08: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7215,12 +7215,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZEView { } // 0x08: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -7238,9 +7238,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE { /** ptr */ pInputStreamDescs: Deno.PointerValue | Uint8Array; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE = 48; @@ -7302,12 +7302,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZEView { } // 0x20: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -7336,12 +7336,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZEView { } // 0x20: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -7351,9 +7351,9 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZEView { */ export interface D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICS { /** u64 */ - Status: Deno.PointerValue; + Status: bigint | number; /** u64 */ - NumMacroblocksAffected: Deno.PointerValue; + NumMacroblocksAffected: bigint | number; /** Windows.Win32.Graphics.Dxgi.Common.DXGI_RATIONAL */ FrameRate: Uint8Array | Deno.PointerValue; /** u32 */ @@ -7388,12 +7388,12 @@ export class D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICSView { } // 0x00: u64 - get Status(): Deno.PointerValue { + get Status(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get NumMacroblocksAffected(): Deno.PointerValue { + get NumMacroblocksAffected(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7411,12 +7411,12 @@ export class D3D12_QUERY_DATA_VIDEO_DECODE_STATISTICSView { // 0x1c: pad4 // 0x00: u64 - set Status(value: Deno.PointerValue) { + set Status(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set NumMacroblocksAffected(value: Deno.PointerValue) { + set NumMacroblocksAffected(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -7597,9 +7597,9 @@ export interface D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM { /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Size: Deno.PointerValue; + Size: bigint | number; } export const sizeofD3D12_VIDEO_DECODE_COMPRESSED_BITSTREAM = 24; @@ -7633,12 +7633,12 @@ export class D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAMView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7648,12 +7648,12 @@ export class D3D12_VIDEO_DECODE_COMPRESSED_BITSTREAMView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -9052,7 +9052,7 @@ export class D3D12_VIDEO_PROCESS_OUTPUT_STREAM_ARGUMENTSView { */ export interface D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAM { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; } @@ -9080,7 +9080,7 @@ export class D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAMView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9091,7 +9091,7 @@ export class D3D12_VIDEO_DECODE_OUTPUT_HISTOGRAMView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9656,13 +9656,13 @@ export interface D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE { /** Windows.Win32.Foundation.BOOL */ Protected: boolean; /** u64 */ - MotionVectorHeapMemoryPoolL0Size: Deno.PointerValue; + MotionVectorHeapMemoryPoolL0Size: bigint | number; /** u64 */ - MotionVectorHeapMemoryPoolL1Size: Deno.PointerValue; + MotionVectorHeapMemoryPoolL1Size: bigint | number; /** u64 */ - MotionEstimatorMemoryPoolL0Size: Deno.PointerValue; + MotionEstimatorMemoryPoolL0Size: bigint | number; /** u64 */ - MotionEstimatorMemoryPoolL1Size: Deno.PointerValue; + MotionEstimatorMemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZE = 64; @@ -9738,22 +9738,22 @@ export class D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZEView { // 0x1c: pad4 // 0x20: u64 - get MotionVectorHeapMemoryPoolL0Size(): Deno.PointerValue { + get MotionVectorHeapMemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get MotionVectorHeapMemoryPoolL1Size(): Deno.PointerValue { + get MotionVectorHeapMemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get MotionEstimatorMemoryPoolL0Size(): Deno.PointerValue { + get MotionEstimatorMemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get MotionEstimatorMemoryPoolL1Size(): Deno.PointerValue { + get MotionEstimatorMemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -9790,22 +9790,22 @@ export class D3D12_FEATURE_DATA_VIDEO_MOTION_ESTIMATOR_SIZEView { // 0x1c: pad4 // 0x20: u64 - set MotionVectorHeapMemoryPoolL0Size(value: Deno.PointerValue) { + set MotionVectorHeapMemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set MotionVectorHeapMemoryPoolL1Size(value: Deno.PointerValue) { + set MotionVectorHeapMemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set MotionEstimatorMemoryPoolL0Size(value: Deno.PointerValue) { + set MotionEstimatorMemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set MotionEstimatorMemoryPoolL1Size(value: Deno.PointerValue) { + set MotionEstimatorMemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -10007,7 +10007,7 @@ export class D3D12_VIDEO_MOTION_VECTOR_HEAP_DESCView { */ export interface D3D12_RESOURCE_COORDINATE { /** u64 */ - X: Deno.PointerValue; + X: bigint | number; /** u32 */ Y: number; /** u32 */ @@ -10044,7 +10044,7 @@ export class D3D12_RESOURCE_COORDINATEView { } // 0x00: u64 - get X(): Deno.PointerValue { + get X(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10066,7 +10066,7 @@ export class D3D12_RESOURCE_COORDINATEView { // 0x14: pad4 // 0x00: u64 - set X(value: Deno.PointerValue) { + set X(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10552,9 +10552,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 { /** Windows.Win32.Foundation.BOOL */ Protected: boolean; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1 = 32; @@ -10598,12 +10598,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1View { // 0x0c: pad4 // 0x10: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -10620,12 +10620,12 @@ export class D3D12_FEATURE_DATA_VIDEO_DECODER_HEAP_SIZE1View { // 0x0c: pad4 // 0x10: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -10645,9 +10645,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 { /** Windows.Win32.Foundation.BOOL */ Protected: boolean; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1 = 56; @@ -10719,12 +10719,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1View { // 0x24: pad4 // 0x28: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -10760,12 +10760,12 @@ export class D3D12_FEATURE_DATA_VIDEO_PROCESSOR_SIZE1View { // 0x24: pad4 // 0x28: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -11224,11 +11224,11 @@ export interface D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT { /** ptr */ pInputData: Deno.PointerValue | Uint8Array; /** usize */ - InputDataSizeInBytes: Deno.PointerValue; + InputDataSizeInBytes: bigint | number; /** ptr */ pOutputData: Deno.PointerValue | Uint8Array; /** usize */ - OutputDataSizeInBytes: Deno.PointerValue; + OutputDataSizeInBytes: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORT = 48; @@ -11282,7 +11282,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x18: usize - get InputDataSizeInBytes(): Deno.PointerValue { + get InputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -11293,7 +11293,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x28: usize - get OutputDataSizeInBytes(): Deno.PointerValue { + get OutputDataSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -11315,7 +11315,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x18: usize - set InputDataSizeInBytes(value: Deno.PointerValue) { + set InputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -11325,7 +11325,7 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SUPPORTView { } // 0x28: usize - set OutputDataSizeInBytes(value: Deno.PointerValue) { + set OutputDataSizeInBytes(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -11341,11 +11341,11 @@ export interface D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE { /** ptr */ pCreationParameters: Deno.PointerValue | Uint8Array; /** usize */ - CreationParametersSizeInBytes: Deno.PointerValue; + CreationParametersSizeInBytes: bigint | number; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZE = 48; @@ -11399,17 +11399,17 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZEView { } // 0x18: usize - get CreationParametersSizeInBytes(): Deno.PointerValue { + get CreationParametersSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -11431,17 +11431,17 @@ export class D3D12_FEATURE_DATA_VIDEO_EXTENSION_COMMAND_SIZEView { } // 0x18: usize - set CreationParametersSizeInBytes(value: Deno.PointerValue) { + set CreationParametersSizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -11588,13 +11588,13 @@ export interface D3D12_VIDEO_ENCODER_RATE_CONTROL_CBR { /** u32 */ MaxQP: number; /** u64 */ - MaxFrameBitSize: Deno.PointerValue; + MaxFrameBitSize: bigint | number; /** u64 */ - TargetBitRate: Deno.PointerValue; + TargetBitRate: bigint | number; /** u64 */ - VBVCapacity: Deno.PointerValue; + VBVCapacity: bigint | number; /** u64 */ - InitialVBVFullness: Deno.PointerValue; + InitialVBVFullness: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_RATE_CONTROL_CBR = 48; @@ -11648,22 +11648,22 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_CBRView { // 0x0c: pad4 // 0x10: u64 - get MaxFrameBitSize(): Deno.PointerValue { + get MaxFrameBitSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetBitRate(): Deno.PointerValue { + get TargetBitRate(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get VBVCapacity(): Deno.PointerValue { + get VBVCapacity(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get InitialVBVFullness(): Deno.PointerValue { + get InitialVBVFullness(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -11685,22 +11685,22 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_CBRView { // 0x0c: pad4 // 0x10: u64 - set MaxFrameBitSize(value: Deno.PointerValue) { + set MaxFrameBitSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetBitRate(value: Deno.PointerValue) { + set TargetBitRate(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set VBVCapacity(value: Deno.PointerValue) { + set VBVCapacity(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set InitialVBVFullness(value: Deno.PointerValue) { + set InitialVBVFullness(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -11716,15 +11716,15 @@ export interface D3D12_VIDEO_ENCODER_RATE_CONTROL_VBR { /** u32 */ MaxQP: number; /** u64 */ - MaxFrameBitSize: Deno.PointerValue; + MaxFrameBitSize: bigint | number; /** u64 */ - TargetAvgBitRate: Deno.PointerValue; + TargetAvgBitRate: bigint | number; /** u64 */ - PeakBitRate: Deno.PointerValue; + PeakBitRate: bigint | number; /** u64 */ - VBVCapacity: Deno.PointerValue; + VBVCapacity: bigint | number; /** u64 */ - InitialVBVFullness: Deno.PointerValue; + InitialVBVFullness: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_RATE_CONTROL_VBR = 56; @@ -11780,27 +11780,27 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_VBRView { // 0x0c: pad4 // 0x10: u64 - get MaxFrameBitSize(): Deno.PointerValue { + get MaxFrameBitSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetAvgBitRate(): Deno.PointerValue { + get TargetAvgBitRate(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get PeakBitRate(): Deno.PointerValue { + get PeakBitRate(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get VBVCapacity(): Deno.PointerValue { + get VBVCapacity(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get InitialVBVFullness(): Deno.PointerValue { + get InitialVBVFullness(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -11822,27 +11822,27 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_VBRView { // 0x0c: pad4 // 0x10: u64 - set MaxFrameBitSize(value: Deno.PointerValue) { + set MaxFrameBitSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetAvgBitRate(value: Deno.PointerValue) { + set TargetAvgBitRate(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set PeakBitRate(value: Deno.PointerValue) { + set PeakBitRate(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set VBVCapacity(value: Deno.PointerValue) { + set VBVCapacity(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set InitialVBVFullness(value: Deno.PointerValue) { + set InitialVBVFullness(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -11858,11 +11858,11 @@ export interface D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBR { /** u32 */ MaxQP: number; /** u64 */ - MaxFrameBitSize: Deno.PointerValue; + MaxFrameBitSize: bigint | number; /** u64 */ - TargetAvgBitRate: Deno.PointerValue; + TargetAvgBitRate: bigint | number; /** u64 */ - PeakBitRate: Deno.PointerValue; + PeakBitRate: bigint | number; /** u32 */ ConstantQualityTarget: number; } @@ -11919,17 +11919,17 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBRView { // 0x0c: pad4 // 0x10: u64 - get MaxFrameBitSize(): Deno.PointerValue { + get MaxFrameBitSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TargetAvgBitRate(): Deno.PointerValue { + get TargetAvgBitRate(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get PeakBitRate(): Deno.PointerValue { + get PeakBitRate(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -11958,17 +11958,17 @@ export class D3D12_VIDEO_ENCODER_RATE_CONTROL_QVBRView { // 0x0c: pad4 // 0x10: u64 - set MaxFrameBitSize(value: Deno.PointerValue) { + set MaxFrameBitSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TargetAvgBitRate(value: Deno.PointerValue) { + set TargetAvgBitRate(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set PeakBitRate(value: Deno.PointerValue) { + set PeakBitRate(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -13358,9 +13358,9 @@ export interface D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE { /** Windows.Win32.Foundation.BOOL */ IsSupported: boolean; /** u64 */ - MemoryPoolL0Size: Deno.PointerValue; + MemoryPoolL0Size: bigint | number; /** u64 */ - MemoryPoolL1Size: Deno.PointerValue; + MemoryPoolL1Size: bigint | number; } export const sizeofD3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZE = 32; @@ -13404,12 +13404,12 @@ export class D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZEView { // 0x0c: pad4 // 0x10: u64 - get MemoryPoolL0Size(): Deno.PointerValue { + get MemoryPoolL0Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MemoryPoolL1Size(): Deno.PointerValue { + get MemoryPoolL1Size(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -13426,12 +13426,12 @@ export class D3D12_FEATURE_DATA_VIDEO_ENCODER_HEAP_SIZEView { // 0x0c: pad4 // 0x10: u64 - set MemoryPoolL0Size(value: Deno.PointerValue) { + set MemoryPoolL0Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MemoryPoolL1Size(value: Deno.PointerValue) { + set MemoryPoolL1Size(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -16935,7 +16935,7 @@ export interface D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM { /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; /** u64 */ - FrameStartOffset: Deno.PointerValue; + FrameStartOffset: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAM = 16; @@ -16967,7 +16967,7 @@ export class D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAMView { } // 0x08: u64 - get FrameStartOffset(): Deno.PointerValue { + get FrameStartOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -16977,7 +16977,7 @@ export class D3D12_VIDEO_ENCODER_COMPRESSED_BITSTREAMView { } // 0x08: u64 - set FrameStartOffset(value: Deno.PointerValue) { + set FrameStartOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -17046,11 +17046,11 @@ export class D3D12_VIDEO_ENCODER_RECONSTRUCTED_PICTUREView { */ export interface D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA { /** u64 */ - bSize: Deno.PointerValue; + bSize: bigint | number; /** u64 */ - bStartOffset: Deno.PointerValue; + bStartOffset: bigint | number; /** u64 */ - bHeaderSize: Deno.PointerValue; + bHeaderSize: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA = 24; @@ -17078,32 +17078,32 @@ export class D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATAView { } // 0x00: u64 - get bSize(): Deno.PointerValue { + get bSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get bStartOffset(): Deno.PointerValue { + get bStartOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get bHeaderSize(): Deno.PointerValue { + get bHeaderSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set bSize(value: Deno.PointerValue) { + set bSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set bStartOffset(value: Deno.PointerValue) { + set bStartOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set bHeaderSize(value: Deno.PointerValue) { + set bHeaderSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -17113,17 +17113,17 @@ export class D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATAView { */ export interface D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { /** u64 */ - AverageQP: Deno.PointerValue; + AverageQP: bigint | number; /** u64 */ - IntraCodingUnitsCount: Deno.PointerValue; + IntraCodingUnitsCount: bigint | number; /** u64 */ - InterCodingUnitsCount: Deno.PointerValue; + InterCodingUnitsCount: bigint | number; /** u64 */ - SkipCodingUnitsCount: Deno.PointerValue; + SkipCodingUnitsCount: bigint | number; /** u64 */ - AverageMotionEstimationXDirection: Deno.PointerValue; + AverageMotionEstimationXDirection: bigint | number; /** u64 */ - AverageMotionEstimationYDirection: Deno.PointerValue; + AverageMotionEstimationYDirection: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS = 48; @@ -17157,62 +17157,62 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICSView { } // 0x00: u64 - get AverageQP(): Deno.PointerValue { + get AverageQP(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IntraCodingUnitsCount(): Deno.PointerValue { + get IntraCodingUnitsCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get InterCodingUnitsCount(): Deno.PointerValue { + get InterCodingUnitsCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get SkipCodingUnitsCount(): Deno.PointerValue { + get SkipCodingUnitsCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get AverageMotionEstimationXDirection(): Deno.PointerValue { + get AverageMotionEstimationXDirection(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get AverageMotionEstimationYDirection(): Deno.PointerValue { + get AverageMotionEstimationYDirection(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set AverageQP(value: Deno.PointerValue) { + set AverageQP(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IntraCodingUnitsCount(value: Deno.PointerValue) { + set IntraCodingUnitsCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set InterCodingUnitsCount(value: Deno.PointerValue) { + set InterCodingUnitsCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set SkipCodingUnitsCount(value: Deno.PointerValue) { + set SkipCodingUnitsCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set AverageMotionEstimationXDirection(value: Deno.PointerValue) { + set AverageMotionEstimationXDirection(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set AverageMotionEstimationYDirection(value: Deno.PointerValue) { + set AverageMotionEstimationYDirection(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -17222,13 +17222,13 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICSView { */ export interface D3D12_VIDEO_ENCODER_OUTPUT_METADATA { /** u64 */ - EncodeErrorFlags: Deno.PointerValue; + EncodeErrorFlags: bigint | number; /** Windows.Win32.Media.MediaFoundation.D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS */ EncodeStats: Uint8Array | Deno.PointerValue; /** u64 */ - EncodedBitstreamWrittenBytesCount: Deno.PointerValue; + EncodedBitstreamWrittenBytesCount: bigint | number; /** u64 */ - WrittenSubregionsCount: Deno.PointerValue; + WrittenSubregionsCount: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_OUTPUT_METADATA = 32; @@ -17258,7 +17258,7 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATAView { } // 0x00: u64 - get EncodeErrorFlags(): Deno.PointerValue { + get EncodeErrorFlags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -17269,17 +17269,17 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATAView { } // 0x10: u64 - get EncodedBitstreamWrittenBytesCount(): Deno.PointerValue { + get EncodedBitstreamWrittenBytesCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get WrittenSubregionsCount(): Deno.PointerValue { + get WrittenSubregionsCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set EncodeErrorFlags(value: Deno.PointerValue) { + set EncodeErrorFlags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17289,12 +17289,12 @@ export class D3D12_VIDEO_ENCODER_OUTPUT_METADATAView { } // 0x10: u64 - set EncodedBitstreamWrittenBytesCount(value: Deno.PointerValue) { + set EncodedBitstreamWrittenBytesCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set WrittenSubregionsCount(value: Deno.PointerValue) { + set WrittenSubregionsCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -17306,7 +17306,7 @@ export interface D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER { /** Windows.Win32.Graphics.Direct3D12.ID3D12Resource */ pBuffer: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofD3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFER = 16; @@ -17338,7 +17338,7 @@ export class D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFERView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17348,7 +17348,7 @@ export class D3D12_VIDEO_ENCODER_ENCODE_OPERATION_METADATA_BUFFERView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -17576,7 +17576,7 @@ export class D3D12_VIDEO_ENCODER_ENCODEFRAME_OUTPUT_ARGUMENTSView { */ export interface AecQualityMetrics_Struct { /** i64 */ - i64Timestamp: Deno.PointerValue; + i64Timestamp: bigint | number; /** u8 */ ConvergenceFlag: number; /** u8 */ @@ -17672,7 +17672,7 @@ export class AecQualityMetrics_StructView { } // 0x00: i64 - get i64Timestamp(): Deno.PointerValue { + get i64Timestamp(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -17767,7 +17767,7 @@ export class AecQualityMetrics_StructView { } // 0x00: i64 - set i64Timestamp(value: Deno.PointerValue) { + set i64Timestamp(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -17960,15 +17960,15 @@ export class TOC_DESCRIPTORView { */ export interface TOC_ENTRY_DESCRIPTOR { /** u64 */ - qwStartTime: Deno.PointerValue; + qwStartTime: bigint | number; /** u64 */ - qwEndTime: Deno.PointerValue; + qwEndTime: bigint | number; /** u64 */ - qwStartPacketOffset: Deno.PointerValue; + qwStartPacketOffset: bigint | number; /** u64 */ - qwEndPacketOffset: Deno.PointerValue; + qwEndPacketOffset: bigint | number; /** u64 */ - qwRepresentativeFrameTime: Deno.PointerValue; + qwRepresentativeFrameTime: bigint | number; } export const sizeofTOC_ENTRY_DESCRIPTOR = 40; @@ -18000,52 +18000,52 @@ export class TOC_ENTRY_DESCRIPTORView { } // 0x00: u64 - get qwStartTime(): Deno.PointerValue { + get qwStartTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwEndTime(): Deno.PointerValue { + get qwEndTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get qwStartPacketOffset(): Deno.PointerValue { + get qwStartPacketOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get qwEndPacketOffset(): Deno.PointerValue { + get qwEndPacketOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get qwRepresentativeFrameTime(): Deno.PointerValue { + get qwRepresentativeFrameTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: u64 - set qwStartTime(value: Deno.PointerValue) { + set qwStartTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwEndTime(value: Deno.PointerValue) { + set qwEndTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set qwStartPacketOffset(value: Deno.PointerValue) { + set qwStartPacketOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set qwEndPacketOffset(value: Deno.PointerValue) { + set qwEndPacketOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set qwRepresentativeFrameTime(value: Deno.PointerValue) { + set qwRepresentativeFrameTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -19526,9 +19526,9 @@ export class DXVA_VideoDescView { */ export interface DXVA_VideoSample { /** i64 */ - rtStart: Deno.PointerValue; + rtStart: bigint | number; /** i64 */ - rtEnd: Deno.PointerValue; + rtEnd: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVA_SampleFormat */ SampleFormat: DXVA_SampleFormat; /** ptr */ @@ -19563,12 +19563,12 @@ export class DXVA_VideoSampleView { } // 0x00: i64 - get rtStart(): Deno.PointerValue { + get rtStart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get rtEnd(): Deno.PointerValue { + get rtEnd(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -19586,12 +19586,12 @@ export class DXVA_VideoSampleView { } // 0x00: i64 - set rtStart(value: Deno.PointerValue) { + set rtStart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set rtEnd(value: Deno.PointerValue) { + set rtEnd(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -19754,7 +19754,7 @@ export interface DXVA_DeinterlaceBlt { /** u32 */ Reserved: number; /** i64 */ - rtTarget: Deno.PointerValue; + rtTarget: bigint | number; /** Windows.Win32.Foundation.RECT */ DstRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -19812,7 +19812,7 @@ export class DXVA_DeinterlaceBltView { } // 0x08: i64 - get rtTarget(): Deno.PointerValue { + get rtTarget(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -19855,7 +19855,7 @@ export class DXVA_DeinterlaceBltView { } // 0x08: i64 - set rtTarget(value: Deno.PointerValue) { + set rtTarget(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -19896,7 +19896,7 @@ export interface DXVA_DeinterlaceBltEx { /** Windows.Win32.Foundation.RECT */ rcTarget: Uint8Array | Deno.PointerValue; /** i64 */ - rtTarget: Deno.PointerValue; + rtTarget: bigint | number; /** u32 */ NumSourceSurfaces: number; /** f32 */ @@ -19966,7 +19966,7 @@ export class DXVA_DeinterlaceBltExView { } // 0x18: i64 - get rtTarget(): Deno.PointerValue { + get rtTarget(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -20014,7 +20014,7 @@ export class DXVA_DeinterlaceBltExView { } // 0x18: i64 - set rtTarget(value: Deno.PointerValue) { + set rtTarget(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -23353,9 +23353,9 @@ export class DXVAHDSW_CALLBACKSView { */ export interface DXVAHDETW_CREATEVIDEOPROCESSOR { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pD3D9Ex: Deno.PointerValue; + pD3D9Ex: bigint | number; /** System.Guid */ VPGuid: Uint8Array | Deno.PointerValue; } @@ -23385,12 +23385,12 @@ export class DXVAHDETW_CREATEVIDEOPROCESSORView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get pD3D9Ex(): Deno.PointerValue { + get pD3D9Ex(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23401,12 +23401,12 @@ export class DXVAHDETW_CREATEVIDEOPROCESSORView { } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set pD3D9Ex(value: Deno.PointerValue) { + set pD3D9Ex(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -23421,7 +23421,7 @@ export class DXVAHDETW_CREATEVIDEOPROCESSORView { */ export interface DXVAHDETW_VIDEOPROCESSBLTSTATE { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVAHD_BLT_STATE */ State: DXVAHD_BLT_STATE; /** u32 */ @@ -23458,7 +23458,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTSTATEView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -23480,7 +23480,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTSTATEView { // 0x14: pad4 // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -23507,7 +23507,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTSTATEView { */ export interface DXVAHDETW_VIDEOPROCESSSTREAMSTATE { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u32 */ StreamNumber: number; /** Windows.Win32.Media.MediaFoundation.DXVAHD_STREAM_STATE */ @@ -23547,7 +23547,7 @@ export class DXVAHDETW_VIDEOPROCESSSTREAMSTATEView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -23572,7 +23572,7 @@ export class DXVAHDETW_VIDEOPROCESSSTREAMSTATEView { } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -23602,9 +23602,9 @@ export class DXVAHDETW_VIDEOPROCESSSTREAMSTATEView { */ export interface DXVAHDETW_VIDEOPROCESSBLTHD { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pOutputSurface: Deno.PointerValue; + pOutputSurface: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Direct3D9.D3DFORMAT */ @@ -23655,12 +23655,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHDView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get pOutputSurface(): Deno.PointerValue { + get pOutputSurface(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23698,12 +23698,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHDView { // 0x2c: pad4 // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set pOutputSurface(value: Deno.PointerValue) { + set pOutputSurface(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -23745,9 +23745,9 @@ export class DXVAHDETW_VIDEOPROCESSBLTHDView { */ export interface DXVAHDETW_VIDEOPROCESSBLTHD_STREAM { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; /** u64 */ - pInputSurface: Deno.PointerValue; + pInputSurface: bigint | number; /** Windows.Win32.Foundation.RECT */ SourceRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.RECT */ @@ -23813,12 +23813,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHD_STREAMView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get pInputSurface(): Deno.PointerValue { + get pInputSurface(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23875,12 +23875,12 @@ export class DXVAHDETW_VIDEOPROCESSBLTHD_STREAMView { } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set pInputSurface(value: Deno.PointerValue) { + set pInputSurface(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -23940,7 +23940,7 @@ export class DXVAHDETW_VIDEOPROCESSBLTHD_STREAMView { */ export interface DXVAHDETW_DESTROYVIDEOPROCESSOR { /** u64 */ - pObject: Deno.PointerValue; + pObject: bigint | number; } export const sizeofDXVAHDETW_DESTROYVIDEOPROCESSOR = 8; @@ -23964,12 +23964,12 @@ export class DXVAHDETW_DESTROYVIDEOPROCESSORView { } // 0x00: u64 - get pObject(): Deno.PointerValue { + get pObject(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set pObject(value: Deno.PointerValue) { + set pObject(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -24589,9 +24589,9 @@ export class DXVA2_AYUVSample16View { */ export interface DXVA2_VideoSample { /** i64 */ - Start: Deno.PointerValue; + Start: bigint | number; /** i64 */ - End: Deno.PointerValue; + End: bigint | number; /** Windows.Win32.Media.MediaFoundation.DXVA2_ExtendedFormat */ SampleFormat: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Direct3D9.IDirect3DSurface9 */ @@ -24646,12 +24646,12 @@ export class DXVA2_VideoSampleView { } // 0x00: i64 - get Start(): Deno.PointerValue { + get Start(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -24699,12 +24699,12 @@ export class DXVA2_VideoSampleView { // 0x44: pad4 // 0x00: i64 - set Start(value: Deno.PointerValue) { + set Start(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -24991,7 +24991,7 @@ export class DXVA2_FilterValuesView { */ export interface DXVA2_VideoProcessBltParams { /** i64 */ - TargetFrame: Deno.PointerValue; + TargetFrame: bigint | number; /** Windows.Win32.Foundation.RECT */ TargetRect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.SIZE */ @@ -25065,7 +25065,7 @@ export class DXVA2_VideoProcessBltParamsView { } // 0x00: i64 - get TargetFrame(): Deno.PointerValue { + get TargetFrame(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -25144,7 +25144,7 @@ export class DXVA2_VideoProcessBltParamsView { // 0x64: pad4 // 0x00: i64 - set TargetFrame(value: Deno.PointerValue) { + set TargetFrame(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -25669,9 +25669,9 @@ export class DXVA2_DecodeBufferDescView { */ export interface DXVA2_AES_CTR_IV { /** u64 */ - IV: Deno.PointerValue; + IV: bigint | number; /** u64 */ - Count: Deno.PointerValue; + Count: bigint | number; } export const sizeofDXVA2_AES_CTR_IV = 16; @@ -25697,22 +25697,22 @@ export class DXVA2_AES_CTR_IVView { } // 0x00: u64 - get IV(): Deno.PointerValue { + get IV(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Count(): Deno.PointerValue { + get Count(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set IV(value: Deno.PointerValue) { + set IV(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Count(value: Deno.PointerValue) { + set Count(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -26934,7 +26934,7 @@ export interface OPM_OUTPUT_ID_DATA { /** u32 */ ulStatusFlags: number; /** u64 */ - OutputId: Deno.PointerValue; + OutputId: bigint | number; } export const sizeofOPM_OUTPUT_ID_DATA = 24; @@ -26976,7 +26976,7 @@ export class OPM_OUTPUT_ID_DATAView { // 0x0c: pad4 // 0x10: u64 - get OutputId(): Deno.PointerValue { + get OutputId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -26993,7 +26993,7 @@ export class OPM_OUTPUT_ID_DATAView { // 0x0c: pad4 // 0x10: u64 - set OutputId(value: Deno.PointerValue) { + set OutputId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -27785,7 +27785,7 @@ export interface MFVideoInfo { /** Windows.Win32.Media.MediaFoundation.MFVideoArea */ PanScanAperture: Uint8Array | Deno.PointerValue; /** u64 */ - VideoFlags: Deno.PointerValue; + VideoFlags: bigint | number; } export const sizeofMFVideoInfo = 88; @@ -27915,7 +27915,7 @@ export class MFVideoInfoView { } // 0x50: u64 - get VideoFlags(): Deno.PointerValue { + get VideoFlags(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -27992,7 +27992,7 @@ export class MFVideoInfoView { } // 0x50: u64 - set VideoFlags(value: Deno.PointerValue) { + set VideoFlags(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -28297,9 +28297,9 @@ export class MFVideoSurfaceInfoView { */ export interface MFVideoCompressedInfo { /** i64 */ - AvgBitrate: Deno.PointerValue; + AvgBitrate: bigint | number; /** i64 */ - AvgBitErrorRate: Deno.PointerValue; + AvgBitErrorRate: bigint | number; /** u32 */ MaxKeyFrameSpacing: number; } @@ -28330,12 +28330,12 @@ export class MFVideoCompressedInfoView { } // 0x00: i64 - get AvgBitrate(): Deno.PointerValue { + get AvgBitrate(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get AvgBitErrorRate(): Deno.PointerValue { + get AvgBitErrorRate(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -28347,12 +28347,12 @@ export class MFVideoCompressedInfoView { // 0x14: pad4 // 0x00: i64 - set AvgBitrate(value: Deno.PointerValue) { + set AvgBitrate(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set AvgBitErrorRate(value: Deno.PointerValue) { + set AvgBitErrorRate(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -28473,7 +28473,7 @@ export class MFVIDEOFORMATView { */ export interface MFT_INPUT_STREAM_INFO { /** i64 */ - hnsMaxLatency: Deno.PointerValue; + hnsMaxLatency: bigint | number; /** u32 */ dwFlags: number; /** u32 */ @@ -28513,7 +28513,7 @@ export class MFT_INPUT_STREAM_INFOView { } // 0x00: i64 - get hnsMaxLatency(): Deno.PointerValue { + get hnsMaxLatency(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -28538,7 +28538,7 @@ export class MFT_INPUT_STREAM_INFOView { } // 0x00: i64 - set hnsMaxLatency(value: Deno.PointerValue) { + set hnsMaxLatency(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -28898,13 +28898,13 @@ export class MFT_STREAM_STATE_PARAMView { */ export interface MFCLOCK_PROPERTIES { /** u64 */ - qwCorrelationRate: Deno.PointerValue; + qwCorrelationRate: bigint | number; /** System.Guid */ guidClockId: Uint8Array | Deno.PointerValue; /** u32 */ dwClockFlags: number; /** u64 */ - qwClockFrequency: Deno.PointerValue; + qwClockFrequency: bigint | number; /** u32 */ dwClockTolerance: number; /** u32 */ @@ -28943,7 +28943,7 @@ export class MFCLOCK_PROPERTIESView { } // 0x00: u64 - get qwCorrelationRate(): Deno.PointerValue { + get qwCorrelationRate(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -28961,7 +28961,7 @@ export class MFCLOCK_PROPERTIESView { // 0x14: pad4 // 0x18: u64 - get qwClockFrequency(): Deno.PointerValue { + get qwClockFrequency(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -28976,7 +28976,7 @@ export class MFCLOCK_PROPERTIESView { } // 0x00: u64 - set qwCorrelationRate(value: Deno.PointerValue) { + set qwCorrelationRate(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -28993,7 +28993,7 @@ export class MFCLOCK_PROPERTIESView { // 0x14: pad4 // 0x18: u64 - set qwClockFrequency(value: Deno.PointerValue) { + set qwClockFrequency(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -29300,7 +29300,7 @@ export class ASF_FLAT_SYNCHRONISED_LYRICSView { */ export interface MFTOPONODE_ATTRIBUTE_UPDATE { /** u64 */ - NodeId: Deno.PointerValue; + NodeId: bigint | number; /** System.Guid */ guidAttributeKey: Uint8Array | Deno.PointerValue; /** Windows.Win32.Media.MediaFoundation.MF_ATTRIBUTE_TYPE */ @@ -29337,7 +29337,7 @@ export class MFTOPONODE_ATTRIBUTE_UPDATEView { } // 0x00: u64 - get NodeId(): Deno.PointerValue { + get NodeId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -29361,7 +29361,7 @@ export class MFTOPONODE_ATTRIBUTE_UPDATEView { } // 0x00: u64 - set NodeId(value: Deno.PointerValue) { + set NodeId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -29441,19 +29441,19 @@ export class MF_LEAKY_BUCKET_PAIRView { */ export interface MFBYTESTREAM_BUFFERING_PARAMS { /** u64 */ - cbTotalFileSize: Deno.PointerValue; + cbTotalFileSize: bigint | number; /** u64 */ - cbPlayableDataSize: Deno.PointerValue; + cbPlayableDataSize: bigint | number; /** ptr */ prgBuckets: Deno.PointerValue | Uint8Array; /** u32 */ cBuckets: number; /** u64 */ - qwNetBufferingTime: Deno.PointerValue; + qwNetBufferingTime: bigint | number; /** u64 */ - qwExtraBufferingTimeDuringSeek: Deno.PointerValue; + qwExtraBufferingTimeDuringSeek: bigint | number; /** u64 */ - qwPlayDuration: Deno.PointerValue; + qwPlayDuration: bigint | number; /** f32 */ dRate: number; } @@ -29495,12 +29495,12 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { } // 0x00: u64 - get cbTotalFileSize(): Deno.PointerValue { + get cbTotalFileSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get cbPlayableDataSize(): Deno.PointerValue { + get cbPlayableDataSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -29518,17 +29518,17 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { // 0x1c: pad4 // 0x20: u64 - get qwNetBufferingTime(): Deno.PointerValue { + get qwNetBufferingTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get qwExtraBufferingTimeDuringSeek(): Deno.PointerValue { + get qwExtraBufferingTimeDuringSeek(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get qwPlayDuration(): Deno.PointerValue { + get qwPlayDuration(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -29540,12 +29540,12 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { // 0x3c: pad4 // 0x00: u64 - set cbTotalFileSize(value: Deno.PointerValue) { + set cbTotalFileSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set cbPlayableDataSize(value: Deno.PointerValue) { + set cbPlayableDataSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -29562,17 +29562,17 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { // 0x1c: pad4 // 0x20: u64 - set qwNetBufferingTime(value: Deno.PointerValue) { + set qwNetBufferingTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set qwExtraBufferingTimeDuringSeek(value: Deno.PointerValue) { + set qwExtraBufferingTimeDuringSeek(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set qwPlayDuration(value: Deno.PointerValue) { + set qwPlayDuration(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -29589,9 +29589,9 @@ export class MFBYTESTREAM_BUFFERING_PARAMSView { */ export interface MF_BYTE_STREAM_CACHE_RANGE { /** u64 */ - qwStartOffset: Deno.PointerValue; + qwStartOffset: bigint | number; /** u64 */ - qwEndOffset: Deno.PointerValue; + qwEndOffset: bigint | number; } export const sizeofMF_BYTE_STREAM_CACHE_RANGE = 16; @@ -29617,22 +29617,22 @@ export class MF_BYTE_STREAM_CACHE_RANGEView { } // 0x00: u64 - get qwStartOffset(): Deno.PointerValue { + get qwStartOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwEndOffset(): Deno.PointerValue { + get qwEndOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set qwStartOffset(value: Deno.PointerValue) { + set qwStartOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwEndOffset(value: Deno.PointerValue) { + set qwEndOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -30386,9 +30386,9 @@ export interface MFCONTENTPROTECTIONDEVICE_OUTPUT_DATA { /** Windows.Win32.Foundation.HRESULT */ Status: Uint8Array | Deno.PointerValue; /** i64 */ - TransportTimeInHundredsOfNanoseconds: Deno.PointerValue; + TransportTimeInHundredsOfNanoseconds: bigint | number; /** i64 */ - ExecutionTimeInHundredsOfNanoseconds: Deno.PointerValue; + ExecutionTimeInHundredsOfNanoseconds: bigint | number; /** array */ OutputData: Deno.PointerValue; } @@ -30450,12 +30450,12 @@ export class MFCONTENTPROTECTIONDEVICE_OUTPUT_DATAView { } // 0x18: i64 - get TransportTimeInHundredsOfNanoseconds(): Deno.PointerValue { + get TransportTimeInHundredsOfNanoseconds(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get ExecutionTimeInHundredsOfNanoseconds(): Deno.PointerValue { + get ExecutionTimeInHundredsOfNanoseconds(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -30488,12 +30488,12 @@ export class MFCONTENTPROTECTIONDEVICE_OUTPUT_DATAView { } // 0x18: i64 - set TransportTimeInHundredsOfNanoseconds(value: Deno.PointerValue) { + set TransportTimeInHundredsOfNanoseconds(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set ExecutionTimeInHundredsOfNanoseconds(value: Deno.PointerValue) { + set ExecutionTimeInHundredsOfNanoseconds(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -32923,7 +32923,7 @@ export class MFPinholeCameraIntrinsicsView { */ export interface MFMPEG2DLNASINKSTATS { /** u64 */ - cBytesWritten: Deno.PointerValue; + cBytesWritten: bigint | number; /** Windows.Win32.Foundation.BOOL */ fPAL: boolean; /** u32 */ @@ -32933,23 +32933,23 @@ export interface MFMPEG2DLNASINKSTATS { /** u32 */ dwVideoHeight: number; /** u64 */ - cVideoFramesReceived: Deno.PointerValue; + cVideoFramesReceived: bigint | number; /** u64 */ - cVideoFramesEncoded: Deno.PointerValue; + cVideoFramesEncoded: bigint | number; /** u64 */ - cVideoFramesSkipped: Deno.PointerValue; + cVideoFramesSkipped: bigint | number; /** u64 */ - cBlackVideoFramesEncoded: Deno.PointerValue; + cBlackVideoFramesEncoded: bigint | number; /** u64 */ - cVideoFramesDuplicated: Deno.PointerValue; + cVideoFramesDuplicated: bigint | number; /** u32 */ cAudioSamplesPerSec: number; /** u32 */ cAudioChannels: number; /** u64 */ - cAudioBytesReceived: Deno.PointerValue; + cAudioBytesReceived: bigint | number; /** u64 */ - cAudioFramesEncoded: Deno.PointerValue; + cAudioFramesEncoded: bigint | number; } export const sizeofMFMPEG2DLNASINKSTATS = 88; @@ -32999,7 +32999,7 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x00: u64 - get cBytesWritten(): Deno.PointerValue { + get cBytesWritten(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -33024,27 +33024,27 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x18: u64 - get cVideoFramesReceived(): Deno.PointerValue { + get cVideoFramesReceived(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cVideoFramesEncoded(): Deno.PointerValue { + get cVideoFramesEncoded(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get cVideoFramesSkipped(): Deno.PointerValue { + get cVideoFramesSkipped(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get cBlackVideoFramesEncoded(): Deno.PointerValue { + get cBlackVideoFramesEncoded(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get cVideoFramesDuplicated(): Deno.PointerValue { + get cVideoFramesDuplicated(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -33059,17 +33059,17 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x48: u64 - get cAudioBytesReceived(): Deno.PointerValue { + get cAudioBytesReceived(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get cAudioFramesEncoded(): Deno.PointerValue { + get cAudioFramesEncoded(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x00: u64 - set cBytesWritten(value: Deno.PointerValue) { + set cBytesWritten(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -33094,27 +33094,27 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x18: u64 - set cVideoFramesReceived(value: Deno.PointerValue) { + set cVideoFramesReceived(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cVideoFramesEncoded(value: Deno.PointerValue) { + set cVideoFramesEncoded(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set cVideoFramesSkipped(value: Deno.PointerValue) { + set cVideoFramesSkipped(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set cBlackVideoFramesEncoded(value: Deno.PointerValue) { + set cBlackVideoFramesEncoded(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set cVideoFramesDuplicated(value: Deno.PointerValue) { + set cVideoFramesDuplicated(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -33129,12 +33129,12 @@ export class MFMPEG2DLNASINKSTATSView { } // 0x48: u64 - set cAudioBytesReceived(value: Deno.PointerValue) { + set cAudioBytesReceived(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set cAudioFramesEncoded(value: Deno.PointerValue) { + set cAudioFramesEncoded(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -33146,27 +33146,27 @@ export interface MF_SINK_WRITER_STATISTICS { /** u32 */ cb: number; /** i64 */ - llLastTimestampReceived: Deno.PointerValue; + llLastTimestampReceived: bigint | number; /** i64 */ - llLastTimestampEncoded: Deno.PointerValue; + llLastTimestampEncoded: bigint | number; /** i64 */ - llLastTimestampProcessed: Deno.PointerValue; + llLastTimestampProcessed: bigint | number; /** i64 */ - llLastStreamTickReceived: Deno.PointerValue; + llLastStreamTickReceived: bigint | number; /** i64 */ - llLastSinkSampleRequest: Deno.PointerValue; + llLastSinkSampleRequest: bigint | number; /** u64 */ - qwNumSamplesReceived: Deno.PointerValue; + qwNumSamplesReceived: bigint | number; /** u64 */ - qwNumSamplesEncoded: Deno.PointerValue; + qwNumSamplesEncoded: bigint | number; /** u64 */ - qwNumSamplesProcessed: Deno.PointerValue; + qwNumSamplesProcessed: bigint | number; /** u64 */ - qwNumStreamTicksReceived: Deno.PointerValue; + qwNumStreamTicksReceived: bigint | number; /** u32 */ dwByteCountQueued: number; /** u64 */ - qwByteCountProcessed: Deno.PointerValue; + qwByteCountProcessed: bigint | number; /** u32 */ dwNumOutstandingSinkSampleRequests: number; /** u32 */ @@ -33237,47 +33237,47 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x04: pad4 // 0x08: i64 - get llLastTimestampReceived(): Deno.PointerValue { + get llLastTimestampReceived(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get llLastTimestampEncoded(): Deno.PointerValue { + get llLastTimestampEncoded(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get llLastTimestampProcessed(): Deno.PointerValue { + get llLastTimestampProcessed(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get llLastStreamTickReceived(): Deno.PointerValue { + get llLastStreamTickReceived(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get llLastSinkSampleRequest(): Deno.PointerValue { + get llLastSinkSampleRequest(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: u64 - get qwNumSamplesReceived(): Deno.PointerValue { + get qwNumSamplesReceived(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get qwNumSamplesEncoded(): Deno.PointerValue { + get qwNumSamplesEncoded(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get qwNumSamplesProcessed(): Deno.PointerValue { + get qwNumSamplesProcessed(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get qwNumStreamTicksReceived(): Deno.PointerValue { + get qwNumStreamTicksReceived(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -33289,7 +33289,7 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x54: pad4 // 0x58: u64 - get qwByteCountProcessed(): Deno.PointerValue { + get qwByteCountProcessed(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -33321,47 +33321,47 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x04: pad4 // 0x08: i64 - set llLastTimestampReceived(value: Deno.PointerValue) { + set llLastTimestampReceived(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set llLastTimestampEncoded(value: Deno.PointerValue) { + set llLastTimestampEncoded(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set llLastTimestampProcessed(value: Deno.PointerValue) { + set llLastTimestampProcessed(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set llLastStreamTickReceived(value: Deno.PointerValue) { + set llLastStreamTickReceived(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set llLastSinkSampleRequest(value: Deno.PointerValue) { + set llLastSinkSampleRequest(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: u64 - set qwNumSamplesReceived(value: Deno.PointerValue) { + set qwNumSamplesReceived(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set qwNumSamplesEncoded(value: Deno.PointerValue) { + set qwNumSamplesEncoded(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set qwNumSamplesProcessed(value: Deno.PointerValue) { + set qwNumSamplesProcessed(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set qwNumStreamTicksReceived(value: Deno.PointerValue) { + set qwNumStreamTicksReceived(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -33373,7 +33373,7 @@ export class MF_SINK_WRITER_STATISTICSView { // 0x54: pad4 // 0x58: u64 - set qwByteCountProcessed(value: Deno.PointerValue) { + set qwByteCountProcessed(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -33809,7 +33809,7 @@ export interface MFP_MEDIAITEM_CREATED_EVENT { /** Windows.Win32.Media.MediaFoundation.IMFPMediaItem */ pMediaItem: Uint8Array | Deno.PointerValue; /** usize */ - dwUserData: Deno.PointerValue; + dwUserData: bigint | number; } export const sizeofMFP_MEDIAITEM_CREATED_EVENT = 24; @@ -33849,7 +33849,7 @@ export class MFP_MEDIAITEM_CREATED_EVENTView { } // 0x10: usize - get dwUserData(): Deno.PointerValue { + get dwUserData(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -33864,7 +33864,7 @@ export class MFP_MEDIAITEM_CREATED_EVENTView { } // 0x10: usize - set dwUserData(value: Deno.PointerValue) { + set dwUserData(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -34225,7 +34225,7 @@ export interface MFP_ACQUIRE_USER_CREDENTIAL_EVENT { /** Windows.Win32.Media.MediaFoundation.MFP_EVENT_HEADER */ header: Uint8Array | Deno.PointerValue; /** usize */ - dwUserData: Deno.PointerValue; + dwUserData: bigint | number; /** Windows.Win32.Foundation.BOOL */ fProceedWithAuthentication: boolean; /** Windows.Win32.Foundation.HRESULT */ @@ -34306,7 +34306,7 @@ export class MFP_ACQUIRE_USER_CREDENTIAL_EVENTView { } // 0x08: usize - get dwUserData(): Deno.PointerValue { + get dwUserData(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -34369,7 +34369,7 @@ export class MFP_ACQUIRE_USER_CREDENTIAL_EVENTView { } // 0x08: usize - set dwUserData(value: Deno.PointerValue) { + set dwUserData(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -34646,7 +34646,7 @@ export class MFVideoAlphaBitmapParamsView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * _bitmap_e__Union (size: 16) @@ -34777,11 +34777,11 @@ export class MFVideoAlphaBitmapView { } } -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -35952,7 +35952,7 @@ export function MFGetService( return libMF_dll.MFGetService(util.toPointer(punkObject), util.toPointer(guidService), util.toPointer(riid), util.toPointer(ppvObject)); } -export function MFGetSystemTime(): Deno.PointerValue /* i64 */ { +export function MFGetSystemTime(): bigint | number /* i64 */ { return libMFPlat_dll.MFGetSystemTime(); } @@ -36144,7 +36144,7 @@ export function MFCreateSequencerSource( export function MFCreateSequencerSegmentOffset( dwId: number /* u32 */, - hnsOffset: Deno.PointerValue /* i64 */, + hnsOffset: bigint | number /* i64 */, pvarSegmentOffset: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMF_dll.MFCreateSequencerSegmentOffset(dwId, hnsOffset, util.toPointer(pvarSegmentOffset)); @@ -36445,7 +36445,7 @@ export function MFCreateASFIndexer( export function MFCreateASFIndexerByteStream( pIContentByteStream: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.MediaFoundation.IMFByteStream */, - cbIndexStartOffset: Deno.PointerValue /* u64 */, + cbIndexStartOffset: bigint | number /* u64 */, pIIndexByteStream: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMF_dll.MFCreateASFIndexerByteStream(util.toPointer(pIContentByteStream), cbIndexStartOffset, util.toPointer(pIIndexByteStream)); @@ -36613,7 +36613,7 @@ export function MFAllocateSerialWorkQueue( export function MFScheduleWorkItemEx( pResult: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.MediaFoundation.IMFAsyncResult */, - Timeout: Deno.PointerValue /* i64 */, + Timeout: bigint | number /* i64 */, pKey: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMFPlat_dll.MFScheduleWorkItemEx(util.toPointer(pResult), Timeout, util.toPointer(pKey)); @@ -36622,14 +36622,14 @@ export function MFScheduleWorkItemEx( export function MFScheduleWorkItem( pCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.MediaFoundation.IMFAsyncCallback */, pState: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Com.IUnknown */, - Timeout: Deno.PointerValue /* i64 */, + Timeout: bigint | number /* i64 */, pKey: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMFPlat_dll.MFScheduleWorkItem(util.toPointer(pCallback), util.toPointer(pState), Timeout, util.toPointer(pKey)); } export function MFCancelWorkItem( - Key: Deno.PointerValue /* u64 */, + Key: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMFPlat_dll.MFCancelWorkItem(Key); } @@ -37238,7 +37238,7 @@ export function MFFrameRateToAverageTimePerFrame( } export function MFAverageTimePerFrameToFrameRate( - unAverageTimePerFrame: Deno.PointerValue /* u64 */, + unAverageTimePerFrame: bigint | number /* u64 */, punNumerator: Deno.PointerValue | Uint8Array /* ptr */, punDenominator: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -37332,9 +37332,9 @@ export function MFCreateVideoMediaTypeFromBitMapInfoHeader( dwPixelAspectRatioX: number /* u32 */, dwPixelAspectRatioY: number /* u32 */, InterlaceMode: MFVideoInterlaceMode /* Windows.Win32.Media.MediaFoundation.MFVideoInterlaceMode */, - VideoFlags: Deno.PointerValue /* u64 */, - qwFramesPerSecondNumerator: Deno.PointerValue /* u64 */, - qwFramesPerSecondDenominator: Deno.PointerValue /* u64 */, + VideoFlags: bigint | number /* u64 */, + qwFramesPerSecondNumerator: bigint | number /* u64 */, + qwFramesPerSecondDenominator: bigint | number /* u64 */, dwMaxBitRate: number /* u32 */, ppIVideoMediaType: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -37364,7 +37364,7 @@ export function MFCreateVideoMediaTypeFromBitMapInfoHeaderEx( dwPixelAspectRatioX: number /* u32 */, dwPixelAspectRatioY: number /* u32 */, InterlaceMode: MFVideoInterlaceMode /* Windows.Win32.Media.MediaFoundation.MFVideoInterlaceMode */, - VideoFlags: Deno.PointerValue /* u64 */, + VideoFlags: bigint | number /* u64 */, dwFramesPerSecondNumerator: number /* u32 */, dwFramesPerSecondDenominator: number /* u32 */, dwMaxBitRate: number /* u32 */, @@ -37463,7 +37463,7 @@ export function MFCreate2DMediaBuffer( export function MFCreateMediaBufferFromMediaType( pMediaType: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.MediaFoundation.IMFMediaType */, - llDuration: Deno.PointerValue /* i64 */, + llDuration: bigint | number /* i64 */, dwMinLength: number /* u32 */, dwMinAlignment: number /* u32 */, ppBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -37478,7 +37478,7 @@ export function MFCreateCollection( } export function MFHeapAlloc( - nSize: Deno.PointerValue /* usize */, + nSize: bigint | number /* usize */, dwFlags: number /* u32 */, pszFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, line: number /* i32 */, @@ -37494,11 +37494,11 @@ export function MFHeapFree( } export function MFllMulDiv( - a: Deno.PointerValue /* i64 */, - b: Deno.PointerValue /* i64 */, - c: Deno.PointerValue /* i64 */, - d: Deno.PointerValue /* i64 */, -): Deno.PointerValue /* i64 */ { + a: bigint | number /* i64 */, + b: bigint | number /* i64 */, + c: bigint | number /* i64 */, + d: bigint | number /* i64 */, +): bigint | number /* i64 */ { return libMFPlat_dll.MFllMulDiv(a, b, c, d); } diff --git a/api/Media/MediaPlayer.ts b/api/Media/MediaPlayer.ts index 3a17258..99ffc10 100644 --- a/api/Media/MediaPlayer.ts +++ b/api/Media/MediaPlayer.ts @@ -858,7 +858,7 @@ export interface TimedLevel { /** i32 */ state: number; /** i64 */ - timeStamp: Deno.PointerValue; + timeStamp: bigint | number; } export const sizeofTimedLevel = 32; @@ -908,7 +908,7 @@ export class TimedLevelView { // 0x14: pad4 // 0x18: i64 - get timeStamp(): Deno.PointerValue { + get timeStamp(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -930,7 +930,7 @@ export class TimedLevelView { // 0x14: pad4 // 0x18: i64 - set timeStamp(value: Deno.PointerValue) { + set timeStamp(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } diff --git a/api/Media/Multimedia.ts b/api/Media/Multimedia.ts index 847a536..8d3c165 100644 --- a/api/Media/Multimedia.ts +++ b/api/Media/Multimedia.ts @@ -4661,13 +4661,13 @@ export const BI_PNG = 5; // Structs -export type HMMIO = Deno.PointerValue; +export type HMMIO = bigint | number; -export type HDRVR = Deno.PointerValue; +export type HDRVR = bigint | number; -export type HIC = Deno.PointerValue; +export type HIC = bigint | number; -export type HVIDEO = Deno.PointerValue; +export type HVIDEO = bigint | number; /** * Windows.Win32.Media.Multimedia.ADPCMCOEFSET (size: 8) @@ -7585,7 +7585,7 @@ export class JPEGINFOHEADERView { */ export interface MCI_GENERIC_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; } export const sizeofMCI_GENERIC_PARMS = 8; @@ -7609,12 +7609,12 @@ export class MCI_GENERIC_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -7626,7 +7626,7 @@ export type PSTR = Deno.PointerValue | Uint8Array; */ export interface MCI_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -7676,7 +7676,7 @@ export class MCI_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7706,7 +7706,7 @@ export class MCI_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7743,7 +7743,7 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface MCI_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -7793,7 +7793,7 @@ export class MCI_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7823,7 +7823,7 @@ export class MCI_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7858,7 +7858,7 @@ export class MCI_OPEN_PARMSWView { */ export interface MCI_PLAY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -7890,7 +7890,7 @@ export class MCI_PLAY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7905,7 +7905,7 @@ export class MCI_PLAY_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7925,7 +7925,7 @@ export class MCI_PLAY_PARMSView { */ export interface MCI_SEEK_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTo: number; } @@ -7954,7 +7954,7 @@ export class MCI_SEEK_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7966,7 +7966,7 @@ export class MCI_SEEK_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7983,9 +7983,9 @@ export class MCI_SEEK_PARMSView { */ export interface MCI_STATUS_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwReturn: Deno.PointerValue; + dwReturn: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -8019,12 +8019,12 @@ export class MCI_STATUS_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwReturn(): Deno.PointerValue { + get dwReturn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -8039,12 +8039,12 @@ export class MCI_STATUS_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwReturn(value: Deno.PointerValue) { + set dwReturn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -8064,7 +8064,7 @@ export class MCI_STATUS_PARMSView { */ export interface MCI_INFO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -8100,7 +8100,7 @@ export class MCI_INFO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8118,7 +8118,7 @@ export class MCI_INFO_PARMSAView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8141,7 +8141,7 @@ export class MCI_INFO_PARMSAView { */ export interface MCI_INFO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -8177,7 +8177,7 @@ export class MCI_INFO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8195,7 +8195,7 @@ export class MCI_INFO_PARMSWView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8218,7 +8218,7 @@ export class MCI_INFO_PARMSWView { */ export interface MCI_GETDEVCAPS_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwReturn: number; /** u32 */ @@ -8250,7 +8250,7 @@ export class MCI_GETDEVCAPS_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8265,7 +8265,7 @@ export class MCI_GETDEVCAPS_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8285,7 +8285,7 @@ export class MCI_GETDEVCAPS_PARMSView { */ export interface MCI_SYSINFO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -8329,7 +8329,7 @@ export class MCI_SYSINFO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8357,7 +8357,7 @@ export class MCI_SYSINFO_PARMSAView { // 0x1c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8390,7 +8390,7 @@ export class MCI_SYSINFO_PARMSAView { */ export interface MCI_SYSINFO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -8434,7 +8434,7 @@ export class MCI_SYSINFO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8462,7 +8462,7 @@ export class MCI_SYSINFO_PARMSWView { // 0x1c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8495,7 +8495,7 @@ export class MCI_SYSINFO_PARMSWView { */ export interface MCI_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -8527,7 +8527,7 @@ export class MCI_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8542,7 +8542,7 @@ export class MCI_SET_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8557,14 +8557,14 @@ export class MCI_SET_PARMSView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Media.Multimedia.MCI_BREAK_PARMS (size: 24) */ export interface MCI_BREAK_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** i32 */ nVirtKey: number; /** Windows.Win32.Foundation.HWND */ @@ -8597,7 +8597,7 @@ export class MCI_BREAK_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8615,7 +8615,7 @@ export class MCI_BREAK_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8637,7 +8637,7 @@ export class MCI_BREAK_PARMSView { */ export interface MCI_SAVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; } @@ -8668,7 +8668,7 @@ export class MCI_SAVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8679,7 +8679,7 @@ export class MCI_SAVE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8695,7 +8695,7 @@ export class MCI_SAVE_PARMSAView { */ export interface MCI_SAVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; } @@ -8726,7 +8726,7 @@ export class MCI_SAVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8737,7 +8737,7 @@ export class MCI_SAVE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8753,7 +8753,7 @@ export class MCI_SAVE_PARMSWView { */ export interface MCI_LOAD_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; } @@ -8784,7 +8784,7 @@ export class MCI_LOAD_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8795,7 +8795,7 @@ export class MCI_LOAD_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8811,7 +8811,7 @@ export class MCI_LOAD_PARMSAView { */ export interface MCI_LOAD_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; } @@ -8842,7 +8842,7 @@ export class MCI_LOAD_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8853,7 +8853,7 @@ export class MCI_LOAD_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8869,7 +8869,7 @@ export class MCI_LOAD_PARMSWView { */ export interface MCI_RECORD_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -8901,7 +8901,7 @@ export class MCI_RECORD_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8916,7 +8916,7 @@ export class MCI_RECORD_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8936,7 +8936,7 @@ export class MCI_RECORD_PARMSView { */ export interface MCI_VD_PLAY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -8973,7 +8973,7 @@ export class MCI_VD_PLAY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8995,7 +8995,7 @@ export class MCI_VD_PLAY_PARMSView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9022,7 +9022,7 @@ export class MCI_VD_PLAY_PARMSView { */ export interface MCI_VD_STEP_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrames: number; } @@ -9051,7 +9051,7 @@ export class MCI_VD_STEP_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9063,7 +9063,7 @@ export class MCI_VD_STEP_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9080,7 +9080,7 @@ export class MCI_VD_STEP_PARMSView { */ export interface MCI_VD_ESCAPE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrCommand: string | null | Uint8Array; } @@ -9111,7 +9111,7 @@ export class MCI_VD_ESCAPE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9122,7 +9122,7 @@ export class MCI_VD_ESCAPE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9138,7 +9138,7 @@ export class MCI_VD_ESCAPE_PARMSAView { */ export interface MCI_VD_ESCAPE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrCommand: string | null | Uint8Array | Uint16Array; } @@ -9169,7 +9169,7 @@ export class MCI_VD_ESCAPE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9180,7 +9180,7 @@ export class MCI_VD_ESCAPE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9196,7 +9196,7 @@ export class MCI_VD_ESCAPE_PARMSWView { */ export interface MCI_WAVE_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -9251,7 +9251,7 @@ export class MCI_WAVE_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9288,7 +9288,7 @@ export class MCI_WAVE_OPEN_PARMSAView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9330,7 +9330,7 @@ export class MCI_WAVE_OPEN_PARMSAView { */ export interface MCI_WAVE_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -9385,7 +9385,7 @@ export class MCI_WAVE_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9422,7 +9422,7 @@ export class MCI_WAVE_OPEN_PARMSWView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9464,7 +9464,7 @@ export class MCI_WAVE_OPEN_PARMSWView { */ export interface MCI_WAVE_DELETE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -9496,7 +9496,7 @@ export class MCI_WAVE_DELETE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9511,7 +9511,7 @@ export class MCI_WAVE_DELETE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9531,7 +9531,7 @@ export class MCI_WAVE_DELETE_PARMSView { */ export interface MCI_WAVE_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -9611,7 +9611,7 @@ export class MCI_WAVE_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9686,7 +9686,7 @@ export class MCI_WAVE_SET_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9766,7 +9766,7 @@ export class MCI_WAVE_SET_PARMSView { */ export interface MCI_SEQ_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -9819,7 +9819,7 @@ export class MCI_SEQ_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9861,7 +9861,7 @@ export class MCI_SEQ_SET_PARMSView { // 0x24: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9908,7 +9908,7 @@ export class MCI_SEQ_SET_PARMSView { */ export interface MCI_ANIM_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -9967,7 +9967,7 @@ export class MCI_ANIM_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10010,7 +10010,7 @@ export class MCI_ANIM_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10057,7 +10057,7 @@ export class MCI_ANIM_OPEN_PARMSAView { */ export interface MCI_ANIM_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -10116,7 +10116,7 @@ export class MCI_ANIM_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10159,7 +10159,7 @@ export class MCI_ANIM_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10206,7 +10206,7 @@ export class MCI_ANIM_OPEN_PARMSWView { */ export interface MCI_ANIM_PLAY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -10243,7 +10243,7 @@ export class MCI_ANIM_PLAY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10265,7 +10265,7 @@ export class MCI_ANIM_PLAY_PARMSView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10292,7 +10292,7 @@ export class MCI_ANIM_PLAY_PARMSView { */ export interface MCI_ANIM_STEP_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrames: number; } @@ -10321,7 +10321,7 @@ export class MCI_ANIM_STEP_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10333,7 +10333,7 @@ export class MCI_ANIM_STEP_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10350,7 +10350,7 @@ export class MCI_ANIM_STEP_PARMSView { */ export interface MCI_ANIM_WINDOW_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -10390,7 +10390,7 @@ export class MCI_ANIM_WINDOW_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10414,7 +10414,7 @@ export class MCI_ANIM_WINDOW_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10442,7 +10442,7 @@ export class MCI_ANIM_WINDOW_PARMSAView { */ export interface MCI_ANIM_WINDOW_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -10482,7 +10482,7 @@ export class MCI_ANIM_WINDOW_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10506,7 +10506,7 @@ export class MCI_ANIM_WINDOW_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10615,7 +10615,7 @@ export class RECTView { */ export interface MCI_ANIM_RECT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; } @@ -10643,7 +10643,7 @@ export class MCI_ANIM_RECT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10654,7 +10654,7 @@ export class MCI_ANIM_RECT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10664,14 +10664,14 @@ export class MCI_ANIM_RECT_PARMSView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.Media.Multimedia.MCI_ANIM_UPDATE_PARMS (size: 24) */ export interface MCI_ANIM_UPDATE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Gdi.HDC */ @@ -10703,7 +10703,7 @@ export class MCI_ANIM_UPDATE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10720,7 +10720,7 @@ export class MCI_ANIM_UPDATE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10740,7 +10740,7 @@ export class MCI_ANIM_UPDATE_PARMSView { */ export interface MCI_OVLY_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -10799,7 +10799,7 @@ export class MCI_OVLY_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10842,7 +10842,7 @@ export class MCI_OVLY_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10889,7 +10889,7 @@ export class MCI_OVLY_OPEN_PARMSAView { */ export interface MCI_OVLY_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -10948,7 +10948,7 @@ export class MCI_OVLY_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10991,7 +10991,7 @@ export class MCI_OVLY_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11038,7 +11038,7 @@ export class MCI_OVLY_OPEN_PARMSWView { */ export interface MCI_OVLY_WINDOW_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -11078,7 +11078,7 @@ export class MCI_OVLY_WINDOW_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11102,7 +11102,7 @@ export class MCI_OVLY_WINDOW_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11130,7 +11130,7 @@ export class MCI_OVLY_WINDOW_PARMSAView { */ export interface MCI_OVLY_WINDOW_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -11170,7 +11170,7 @@ export class MCI_OVLY_WINDOW_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11194,7 +11194,7 @@ export class MCI_OVLY_WINDOW_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11222,7 +11222,7 @@ export class MCI_OVLY_WINDOW_PARMSWView { */ export interface MCI_OVLY_RECT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; } @@ -11250,7 +11250,7 @@ export class MCI_OVLY_RECT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11261,7 +11261,7 @@ export class MCI_OVLY_RECT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11276,7 +11276,7 @@ export class MCI_OVLY_RECT_PARMSView { */ export interface MCI_OVLY_SAVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -11311,7 +11311,7 @@ export class MCI_OVLY_SAVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11328,7 +11328,7 @@ export class MCI_OVLY_SAVE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11349,7 +11349,7 @@ export class MCI_OVLY_SAVE_PARMSAView { */ export interface MCI_OVLY_SAVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -11384,7 +11384,7 @@ export class MCI_OVLY_SAVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11401,7 +11401,7 @@ export class MCI_OVLY_SAVE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11422,7 +11422,7 @@ export class MCI_OVLY_SAVE_PARMSWView { */ export interface MCI_OVLY_LOAD_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpfilename: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -11457,7 +11457,7 @@ export class MCI_OVLY_LOAD_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11474,7 +11474,7 @@ export class MCI_OVLY_LOAD_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11495,7 +11495,7 @@ export class MCI_OVLY_LOAD_PARMSAView { */ export interface MCI_OVLY_LOAD_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpfilename: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -11530,7 +11530,7 @@ export class MCI_OVLY_LOAD_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11547,7 +11547,7 @@ export class MCI_OVLY_LOAD_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11746,7 +11746,7 @@ export class DRVCONFIGINFOView { } } -export type HTASK = Deno.PointerValue; +export type HTASK = bigint | number; /** * Windows.Win32.Media.Multimedia.MMIOINFO (size: 104) @@ -13999,7 +13999,7 @@ export class JOYINFOEXView { */ export interface MCI_DGV_RECT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; } @@ -14027,7 +14027,7 @@ export class MCI_DGV_RECT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14038,7 +14038,7 @@ export class MCI_DGV_RECT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14053,7 +14053,7 @@ export class MCI_DGV_RECT_PARMSView { */ export interface MCI_DGV_CAPTURE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrFileName: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -14088,7 +14088,7 @@ export class MCI_DGV_CAPTURE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14105,7 +14105,7 @@ export class MCI_DGV_CAPTURE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14126,7 +14126,7 @@ export class MCI_DGV_CAPTURE_PARMSAView { */ export interface MCI_DGV_CAPTURE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrFileName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -14161,7 +14161,7 @@ export class MCI_DGV_CAPTURE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14178,7 +14178,7 @@ export class MCI_DGV_CAPTURE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14199,7 +14199,7 @@ export class MCI_DGV_CAPTURE_PARMSWView { */ export interface MCI_DGV_COPY_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -14243,7 +14243,7 @@ export class MCI_DGV_COPY_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14274,7 +14274,7 @@ export class MCI_DGV_COPY_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14309,7 +14309,7 @@ export class MCI_DGV_COPY_PARMSView { */ export interface MCI_DGV_CUE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTo: number; } @@ -14338,7 +14338,7 @@ export class MCI_DGV_CUE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14350,7 +14350,7 @@ export class MCI_DGV_CUE_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14367,7 +14367,7 @@ export class MCI_DGV_CUE_PARMSView { */ export interface MCI_DGV_CUT_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -14411,7 +14411,7 @@ export class MCI_DGV_CUT_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14442,7 +14442,7 @@ export class MCI_DGV_CUT_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14477,7 +14477,7 @@ export class MCI_DGV_CUT_PARMSView { */ export interface MCI_DGV_DELETE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -14521,7 +14521,7 @@ export class MCI_DGV_DELETE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14552,7 +14552,7 @@ export class MCI_DGV_DELETE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14587,7 +14587,7 @@ export class MCI_DGV_DELETE_PARMSView { */ export interface MCI_DGV_INFO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -14626,7 +14626,7 @@ export class MCI_DGV_INFO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14647,7 +14647,7 @@ export class MCI_DGV_INFO_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14673,7 +14673,7 @@ export class MCI_DGV_INFO_PARMSAView { */ export interface MCI_DGV_INFO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -14712,7 +14712,7 @@ export class MCI_DGV_INFO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14733,7 +14733,7 @@ export class MCI_DGV_INFO_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14759,7 +14759,7 @@ export class MCI_DGV_INFO_PARMSWView { */ export interface MCI_DGV_LIST_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrReturn: string | null | Uint8Array; /** u32 */ @@ -14810,7 +14810,7 @@ export class MCI_DGV_LIST_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14844,7 +14844,7 @@ export class MCI_DGV_LIST_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14883,7 +14883,7 @@ export class MCI_DGV_LIST_PARMSAView { */ export interface MCI_DGV_LIST_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrReturn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -14934,7 +14934,7 @@ export class MCI_DGV_LIST_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14968,7 +14968,7 @@ export class MCI_DGV_LIST_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15007,7 +15007,7 @@ export class MCI_DGV_LIST_PARMSWView { */ export interface MCI_DGV_MONITOR_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwSource: number; /** u32 */ @@ -15039,7 +15039,7 @@ export class MCI_DGV_MONITOR_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15054,7 +15054,7 @@ export class MCI_DGV_MONITOR_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15074,7 +15074,7 @@ export class MCI_DGV_MONITOR_PARMSView { */ export interface MCI_DGV_OPEN_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PSTR */ @@ -15133,7 +15133,7 @@ export class MCI_DGV_OPEN_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15176,7 +15176,7 @@ export class MCI_DGV_OPEN_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15223,7 +15223,7 @@ export class MCI_DGV_OPEN_PARMSAView { */ export interface MCI_DGV_OPEN_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ wDeviceID: number; /** Windows.Win32.Foundation.PWSTR */ @@ -15282,7 +15282,7 @@ export class MCI_DGV_OPEN_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15325,7 +15325,7 @@ export class MCI_DGV_OPEN_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15372,7 +15372,7 @@ export class MCI_DGV_OPEN_PARMSWView { */ export interface MCI_DGV_PASTE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTo: number; /** Windows.Win32.Foundation.RECT */ @@ -15413,7 +15413,7 @@ export class MCI_DGV_PASTE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15441,7 +15441,7 @@ export class MCI_DGV_PASTE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15473,7 +15473,7 @@ export class MCI_DGV_PASTE_PARMSView { */ export interface MCI_DGV_QUALITY_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** Windows.Win32.Foundation.PSTR */ @@ -15517,7 +15517,7 @@ export class MCI_DGV_QUALITY_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15545,7 +15545,7 @@ export class MCI_DGV_QUALITY_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15578,7 +15578,7 @@ export class MCI_DGV_QUALITY_PARMSAView { */ export interface MCI_DGV_QUALITY_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** Windows.Win32.Foundation.PWSTR */ @@ -15622,7 +15622,7 @@ export class MCI_DGV_QUALITY_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15650,7 +15650,7 @@ export class MCI_DGV_QUALITY_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15683,7 +15683,7 @@ export class MCI_DGV_QUALITY_PARMSWView { */ export interface MCI_DGV_RECORD_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrom: number; /** u32 */ @@ -15727,7 +15727,7 @@ export class MCI_DGV_RECORD_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15758,7 +15758,7 @@ export class MCI_DGV_RECORD_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15793,7 +15793,7 @@ export class MCI_DGV_RECORD_PARMSView { */ export interface MCI_DGV_RESERVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrPath: string | null | Uint8Array; /** u32 */ @@ -15829,7 +15829,7 @@ export class MCI_DGV_RESERVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15847,7 +15847,7 @@ export class MCI_DGV_RESERVE_PARMSAView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15870,7 +15870,7 @@ export class MCI_DGV_RESERVE_PARMSAView { */ export interface MCI_DGV_RESERVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrPath: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -15906,7 +15906,7 @@ export class MCI_DGV_RESERVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15924,7 +15924,7 @@ export class MCI_DGV_RESERVE_PARMSWView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15947,7 +15947,7 @@ export class MCI_DGV_RESERVE_PARMSWView { */ export interface MCI_DGV_RESTORE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrFileName: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -15982,7 +15982,7 @@ export class MCI_DGV_RESTORE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15999,7 +15999,7 @@ export class MCI_DGV_RESTORE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16020,7 +16020,7 @@ export class MCI_DGV_RESTORE_PARMSAView { */ export interface MCI_DGV_RESTORE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrFileName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -16055,7 +16055,7 @@ export class MCI_DGV_RESTORE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16072,7 +16072,7 @@ export class MCI_DGV_RESTORE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16093,7 +16093,7 @@ export class MCI_DGV_RESTORE_PARMSWView { */ export interface MCI_DGV_SAVE_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrFileName: string | null | Uint8Array; /** Windows.Win32.Foundation.RECT */ @@ -16128,7 +16128,7 @@ export class MCI_DGV_SAVE_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16145,7 +16145,7 @@ export class MCI_DGV_SAVE_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16166,7 +16166,7 @@ export class MCI_DGV_SAVE_PARMSAView { */ export interface MCI_DGV_SAVE_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrFileName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.RECT */ @@ -16201,7 +16201,7 @@ export class MCI_DGV_SAVE_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16218,7 +16218,7 @@ export class MCI_DGV_SAVE_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16239,7 +16239,7 @@ export class MCI_DGV_SAVE_PARMSWView { */ export interface MCI_DGV_SET_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwTimeFormat: number; /** u32 */ @@ -16279,7 +16279,7 @@ export class MCI_DGV_SET_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16304,7 +16304,7 @@ export class MCI_DGV_SET_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16334,7 +16334,7 @@ export class MCI_DGV_SET_PARMSView { */ export interface MCI_DGV_SETAUDIO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -16385,7 +16385,7 @@ export class MCI_DGV_SETAUDIO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16419,7 +16419,7 @@ export class MCI_DGV_SETAUDIO_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16458,7 +16458,7 @@ export class MCI_DGV_SETAUDIO_PARMSAView { */ export interface MCI_DGV_SETAUDIO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -16509,7 +16509,7 @@ export class MCI_DGV_SETAUDIO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16543,7 +16543,7 @@ export class MCI_DGV_SETAUDIO_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16582,7 +16582,7 @@ export class MCI_DGV_SETAUDIO_PARMSWView { */ export interface MCI_DGV_SIGNAL_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwPosition: number; /** u32 */ @@ -16619,7 +16619,7 @@ export class MCI_DGV_SIGNAL_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16641,7 +16641,7 @@ export class MCI_DGV_SIGNAL_PARMSView { // 0x14: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16668,7 +16668,7 @@ export class MCI_DGV_SIGNAL_PARMSView { */ export interface MCI_DGV_SETVIDEO_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -16724,7 +16724,7 @@ export class MCI_DGV_SETVIDEO_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16765,7 +16765,7 @@ export class MCI_DGV_SETVIDEO_PARMSAView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16811,7 +16811,7 @@ export class MCI_DGV_SETVIDEO_PARMSAView { */ export interface MCI_DGV_SETVIDEO_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -16867,7 +16867,7 @@ export class MCI_DGV_SETVIDEO_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16908,7 +16908,7 @@ export class MCI_DGV_SETVIDEO_PARMSWView { // 0x2c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16954,9 +16954,9 @@ export class MCI_DGV_SETVIDEO_PARMSWView { */ export interface MCI_DGV_STATUS_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwReturn: Deno.PointerValue; + dwReturn: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -17002,12 +17002,12 @@ export class MCI_DGV_STATUS_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwReturn(): Deno.PointerValue { + get dwReturn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17035,12 +17035,12 @@ export class MCI_DGV_STATUS_PARMSAView { // 0x24: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwReturn(value: Deno.PointerValue) { + set dwReturn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -17073,9 +17073,9 @@ export class MCI_DGV_STATUS_PARMSAView { */ export interface MCI_DGV_STATUS_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwReturn: Deno.PointerValue; + dwReturn: bigint | number; /** u32 */ dwItem: number; /** u32 */ @@ -17121,12 +17121,12 @@ export class MCI_DGV_STATUS_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwReturn(): Deno.PointerValue { + get dwReturn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17154,12 +17154,12 @@ export class MCI_DGV_STATUS_PARMSWView { // 0x24: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwReturn(value: Deno.PointerValue) { + set dwReturn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -17192,7 +17192,7 @@ export class MCI_DGV_STATUS_PARMSWView { */ export interface MCI_DGV_STEP_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** u32 */ dwFrames: number; } @@ -17221,7 +17221,7 @@ export class MCI_DGV_STEP_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -17233,7 +17233,7 @@ export class MCI_DGV_STEP_PARMSView { // 0x0c: pad4 // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17250,7 +17250,7 @@ export class MCI_DGV_STEP_PARMSView { */ export interface MCI_DGV_UPDATE_PARMS { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; /** Windows.Win32.Graphics.Gdi.HDC */ @@ -17282,7 +17282,7 @@ export class MCI_DGV_UPDATE_PARMSView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -17299,7 +17299,7 @@ export class MCI_DGV_UPDATE_PARMSView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17319,7 +17319,7 @@ export class MCI_DGV_UPDATE_PARMSView { */ export interface MCI_DGV_WINDOW_PARMSA { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -17359,7 +17359,7 @@ export class MCI_DGV_WINDOW_PARMSAView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -17383,7 +17383,7 @@ export class MCI_DGV_WINDOW_PARMSAView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17411,7 +17411,7 @@ export class MCI_DGV_WINDOW_PARMSAView { */ export interface MCI_DGV_WINDOW_PARMSW { /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** Windows.Win32.Foundation.HWND */ hWnd: Deno.PointerValue; /** u32 */ @@ -17451,7 +17451,7 @@ export class MCI_DGV_WINDOW_PARMSWView { } // 0x00: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -17475,7 +17475,7 @@ export class MCI_DGV_WINDOW_PARMSWView { } // 0x00: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17498,7 +17498,7 @@ export class MCI_DGV_WINDOW_PARMSWView { } } -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; /** * Windows.Win32.Media.Multimedia.ICOPEN (size: 56) @@ -18029,7 +18029,7 @@ export class ICCOMPRESSView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Media.Multimedia.ICCOMPRESSFRAMES (size: 96) @@ -18064,9 +18064,9 @@ export interface ICCOMPRESSFRAMES { /** u32 */ dwReserved2: number; /** isize */ - GetData: Deno.PointerValue; + GetData: bigint | number; /** isize */ - PutData: Deno.PointerValue; + PutData: bigint | number; } export const sizeofICCOMPRESSFRAMES = 96; @@ -18200,12 +18200,12 @@ export class ICCOMPRESSFRAMESView { // 0x4c: pad4 // 0x50: isize - get GetData(): Deno.PointerValue { + get GetData(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get PutData(): Deno.PointerValue { + get PutData(): bigint | number { return Number(this.view.getBigInt64(88, true)); } @@ -18284,12 +18284,12 @@ export class ICCOMPRESSFRAMESView { // 0x4c: pad4 // 0x50: isize - set GetData(value: Deno.PointerValue) { + set GetData(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set PutData(value: Deno.PointerValue) { + set PutData(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } } @@ -18303,7 +18303,7 @@ export interface ICSETSTATUSPROC { /** Windows.Win32.Foundation.LPARAM */ lParam: Uint8Array | Deno.PointerValue; /** isize */ - Status: Deno.PointerValue; + Status: bigint | number; } export const sizeofICSETSTATUSPROC = 24; @@ -18345,7 +18345,7 @@ export class ICSETSTATUSPROCView { } // 0x10: isize - get Status(): Deno.PointerValue { + get Status(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -18362,7 +18362,7 @@ export class ICSETSTATUSPROCView { } // 0x10: isize - set Status(value: Deno.PointerValue) { + set Status(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -18706,7 +18706,7 @@ export class ICDECOMPRESSEXView { } } -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; /** * Windows.Win32.Media.Multimedia.ICDRAWBEGIN (size: 80) @@ -20825,7 +20825,7 @@ export interface VIDEOHDR { /** u32 */ dwTimeCaptured: number; /** usize */ - dwUser: Deno.PointerValue; + dwUser: bigint | number; /** u32 */ dwFlags: number; /** array */ @@ -20890,7 +20890,7 @@ export class VIDEOHDRView { // 0x14: pad4 // 0x18: usize - get dwUser(): Deno.PointerValue { + get dwUser(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -20930,7 +20930,7 @@ export class VIDEOHDRView { // 0x14: pad4 // 0x18: usize - set dwUser(value: Deno.PointerValue) { + set dwUser(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -21105,7 +21105,7 @@ export class CHANNEL_CAPSView { export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Media.Multimedia.CAPDRIVERCAPS (size: 64) @@ -22129,7 +22129,7 @@ export class DRVM_IOCTL_DATAView { } } -export type HWAVE = Deno.PointerValue; +export type HWAVE = bigint | number; /** * Windows.Win32.Media.Multimedia.WAVEOPENDESC (size: 48) @@ -22140,13 +22140,13 @@ export interface WAVEOPENDESC { /** ptr */ lpFormat: Deno.PointerValue | Uint8Array; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** u32 */ uMappedDeviceID: number; /** usize */ - dnDevNode: Deno.PointerValue; + dnDevNode: bigint | number; } export const sizeofWAVEOPENDESC = 48; @@ -22193,12 +22193,12 @@ export class WAVEOPENDESCView { } // 0x10: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -22210,7 +22210,7 @@ export class WAVEOPENDESCView { // 0x24: pad4 // 0x28: usize - get dnDevNode(): Deno.PointerValue { + get dnDevNode(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -22225,12 +22225,12 @@ export class WAVEOPENDESCView { } // 0x10: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -22242,7 +22242,7 @@ export class WAVEOPENDESCView { // 0x24: pad4 // 0x28: usize - set dnDevNode(value: Deno.PointerValue) { + set dnDevNode(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -22300,7 +22300,7 @@ export class MIDIOPENSTRMIDView { } } -export type HMIXER = Deno.PointerValue; +export type HMIXER = bigint | number; /** * Windows.Win32.Media.Multimedia.MIXEROPENDESC (size: 40) @@ -22311,11 +22311,11 @@ export interface MIXEROPENDESC { /** ptr */ pReserved0: Deno.PointerValue | Uint8Array; /** usize */ - dwCallback: Deno.PointerValue; + dwCallback: bigint | number; /** usize */ - dwInstance: Deno.PointerValue; + dwInstance: bigint | number; /** usize */ - dnDevNode: Deno.PointerValue; + dnDevNode: bigint | number; } export const sizeofMIXEROPENDESC = 40; @@ -22359,17 +22359,17 @@ export class MIXEROPENDESCView { } // 0x10: usize - get dwCallback(): Deno.PointerValue { + get dwCallback(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwInstance(): Deno.PointerValue { + get dwInstance(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dnDevNode(): Deno.PointerValue { + get dnDevNode(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -22384,17 +22384,17 @@ export class MIXEROPENDESCView { } // 0x10: usize - set dwCallback(value: Deno.PointerValue) { + set dwCallback(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwInstance(value: Deno.PointerValue) { + set dwInstance(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dnDevNode(value: Deno.PointerValue) { + set dnDevNode(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -22605,7 +22605,7 @@ export class MCI_OPEN_DRIVER_PARMSView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type HRESULT = number; @@ -23321,8 +23321,8 @@ try { export function mciSendCommandA( mciId: number /* u32 */, uMsg: number /* u32 */, - dwParam1: Deno.PointerValue /* usize */, - dwParam2: Deno.PointerValue /* usize */, + dwParam1: bigint | number /* usize */, + dwParam2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.mciSendCommandA(mciId, uMsg, dwParam1, dwParam2); } @@ -23330,8 +23330,8 @@ export function mciSendCommandA( export function mciSendCommandW( mciId: number /* u32 */, uMsg: number /* u32 */, - dwParam1: Deno.PointerValue /* usize */, - dwParam2: Deno.PointerValue /* usize */, + dwParam1: bigint | number /* usize */, + dwParam2: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.mciSendCommandW(mciId, uMsg, dwParam1, dwParam2); } @@ -23419,7 +23419,7 @@ export function mciGetYieldProc( export function mciGetDriverData( wDeviceID: number /* u32 */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libWINMM_dll.mciGetDriverData(wDeviceID); } @@ -23433,7 +23433,7 @@ export function mciLoadCommandResource( export function mciSetDriverData( wDeviceID: number /* u32 */, - dwData: Deno.PointerValue /* usize */, + dwData: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWINMM_dll.mciSetDriverData(wDeviceID, dwData)); } @@ -23496,7 +23496,7 @@ export function GetDriverModuleHandle( } export function DefDriverProc( - dwDriverIdentifier: Deno.PointerValue /* usize */, + dwDriverIdentifier: bigint | number /* usize */, hdrvr: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Multimedia.HDRVR */, uMsg: number /* u32 */, lParam1: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, @@ -23506,13 +23506,13 @@ export function DefDriverProc( } export function DriverCallback( - dwCallback: Deno.PointerValue /* usize */, + dwCallback: bigint | number /* usize */, dwFlags: number /* u32 */, hDevice: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Multimedia.HDRVR */, dwMsg: number /* u32 */, - dwUser: Deno.PointerValue /* usize */, - dwParam1: Deno.PointerValue /* usize */, - dwParam2: Deno.PointerValue /* usize */, + dwUser: bigint | number /* usize */, + dwParam1: bigint | number /* usize */, + dwParam2: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWINMM_dll.DriverCallback(dwCallback, dwFlags, util.toPointer(hDevice), dwMsg, dwUser, dwParam1, dwParam2)); } @@ -23716,7 +23716,7 @@ export function joyGetNumDevs(): number /* u32 */ { } export function joyGetDevCapsA( - uJoyID: Deno.PointerValue /* usize */, + uJoyID: bigint | number /* usize */, pjc: Deno.PointerValue | Uint8Array /* ptr */, cbjc: number /* u32 */, ): number /* u32 */ { @@ -23724,7 +23724,7 @@ export function joyGetDevCapsA( } export function joyGetDevCapsW( - uJoyID: Deno.PointerValue /* usize */, + uJoyID: bigint | number /* usize */, pjc: Deno.PointerValue | Uint8Array /* ptr */, cbjc: number /* u32 */, ): number /* u32 */ { @@ -23831,8 +23831,8 @@ export function ICClose( export function ICSendMessage( hic: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Multimedia.HIC */, msg: number /* u32 */, - dw1: Deno.PointerValue /* usize */, - dw2: Deno.PointerValue /* usize */, + dw1: bigint | number /* usize */, + dw2: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.LRESULT */ { return libMSVFW32_dll.ICSendMessage(util.toPointer(hic), msg, dw1, dw2); } @@ -23981,18 +23981,18 @@ export function ICCompressorFree( return libMSVFW32_dll.ICCompressorFree(util.toPointer(pc)); } -export function DrawDibOpen(): Deno.PointerValue /* isize */ { +export function DrawDibOpen(): bigint | number /* isize */ { return libMSVFW32_dll.DrawDibOpen(); } export function DrawDibClose( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libMSVFW32_dll.DrawDibClose(hdd)); } export function DrawDibGetBuffer( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, lpbi: Deno.PointerValue | Uint8Array /* ptr */, dwSize: number /* u32 */, dwFlags: number /* u32 */, @@ -24001,20 +24001,20 @@ export function DrawDibGetBuffer( } export function DrawDibGetPalette( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HPALETTE */ { return libMSVFW32_dll.DrawDibGetPalette(hdd); } export function DrawDibSetPalette( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, hpal: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HPALETTE */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libMSVFW32_dll.DrawDibSetPalette(hdd, util.toPointer(hpal))); } export function DrawDibChangePalette( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, iStart: number /* i32 */, iLen: number /* i32 */, lppe: Deno.PointerValue | Uint8Array /* ptr */, @@ -24023,7 +24023,7 @@ export function DrawDibChangePalette( } export function DrawDibRealize( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, fBackground: boolean /* Windows.Win32.Foundation.BOOL */, ): number /* u32 */ { @@ -24031,20 +24031,20 @@ export function DrawDibRealize( } export function DrawDibStart( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, rate: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libMSVFW32_dll.DrawDibStart(hdd, rate)); } export function DrawDibStop( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libMSVFW32_dll.DrawDibStop(hdd)); } export function DrawDibBegin( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, dxDst: number /* i32 */, dyDst: number /* i32 */, @@ -24057,7 +24057,7 @@ export function DrawDibBegin( } export function DrawDibDraw( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, xDst: number /* i32 */, yDst: number /* i32 */, @@ -24075,13 +24075,13 @@ export function DrawDibDraw( } export function DrawDibEnd( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libMSVFW32_dll.DrawDibEnd(hdd)); } export function DrawDibTime( - hdd: Deno.PointerValue /* isize */, + hdd: bigint | number /* isize */, lpddtime: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libMSVFW32_dll.DrawDibTime(hdd, util.toPointer(lpddtime))); @@ -24444,7 +24444,7 @@ export function AVISaveOptions( nStreams: number /* i32 */, ppavi: Deno.PointerValue | Uint8Array /* ptr */, plpOptions: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libAVIFIL32_dll.AVISaveOptions((hwnd), uiFlags, nStreams, util.toPointer(ppavi), util.toPointer(plpOptions)); } @@ -24671,7 +24671,7 @@ export function GetSaveFileNamePreviewW( export function mmTaskCreate( lpfn: Uint8Array | Deno.PointerValue /* Windows.Win32.Media.Multimedia.LPTASKCALLBACK */, lph: Deno.PointerValue | Uint8Array /* ptr */, - dwInst: Deno.PointerValue /* usize */, + dwInst: bigint | number /* usize */, ): number /* u32 */ { return libWINMM_dll.mmTaskCreate(util.toPointer(lpfn), util.toPointer(lph), dwInst); } diff --git a/api/Media/Speech.ts b/api/Media/Speech.ts index 4b7c03f..a131134 100644 --- a/api/Media/Speech.ts +++ b/api/Media/Speech.ts @@ -1166,9 +1166,9 @@ export const DISPID_SPCIdToPhone = 3; // Structs -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Media.Speech.SPEVENT (size: 32) @@ -1179,7 +1179,7 @@ export interface SPEVENT { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** Windows.Win32.Foundation.WPARAM */ wParam: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LPARAM */ @@ -1225,7 +1225,7 @@ export class SPEVENTView { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1252,7 +1252,7 @@ export class SPEVENTView { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1276,7 +1276,7 @@ export interface SPSERIALIZEDEVENT { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** u32 */ SerializedwParam: number; /** i32 */ @@ -1322,7 +1322,7 @@ export class SPSERIALIZEDEVENTView { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1347,7 +1347,7 @@ export class SPSERIALIZEDEVENTView { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1371,11 +1371,11 @@ export interface SPSERIALIZEDEVENT64 { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** u64 */ - SerializedwParam: Deno.PointerValue; + SerializedwParam: bigint | number; /** i64 */ - SerializedlParam: Deno.PointerValue; + SerializedlParam: bigint | number; } export const sizeofSPSERIALIZEDEVENT64 = 32; @@ -1417,17 +1417,17 @@ export class SPSERIALIZEDEVENT64View { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SerializedwParam(): Deno.PointerValue { + get SerializedwParam(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: i64 - get SerializedlParam(): Deno.PointerValue { + get SerializedlParam(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -1442,17 +1442,17 @@ export class SPSERIALIZEDEVENT64View { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SerializedwParam(value: Deno.PointerValue) { + set SerializedwParam(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: i64 - set SerializedlParam(value: Deno.PointerValue) { + set SerializedlParam(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -1466,13 +1466,13 @@ export interface SPEVENTEX { /** u32 */ ulStreamNum: number; /** u64 */ - ullAudioStreamOffset: Deno.PointerValue; + ullAudioStreamOffset: bigint | number; /** Windows.Win32.Foundation.WPARAM */ wParam: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LPARAM */ lParam: Uint8Array | Deno.PointerValue; /** u64 */ - ullAudioTimeOffset: Deno.PointerValue; + ullAudioTimeOffset: bigint | number; } export const sizeofSPEVENTEX = 40; @@ -1516,7 +1516,7 @@ export class SPEVENTEXView { } // 0x08: u64 - get ullAudioStreamOffset(): Deno.PointerValue { + get ullAudioStreamOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1533,7 +1533,7 @@ export class SPEVENTEXView { } // 0x20: u64 - get ullAudioTimeOffset(): Deno.PointerValue { + get ullAudioTimeOffset(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1548,7 +1548,7 @@ export class SPEVENTEXView { } // 0x08: u64 - set ullAudioStreamOffset(value: Deno.PointerValue) { + set ullAudioStreamOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1563,7 +1563,7 @@ export class SPEVENTEXView { } // 0x20: u64 - set ullAudioTimeOffset(value: Deno.PointerValue) { + set ullAudioTimeOffset(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -1573,9 +1573,9 @@ export class SPEVENTEXView { */ export interface SPEVENTSOURCEINFO { /** u64 */ - ullEventInterest: Deno.PointerValue; + ullEventInterest: bigint | number; /** u64 */ - ullQueuedInterest: Deno.PointerValue; + ullQueuedInterest: bigint | number; /** u32 */ ulCount: number; } @@ -1606,12 +1606,12 @@ export class SPEVENTSOURCEINFOView { } // 0x00: u64 - get ullEventInterest(): Deno.PointerValue { + get ullEventInterest(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullQueuedInterest(): Deno.PointerValue { + get ullQueuedInterest(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1623,12 +1623,12 @@ export class SPEVENTSOURCEINFOView { // 0x14: pad4 // 0x00: u64 - set ullEventInterest(value: Deno.PointerValue) { + set ullEventInterest(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullQueuedInterest(value: Deno.PointerValue) { + set ullQueuedInterest(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1651,9 +1651,9 @@ export interface SPAUDIOSTATUS { /** Windows.Win32.Media.Speech.SPAUDIOSTATE */ State: SPAUDIOSTATE; /** u64 */ - CurSeekPos: Deno.PointerValue; + CurSeekPos: bigint | number; /** u64 */ - CurDevicePos: Deno.PointerValue; + CurDevicePos: bigint | number; /** u32 */ dwAudioLevel: number; /** u32 */ @@ -1711,12 +1711,12 @@ export class SPAUDIOSTATUSView { // 0x0c: pad4 // 0x10: u64 - get CurSeekPos(): Deno.PointerValue { + get CurSeekPos(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get CurDevicePos(): Deno.PointerValue { + get CurDevicePos(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1748,12 +1748,12 @@ export class SPAUDIOSTATUSView { // 0x0c: pad4 // 0x10: u64 - set CurSeekPos(value: Deno.PointerValue) { + set CurSeekPos(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set CurDevicePos(value: Deno.PointerValue) { + set CurDevicePos(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -2233,9 +2233,9 @@ export class SPPHRASERULEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2261,22 +2261,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2780,11 +2780,11 @@ export interface SPPHRASE_50 { /** u16 */ wHomophoneGroupId: number; /** u64 */ - ullGrammarID: Deno.PointerValue; + ullGrammarID: bigint | number; /** u64 */ - ftStartTime: Deno.PointerValue; + ftStartTime: bigint | number; /** u64 */ - ullAudioStreamPosition: Deno.PointerValue; + ullAudioStreamPosition: bigint | number; /** u32 */ ulAudioSizeBytes: number; /** u32 */ @@ -2880,17 +2880,17 @@ export class SPPHRASE_50View { } // 0x08: u64 - get ullGrammarID(): Deno.PointerValue { + get ullGrammarID(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ftStartTime(): Deno.PointerValue { + get ftStartTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullAudioStreamPosition(): Deno.PointerValue { + get ullAudioStreamPosition(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2977,17 +2977,17 @@ export class SPPHRASE_50View { } // 0x08: u64 - set ullGrammarID(value: Deno.PointerValue) { + set ullGrammarID(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ftStartTime(value: Deno.PointerValue) { + set ftStartTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullAudioStreamPosition(value: Deno.PointerValue) { + set ullAudioStreamPosition(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -4501,11 +4501,11 @@ export interface SPRECORESULTTIMES { /** Windows.Win32.Foundation.FILETIME */ ftStreamTime: Uint8Array | Deno.PointerValue; /** u64 */ - ullLength: Deno.PointerValue; + ullLength: bigint | number; /** u32 */ dwTickCount: number; /** u64 */ - ullStart: Deno.PointerValue; + ullStart: bigint | number; } export const sizeofSPRECORESULTTIMES = 32; @@ -4542,7 +4542,7 @@ export class SPRECORESULTTIMESView { } // 0x08: u64 - get ullLength(): Deno.PointerValue { + get ullLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4554,7 +4554,7 @@ export class SPRECORESULTTIMESView { // 0x14: pad4 // 0x18: u64 - get ullStart(): Deno.PointerValue { + get ullStart(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4564,7 +4564,7 @@ export class SPRECORESULTTIMESView { } // 0x08: u64 - set ullLength(value: Deno.PointerValue) { + set ullLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -4576,7 +4576,7 @@ export class SPRECORESULTTIMESView { // 0x14: pad4 // 0x18: u64 - set ullStart(value: Deno.PointerValue) { + set ullStart(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4897,7 +4897,7 @@ export interface SPRECOGNIZERSTATUS { /** Windows.Win32.Media.Speech.SPAUDIOSTATUS */ AudioStatus: Uint8Array | Deno.PointerValue; /** u64 */ - ullRecognitionStreamPos: Deno.PointerValue; + ullRecognitionStreamPos: bigint | number; /** u32 */ ulStreamNumber: number; /** u32 */ @@ -4909,7 +4909,7 @@ export interface SPRECOGNIZERSTATUS { /** array */ aLangID: Deno.PointerValue; /** u64 */ - ullRecognitionStreamTime: Deno.PointerValue; + ullRecognitionStreamTime: bigint | number; } export const sizeofSPRECOGNIZERSTATUS = 56; @@ -4954,7 +4954,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x08: u64 - get ullRecognitionStreamPos(): Deno.PointerValue { + get ullRecognitionStreamPos(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4988,7 +4988,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x30: u64 - get ullRecognitionStreamTime(): Deno.PointerValue { + get ullRecognitionStreamTime(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4998,7 +4998,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x08: u64 - set ullRecognitionStreamPos(value: Deno.PointerValue) { + set ullRecognitionStreamPos(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5030,7 +5030,7 @@ export class SPRECOGNIZERSTATUSView { } // 0x30: u64 - set ullRecognitionStreamTime(value: Deno.PointerValue) { + set ullRecognitionStreamTime(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } diff --git a/api/Media/WindowsMediaFormat.ts b/api/Media/WindowsMediaFormat.ts index af06028..e70b75e 100644 --- a/api/Media/WindowsMediaFormat.ts +++ b/api/Media/WindowsMediaFormat.ts @@ -604,13 +604,13 @@ export class WM_STREAM_PRIORITY_RECORDView { */ export interface WM_WRITER_STATISTICS { /** u64 */ - qwSampleCount: Deno.PointerValue; + qwSampleCount: bigint | number; /** u64 */ - qwByteCount: Deno.PointerValue; + qwByteCount: bigint | number; /** u64 */ - qwDroppedSampleCount: Deno.PointerValue; + qwDroppedSampleCount: bigint | number; /** u64 */ - qwDroppedByteCount: Deno.PointerValue; + qwDroppedByteCount: bigint | number; /** u32 */ dwCurrentBitrate: number; /** u32 */ @@ -664,22 +664,22 @@ export class WM_WRITER_STATISTICSView { } // 0x00: u64 - get qwSampleCount(): Deno.PointerValue { + get qwSampleCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get qwByteCount(): Deno.PointerValue { + get qwByteCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get qwDroppedSampleCount(): Deno.PointerValue { + get qwDroppedSampleCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get qwDroppedByteCount(): Deno.PointerValue { + get qwDroppedByteCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -714,22 +714,22 @@ export class WM_WRITER_STATISTICSView { } // 0x00: u64 - set qwSampleCount(value: Deno.PointerValue) { + set qwSampleCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set qwByteCount(value: Deno.PointerValue) { + set qwByteCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set qwDroppedSampleCount(value: Deno.PointerValue) { + set qwDroppedSampleCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set qwDroppedByteCount(value: Deno.PointerValue) { + set qwDroppedByteCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -1021,13 +1021,13 @@ export interface WM_READER_CLIENTINFO { /** Windows.Win32.Foundation.PWSTR */ wszBrowserWebPage: string | null | Uint8Array | Uint16Array; /** u64 */ - qwReserved: Deno.PointerValue; + qwReserved: bigint | number; /** ptr */ pReserved: Deno.PointerValue | Uint8Array; /** Windows.Win32.Foundation.PWSTR */ wszHostExe: string | null | Uint8Array | Uint16Array; /** u64 */ - qwHostVersion: Deno.PointerValue; + qwHostVersion: bigint | number; /** Windows.Win32.Foundation.PWSTR */ wszPlayerUserAgent: string | null | Uint8Array | Uint16Array; } @@ -1110,7 +1110,7 @@ export class WM_READER_CLIENTINFOView { } // 0x20: u64 - get qwReserved(): Deno.PointerValue { + get qwReserved(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1127,7 +1127,7 @@ export class WM_READER_CLIENTINFOView { } // 0x38: u64 - get qwHostVersion(): Deno.PointerValue { + get qwHostVersion(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -1163,7 +1163,7 @@ export class WM_READER_CLIENTINFOView { } // 0x20: u64 - set qwReserved(value: Deno.PointerValue) { + set qwReserved(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -1179,7 +1179,7 @@ export class WM_READER_CLIENTINFOView { } // 0x38: u64 - set qwHostVersion(value: Deno.PointerValue) { + set qwHostVersion(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -3600,7 +3600,7 @@ export interface WMVIDEOINFOHEADER { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** Windows.Win32.Graphics.Gdi.BITMAPINFOHEADER */ bmiHeader: Uint8Array | Deno.PointerValue; } @@ -3658,7 +3658,7 @@ export class WMVIDEOINFOHEADERView { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -3689,7 +3689,7 @@ export class WMVIDEOINFOHEADERView { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -3712,7 +3712,7 @@ export interface WMVIDEOINFOHEADER2 { /** u32 */ dwBitErrorRate: number; /** i64 */ - AvgTimePerFrame: Deno.PointerValue; + AvgTimePerFrame: bigint | number; /** u32 */ dwInterlaceFlags: number; /** u32 */ @@ -3794,7 +3794,7 @@ export class WMVIDEOINFOHEADER2View { } // 0x18: i64 - get AvgTimePerFrame(): Deno.PointerValue { + get AvgTimePerFrame(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -3855,7 +3855,7 @@ export class WMVIDEOINFOHEADER2View { } // 0x18: i64 - set AvgTimePerFrame(value: Deno.PointerValue) { + set AvgTimePerFrame(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } diff --git a/api/NetworkManagement/Dhcp.ts b/api/NetworkManagement/Dhcp.ts index 2c33826..111f47c 100644 --- a/api/NetworkManagement/Dhcp.ts +++ b/api/NetworkManagement/Dhcp.ts @@ -814,13 +814,13 @@ export interface DHCPV6PrefixLeaseInformation { /** u32 */ iaid: number; /** i64 */ - T1: Deno.PointerValue; + T1: bigint | number; /** i64 */ - T2: Deno.PointerValue; + T2: bigint | number; /** i64 */ - MaxLeaseExpirationTime: Deno.PointerValue; + MaxLeaseExpirationTime: bigint | number; /** i64 */ - LastRenewalTime: Deno.PointerValue; + LastRenewalTime: bigint | number; /** Windows.Win32.NetworkManagement.Dhcp.StatusCode */ status: StatusCode; /** ptr */ @@ -892,22 +892,22 @@ export class DHCPV6PrefixLeaseInformationView { // 0x14: pad4 // 0x18: i64 - get T1(): Deno.PointerValue { + get T1(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get T2(): Deno.PointerValue { + get T2(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get MaxLeaseExpirationTime(): Deno.PointerValue { + get MaxLeaseExpirationTime(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: i64 - get LastRenewalTime(): Deno.PointerValue { + get LastRenewalTime(): bigint | number { return Number(this.view.getBigInt64(48, true)); } @@ -951,22 +951,22 @@ export class DHCPV6PrefixLeaseInformationView { // 0x14: pad4 // 0x18: i64 - set T1(value: Deno.PointerValue) { + set T1(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set T2(value: Deno.PointerValue) { + set T2(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set MaxLeaseExpirationTime(value: Deno.PointerValue) { + set MaxLeaseExpirationTime(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: i64 - set LastRenewalTime(value: Deno.PointerValue) { + set LastRenewalTime(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } @@ -2290,9 +2290,9 @@ export interface DHCP_SUBNET_INFO_VQ { /** u32 */ Reserved2: number; /** i64 */ - Reserved3: Deno.PointerValue; + Reserved3: bigint | number; /** i64 */ - Reserved4: Deno.PointerValue; + Reserved4: bigint | number; } export const sizeofDHCP_SUBNET_INFO_VQ = 64; @@ -2390,12 +2390,12 @@ export class DHCP_SUBNET_INFO_VQView { } // 0x30: i64 - get Reserved3(): Deno.PointerValue { + get Reserved3(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: i64 - get Reserved4(): Deno.PointerValue { + get Reserved4(): bigint | number { return Number(this.view.getBigInt64(56, true)); } @@ -2447,12 +2447,12 @@ export class DHCP_SUBNET_INFO_VQView { } // 0x30: i64 - set Reserved3(value: Deno.PointerValue) { + set Reserved3(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: i64 - set Reserved4(value: Deno.PointerValue) { + set Reserved4(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } } @@ -2851,9 +2851,9 @@ export class DHCP_SUBNET_ELEMENT_INFO_ARRAYView { */ export interface DHCP_IPV6_ADDRESS { /** u64 */ - HighOrderBits: Deno.PointerValue; + HighOrderBits: bigint | number; /** u64 */ - LowOrderBits: Deno.PointerValue; + LowOrderBits: bigint | number; } export const sizeofDHCP_IPV6_ADDRESS = 16; @@ -2879,22 +2879,22 @@ export class DHCP_IPV6_ADDRESSView { } // 0x00: u64 - get HighOrderBits(): Deno.PointerValue { + get HighOrderBits(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get LowOrderBits(): Deno.PointerValue { + get LowOrderBits(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set HighOrderBits(value: Deno.PointerValue) { + set HighOrderBits(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set LowOrderBits(value: Deno.PointerValue) { + set LowOrderBits(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10050,9 +10050,9 @@ export class DHCPDS_SERVERSView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -10078,22 +10078,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11551,11 +11551,11 @@ export interface SCOPE_MIB_INFO_V6 { /** Windows.Win32.NetworkManagement.Dhcp.DHCP_IPV6_ADDRESS */ Subnet: Uint8Array | Deno.PointerValue; /** u64 */ - NumAddressesInuse: Deno.PointerValue; + NumAddressesInuse: bigint | number; /** u64 */ - NumAddressesFree: Deno.PointerValue; + NumAddressesFree: bigint | number; /** u64 */ - NumPendingAdvertises: Deno.PointerValue; + NumPendingAdvertises: bigint | number; } export const sizeofSCOPE_MIB_INFO_V6 = 32; @@ -11591,17 +11591,17 @@ export class SCOPE_MIB_INFO_V6View { } // 0x08: u64 - get NumAddressesInuse(): Deno.PointerValue { + get NumAddressesInuse(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get NumAddressesFree(): Deno.PointerValue { + get NumAddressesFree(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get NumPendingAdvertises(): Deno.PointerValue { + get NumPendingAdvertises(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -11611,17 +11611,17 @@ export class SCOPE_MIB_INFO_V6View { } // 0x08: u64 - set NumAddressesInuse(value: Deno.PointerValue) { + set NumAddressesInuse(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set NumAddressesFree(value: Deno.PointerValue) { + set NumAddressesFree(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set NumPendingAdvertises(value: Deno.PointerValue) { + set NumPendingAdvertises(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -13443,9 +13443,9 @@ export interface DHCPV6_STATELESS_SCOPE_STATS { /** Windows.Win32.NetworkManagement.Dhcp.DHCP_IPV6_ADDRESS */ SubnetAddress: Uint8Array | Deno.PointerValue; /** u64 */ - NumStatelessClientsAdded: Deno.PointerValue; + NumStatelessClientsAdded: bigint | number; /** u64 */ - NumStatelessClientsRemoved: Deno.PointerValue; + NumStatelessClientsRemoved: bigint | number; } export const sizeofDHCPV6_STATELESS_SCOPE_STATS = 24; @@ -13479,12 +13479,12 @@ export class DHCPV6_STATELESS_SCOPE_STATSView { } // 0x08: u64 - get NumStatelessClientsAdded(): Deno.PointerValue { + get NumStatelessClientsAdded(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get NumStatelessClientsRemoved(): Deno.PointerValue { + get NumStatelessClientsRemoved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -13494,12 +13494,12 @@ export class DHCPV6_STATELESS_SCOPE_STATSView { } // 0x08: u64 - set NumStatelessClientsAdded(value: Deno.PointerValue) { + set NumStatelessClientsAdded(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set NumStatelessClientsRemoved(value: Deno.PointerValue) { + set NumStatelessClientsRemoved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } diff --git a/api/NetworkManagement/Dns.ts b/api/NetworkManagement/Dns.ts index ffb65db..f9319f4 100644 --- a/api/NetworkManagement/Dns.ts +++ b/api/NetworkManagement/Dns.ts @@ -394,7 +394,7 @@ export const TAG_DNS_CONNECTION_POLICY_TAG_WWWPT = 2; // Structs -export type DnsContextHandle = Deno.PointerValue; +export type DnsContextHandle = bigint | number; /** * Windows.Win32.NetworkManagement.Dns.IP6_ADDRESS (size: 32) @@ -4869,7 +4869,7 @@ export interface DNS_TSIG_DATAW { /** ptr */ pOtherData: Deno.PointerValue | Uint8Array; /** i64 */ - i64CreateTime: Deno.PointerValue; + i64CreateTime: bigint | number; /** u16 */ wFudgeTime: number; /** u16 */ @@ -4957,7 +4957,7 @@ export class DNS_TSIG_DATAWView { } // 0x20: i64 - get i64CreateTime(): Deno.PointerValue { + get i64CreateTime(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -5020,7 +5020,7 @@ export class DNS_TSIG_DATAWView { } // 0x20: i64 - set i64CreateTime(value: Deno.PointerValue) { + set i64CreateTime(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -5075,7 +5075,7 @@ export interface DNS_TSIG_DATAA { /** ptr */ pOtherData: Deno.PointerValue | Uint8Array; /** i64 */ - i64CreateTime: Deno.PointerValue; + i64CreateTime: bigint | number; /** u16 */ wFudgeTime: number; /** u16 */ @@ -5163,7 +5163,7 @@ export class DNS_TSIG_DATAAView { } // 0x20: i64 - get i64CreateTime(): Deno.PointerValue { + get i64CreateTime(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -5226,7 +5226,7 @@ export class DNS_TSIG_DATAAView { } // 0x20: i64 - set i64CreateTime(value: Deno.PointerValue) { + set i64CreateTime(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -5654,9 +5654,9 @@ export class DNS_RECORD_FLAGSView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -5682,22 +5682,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6537,7 +6537,7 @@ export interface DNS_QUERY_RESULT { /** i32 */ QueryStatus: number; /** u64 */ - QueryOptions: Deno.PointerValue; + QueryOptions: bigint | number; /** ptr */ pQueryRecords: Deno.PointerValue | Uint8Array; /** ptr */ @@ -6583,7 +6583,7 @@ export class DNS_QUERY_RESULTView { } // 0x08: u64 - get QueryOptions(): Deno.PointerValue { + get QueryOptions(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6610,7 +6610,7 @@ export class DNS_QUERY_RESULTView { } // 0x08: u64 - set QueryOptions(value: Deno.PointerValue) { + set QueryOptions(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6636,7 +6636,7 @@ export interface DNS_QUERY_REQUEST { /** u16 */ QueryType: number; /** u64 */ - QueryOptions: Deno.PointerValue; + QueryOptions: bigint | number; /** ptr */ pDnsServerList: Deno.PointerValue | Uint8Array; /** u32 */ @@ -6708,7 +6708,7 @@ export class DNS_QUERY_REQUESTView { // 0x12: pad6 // 0x18: u64 - get QueryOptions(): Deno.PointerValue { + get QueryOptions(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6758,7 +6758,7 @@ export class DNS_QUERY_REQUESTView { // 0x12: pad6 // 0x18: u64 - set QueryOptions(value: Deno.PointerValue) { + set QueryOptions(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6830,11 +6830,11 @@ export class DNS_QUERY_CANCELView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -6886,7 +6886,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6897,7 +6897,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6933,7 +6933,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6944,7 +6944,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -6981,7 +6981,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -7010,7 +7010,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7022,7 +7022,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7041,7 +7041,7 @@ export interface DNS_CUSTOM_SERVER { /** u32 */ dwServerType: number; /** u64 */ - ullFlags: Deno.PointerValue; + ullFlags: bigint | number; /** _Anonymous1_e__Union */ Anonymous1: Uint8Array | Deno.PointerValue; /** _Anonymous2_e__Union */ @@ -7083,7 +7083,7 @@ export class DNS_CUSTOM_SERVERView { // 0x04: pad4 // 0x08: u64 - get ullFlags(): Deno.PointerValue { + get ullFlags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7107,7 +7107,7 @@ export class DNS_CUSTOM_SERVERView { // 0x04: pad4 // 0x08: u64 - set ullFlags(value: Deno.PointerValue) { + set ullFlags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -7133,7 +7133,7 @@ export interface DNS_QUERY_REQUEST3 { /** u16 */ QueryType: number; /** u64 */ - QueryOptions: Deno.PointerValue; + QueryOptions: bigint | number; /** ptr */ pDnsServerList: Deno.PointerValue | Uint8Array; /** u32 */ @@ -7222,7 +7222,7 @@ export class DNS_QUERY_REQUEST3View { // 0x12: pad6 // 0x18: u64 - get QueryOptions(): Deno.PointerValue { + get QueryOptions(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -7295,7 +7295,7 @@ export class DNS_QUERY_REQUEST3View { // 0x12: pad6 // 0x18: u64 - set QueryOptions(value: Deno.PointerValue) { + set QueryOptions(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -7351,7 +7351,7 @@ export interface DNS_APPLICATION_SETTINGS { /** u32 */ Version: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofDNS_APPLICATION_SETTINGS = 16; @@ -7385,7 +7385,7 @@ export class DNS_APPLICATION_SETTINGSView { // 0x04: pad4 // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7397,7 +7397,7 @@ export class DNS_APPLICATION_SETTINGSView { // 0x04: pad4 // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7618,7 +7618,7 @@ export class DNS_CONNECTION_PROXY_INFOView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.NetworkManagement.Dns.DNS_CONNECTION_PROXY_INFO_EX (size: 40) @@ -8976,7 +8976,7 @@ export interface MDNS_QUERY_REQUEST { /** u16 */ QueryType: number; /** u64 */ - QueryOptions: Deno.PointerValue; + QueryOptions: bigint | number; /** u32 */ InterfaceIndex: number; /** Windows.Win32.NetworkManagement.Dns.PMDNS_QUERY_CALLBACK */ @@ -9056,7 +9056,7 @@ export class MDNS_QUERY_REQUESTView { // 0x12: pad6 // 0x18: u64 - get QueryOptions(): Deno.PointerValue { + get QueryOptions(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9113,7 +9113,7 @@ export class MDNS_QUERY_REQUESTView { // 0x12: pad6 // 0x18: u64 - set QueryOptions(value: Deno.PointerValue) { + set QueryOptions(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } diff --git a/api/NetworkManagement/IpHelper.ts b/api/NetworkManagement/IpHelper.ts index a3f5d51..9dceb1d 100644 --- a/api/NetworkManagement/IpHelper.ts +++ b/api/NetworkManagement/IpHelper.ts @@ -4042,9 +4042,9 @@ export const ERROR_QUERY_STORAGE_ERROR = 2151284737; // Structs -export type IcmpHandle = Deno.PointerValue; +export type IcmpHandle = bigint | number; -export type HIFTIMESTAMPCHANGE = Deno.PointerValue; +export type HIFTIMESTAMPCHANGE = bigint | number; /** * Windows.Win32.NetworkManagement.IpHelper.IP_OPTION_INFORMATION32 (size: 16) @@ -5010,13 +5010,13 @@ export class IP_ADAPTER_ORDER_MAPView { */ export interface IP_MCAST_COUNTER_INFO { /** u64 */ - InMcastOctets: Deno.PointerValue; + InMcastOctets: bigint | number; /** u64 */ - OutMcastOctets: Deno.PointerValue; + OutMcastOctets: bigint | number; /** u64 */ - InMcastPkts: Deno.PointerValue; + InMcastPkts: bigint | number; /** u64 */ - OutMcastPkts: Deno.PointerValue; + OutMcastPkts: bigint | number; } export const sizeofIP_MCAST_COUNTER_INFO = 32; @@ -5046,42 +5046,42 @@ export class IP_MCAST_COUNTER_INFOView { } // 0x00: u64 - get InMcastOctets(): Deno.PointerValue { + get InMcastOctets(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get OutMcastOctets(): Deno.PointerValue { + get OutMcastOctets(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get InMcastPkts(): Deno.PointerValue { + get InMcastPkts(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get OutMcastPkts(): Deno.PointerValue { + get OutMcastPkts(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set InMcastOctets(value: Deno.PointerValue) { + set InMcastOctets(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set OutMcastOctets(value: Deno.PointerValue) { + set OutMcastOctets(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set InMcastPkts(value: Deno.PointerValue) { + set InMcastPkts(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set OutMcastPkts(value: Deno.PointerValue) { + set OutMcastPkts(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -5091,7 +5091,7 @@ export class IP_MCAST_COUNTER_INFOView { */ export interface _Info_e__Struct { /** u64 */ - _bitfield: Deno.PointerValue; + _bitfield: bigint | number; } export const sizeof_Info_e__Struct = 8; @@ -5115,12 +5115,12 @@ export class _Info_e__StructView { } // 0x00: u64 - get _bitfield(): Deno.PointerValue { + get _bitfield(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set _bitfield(value: Deno.PointerValue) { + set _bitfield(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -5130,7 +5130,7 @@ export class _Info_e__StructView { */ export interface NET_LUID_LH { /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; /** _Info_e__Struct */ Info: Uint8Array | Deno.PointerValue; } @@ -5158,7 +5158,7 @@ export class NET_LUID_LHView { } // 0x00: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5169,7 +5169,7 @@ export class NET_LUID_LHView { } // 0x00: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5270,45 +5270,45 @@ export interface MIB_IF_ROW2 { /** Windows.Win32.NetworkManagement.Ndis.NET_IF_CONNECTION_TYPE */ ConnectionType: NET_IF_CONNECTION_TYPE; /** u64 */ - TransmitLinkSpeed: Deno.PointerValue; + TransmitLinkSpeed: bigint | number; /** u64 */ - ReceiveLinkSpeed: Deno.PointerValue; + ReceiveLinkSpeed: bigint | number; /** u64 */ - InOctets: Deno.PointerValue; + InOctets: bigint | number; /** u64 */ - InUcastPkts: Deno.PointerValue; + InUcastPkts: bigint | number; /** u64 */ - InNUcastPkts: Deno.PointerValue; + InNUcastPkts: bigint | number; /** u64 */ - InDiscards: Deno.PointerValue; + InDiscards: bigint | number; /** u64 */ - InErrors: Deno.PointerValue; + InErrors: bigint | number; /** u64 */ - InUnknownProtos: Deno.PointerValue; + InUnknownProtos: bigint | number; /** u64 */ - InUcastOctets: Deno.PointerValue; + InUcastOctets: bigint | number; /** u64 */ - InMulticastOctets: Deno.PointerValue; + InMulticastOctets: bigint | number; /** u64 */ - InBroadcastOctets: Deno.PointerValue; + InBroadcastOctets: bigint | number; /** u64 */ - OutOctets: Deno.PointerValue; + OutOctets: bigint | number; /** u64 */ - OutUcastPkts: Deno.PointerValue; + OutUcastPkts: bigint | number; /** u64 */ - OutNUcastPkts: Deno.PointerValue; + OutNUcastPkts: bigint | number; /** u64 */ - OutDiscards: Deno.PointerValue; + OutDiscards: bigint | number; /** u64 */ - OutErrors: Deno.PointerValue; + OutErrors: bigint | number; /** u64 */ - OutUcastOctets: Deno.PointerValue; + OutUcastOctets: bigint | number; /** u64 */ - OutMulticastOctets: Deno.PointerValue; + OutMulticastOctets: bigint | number; /** u64 */ - OutBroadcastOctets: Deno.PointerValue; + OutBroadcastOctets: bigint | number; /** u64 */ - OutQLen: Deno.PointerValue; + OutQLen: bigint | number; } export const sizeofMIB_IF_ROW2 = 296; @@ -5540,102 +5540,102 @@ export class MIB_IF_ROW2View { // 0x84: pad4 // 0x88: u64 - get TransmitLinkSpeed(): Deno.PointerValue { + get TransmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get ReceiveLinkSpeed(): Deno.PointerValue { + get ReceiveLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get InOctets(): Deno.PointerValue { + get InOctets(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get InUcastPkts(): Deno.PointerValue { + get InUcastPkts(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: u64 - get InNUcastPkts(): Deno.PointerValue { + get InNUcastPkts(): bigint | number { return Number(this.view.getBigUint64(168, true)); } // 0xb0: u64 - get InDiscards(): Deno.PointerValue { + get InDiscards(): bigint | number { return Number(this.view.getBigUint64(176, true)); } // 0xb8: u64 - get InErrors(): Deno.PointerValue { + get InErrors(): bigint | number { return Number(this.view.getBigUint64(184, true)); } // 0xc0: u64 - get InUnknownProtos(): Deno.PointerValue { + get InUnknownProtos(): bigint | number { return Number(this.view.getBigUint64(192, true)); } // 0xc8: u64 - get InUcastOctets(): Deno.PointerValue { + get InUcastOctets(): bigint | number { return Number(this.view.getBigUint64(200, true)); } // 0xd0: u64 - get InMulticastOctets(): Deno.PointerValue { + get InMulticastOctets(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: u64 - get InBroadcastOctets(): Deno.PointerValue { + get InBroadcastOctets(): bigint | number { return Number(this.view.getBigUint64(216, true)); } // 0xe0: u64 - get OutOctets(): Deno.PointerValue { + get OutOctets(): bigint | number { return Number(this.view.getBigUint64(224, true)); } // 0xe8: u64 - get OutUcastPkts(): Deno.PointerValue { + get OutUcastPkts(): bigint | number { return Number(this.view.getBigUint64(232, true)); } // 0xf0: u64 - get OutNUcastPkts(): Deno.PointerValue { + get OutNUcastPkts(): bigint | number { return Number(this.view.getBigUint64(240, true)); } // 0xf8: u64 - get OutDiscards(): Deno.PointerValue { + get OutDiscards(): bigint | number { return Number(this.view.getBigUint64(248, true)); } // 0x100: u64 - get OutErrors(): Deno.PointerValue { + get OutErrors(): bigint | number { return Number(this.view.getBigUint64(256, true)); } // 0x108: u64 - get OutUcastOctets(): Deno.PointerValue { + get OutUcastOctets(): bigint | number { return Number(this.view.getBigUint64(264, true)); } // 0x110: u64 - get OutMulticastOctets(): Deno.PointerValue { + get OutMulticastOctets(): bigint | number { return Number(this.view.getBigUint64(272, true)); } // 0x118: u64 - get OutBroadcastOctets(): Deno.PointerValue { + get OutBroadcastOctets(): bigint | number { return Number(this.view.getBigUint64(280, true)); } // 0x120: u64 - get OutQLen(): Deno.PointerValue { + get OutQLen(): bigint | number { return Number(this.view.getBigUint64(288, true)); } @@ -5755,102 +5755,102 @@ export class MIB_IF_ROW2View { // 0x84: pad4 // 0x88: u64 - set TransmitLinkSpeed(value: Deno.PointerValue) { + set TransmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set ReceiveLinkSpeed(value: Deno.PointerValue) { + set ReceiveLinkSpeed(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set InOctets(value: Deno.PointerValue) { + set InOctets(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set InUcastPkts(value: Deno.PointerValue) { + set InUcastPkts(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: u64 - set InNUcastPkts(value: Deno.PointerValue) { + set InNUcastPkts(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } // 0xb0: u64 - set InDiscards(value: Deno.PointerValue) { + set InDiscards(value: bigint | number) { this.view.setBigUint64(176, BigInt(value), true); } // 0xb8: u64 - set InErrors(value: Deno.PointerValue) { + set InErrors(value: bigint | number) { this.view.setBigUint64(184, BigInt(value), true); } // 0xc0: u64 - set InUnknownProtos(value: Deno.PointerValue) { + set InUnknownProtos(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } // 0xc8: u64 - set InUcastOctets(value: Deno.PointerValue) { + set InUcastOctets(value: bigint | number) { this.view.setBigUint64(200, BigInt(value), true); } // 0xd0: u64 - set InMulticastOctets(value: Deno.PointerValue) { + set InMulticastOctets(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: u64 - set InBroadcastOctets(value: Deno.PointerValue) { + set InBroadcastOctets(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } // 0xe0: u64 - set OutOctets(value: Deno.PointerValue) { + set OutOctets(value: bigint | number) { this.view.setBigUint64(224, BigInt(value), true); } // 0xe8: u64 - set OutUcastPkts(value: Deno.PointerValue) { + set OutUcastPkts(value: bigint | number) { this.view.setBigUint64(232, BigInt(value), true); } // 0xf0: u64 - set OutNUcastPkts(value: Deno.PointerValue) { + set OutNUcastPkts(value: bigint | number) { this.view.setBigUint64(240, BigInt(value), true); } // 0xf8: u64 - set OutDiscards(value: Deno.PointerValue) { + set OutDiscards(value: bigint | number) { this.view.setBigUint64(248, BigInt(value), true); } // 0x100: u64 - set OutErrors(value: Deno.PointerValue) { + set OutErrors(value: bigint | number) { this.view.setBigUint64(256, BigInt(value), true); } // 0x108: u64 - set OutUcastOctets(value: Deno.PointerValue) { + set OutUcastOctets(value: bigint | number) { this.view.setBigUint64(264, BigInt(value), true); } // 0x110: u64 - set OutMulticastOctets(value: Deno.PointerValue) { + set OutMulticastOctets(value: bigint | number) { this.view.setBigUint64(272, BigInt(value), true); } // 0x118: u64 - set OutBroadcastOctets(value: Deno.PointerValue) { + set OutBroadcastOctets(value: bigint | number) { this.view.setBigUint64(280, BigInt(value), true); } // 0x120: u64 - set OutQLen(value: Deno.PointerValue) { + set OutQLen(value: bigint | number) { this.view.setBigUint64(288, BigInt(value), true); } } @@ -5973,7 +5973,7 @@ export interface MIB_IPINTERFACE_ROW { /** u32 */ MaxReassemblySize: number; /** u64 */ - InterfaceIdentifier: Deno.PointerValue; + InterfaceIdentifier: bigint | number; /** u32 */ MinRouterAdvertisementInterval: number; /** u32 */ @@ -6152,7 +6152,7 @@ export class MIB_IPINTERFACE_ROWView { } // 0x18: u64 - get InterfaceIdentifier(): Deno.PointerValue { + get InterfaceIdentifier(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6352,7 +6352,7 @@ export class MIB_IPINTERFACE_ROWView { } // 0x18: u64 - set InterfaceIdentifier(value: Deno.PointerValue) { + set InterfaceIdentifier(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6801,9 +6801,9 @@ export class MIB_INVERTEDIFSTACK_TABLEView { */ export interface NL_BANDWIDTH_INFORMATION { /** u64 */ - Bandwidth: Deno.PointerValue; + Bandwidth: bigint | number; /** u64 */ - Instability: Deno.PointerValue; + Instability: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ BandwidthPeaked: Uint8Array | Deno.PointerValue; } @@ -6833,12 +6833,12 @@ export class NL_BANDWIDTH_INFORMATIONView { } // 0x00: u64 - get Bandwidth(): Deno.PointerValue { + get Bandwidth(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Instability(): Deno.PointerValue { + get Instability(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6849,12 +6849,12 @@ export class NL_BANDWIDTH_INFORMATIONView { } // 0x00: u64 - set Bandwidth(value: Deno.PointerValue) { + set Bandwidth(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Instability(value: Deno.PointerValue) { + set Instability(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -7435,7 +7435,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -8266,9 +8266,9 @@ export class IN6_ADDRView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -8294,22 +8294,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8654,7 +8654,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -8694,7 +8694,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -8709,7 +8709,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -9672,9 +9672,9 @@ export interface MIB_IPPATH_ROW { /** Windows.Win32.Foundation.BOOLEAN */ IsReachable: Uint8Array | Deno.PointerValue; /** u64 */ - LinkTransmitSpeed: Deno.PointerValue; + LinkTransmitSpeed: bigint | number; /** u64 */ - LinkReceiveSpeed: Deno.PointerValue; + LinkReceiveSpeed: bigint | number; } export const sizeofMIB_IPPATH_ROW = 88; @@ -9782,12 +9782,12 @@ export class MIB_IPPATH_ROWView { } // 0x48: u64 - get LinkTransmitSpeed(): Deno.PointerValue { + get LinkTransmitSpeed(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get LinkReceiveSpeed(): Deno.PointerValue { + get LinkReceiveSpeed(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -9846,12 +9846,12 @@ export class MIB_IPPATH_ROWView { } // 0x48: u64 - set LinkTransmitSpeed(value: Deno.PointerValue) { + set LinkTransmitSpeed(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set LinkReceiveSpeed(value: Deno.PointerValue) { + set LinkReceiveSpeed(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -10181,7 +10181,7 @@ export interface DNS_SETTINGS { /** u32 */ Version: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** Windows.Win32.Foundation.PWSTR */ Hostname: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -10236,7 +10236,7 @@ export class DNS_SETTINGSView { // 0x04: pad4 // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10266,7 +10266,7 @@ export class DNS_SETTINGSView { // 0x04: pad4 // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10296,7 +10296,7 @@ export interface DNS_SETTINGS2 { /** u32 */ Version: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** Windows.Win32.Foundation.PWSTR */ Hostname: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -10304,7 +10304,7 @@ export interface DNS_SETTINGS2 { /** Windows.Win32.Foundation.PWSTR */ SearchList: string | null | Uint8Array | Uint16Array; /** u64 */ - SettingFlags: Deno.PointerValue; + SettingFlags: bigint | number; } export const sizeofDNS_SETTINGS2 = 48; @@ -10355,7 +10355,7 @@ export class DNS_SETTINGS2View { // 0x04: pad4 // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10378,7 +10378,7 @@ export class DNS_SETTINGS2View { } // 0x28: u64 - get SettingFlags(): Deno.PointerValue { + get SettingFlags(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -10390,7 +10390,7 @@ export class DNS_SETTINGS2View { // 0x04: pad4 // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10413,7 +10413,7 @@ export class DNS_SETTINGS2View { } // 0x28: u64 - set SettingFlags(value: Deno.PointerValue) { + set SettingFlags(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -10425,7 +10425,7 @@ export interface DNS_DOH_SERVER_SETTINGS { /** Windows.Win32.Foundation.PWSTR */ Template: string | null | Uint8Array | Uint16Array; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofDNS_DOH_SERVER_SETTINGS = 16; @@ -10460,7 +10460,7 @@ export class DNS_DOH_SERVER_SETTINGSView { } // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10471,7 +10471,7 @@ export class DNS_DOH_SERVER_SETTINGSView { } // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10610,7 +10610,7 @@ export interface DNS_INTERFACE_SETTINGS { /** u32 */ Version: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** Windows.Win32.Foundation.PWSTR */ Domain: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -10688,7 +10688,7 @@ export class DNS_INTERFACE_SETTINGSView { // 0x04: pad4 // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10744,7 +10744,7 @@ export class DNS_INTERFACE_SETTINGSView { // 0x04: pad4 // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10878,7 +10878,7 @@ export interface DNS_INTERFACE_SETTINGS3 { /** u32 */ Version: number; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** Windows.Win32.Foundation.PWSTR */ Domain: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -10986,7 +10986,7 @@ export class DNS_INTERFACE_SETTINGS3View { // 0x04: pad4 // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11081,7 +11081,7 @@ export class DNS_INTERFACE_SETTINGS3View { // 0x04: pad4 // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -12052,11 +12052,11 @@ export class MIB_IPFORWARDNUMBERView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -12108,7 +12108,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12119,7 +12119,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12155,7 +12155,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12166,7 +12166,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12203,7 +12203,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -12232,7 +12232,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12244,7 +12244,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17741,9 +17741,9 @@ export interface MIB_TCPSTATS2 { /** u32 */ dwCurrEstab: number; /** u64 */ - dw64InSegs: Deno.PointerValue; + dw64InSegs: bigint | number; /** u64 */ - dw64OutSegs: Deno.PointerValue; + dw64OutSegs: bigint | number; /** u32 */ dwRetransSegs: number; /** u32 */ @@ -17851,12 +17851,12 @@ export class MIB_TCPSTATS2View { // 0x24: pad4 // 0x28: u64 - get dw64InSegs(): Deno.PointerValue { + get dw64InSegs(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get dw64OutSegs(): Deno.PointerValue { + get dw64OutSegs(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -17928,12 +17928,12 @@ export class MIB_TCPSTATS2View { // 0x24: pad4 // 0x28: u64 - set dw64InSegs(value: Deno.PointerValue) { + set dw64InSegs(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set dw64OutSegs(value: Deno.PointerValue) { + set dw64OutSegs(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -19384,13 +19384,13 @@ export class MIB_UDPSTATSView { */ export interface MIB_UDPSTATS2 { /** u64 */ - dw64InDatagrams: Deno.PointerValue; + dw64InDatagrams: bigint | number; /** u32 */ dwNoPorts: number; /** u32 */ dwInErrors: number; /** u64 */ - dw64OutDatagrams: Deno.PointerValue; + dw64OutDatagrams: bigint | number; /** u32 */ dwNumAddrs: number; } @@ -19425,7 +19425,7 @@ export class MIB_UDPSTATS2View { } // 0x00: u64 - get dw64InDatagrams(): Deno.PointerValue { + get dw64InDatagrams(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19440,7 +19440,7 @@ export class MIB_UDPSTATS2View { } // 0x10: u64 - get dw64OutDatagrams(): Deno.PointerValue { + get dw64OutDatagrams(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -19452,7 +19452,7 @@ export class MIB_UDPSTATS2View { // 0x1c: pad4 // 0x00: u64 - set dw64InDatagrams(value: Deno.PointerValue) { + set dw64InDatagrams(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19467,7 +19467,7 @@ export class MIB_UDPSTATS2View { } // 0x10: u64 - set dw64OutDatagrams(value: Deno.PointerValue) { + set dw64OutDatagrams(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -20498,9 +20498,9 @@ export interface IP_ADAPTER_INFO { /** Windows.Win32.NetworkManagement.IpHelper.IP_ADDR_STRING */ SecondaryWinsServer: Uint8Array | Deno.PointerValue; /** i64 */ - LeaseObtained: Deno.PointerValue; + LeaseObtained: bigint | number; /** i64 */ - LeaseExpires: Deno.PointerValue; + LeaseExpires: bigint | number; } export const sizeofIP_ADAPTER_INFO = 136; @@ -20660,12 +20660,12 @@ export class IP_ADAPTER_INFOView { } // 0x78: i64 - get LeaseObtained(): Deno.PointerValue { + get LeaseObtained(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: i64 - get LeaseExpires(): Deno.PointerValue { + get LeaseExpires(): bigint | number { return Number(this.view.getBigInt64(128, true)); } @@ -20758,12 +20758,12 @@ export class IP_ADAPTER_INFOView { } // 0x78: i64 - set LeaseObtained(value: Deno.PointerValue) { + set LeaseObtained(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: i64 - set LeaseExpires(value: Deno.PointerValue) { + set LeaseExpires(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } } @@ -21691,9 +21691,9 @@ export interface IP_ADAPTER_ADDRESSES_LH { /** ptr */ FirstPrefix: Deno.PointerValue | Uint8Array; /** u64 */ - TransmitLinkSpeed: Deno.PointerValue; + TransmitLinkSpeed: bigint | number; /** u64 */ - ReceiveLinkSpeed: Deno.PointerValue; + ReceiveLinkSpeed: bigint | number; /** ptr */ FirstWinsServerAddress: Deno.PointerValue | Uint8Array; /** ptr */ @@ -21942,12 +21942,12 @@ export class IP_ADAPTER_ADDRESSES_LHView { } // 0x88: u64 - get TransmitLinkSpeed(): Deno.PointerValue { + get TransmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get ReceiveLinkSpeed(): Deno.PointerValue { + get ReceiveLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(144, true)); } @@ -22138,12 +22138,12 @@ export class IP_ADAPTER_ADDRESSES_LHView { } // 0x88: u64 - set TransmitLinkSpeed(value: Deno.PointerValue) { + set TransmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set ReceiveLinkSpeed(value: Deno.PointerValue) { + set ReceiveLinkSpeed(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } @@ -22983,17 +22983,17 @@ export class TCP_ESTATS_SYN_OPTS_ROS_v0View { */ export interface TCP_ESTATS_DATA_ROD_v0 { /** u64 */ - DataBytesOut: Deno.PointerValue; + DataBytesOut: bigint | number; /** u64 */ - DataSegsOut: Deno.PointerValue; + DataSegsOut: bigint | number; /** u64 */ - DataBytesIn: Deno.PointerValue; + DataBytesIn: bigint | number; /** u64 */ - DataSegsIn: Deno.PointerValue; + DataSegsIn: bigint | number; /** u64 */ - SegsOut: Deno.PointerValue; + SegsOut: bigint | number; /** u64 */ - SegsIn: Deno.PointerValue; + SegsIn: bigint | number; /** u32 */ SoftErrors: number; /** u32 */ @@ -23005,11 +23005,11 @@ export interface TCP_ESTATS_DATA_ROD_v0 { /** u32 */ SndMax: number; /** u64 */ - ThruBytesAcked: Deno.PointerValue; + ThruBytesAcked: bigint | number; /** u32 */ RcvNxt: number; /** u64 */ - ThruBytesReceived: Deno.PointerValue; + ThruBytesReceived: bigint | number; } export const sizeofTCP_ESTATS_DATA_ROD_v0 = 96; @@ -23061,32 +23061,32 @@ export class TCP_ESTATS_DATA_ROD_v0View { } // 0x00: u64 - get DataBytesOut(): Deno.PointerValue { + get DataBytesOut(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get DataSegsOut(): Deno.PointerValue { + get DataSegsOut(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get DataBytesIn(): Deno.PointerValue { + get DataBytesIn(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get DataSegsIn(): Deno.PointerValue { + get DataSegsIn(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get SegsOut(): Deno.PointerValue { + get SegsOut(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get SegsIn(): Deno.PointerValue { + get SegsIn(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -23118,7 +23118,7 @@ export class TCP_ESTATS_DATA_ROD_v0View { // 0x44: pad4 // 0x48: u64 - get ThruBytesAcked(): Deno.PointerValue { + get ThruBytesAcked(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -23130,37 +23130,37 @@ export class TCP_ESTATS_DATA_ROD_v0View { // 0x54: pad4 // 0x58: u64 - get ThruBytesReceived(): Deno.PointerValue { + get ThruBytesReceived(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x00: u64 - set DataBytesOut(value: Deno.PointerValue) { + set DataBytesOut(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set DataSegsOut(value: Deno.PointerValue) { + set DataSegsOut(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set DataBytesIn(value: Deno.PointerValue) { + set DataBytesIn(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set DataSegsIn(value: Deno.PointerValue) { + set DataSegsIn(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set SegsOut(value: Deno.PointerValue) { + set SegsOut(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set SegsIn(value: Deno.PointerValue) { + set SegsIn(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -23192,7 +23192,7 @@ export class TCP_ESTATS_DATA_ROD_v0View { // 0x44: pad4 // 0x48: u64 - set ThruBytesAcked(value: Deno.PointerValue) { + set ThruBytesAcked(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -23204,7 +23204,7 @@ export class TCP_ESTATS_DATA_ROD_v0View { // 0x54: pad4 // 0x58: u64 - set ThruBytesReceived(value: Deno.PointerValue) { + set ThruBytesReceived(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } } @@ -23258,19 +23258,19 @@ export interface TCP_ESTATS_SND_CONG_ROD_v0 { /** u32 */ SndLimTimeRwin: number; /** usize */ - SndLimBytesRwin: Deno.PointerValue; + SndLimBytesRwin: bigint | number; /** u32 */ SndLimTransCwnd: number; /** u32 */ SndLimTimeCwnd: number; /** usize */ - SndLimBytesCwnd: Deno.PointerValue; + SndLimBytesCwnd: bigint | number; /** u32 */ SndLimTransSnd: number; /** u32 */ SndLimTimeSnd: number; /** usize */ - SndLimBytesSnd: Deno.PointerValue; + SndLimBytesSnd: bigint | number; /** u32 */ SlowStart: number; /** u32 */ @@ -23357,7 +23357,7 @@ export class TCP_ESTATS_SND_CONG_ROD_v0View { } // 0x08: usize - get SndLimBytesRwin(): Deno.PointerValue { + get SndLimBytesRwin(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23372,7 +23372,7 @@ export class TCP_ESTATS_SND_CONG_ROD_v0View { } // 0x18: usize - get SndLimBytesCwnd(): Deno.PointerValue { + get SndLimBytesCwnd(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -23387,7 +23387,7 @@ export class TCP_ESTATS_SND_CONG_ROD_v0View { } // 0x28: usize - get SndLimBytesSnd(): Deno.PointerValue { + get SndLimBytesSnd(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -23449,7 +23449,7 @@ export class TCP_ESTATS_SND_CONG_ROD_v0View { } // 0x08: usize - set SndLimBytesRwin(value: Deno.PointerValue) { + set SndLimBytesRwin(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -23464,7 +23464,7 @@ export class TCP_ESTATS_SND_CONG_ROD_v0View { } // 0x18: usize - set SndLimBytesCwnd(value: Deno.PointerValue) { + set SndLimBytesCwnd(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -23479,7 +23479,7 @@ export class TCP_ESTATS_SND_CONG_ROD_v0View { } // 0x28: usize - set SndLimBytesSnd(value: Deno.PointerValue) { + set SndLimBytesSnd(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -24245,13 +24245,13 @@ export class TCP_ESTATS_PATH_RW_v0View { */ export interface TCP_ESTATS_SEND_BUFF_ROD_v0 { /** usize */ - CurRetxQueue: Deno.PointerValue; + CurRetxQueue: bigint | number; /** usize */ - MaxRetxQueue: Deno.PointerValue; + MaxRetxQueue: bigint | number; /** usize */ - CurAppWQueue: Deno.PointerValue; + CurAppWQueue: bigint | number; /** usize */ - MaxAppWQueue: Deno.PointerValue; + MaxAppWQueue: bigint | number; } export const sizeofTCP_ESTATS_SEND_BUFF_ROD_v0 = 32; @@ -24281,42 +24281,42 @@ export class TCP_ESTATS_SEND_BUFF_ROD_v0View { } // 0x00: usize - get CurRetxQueue(): Deno.PointerValue { + get CurRetxQueue(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get MaxRetxQueue(): Deno.PointerValue { + get MaxRetxQueue(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get CurAppWQueue(): Deno.PointerValue { + get CurAppWQueue(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get MaxAppWQueue(): Deno.PointerValue { + get MaxAppWQueue(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: usize - set CurRetxQueue(value: Deno.PointerValue) { + set CurRetxQueue(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set MaxRetxQueue(value: Deno.PointerValue) { + set MaxRetxQueue(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set CurAppWQueue(value: Deno.PointerValue) { + set CurAppWQueue(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set MaxAppWQueue(value: Deno.PointerValue) { + set MaxAppWQueue(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -24388,9 +24388,9 @@ export interface TCP_ESTATS_REC_ROD_v0 { /** u32 */ MaxReasmQueue: number; /** usize */ - CurAppRQueue: Deno.PointerValue; + CurAppRQueue: bigint | number; /** usize */ - MaxAppRQueue: Deno.PointerValue; + MaxAppRQueue: bigint | number; /** u8 */ WinScaleSent: number; } @@ -24501,12 +24501,12 @@ export class TCP_ESTATS_REC_ROD_v0View { // 0x2c: pad4 // 0x30: usize - get CurAppRQueue(): Deno.PointerValue { + get CurAppRQueue(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get MaxAppRQueue(): Deno.PointerValue { + get MaxAppRQueue(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -24575,12 +24575,12 @@ export class TCP_ESTATS_REC_ROD_v0View { // 0x2c: pad4 // 0x30: usize - set CurAppRQueue(value: Deno.PointerValue) { + set CurAppRQueue(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set MaxAppRQueue(value: Deno.PointerValue) { + set MaxAppRQueue(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -24816,13 +24816,13 @@ export class TCP_ESTATS_BANDWIDTH_RW_v0View { */ export interface TCP_ESTATS_BANDWIDTH_ROD_v0 { /** u64 */ - OutboundBandwidth: Deno.PointerValue; + OutboundBandwidth: bigint | number; /** u64 */ - InboundBandwidth: Deno.PointerValue; + InboundBandwidth: bigint | number; /** u64 */ - OutboundInstability: Deno.PointerValue; + OutboundInstability: bigint | number; /** u64 */ - InboundInstability: Deno.PointerValue; + InboundInstability: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ OutboundBandwidthPeaked: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BOOLEAN */ @@ -24860,22 +24860,22 @@ export class TCP_ESTATS_BANDWIDTH_ROD_v0View { } // 0x00: u64 - get OutboundBandwidth(): Deno.PointerValue { + get OutboundBandwidth(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get InboundBandwidth(): Deno.PointerValue { + get InboundBandwidth(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get OutboundInstability(): Deno.PointerValue { + get OutboundInstability(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get InboundInstability(): Deno.PointerValue { + get InboundInstability(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -24892,22 +24892,22 @@ export class TCP_ESTATS_BANDWIDTH_ROD_v0View { } // 0x00: u64 - set OutboundBandwidth(value: Deno.PointerValue) { + set OutboundBandwidth(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set InboundBandwidth(value: Deno.PointerValue) { + set InboundBandwidth(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set OutboundInstability(value: Deno.PointerValue) { + set OutboundInstability(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set InboundInstability(value: Deno.PointerValue) { + set InboundInstability(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -25308,7 +25308,7 @@ export class INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIESView { */ export interface INTERFACE_TIMESTAMP_CAPABILITIES { /** u64 */ - HardwareClockFrequencyHz: Deno.PointerValue; + HardwareClockFrequencyHz: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ SupportsCrossTimestamp: Uint8Array | Deno.PointerValue; /** Windows.Win32.NetworkManagement.IpHelper.INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES */ @@ -25344,7 +25344,7 @@ export class INTERFACE_TIMESTAMP_CAPABILITIESView { } // 0x00: u64 - get HardwareClockFrequencyHz(): Deno.PointerValue { + get HardwareClockFrequencyHz(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -25367,7 +25367,7 @@ export class INTERFACE_TIMESTAMP_CAPABILITIESView { } // 0x00: u64 - set HardwareClockFrequencyHz(value: Deno.PointerValue) { + set HardwareClockFrequencyHz(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -25392,11 +25392,11 @@ export class INTERFACE_TIMESTAMP_CAPABILITIESView { */ export interface INTERFACE_HARDWARE_CROSSTIMESTAMP { /** u64 */ - SystemTimestamp1: Deno.PointerValue; + SystemTimestamp1: bigint | number; /** u64 */ - HardwareClockTimestamp: Deno.PointerValue; + HardwareClockTimestamp: bigint | number; /** u64 */ - SystemTimestamp2: Deno.PointerValue; + SystemTimestamp2: bigint | number; } export const sizeofINTERFACE_HARDWARE_CROSSTIMESTAMP = 24; @@ -25424,32 +25424,32 @@ export class INTERFACE_HARDWARE_CROSSTIMESTAMPView { } // 0x00: u64 - get SystemTimestamp1(): Deno.PointerValue { + get SystemTimestamp1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get HardwareClockTimestamp(): Deno.PointerValue { + get HardwareClockTimestamp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SystemTimestamp2(): Deno.PointerValue { + get SystemTimestamp2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set SystemTimestamp1(value: Deno.PointerValue) { + set SystemTimestamp1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set HardwareClockTimestamp(value: Deno.PointerValue) { + set HardwareClockTimestamp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SystemTimestamp2(value: Deno.PointerValue) { + set SystemTimestamp2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -27377,7 +27377,7 @@ export function ConvertInterfaceNameToLuidW( export function ConvertInterfaceLuidToNameA( InterfaceLuid: Deno.PointerValue | Uint8Array /* ptr */, InterfaceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - Length: Deno.PointerValue /* usize */, + Length: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libIPHLPAPI_dll.ConvertInterfaceLuidToNameA(util.toPointer(InterfaceLuid), util.pstrToFfi(InterfaceName), Length); } @@ -27385,7 +27385,7 @@ export function ConvertInterfaceLuidToNameA( export function ConvertInterfaceLuidToNameW( InterfaceLuid: Deno.PointerValue | Uint8Array /* ptr */, InterfaceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Length: Deno.PointerValue /* usize */, + Length: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libIPHLPAPI_dll.ConvertInterfaceLuidToNameW(util.toPointer(InterfaceLuid), util.pwstrToFfi(InterfaceName), Length); } @@ -27407,7 +27407,7 @@ export function ConvertInterfaceIndexToLuid( export function ConvertInterfaceLuidToAlias( InterfaceLuid: Deno.PointerValue | Uint8Array /* ptr */, InterfaceAlias: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Length: Deno.PointerValue /* usize */, + Length: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.NTSTATUS */ { return libIPHLPAPI_dll.ConvertInterfaceLuidToAlias(util.toPointer(InterfaceLuid), util.pwstrToFfi(InterfaceAlias), Length); } diff --git a/api/NetworkManagement/Ndis.ts b/api/NetworkManagement/Ndis.ts index 05f2fef..54a3a38 100644 --- a/api/NetworkManagement/Ndis.ts +++ b/api/NetworkManagement/Ndis.ts @@ -2128,7 +2128,7 @@ export class NET_IF_ALIAS_LHView { */ export interface _Info_e__Struct { /** u64 */ - _bitfield: Deno.PointerValue; + _bitfield: bigint | number; } export const sizeof_Info_e__Struct = 8; @@ -2152,12 +2152,12 @@ export class _Info_e__StructView { } // 0x00: u64 - get _bitfield(): Deno.PointerValue { + get _bitfield(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set _bitfield(value: Deno.PointerValue) { + set _bitfield(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -2167,7 +2167,7 @@ export class _Info_e__StructView { */ export interface NET_LUID_LH { /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; /** _Info_e__Struct */ Info: Uint8Array | Deno.PointerValue; } @@ -2195,7 +2195,7 @@ export class NET_LUID_LHView { } // 0x00: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2206,7 +2206,7 @@ export class NET_LUID_LHView { } // 0x00: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2427,51 +2427,51 @@ export interface NDIS_INTERFACE_INFORMATION { /** Windows.Win32.Foundation.BOOLEAN */ ifDeviceWakeUpEnable: Uint8Array | Deno.PointerValue; /** u64 */ - XmitLinkSpeed: Deno.PointerValue; + XmitLinkSpeed: bigint | number; /** u64 */ - RcvLinkSpeed: Deno.PointerValue; + RcvLinkSpeed: bigint | number; /** u64 */ - ifLastChange: Deno.PointerValue; + ifLastChange: bigint | number; /** u64 */ - ifCounterDiscontinuityTime: Deno.PointerValue; + ifCounterDiscontinuityTime: bigint | number; /** u64 */ - ifInUnknownProtos: Deno.PointerValue; + ifInUnknownProtos: bigint | number; /** u64 */ - ifInDiscards: Deno.PointerValue; + ifInDiscards: bigint | number; /** u64 */ - ifInErrors: Deno.PointerValue; + ifInErrors: bigint | number; /** u64 */ - ifHCInOctets: Deno.PointerValue; + ifHCInOctets: bigint | number; /** u64 */ - ifHCInUcastPkts: Deno.PointerValue; + ifHCInUcastPkts: bigint | number; /** u64 */ - ifHCInMulticastPkts: Deno.PointerValue; + ifHCInMulticastPkts: bigint | number; /** u64 */ - ifHCInBroadcastPkts: Deno.PointerValue; + ifHCInBroadcastPkts: bigint | number; /** u64 */ - ifHCOutOctets: Deno.PointerValue; + ifHCOutOctets: bigint | number; /** u64 */ - ifHCOutUcastPkts: Deno.PointerValue; + ifHCOutUcastPkts: bigint | number; /** u64 */ - ifHCOutMulticastPkts: Deno.PointerValue; + ifHCOutMulticastPkts: bigint | number; /** u64 */ - ifHCOutBroadcastPkts: Deno.PointerValue; + ifHCOutBroadcastPkts: bigint | number; /** u64 */ - ifOutErrors: Deno.PointerValue; + ifOutErrors: bigint | number; /** u64 */ - ifOutDiscards: Deno.PointerValue; + ifOutDiscards: bigint | number; /** u64 */ - ifHCInUcastOctets: Deno.PointerValue; + ifHCInUcastOctets: bigint | number; /** u64 */ - ifHCInMulticastOctets: Deno.PointerValue; + ifHCInMulticastOctets: bigint | number; /** u64 */ - ifHCInBroadcastOctets: Deno.PointerValue; + ifHCInBroadcastOctets: bigint | number; /** u64 */ - ifHCOutUcastOctets: Deno.PointerValue; + ifHCOutUcastOctets: bigint | number; /** u64 */ - ifHCOutMulticastOctets: Deno.PointerValue; + ifHCOutMulticastOctets: bigint | number; /** u64 */ - ifHCOutBroadcastOctets: Deno.PointerValue; + ifHCOutBroadcastOctets: bigint | number; /** u32 */ CompartmentId: number; /** u32 */ @@ -2601,117 +2601,117 @@ export class NDIS_INTERFACE_INFORMATIONView { } // 0x28: u64 - get XmitLinkSpeed(): Deno.PointerValue { + get XmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get RcvLinkSpeed(): Deno.PointerValue { + get RcvLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ifLastChange(): Deno.PointerValue { + get ifLastChange(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ifCounterDiscontinuityTime(): Deno.PointerValue { + get ifCounterDiscontinuityTime(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ifInUnknownProtos(): Deno.PointerValue { + get ifInUnknownProtos(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ifInDiscards(): Deno.PointerValue { + get ifInDiscards(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ifInErrors(): Deno.PointerValue { + get ifInErrors(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get ifHCInOctets(): Deno.PointerValue { + get ifHCInOctets(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get ifHCInUcastPkts(): Deno.PointerValue { + get ifHCInUcastPkts(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get ifHCInMulticastPkts(): Deno.PointerValue { + get ifHCInMulticastPkts(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get ifHCInBroadcastPkts(): Deno.PointerValue { + get ifHCInBroadcastPkts(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get ifHCOutOctets(): Deno.PointerValue { + get ifHCOutOctets(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get ifHCOutUcastPkts(): Deno.PointerValue { + get ifHCOutUcastPkts(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get ifHCOutMulticastPkts(): Deno.PointerValue { + get ifHCOutMulticastPkts(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get ifHCOutBroadcastPkts(): Deno.PointerValue { + get ifHCOutBroadcastPkts(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get ifOutErrors(): Deno.PointerValue { + get ifOutErrors(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: u64 - get ifOutDiscards(): Deno.PointerValue { + get ifOutDiscards(): bigint | number { return Number(this.view.getBigUint64(168, true)); } // 0xb0: u64 - get ifHCInUcastOctets(): Deno.PointerValue { + get ifHCInUcastOctets(): bigint | number { return Number(this.view.getBigUint64(176, true)); } // 0xb8: u64 - get ifHCInMulticastOctets(): Deno.PointerValue { + get ifHCInMulticastOctets(): bigint | number { return Number(this.view.getBigUint64(184, true)); } // 0xc0: u64 - get ifHCInBroadcastOctets(): Deno.PointerValue { + get ifHCInBroadcastOctets(): bigint | number { return Number(this.view.getBigUint64(192, true)); } // 0xc8: u64 - get ifHCOutUcastOctets(): Deno.PointerValue { + get ifHCOutUcastOctets(): bigint | number { return Number(this.view.getBigUint64(200, true)); } // 0xd0: u64 - get ifHCOutMulticastOctets(): Deno.PointerValue { + get ifHCOutMulticastOctets(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: u64 - get ifHCOutBroadcastOctets(): Deno.PointerValue { + get ifHCOutBroadcastOctets(): bigint | number { return Number(this.view.getBigUint64(216, true)); } @@ -2763,117 +2763,117 @@ export class NDIS_INTERFACE_INFORMATIONView { } // 0x28: u64 - set XmitLinkSpeed(value: Deno.PointerValue) { + set XmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set RcvLinkSpeed(value: Deno.PointerValue) { + set RcvLinkSpeed(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ifLastChange(value: Deno.PointerValue) { + set ifLastChange(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ifCounterDiscontinuityTime(value: Deno.PointerValue) { + set ifCounterDiscontinuityTime(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ifInUnknownProtos(value: Deno.PointerValue) { + set ifInUnknownProtos(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ifInDiscards(value: Deno.PointerValue) { + set ifInDiscards(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ifInErrors(value: Deno.PointerValue) { + set ifInErrors(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set ifHCInOctets(value: Deno.PointerValue) { + set ifHCInOctets(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set ifHCInUcastPkts(value: Deno.PointerValue) { + set ifHCInUcastPkts(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set ifHCInMulticastPkts(value: Deno.PointerValue) { + set ifHCInMulticastPkts(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set ifHCInBroadcastPkts(value: Deno.PointerValue) { + set ifHCInBroadcastPkts(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set ifHCOutOctets(value: Deno.PointerValue) { + set ifHCOutOctets(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set ifHCOutUcastPkts(value: Deno.PointerValue) { + set ifHCOutUcastPkts(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set ifHCOutMulticastPkts(value: Deno.PointerValue) { + set ifHCOutMulticastPkts(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set ifHCOutBroadcastPkts(value: Deno.PointerValue) { + set ifHCOutBroadcastPkts(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set ifOutErrors(value: Deno.PointerValue) { + set ifOutErrors(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: u64 - set ifOutDiscards(value: Deno.PointerValue) { + set ifOutDiscards(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } // 0xb0: u64 - set ifHCInUcastOctets(value: Deno.PointerValue) { + set ifHCInUcastOctets(value: bigint | number) { this.view.setBigUint64(176, BigInt(value), true); } // 0xb8: u64 - set ifHCInMulticastOctets(value: Deno.PointerValue) { + set ifHCInMulticastOctets(value: bigint | number) { this.view.setBigUint64(184, BigInt(value), true); } // 0xc0: u64 - set ifHCInBroadcastOctets(value: Deno.PointerValue) { + set ifHCInBroadcastOctets(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } // 0xc8: u64 - set ifHCOutUcastOctets(value: Deno.PointerValue) { + set ifHCOutUcastOctets(value: bigint | number) { this.view.setBigUint64(200, BigInt(value), true); } // 0xd0: u64 - set ifHCOutMulticastOctets(value: Deno.PointerValue) { + set ifHCOutMulticastOctets(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: u64 - set ifHCOutBroadcastOctets(value: Deno.PointerValue) { + set ifHCOutBroadcastOctets(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } @@ -3052,7 +3052,7 @@ export interface NDIS_VAR_DATA_DESC { /** u16 */ MaximumLength: number; /** usize */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofNDIS_VAR_DATA_DESC = 16; @@ -3093,7 +3093,7 @@ export class NDIS_VAR_DATA_DESCView { // 0x04: pad4 // 0x08: usize - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3110,7 +3110,7 @@ export class NDIS_VAR_DATA_DESCView { // 0x04: pad4 // 0x08: usize - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3196,41 +3196,41 @@ export interface NDIS_STATISTICS_INFO { /** u32 */ SupportedStatistics: number; /** u64 */ - ifInDiscards: Deno.PointerValue; + ifInDiscards: bigint | number; /** u64 */ - ifInErrors: Deno.PointerValue; + ifInErrors: bigint | number; /** u64 */ - ifHCInOctets: Deno.PointerValue; + ifHCInOctets: bigint | number; /** u64 */ - ifHCInUcastPkts: Deno.PointerValue; + ifHCInUcastPkts: bigint | number; /** u64 */ - ifHCInMulticastPkts: Deno.PointerValue; + ifHCInMulticastPkts: bigint | number; /** u64 */ - ifHCInBroadcastPkts: Deno.PointerValue; + ifHCInBroadcastPkts: bigint | number; /** u64 */ - ifHCOutOctets: Deno.PointerValue; + ifHCOutOctets: bigint | number; /** u64 */ - ifHCOutUcastPkts: Deno.PointerValue; + ifHCOutUcastPkts: bigint | number; /** u64 */ - ifHCOutMulticastPkts: Deno.PointerValue; + ifHCOutMulticastPkts: bigint | number; /** u64 */ - ifHCOutBroadcastPkts: Deno.PointerValue; + ifHCOutBroadcastPkts: bigint | number; /** u64 */ - ifOutErrors: Deno.PointerValue; + ifOutErrors: bigint | number; /** u64 */ - ifOutDiscards: Deno.PointerValue; + ifOutDiscards: bigint | number; /** u64 */ - ifHCInUcastOctets: Deno.PointerValue; + ifHCInUcastOctets: bigint | number; /** u64 */ - ifHCInMulticastOctets: Deno.PointerValue; + ifHCInMulticastOctets: bigint | number; /** u64 */ - ifHCInBroadcastOctets: Deno.PointerValue; + ifHCInBroadcastOctets: bigint | number; /** u64 */ - ifHCOutUcastOctets: Deno.PointerValue; + ifHCOutUcastOctets: bigint | number; /** u64 */ - ifHCOutMulticastOctets: Deno.PointerValue; + ifHCOutMulticastOctets: bigint | number; /** u64 */ - ifHCOutBroadcastOctets: Deno.PointerValue; + ifHCOutBroadcastOctets: bigint | number; } export const sizeofNDIS_STATISTICS_INFO = 160; @@ -3306,92 +3306,92 @@ export class NDIS_STATISTICS_INFOView { // 0x0c: pad4 // 0x10: u64 - get ifInDiscards(): Deno.PointerValue { + get ifInDiscards(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ifInErrors(): Deno.PointerValue { + get ifInErrors(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ifHCInOctets(): Deno.PointerValue { + get ifHCInOctets(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ifHCInUcastPkts(): Deno.PointerValue { + get ifHCInUcastPkts(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ifHCInMulticastPkts(): Deno.PointerValue { + get ifHCInMulticastPkts(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ifHCInBroadcastPkts(): Deno.PointerValue { + get ifHCInBroadcastPkts(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ifHCOutOctets(): Deno.PointerValue { + get ifHCOutOctets(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ifHCOutUcastPkts(): Deno.PointerValue { + get ifHCOutUcastPkts(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ifHCOutMulticastPkts(): Deno.PointerValue { + get ifHCOutMulticastPkts(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ifHCOutBroadcastPkts(): Deno.PointerValue { + get ifHCOutBroadcastPkts(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get ifOutErrors(): Deno.PointerValue { + get ifOutErrors(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get ifOutDiscards(): Deno.PointerValue { + get ifOutDiscards(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get ifHCInUcastOctets(): Deno.PointerValue { + get ifHCInUcastOctets(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get ifHCInMulticastOctets(): Deno.PointerValue { + get ifHCInMulticastOctets(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get ifHCInBroadcastOctets(): Deno.PointerValue { + get ifHCInBroadcastOctets(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get ifHCOutUcastOctets(): Deno.PointerValue { + get ifHCOutUcastOctets(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get ifHCOutMulticastOctets(): Deno.PointerValue { + get ifHCOutMulticastOctets(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get ifHCOutBroadcastOctets(): Deno.PointerValue { + get ifHCOutBroadcastOctets(): bigint | number { return Number(this.view.getBigUint64(152, true)); } @@ -3408,92 +3408,92 @@ export class NDIS_STATISTICS_INFOView { // 0x0c: pad4 // 0x10: u64 - set ifInDiscards(value: Deno.PointerValue) { + set ifInDiscards(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ifInErrors(value: Deno.PointerValue) { + set ifInErrors(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ifHCInOctets(value: Deno.PointerValue) { + set ifHCInOctets(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ifHCInUcastPkts(value: Deno.PointerValue) { + set ifHCInUcastPkts(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ifHCInMulticastPkts(value: Deno.PointerValue) { + set ifHCInMulticastPkts(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ifHCInBroadcastPkts(value: Deno.PointerValue) { + set ifHCInBroadcastPkts(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ifHCOutOctets(value: Deno.PointerValue) { + set ifHCOutOctets(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ifHCOutUcastPkts(value: Deno.PointerValue) { + set ifHCOutUcastPkts(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ifHCOutMulticastPkts(value: Deno.PointerValue) { + set ifHCOutMulticastPkts(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ifHCOutBroadcastPkts(value: Deno.PointerValue) { + set ifHCOutBroadcastPkts(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set ifOutErrors(value: Deno.PointerValue) { + set ifOutErrors(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set ifOutDiscards(value: Deno.PointerValue) { + set ifOutDiscards(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set ifHCInUcastOctets(value: Deno.PointerValue) { + set ifHCInUcastOctets(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set ifHCInMulticastOctets(value: Deno.PointerValue) { + set ifHCInMulticastOctets(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set ifHCInBroadcastOctets(value: Deno.PointerValue) { + set ifHCInBroadcastOctets(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set ifHCOutUcastOctets(value: Deno.PointerValue) { + set ifHCOutUcastOctets(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set ifHCOutMulticastOctets(value: Deno.PointerValue) { + set ifHCOutMulticastOctets(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set ifHCOutBroadcastOctets(value: Deno.PointerValue) { + set ifHCOutBroadcastOctets(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } } @@ -4347,9 +4347,9 @@ export class NDIS_802_11_CONFIGURATIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4375,22 +4375,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4469,7 +4469,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -4509,7 +4509,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -4524,7 +4524,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -4946,7 +4946,7 @@ export interface NDIS_802_11_KEY { /** array */ BSSID: Deno.PointerValue; /** u64 */ - KeyRSC: Deno.PointerValue; + KeyRSC: bigint | number; /** array */ KeyMaterial: Deno.PointerValue; } @@ -5006,7 +5006,7 @@ export class NDIS_802_11_KEYView { } // 0x18: u64 - get KeyRSC(): Deno.PointerValue { + get KeyRSC(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -5039,7 +5039,7 @@ export class NDIS_802_11_KEYView { } // 0x18: u64 - set KeyRSC(value: Deno.PointerValue) { + set KeyRSC(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -7337,7 +7337,7 @@ export class OFFLOAD_SECURITY_ASSOCIATIONView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.NetworkManagement.Ndis.OFFLOAD_IPSEC_ADD_SA (size: 72) @@ -8523,7 +8523,7 @@ export class GEN_GET_TIME_CAPSView { */ export interface GEN_GET_NETCARD_TIME { /** u64 */ - ReadTime: Deno.PointerValue; + ReadTime: bigint | number; } export const sizeofGEN_GET_NETCARD_TIME = 8; @@ -8547,12 +8547,12 @@ export class GEN_GET_NETCARD_TIMEView { } // 0x00: u64 - get ReadTime(): Deno.PointerValue { + get ReadTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ReadTime(value: Deno.PointerValue) { + set ReadTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -8908,9 +8908,9 @@ export class NDIS_CO_LINK_SPEEDView { */ export interface NDIS_LINK_SPEED { /** u64 */ - XmitLinkSpeed: Deno.PointerValue; + XmitLinkSpeed: bigint | number; /** u64 */ - RcvLinkSpeed: Deno.PointerValue; + RcvLinkSpeed: bigint | number; } export const sizeofNDIS_LINK_SPEED = 16; @@ -8936,22 +8936,22 @@ export class NDIS_LINK_SPEEDView { } // 0x00: u64 - get XmitLinkSpeed(): Deno.PointerValue { + get XmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get RcvLinkSpeed(): Deno.PointerValue { + get RcvLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set XmitLinkSpeed(value: Deno.PointerValue) { + set XmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set RcvLinkSpeed(value: Deno.PointerValue) { + set RcvLinkSpeed(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9103,9 +9103,9 @@ export interface NDIS_LINK_STATE { /** Windows.Win32.NetworkManagement.Ndis.NET_IF_MEDIA_DUPLEX_STATE */ MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE; /** u64 */ - XmitLinkSpeed: Deno.PointerValue; + XmitLinkSpeed: bigint | number; /** u64 */ - RcvLinkSpeed: Deno.PointerValue; + RcvLinkSpeed: bigint | number; /** Windows.Win32.NetworkManagement.Ndis.NDIS_SUPPORTED_PAUSE_FUNCTIONS */ PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS; /** u32 */ @@ -9161,12 +9161,12 @@ export class NDIS_LINK_STATEView { } // 0x10: u64 - get XmitLinkSpeed(): Deno.PointerValue { + get XmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get RcvLinkSpeed(): Deno.PointerValue { + get RcvLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9196,12 +9196,12 @@ export class NDIS_LINK_STATEView { } // 0x10: u64 - set XmitLinkSpeed(value: Deno.PointerValue) { + set XmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set RcvLinkSpeed(value: Deno.PointerValue) { + set RcvLinkSpeed(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -9225,9 +9225,9 @@ export interface NDIS_LINK_PARAMETERS { /** Windows.Win32.NetworkManagement.Ndis.NET_IF_MEDIA_DUPLEX_STATE */ MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE; /** u64 */ - XmitLinkSpeed: Deno.PointerValue; + XmitLinkSpeed: bigint | number; /** u64 */ - RcvLinkSpeed: Deno.PointerValue; + RcvLinkSpeed: bigint | number; /** Windows.Win32.NetworkManagement.Ndis.NDIS_SUPPORTED_PAUSE_FUNCTIONS */ PauseFunctions: NDIS_SUPPORTED_PAUSE_FUNCTIONS; /** u32 */ @@ -9279,12 +9279,12 @@ export class NDIS_LINK_PARAMETERSView { // 0x0c: pad4 // 0x10: u64 - get XmitLinkSpeed(): Deno.PointerValue { + get XmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get RcvLinkSpeed(): Deno.PointerValue { + get RcvLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9311,12 +9311,12 @@ export class NDIS_LINK_PARAMETERSView { // 0x0c: pad4 // 0x10: u64 - set XmitLinkSpeed(value: Deno.PointerValue) { + set XmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set RcvLinkSpeed(value: Deno.PointerValue) { + set RcvLinkSpeed(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -11487,7 +11487,7 @@ export interface NDIS_WMI_METHOD_HEADER { /** Windows.Win32.NetworkManagement.Ndis.NET_LUID_LH */ NetLuid: Uint8Array | Deno.PointerValue; /** u64 */ - RequestId: Deno.PointerValue; + RequestId: bigint | number; /** u32 */ Timeout: number; /** array */ @@ -11546,7 +11546,7 @@ export class NDIS_WMI_METHOD_HEADERView { } // 0x18: u64 - get RequestId(): Deno.PointerValue { + get RequestId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -11581,7 +11581,7 @@ export class NDIS_WMI_METHOD_HEADERView { } // 0x18: u64 - set RequestId(value: Deno.PointerValue) { + set RequestId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -11609,7 +11609,7 @@ export interface NDIS_WMI_SET_HEADER { /** Windows.Win32.NetworkManagement.Ndis.NET_LUID_LH */ NetLuid: Uint8Array | Deno.PointerValue; /** u64 */ - RequestId: Deno.PointerValue; + RequestId: bigint | number; /** u32 */ Timeout: number; /** array */ @@ -11668,7 +11668,7 @@ export class NDIS_WMI_SET_HEADERView { } // 0x18: u64 - get RequestId(): Deno.PointerValue { + get RequestId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -11703,7 +11703,7 @@ export class NDIS_WMI_SET_HEADERView { } // 0x18: u64 - set RequestId(value: Deno.PointerValue) { + set RequestId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -11731,7 +11731,7 @@ export interface NDIS_WMI_EVENT_HEADER { /** Windows.Win32.NetworkManagement.Ndis.NET_LUID_LH */ NetLuid: Uint8Array | Deno.PointerValue; /** u64 */ - RequestId: Deno.PointerValue; + RequestId: bigint | number; /** u32 */ PortNumber: number; /** u32 */ @@ -11798,7 +11798,7 @@ export class NDIS_WMI_EVENT_HEADERView { } // 0x18: u64 - get RequestId(): Deno.PointerValue { + get RequestId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -11843,7 +11843,7 @@ export class NDIS_WMI_EVENT_HEADERView { } // 0x18: u64 - set RequestId(value: Deno.PointerValue) { + set RequestId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -12405,9 +12405,9 @@ export interface NDIS_PORT_STATE { /** Windows.Win32.NetworkManagement.Ndis.NET_IF_MEDIA_CONNECT_STATE */ MediaConnectState: NET_IF_MEDIA_CONNECT_STATE; /** u64 */ - XmitLinkSpeed: Deno.PointerValue; + XmitLinkSpeed: bigint | number; /** u64 */ - RcvLinkSpeed: Deno.PointerValue; + RcvLinkSpeed: bigint | number; /** Windows.Win32.NetworkManagement.Ndis.NET_IF_DIRECTION_TYPE */ Direction: NET_IF_DIRECTION_TYPE; /** Windows.Win32.NetworkManagement.Ndis.NDIS_PORT_CONTROL_STATE */ @@ -12475,12 +12475,12 @@ export class NDIS_PORT_STATEView { // 0x0c: pad4 // 0x10: u64 - get XmitLinkSpeed(): Deno.PointerValue { + get XmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get RcvLinkSpeed(): Deno.PointerValue { + get RcvLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -12527,12 +12527,12 @@ export class NDIS_PORT_STATEView { // 0x0c: pad4 // 0x10: u64 - set XmitLinkSpeed(value: Deno.PointerValue) { + set XmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set RcvLinkSpeed(value: Deno.PointerValue) { + set RcvLinkSpeed(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -12582,9 +12582,9 @@ export interface NDIS_PORT_CHARACTERISTICS { /** Windows.Win32.NetworkManagement.Ndis.NET_IF_MEDIA_CONNECT_STATE */ MediaConnectState: NET_IF_MEDIA_CONNECT_STATE; /** u64 */ - XmitLinkSpeed: Deno.PointerValue; + XmitLinkSpeed: bigint | number; /** u64 */ - RcvLinkSpeed: Deno.PointerValue; + RcvLinkSpeed: bigint | number; /** Windows.Win32.NetworkManagement.Ndis.NET_IF_DIRECTION_TYPE */ Direction: NET_IF_DIRECTION_TYPE; /** Windows.Win32.NetworkManagement.Ndis.NDIS_PORT_CONTROL_STATE */ @@ -12667,12 +12667,12 @@ export class NDIS_PORT_CHARACTERISTICSView { } // 0x18: u64 - get XmitLinkSpeed(): Deno.PointerValue { + get XmitLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get RcvLinkSpeed(): Deno.PointerValue { + get RcvLinkSpeed(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -12729,12 +12729,12 @@ export class NDIS_PORT_CHARACTERISTICSView { } // 0x18: u64 - set XmitLinkSpeed(value: Deno.PointerValue) { + set XmitLinkSpeed(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set RcvLinkSpeed(value: Deno.PointerValue) { + set RcvLinkSpeed(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -13210,13 +13210,13 @@ export interface NDIS_TIMESTAMP_CAPABILITIES { /** Windows.Win32.NetworkManagement.Ndis.NDIS_OBJECT_HEADER */ Header: Uint8Array | Deno.PointerValue; /** u64 */ - HardwareClockFrequencyHz: Deno.PointerValue; + HardwareClockFrequencyHz: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ CrossTimestamp: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved1: Deno.PointerValue; + Reserved1: bigint | number; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** Windows.Win32.NetworkManagement.Ndis.NDIS_TIMESTAMP_CAPABILITY_FLAGS */ TimestampFlags: Uint8Array | Deno.PointerValue; } @@ -13258,7 +13258,7 @@ export class NDIS_TIMESTAMP_CAPABILITIESView { } // 0x08: u64 - get HardwareClockFrequencyHz(): Deno.PointerValue { + get HardwareClockFrequencyHz(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13269,12 +13269,12 @@ export class NDIS_TIMESTAMP_CAPABILITIESView { } // 0x18: u64 - get Reserved1(): Deno.PointerValue { + get Reserved1(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -13290,7 +13290,7 @@ export class NDIS_TIMESTAMP_CAPABILITIESView { } // 0x08: u64 - set HardwareClockFrequencyHz(value: Deno.PointerValue) { + set HardwareClockFrequencyHz(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -13300,12 +13300,12 @@ export class NDIS_TIMESTAMP_CAPABILITIESView { } // 0x18: u64 - set Reserved1(value: Deno.PointerValue) { + set Reserved1(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -13324,11 +13324,11 @@ export interface NDIS_HARDWARE_CROSSTIMESTAMP { /** u32 */ Flags: number; /** u64 */ - SystemTimestamp1: Deno.PointerValue; + SystemTimestamp1: bigint | number; /** u64 */ - HardwareClockTimestamp: Deno.PointerValue; + HardwareClockTimestamp: bigint | number; /** u64 */ - SystemTimestamp2: Deno.PointerValue; + SystemTimestamp2: bigint | number; } export const sizeofNDIS_HARDWARE_CROSSTIMESTAMP = 40; @@ -13374,17 +13374,17 @@ export class NDIS_HARDWARE_CROSSTIMESTAMPView { // 0x0c: pad4 // 0x10: u64 - get SystemTimestamp1(): Deno.PointerValue { + get SystemTimestamp1(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get HardwareClockTimestamp(): Deno.PointerValue { + get HardwareClockTimestamp(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get SystemTimestamp2(): Deno.PointerValue { + get SystemTimestamp2(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -13401,17 +13401,17 @@ export class NDIS_HARDWARE_CROSSTIMESTAMPView { // 0x0c: pad4 // 0x10: u64 - set SystemTimestamp1(value: Deno.PointerValue) { + set SystemTimestamp1(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set HardwareClockTimestamp(value: Deno.PointerValue) { + set HardwareClockTimestamp(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set SystemTimestamp2(value: Deno.PointerValue) { + set SystemTimestamp2(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -13485,9 +13485,9 @@ export interface NDK_ADAPTER_INFO { /** u32 */ DeviceId: number; /** usize */ - MaxRegistrationSize: Deno.PointerValue; + MaxRegistrationSize: bigint | number; /** usize */ - MaxWindowSize: Deno.PointerValue; + MaxWindowSize: bigint | number; /** u32 */ FRMRPageCount: number; /** u32 */ @@ -13604,12 +13604,12 @@ export class NDK_ADAPTER_INFOView { } // 0x10: usize - get MaxRegistrationSize(): Deno.PointerValue { + get MaxRegistrationSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get MaxWindowSize(): Deno.PointerValue { + get MaxWindowSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -13716,12 +13716,12 @@ export class NDK_ADAPTER_INFOView { } // 0x10: usize - set MaxRegistrationSize(value: Deno.PointerValue) { + set MaxRegistrationSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set MaxWindowSize(value: Deno.PointerValue) { + set MaxWindowSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } diff --git a/api/NetworkManagement/NetBios.ts b/api/NetworkManagement/NetBios.ts index 85d995a..d4cf129 100644 --- a/api/NetworkManagement/NetBios.ts +++ b/api/NetworkManagement/NetBios.ts @@ -90,7 +90,7 @@ export const NRC_PENDING = 255; // Structs -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.NetworkManagement.NetBios.NCB (size: 80) @@ -117,7 +117,7 @@ export interface NCB { /** u8 */ ncb_sto: number; /** isize */ - ncb_post: Deno.PointerValue; + ncb_post: bigint | number; /** u8 */ ncb_lana_num: number; /** u8 */ @@ -240,7 +240,7 @@ export class NCBView { // 0x2a: pad6 // 0x30: isize - get ncb_post(): Deno.PointerValue { + get ncb_post(): bigint | number { return Number(this.view.getBigInt64(48, true)); } @@ -325,7 +325,7 @@ export class NCBView { // 0x2a: pad6 // 0x30: isize - set ncb_post(value: Deno.PointerValue) { + set ncb_post(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } diff --git a/api/NetworkManagement/NetManagement.ts b/api/NetworkManagement/NetManagement.ts index bd8e850..6eee09e 100644 --- a/api/NetworkManagement/NetManagement.ts +++ b/api/NetworkManagement/NetManagement.ts @@ -20878,7 +20878,7 @@ export interface USE_OPTION_PROPERTIES { /** ptr */ pInfo: Deno.PointerValue | Uint8Array; /** usize */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofUSE_OPTION_PROPERTIES = 24; @@ -20920,7 +20920,7 @@ export class USE_OPTION_PROPERTIESView { } // 0x10: usize - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -20937,7 +20937,7 @@ export class USE_OPTION_PROPERTIESView { } // 0x10: usize - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -26925,7 +26925,7 @@ export class NETSETUP_PROVISIONING_PARAMSView { */ export interface AT_INFO { /** usize */ - JobTime: Deno.PointerValue; + JobTime: bigint | number; /** u32 */ DaysOfMonth: number; /** u8 */ @@ -26969,7 +26969,7 @@ export class AT_INFOView { } // 0x00: usize - get JobTime(): Deno.PointerValue { + get JobTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -26997,7 +26997,7 @@ export class AT_INFOView { } // 0x00: usize - set JobTime(value: Deno.PointerValue) { + set JobTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -27032,7 +27032,7 @@ export interface AT_ENUM { /** u32 */ JobId: number; /** usize */ - JobTime: Deno.PointerValue; + JobTime: bigint | number; /** u32 */ DaysOfMonth: number; /** u8 */ @@ -27086,7 +27086,7 @@ export class AT_ENUMView { // 0x04: pad4 // 0x08: usize - get JobTime(): Deno.PointerValue { + get JobTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -27121,7 +27121,7 @@ export class AT_ENUMView { // 0x04: pad4 // 0x08: usize - set JobTime(value: Deno.PointerValue) { + set JobTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -27935,7 +27935,7 @@ export type HRESULT = number; export type PSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/NetworkManagement/NetShell.ts b/api/NetworkManagement/NetShell.ts index b60c4c5..7826428 100644 --- a/api/NetworkManagement/NetShell.ts +++ b/api/NetworkManagement/NetShell.ts @@ -135,9 +135,9 @@ export class TOKEN_VALUEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -163,22 +163,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -884,7 +884,7 @@ export class TAG_TYPEView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/NetworkManagement/NetworkDiagnosticsFramework.ts b/api/NetworkManagement/NetworkDiagnosticsFramework.ts index 9d3ca46..545e81b 100644 --- a/api/NetworkManagement/NetworkDiagnosticsFramework.ts +++ b/api/NetworkManagement/NetworkDiagnosticsFramework.ts @@ -323,9 +323,9 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -351,22 +351,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1330,11 +1330,11 @@ export class HypothesisResultView { export type HRESULT = number; -export type SOCKET = Deno.PointerValue; +export type SOCKET = bigint | number; export type BOOL = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/NetworkManagement/NetworkPolicyServer.ts b/api/NetworkManagement/NetworkPolicyServer.ts index c127165..b6ab828 100644 --- a/api/NetworkManagement/NetworkPolicyServer.ts +++ b/api/NetworkManagement/NetworkPolicyServer.ts @@ -644,9 +644,9 @@ export const repAuthorization = 1; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -672,22 +672,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -929,17 +929,17 @@ export interface RADIUS_ATTRIBUTE_ARRAY { /** u32 */ cbSize: number; /** isize */ - Add: Deno.PointerValue; + Add: bigint | number; /** isize */ - AttributeAt: Deno.PointerValue; + AttributeAt: bigint | number; /** isize */ - GetSize: Deno.PointerValue; + GetSize: bigint | number; /** isize */ - InsertAt: Deno.PointerValue; + InsertAt: bigint | number; /** isize */ - RemoveAt: Deno.PointerValue; + RemoveAt: bigint | number; /** isize */ - SetAt: Deno.PointerValue; + SetAt: bigint | number; } export const sizeofRADIUS_ATTRIBUTE_ARRAY = 56; @@ -983,32 +983,32 @@ export class RADIUS_ATTRIBUTE_ARRAYView { // 0x04: pad4 // 0x08: isize - get Add(): Deno.PointerValue { + get Add(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get AttributeAt(): Deno.PointerValue { + get AttributeAt(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get GetSize(): Deno.PointerValue { + get GetSize(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get InsertAt(): Deno.PointerValue { + get InsertAt(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get RemoveAt(): Deno.PointerValue { + get RemoveAt(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get SetAt(): Deno.PointerValue { + get SetAt(): bigint | number { return Number(this.view.getBigInt64(48, true)); } @@ -1020,32 +1020,32 @@ export class RADIUS_ATTRIBUTE_ARRAYView { // 0x04: pad4 // 0x08: isize - set Add(value: Deno.PointerValue) { + set Add(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set AttributeAt(value: Deno.PointerValue) { + set AttributeAt(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set GetSize(value: Deno.PointerValue) { + set GetSize(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set InsertAt(value: Deno.PointerValue) { + set InsertAt(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set RemoveAt(value: Deno.PointerValue) { + set RemoveAt(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set SetAt(value: Deno.PointerValue) { + set SetAt(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } } @@ -1065,11 +1065,11 @@ export interface RADIUS_EXTENSION_CONTROL_BLOCK { /** Windows.Win32.NetworkManagement.NetworkPolicyServer.RADIUS_CODE */ rcResponseType: RADIUS_CODE; /** isize */ - GetRequest: Deno.PointerValue; + GetRequest: bigint | number; /** isize */ - GetResponse: Deno.PointerValue; + GetResponse: bigint | number; /** isize */ - SetResponseType: Deno.PointerValue; + SetResponseType: bigint | number; } export const sizeofRADIUS_EXTENSION_CONTROL_BLOCK = 48; @@ -1135,17 +1135,17 @@ export class RADIUS_EXTENSION_CONTROL_BLOCKView { // 0x14: pad4 // 0x18: isize - get GetRequest(): Deno.PointerValue { + get GetRequest(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get GetResponse(): Deno.PointerValue { + get GetResponse(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get SetResponseType(): Deno.PointerValue { + get SetResponseType(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -1177,17 +1177,17 @@ export class RADIUS_EXTENSION_CONTROL_BLOCKView { // 0x14: pad4 // 0x18: isize - set GetRequest(value: Deno.PointerValue) { + set GetRequest(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set GetResponse(value: Deno.PointerValue) { + set GetResponse(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set SetResponseType(value: Deno.PointerValue) { + set SetResponseType(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } } diff --git a/api/NetworkManagement/P2P.ts b/api/NetworkManagement/P2P.ts index 5016872..31bc6a7 100644 --- a/api/NetworkManagement/P2P.ts +++ b/api/NetworkManagement/P2P.ts @@ -602,9 +602,9 @@ export class PNRPINFO_V1View { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -630,22 +630,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1576,7 +1576,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -2567,9 +2567,9 @@ export interface PEER_CONNECTION_INFO { /** u32 */ dwFlags: number; /** u64 */ - ullConnectionId: Deno.PointerValue; + ullConnectionId: bigint | number; /** u64 */ - ullNodeId: Deno.PointerValue; + ullNodeId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pwzPeerId: string | null | Uint8Array | Uint16Array; /** Windows.Win32.NetworkManagement.P2P.PEER_ADDRESS */ @@ -2620,12 +2620,12 @@ export class PEER_CONNECTION_INFOView { } // 0x08: u64 - get ullConnectionId(): Deno.PointerValue { + get ullConnectionId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullNodeId(): Deno.PointerValue { + get ullNodeId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2652,12 +2652,12 @@ export class PEER_CONNECTION_INFOView { } // 0x08: u64 - set ullConnectionId(value: Deno.PointerValue) { + set ullConnectionId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullNodeId(value: Deno.PointerValue) { + set ullNodeId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -2680,7 +2680,7 @@ export interface PEER_EVENT_INCOMING_DATA { /** u32 */ dwSize: number; /** u64 */ - ullConnectionId: Deno.PointerValue; + ullConnectionId: bigint | number; /** System.Guid */ type: Uint8Array | Deno.PointerValue; /** Windows.Win32.NetworkManagement.P2P.PEER_DATA */ @@ -2722,7 +2722,7 @@ export class PEER_EVENT_INCOMING_DATAView { // 0x04: pad4 // 0x08: u64 - get ullConnectionId(): Deno.PointerValue { + get ullConnectionId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -2746,7 +2746,7 @@ export class PEER_EVENT_INCOMING_DATAView { // 0x04: pad4 // 0x08: u64 - set ullConnectionId(value: Deno.PointerValue) { + set ullConnectionId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2855,11 +2855,11 @@ export interface PEER_EVENT_CONNECTION_CHANGE_DATA { /** Windows.Win32.NetworkManagement.P2P.PEER_CONNECTION_STATUS */ status: PEER_CONNECTION_STATUS; /** u64 */ - ullConnectionId: Deno.PointerValue; + ullConnectionId: bigint | number; /** u64 */ - ullNodeId: Deno.PointerValue; + ullNodeId: bigint | number; /** u64 */ - ullNextConnectionId: Deno.PointerValue; + ullNextConnectionId: bigint | number; /** Windows.Win32.Foundation.HRESULT */ hrConnectionFailedReason: Uint8Array | Deno.PointerValue; } @@ -2905,17 +2905,17 @@ export class PEER_EVENT_CONNECTION_CHANGE_DATAView { } // 0x08: u64 - get ullConnectionId(): Deno.PointerValue { + get ullConnectionId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullNodeId(): Deno.PointerValue { + get ullNodeId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullNextConnectionId(): Deno.PointerValue { + get ullNextConnectionId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2936,17 +2936,17 @@ export class PEER_EVENT_CONNECTION_CHANGE_DATAView { } // 0x08: u64 - set ullConnectionId(value: Deno.PointerValue) { + set ullConnectionId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullNodeId(value: Deno.PointerValue) { + set ullNodeId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullNextConnectionId(value: Deno.PointerValue) { + set ullNextConnectionId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -3207,7 +3207,7 @@ export interface PEER_NODE_INFO { /** u32 */ dwSize: number; /** u64 */ - ullNodeId: Deno.PointerValue; + ullNodeId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pwzPeerId: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -3264,7 +3264,7 @@ export class PEER_NODE_INFOView { // 0x04: pad4 // 0x08: u64 - get ullNodeId(): Deno.PointerValue { + get ullNodeId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3301,7 +3301,7 @@ export class PEER_NODE_INFOView { // 0x04: pad4 // 0x08: u64 - set ullNodeId(value: Deno.PointerValue) { + set ullNodeId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -3339,7 +3339,7 @@ export interface PEER_EVENT_NODE_CHANGE_DATA { /** Windows.Win32.NetworkManagement.P2P.PEER_NODE_CHANGE_TYPE */ changeType: PEER_NODE_CHANGE_TYPE; /** u64 */ - ullNodeId: Deno.PointerValue; + ullNodeId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pwzPeerId: string | null | Uint8Array | Uint16Array; } @@ -3384,7 +3384,7 @@ export class PEER_EVENT_NODE_CHANGE_DATAView { } // 0x08: u64 - get ullNodeId(): Deno.PointerValue { + get ullNodeId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3405,7 +3405,7 @@ export class PEER_EVENT_NODE_CHANGE_DATAView { } // 0x08: u64 - set ullNodeId(value: Deno.PointerValue) { + set ullNodeId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -3927,7 +3927,7 @@ export interface PEER_MEMBER { /** Windows.Win32.Foundation.PWSTR */ pwzAttributes: string | null | Uint8Array | Uint16Array; /** u64 */ - ullNodeId: Deno.PointerValue; + ullNodeId: bigint | number; /** u32 */ cAddresses: number; /** ptr */ @@ -4000,7 +4000,7 @@ export class PEER_MEMBERView { } // 0x18: u64 - get ullNodeId(): Deno.PointerValue { + get ullNodeId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4046,7 +4046,7 @@ export class PEER_MEMBERView { } // 0x18: u64 - set ullNodeId(value: Deno.PointerValue) { + set ullNodeId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6811,31 +6811,31 @@ export interface DRT_SECURITY_PROVIDER { /** ptr */ pvContext: Deno.PointerValue | Uint8Array; /** isize */ - Attach: Deno.PointerValue; + Attach: bigint | number; /** isize */ - Detach: Deno.PointerValue; + Detach: bigint | number; /** isize */ - RegisterKey: Deno.PointerValue; + RegisterKey: bigint | number; /** isize */ - UnregisterKey: Deno.PointerValue; + UnregisterKey: bigint | number; /** isize */ - ValidateAndUnpackPayload: Deno.PointerValue; + ValidateAndUnpackPayload: bigint | number; /** isize */ - SecureAndPackPayload: Deno.PointerValue; + SecureAndPackPayload: bigint | number; /** isize */ - FreeData: Deno.PointerValue; + FreeData: bigint | number; /** isize */ - EncryptData: Deno.PointerValue; + EncryptData: bigint | number; /** isize */ - DecryptData: Deno.PointerValue; + DecryptData: bigint | number; /** isize */ - GetSerializedCredential: Deno.PointerValue; + GetSerializedCredential: bigint | number; /** isize */ - ValidateRemoteCredential: Deno.PointerValue; + ValidateRemoteCredential: bigint | number; /** isize */ - SignData: Deno.PointerValue; + SignData: bigint | number; /** isize */ - VerifyData: Deno.PointerValue; + VerifyData: bigint | number; } export const sizeofDRT_SECURITY_PROVIDER = 112; @@ -6891,67 +6891,67 @@ export class DRT_SECURITY_PROVIDERView { } // 0x08: isize - get Attach(): Deno.PointerValue { + get Attach(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get Detach(): Deno.PointerValue { + get Detach(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get RegisterKey(): Deno.PointerValue { + get RegisterKey(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get UnregisterKey(): Deno.PointerValue { + get UnregisterKey(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get ValidateAndUnpackPayload(): Deno.PointerValue { + get ValidateAndUnpackPayload(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get SecureAndPackPayload(): Deno.PointerValue { + get SecureAndPackPayload(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get FreeData(): Deno.PointerValue { + get FreeData(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get EncryptData(): Deno.PointerValue { + get EncryptData(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get DecryptData(): Deno.PointerValue { + get DecryptData(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get GetSerializedCredential(): Deno.PointerValue { + get GetSerializedCredential(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get ValidateRemoteCredential(): Deno.PointerValue { + get ValidateRemoteCredential(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get SignData(): Deno.PointerValue { + get SignData(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get VerifyData(): Deno.PointerValue { + get VerifyData(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -6961,67 +6961,67 @@ export class DRT_SECURITY_PROVIDERView { } // 0x08: isize - set Attach(value: Deno.PointerValue) { + set Attach(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set Detach(value: Deno.PointerValue) { + set Detach(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set RegisterKey(value: Deno.PointerValue) { + set RegisterKey(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set UnregisterKey(value: Deno.PointerValue) { + set UnregisterKey(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set ValidateAndUnpackPayload(value: Deno.PointerValue) { + set ValidateAndUnpackPayload(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set SecureAndPackPayload(value: Deno.PointerValue) { + set SecureAndPackPayload(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set FreeData(value: Deno.PointerValue) { + set FreeData(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set EncryptData(value: Deno.PointerValue) { + set EncryptData(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set DecryptData(value: Deno.PointerValue) { + set DecryptData(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set GetSerializedCredential(value: Deno.PointerValue) { + set GetSerializedCredential(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set ValidateRemoteCredential(value: Deno.PointerValue) { + set ValidateRemoteCredential(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set SignData(value: Deno.PointerValue) { + set SignData(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set VerifyData(value: Deno.PointerValue) { + set VerifyData(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } } @@ -7033,19 +7033,19 @@ export interface DRT_BOOTSTRAP_PROVIDER { /** ptr */ pvContext: Deno.PointerValue | Uint8Array; /** isize */ - Attach: Deno.PointerValue; + Attach: bigint | number; /** isize */ - Detach: Deno.PointerValue; + Detach: bigint | number; /** isize */ - InitResolve: Deno.PointerValue; + InitResolve: bigint | number; /** isize */ - IssueResolve: Deno.PointerValue; + IssueResolve: bigint | number; /** isize */ - EndResolve: Deno.PointerValue; + EndResolve: bigint | number; /** isize */ - Register: Deno.PointerValue; + Register: bigint | number; /** isize */ - Unregister: Deno.PointerValue; + Unregister: bigint | number; } export const sizeofDRT_BOOTSTRAP_PROVIDER = 64; @@ -7089,37 +7089,37 @@ export class DRT_BOOTSTRAP_PROVIDERView { } // 0x08: isize - get Attach(): Deno.PointerValue { + get Attach(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get Detach(): Deno.PointerValue { + get Detach(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get InitResolve(): Deno.PointerValue { + get InitResolve(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get IssueResolve(): Deno.PointerValue { + get IssueResolve(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get EndResolve(): Deno.PointerValue { + get EndResolve(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get Register(): Deno.PointerValue { + get Register(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get Unregister(): Deno.PointerValue { + get Unregister(): bigint | number { return Number(this.view.getBigInt64(56, true)); } @@ -7129,37 +7129,37 @@ export class DRT_BOOTSTRAP_PROVIDERView { } // 0x08: isize - set Attach(value: Deno.PointerValue) { + set Attach(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set Detach(value: Deno.PointerValue) { + set Detach(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set InitResolve(value: Deno.PointerValue) { + set InitResolve(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set IssueResolve(value: Deno.PointerValue) { + set IssueResolve(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set EndResolve(value: Deno.PointerValue) { + set EndResolve(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set Register(value: Deno.PointerValue) { + set Register(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set Unregister(value: Deno.PointerValue) { + set Unregister(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } } @@ -7486,7 +7486,7 @@ export interface SOCKADDR_STORAGE { /** array */ __ss_pad1: Deno.PointerValue; /** i64 */ - __ss_align: Deno.PointerValue; + __ss_align: bigint | number; /** array */ __ss_pad2: Deno.PointerValue; } @@ -7532,7 +7532,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - get __ss_align(): Deno.PointerValue { + get __ss_align(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -7555,7 +7555,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - set __ss_align(value: Deno.PointerValue) { + set __ss_align(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -8182,7 +8182,7 @@ export class PEERDIST_CLIENT_BASIC_INFOView { // 0x04: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries @@ -9234,7 +9234,7 @@ export function PeerGraphOpenDirectConnection( export function PeerGraphSendData( hGraph: Deno.PointerValue | Uint8Array /* ptr */, - ullConnectionId: Deno.PointerValue /* u64 */, + ullConnectionId: bigint | number /* u64 */, pType: Deno.PointerValue | Uint8Array /* ptr */, cbData: number /* u32 */, pvData: Deno.PointerValue | Uint8Array /* ptr */, @@ -9244,7 +9244,7 @@ export function PeerGraphSendData( export function PeerGraphCloseDirectConnection( hGraph: Deno.PointerValue | Uint8Array /* ptr */, - ullConnectionId: Deno.PointerValue /* u64 */, + ullConnectionId: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libP2PGRAPH_dll.PeerGraphCloseDirectConnection(util.toPointer(hGraph), ullConnectionId); } @@ -9274,7 +9274,7 @@ export function PeerGraphSetPresence( export function PeerGraphGetNodeInfo( hGraph: Deno.PointerValue | Uint8Array /* ptr */, - ullNodeId: Deno.PointerValue /* u64 */, + ullNodeId: bigint | number /* u64 */, ppNodeInfo: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libP2PGRAPH_dll.PeerGraphGetNodeInfo(util.toPointer(hGraph), ullNodeId, util.toPointer(ppNodeInfo)); @@ -9469,7 +9469,7 @@ export function PeerGroupOpenDirectConnection( export function PeerGroupCloseDirectConnection( hGroup: Deno.PointerValue | Uint8Array /* ptr */, - ullConnectionId: Deno.PointerValue /* u64 */, + ullConnectionId: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libP2P_dll.PeerGroupCloseDirectConnection(util.toPointer(hGroup), ullConnectionId); } @@ -9484,7 +9484,7 @@ export function PeerGroupEnumConnections( export function PeerGroupSendData( hGroup: Deno.PointerValue | Uint8Array /* ptr */, - ullConnectionId: Deno.PointerValue /* u64 */, + ullConnectionId: bigint | number /* u64 */, pType: Deno.PointerValue | Uint8Array /* ptr */, cbData: number /* u32 */, pvData: Deno.PointerValue | Uint8Array /* ptr */, @@ -9629,7 +9629,7 @@ export function PeerGroupResumePasswordAuthentication( export function PeerIdentityCreate( pwzClassifier: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pwzFriendlyName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - hCryptProv: Deno.PointerValue /* usize */, + hCryptProv: bigint | number /* usize */, ppwzIdentity: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libP2P_dll.PeerIdentityCreate(util.pwstrToFfi(pwzClassifier), util.pwstrToFfi(pwzFriendlyName), hCryptProv, util.toPointer(ppwzIdentity)); @@ -10289,22 +10289,22 @@ export function PeerDistStartup( } export function PeerDistShutdown( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, ): number /* u32 */ { return libPeerDist_dll.PeerDistShutdown(hPeerDist); } export function PeerDistGetStatus( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, pPeerDistStatus: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistGetStatus(hPeerDist, util.toPointer(pPeerDistStatus)); } export function PeerDistRegisterForStatusChangeNotification( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, hCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ulCompletionKey: Deno.PointerValue /* usize */, + ulCompletionKey: bigint | number /* usize */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, pPeerDistStatus: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -10312,27 +10312,27 @@ export function PeerDistRegisterForStatusChangeNotification( } export function PeerDistUnregisterForStatusChangeNotification( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, ): number /* u32 */ { return libPeerDist_dll.PeerDistUnregisterForStatusChangeNotification(hPeerDist); } export function PeerDistServerPublishStream( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, cbContentIdentifier: number /* u32 */, pContentIdentifier: Deno.PointerValue | Uint8Array /* ptr */, - cbContentLength: Deno.PointerValue /* u64 */, + cbContentLength: bigint | number /* u64 */, pPublishOptions: Deno.PointerValue | Uint8Array /* ptr */, hCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ulCompletionKey: Deno.PointerValue /* usize */, + ulCompletionKey: bigint | number /* usize */, phStream: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistServerPublishStream(hPeerDist, cbContentIdentifier, util.toPointer(pContentIdentifier), cbContentLength, util.toPointer(pPublishOptions), util.toPointer(hCompletionPort), ulCompletionKey, util.toPointer(phStream)); } export function PeerDistServerPublishAddToStream( - hPeerDist: Deno.PointerValue /* isize */, - hStream: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hStream: bigint | number /* isize */, cbNumberOfBytes: number /* u32 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, @@ -10341,22 +10341,22 @@ export function PeerDistServerPublishAddToStream( } export function PeerDistServerPublishCompleteStream( - hPeerDist: Deno.PointerValue /* isize */, - hStream: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hStream: bigint | number /* isize */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistServerPublishCompleteStream(hPeerDist, hStream, util.toPointer(lpOverlapped)); } export function PeerDistServerCloseStreamHandle( - hPeerDist: Deno.PointerValue /* isize */, - hStream: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hStream: bigint | number /* isize */, ): number /* u32 */ { return libPeerDist_dll.PeerDistServerCloseStreamHandle(hPeerDist, hStream); } export function PeerDistServerUnpublish( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, cbContentIdentifier: number /* u32 */, pContentIdentifier: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -10364,21 +10364,21 @@ export function PeerDistServerUnpublish( } export function PeerDistServerOpenContentInformation( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, cbContentIdentifier: number /* u32 */, pContentIdentifier: Deno.PointerValue | Uint8Array /* ptr */, - ullContentOffset: Deno.PointerValue /* u64 */, - cbContentLength: Deno.PointerValue /* u64 */, + ullContentOffset: bigint | number /* u64 */, + cbContentLength: bigint | number /* u64 */, hCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ulCompletionKey: Deno.PointerValue /* usize */, + ulCompletionKey: bigint | number /* usize */, phContentInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistServerOpenContentInformation(hPeerDist, cbContentIdentifier, util.toPointer(pContentIdentifier), ullContentOffset, cbContentLength, util.toPointer(hCompletionPort), ulCompletionKey, util.toPointer(phContentInfo)); } export function PeerDistServerRetrieveContentInformation( - hPeerDist: Deno.PointerValue /* isize */, - hContentInfo: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentInfo: bigint | number /* isize */, cbMaxNumberOfBytes: number /* u32 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, @@ -10387,14 +10387,14 @@ export function PeerDistServerRetrieveContentInformation( } export function PeerDistServerCloseContentInformation( - hPeerDist: Deno.PointerValue /* isize */, - hContentInfo: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentInfo: bigint | number /* isize */, ): number /* u32 */ { return libPeerDist_dll.PeerDistServerCloseContentInformation(hPeerDist, hContentInfo); } export function PeerDistServerCancelAsyncOperation( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, cbContentIdentifier: number /* u32 */, pContentIdentifier: Deno.PointerValue | Uint8Array /* ptr */, pOverlapped: Deno.PointerValue | Uint8Array /* ptr */, @@ -10403,25 +10403,25 @@ export function PeerDistServerCancelAsyncOperation( } export function PeerDistClientOpenContent( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, pContentTag: Deno.PointerValue | Uint8Array /* ptr */, hCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ulCompletionKey: Deno.PointerValue /* usize */, + ulCompletionKey: bigint | number /* usize */, phContentHandle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistClientOpenContent(hPeerDist, util.toPointer(pContentTag), util.toPointer(hCompletionPort), ulCompletionKey, util.toPointer(phContentHandle)); } export function PeerDistClientCloseContent( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, ): number /* u32 */ { return libPeerDist_dll.PeerDistClientCloseContent(hPeerDist, hContentHandle); } export function PeerDistClientAddContentInformation( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, cbNumberOfBytes: number /* u32 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, @@ -10430,16 +10430,16 @@ export function PeerDistClientAddContentInformation( } export function PeerDistClientCompleteContentInformation( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistClientCompleteContentInformation(hPeerDist, hContentHandle, util.toPointer(lpOverlapped)); } export function PeerDistClientAddData( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, cbNumberOfBytes: number /* u32 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, @@ -10448,8 +10448,8 @@ export function PeerDistClientAddData( } export function PeerDistClientBlockRead( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, cbMaxNumberOfBytes: number /* u32 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, dwTimeoutInMilliseconds: number /* u32 */, @@ -10459,8 +10459,8 @@ export function PeerDistClientBlockRead( } export function PeerDistClientStreamRead( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, cbMaxNumberOfBytes: number /* u32 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, dwTimeoutInMilliseconds: number /* u32 */, @@ -10470,34 +10470,34 @@ export function PeerDistClientStreamRead( } export function PeerDistClientFlushContent( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, pContentTag: Deno.PointerValue | Uint8Array /* ptr */, hCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ulCompletionKey: Deno.PointerValue /* usize */, + ulCompletionKey: bigint | number /* usize */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistClientFlushContent(hPeerDist, util.toPointer(pContentTag), util.toPointer(hCompletionPort), ulCompletionKey, util.toPointer(lpOverlapped)); } export function PeerDistClientCancelAsyncOperation( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, pOverlapped: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistClientCancelAsyncOperation(hPeerDist, hContentHandle, util.toPointer(pOverlapped)); } export function PeerDistGetStatusEx( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, pPeerDistStatus: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistGetStatusEx(hPeerDist, util.toPointer(pPeerDistStatus)); } export function PeerDistRegisterForStatusChangeNotificationEx( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, hCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ulCompletionKey: Deno.PointerValue /* usize */, + ulCompletionKey: bigint | number /* usize */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, pPeerDistStatus: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -10513,22 +10513,22 @@ export function PeerDistGetOverlappedResult( } export function PeerDistServerOpenContentInformationEx( - hPeerDist: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, cbContentIdentifier: number /* u32 */, pContentIdentifier: Deno.PointerValue | Uint8Array /* ptr */, - ullContentOffset: Deno.PointerValue /* u64 */, - cbContentLength: Deno.PointerValue /* u64 */, + ullContentOffset: bigint | number /* u64 */, + cbContentLength: bigint | number /* u64 */, pRetrievalOptions: Deno.PointerValue | Uint8Array /* ptr */, hCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ulCompletionKey: Deno.PointerValue /* usize */, + ulCompletionKey: bigint | number /* usize */, phContentInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libPeerDist_dll.PeerDistServerOpenContentInformationEx(hPeerDist, cbContentIdentifier, util.toPointer(pContentIdentifier), ullContentOffset, cbContentLength, util.toPointer(pRetrievalOptions), util.toPointer(hCompletionPort), ulCompletionKey, util.toPointer(phContentInfo)); } export function PeerDistClientGetInformationByHandle( - hPeerDist: Deno.PointerValue /* isize */, - hContentHandle: Deno.PointerValue /* isize */, + hPeerDist: bigint | number /* isize */, + hContentHandle: bigint | number /* isize */, PeerDistClientInfoClass: PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS /* Windows.Win32.NetworkManagement.P2P.PEERDIST_CLIENT_INFO_BY_HANDLE_CLASS */, dwBufferSize: number /* u32 */, lpInformation: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/NetworkManagement/QoS.ts b/api/NetworkManagement/QoS.ts index 9bdd9df..1473d20 100644 --- a/api/NetworkManagement/QoS.ts +++ b/api/NetworkManagement/QoS.ts @@ -558,9 +558,9 @@ export const FILTERSPEC_END = 6; // Structs -export type LPM_HANDLE = Deno.PointerValue; +export type LPM_HANDLE = bigint | number; -export type RHANDLE = Deno.PointerValue; +export type RHANDLE = bigint | number; /** * Windows.Win32.NetworkManagement.QoS.QOS_OBJECT_HDR (size: 8) @@ -4613,11 +4613,11 @@ export interface QOS_FLOW_FUNDAMENTALS { /** Windows.Win32.Foundation.BOOL */ BottleneckBandwidthSet: boolean; /** u64 */ - BottleneckBandwidth: Deno.PointerValue; + BottleneckBandwidth: bigint | number; /** Windows.Win32.Foundation.BOOL */ AvailableBandwidthSet: boolean; /** u64 */ - AvailableBandwidth: Deno.PointerValue; + AvailableBandwidth: bigint | number; /** Windows.Win32.Foundation.BOOL */ RTTSet: boolean; /** u32 */ @@ -4664,7 +4664,7 @@ export class QOS_FLOW_FUNDAMENTALSView { // 0x04: pad4 // 0x08: u64 - get BottleneckBandwidth(): Deno.PointerValue { + get BottleneckBandwidth(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4676,7 +4676,7 @@ export class QOS_FLOW_FUNDAMENTALSView { // 0x14: pad4 // 0x18: u64 - get AvailableBandwidth(): Deno.PointerValue { + get AvailableBandwidth(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4698,7 +4698,7 @@ export class QOS_FLOW_FUNDAMENTALSView { // 0x04: pad4 // 0x08: u64 - set BottleneckBandwidth(value: Deno.PointerValue) { + set BottleneckBandwidth(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -4710,7 +4710,7 @@ export class QOS_FLOW_FUNDAMENTALSView { // 0x14: pad4 // 0x18: u64 - set AvailableBandwidth(value: Deno.PointerValue) { + set AvailableBandwidth(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -4730,7 +4730,7 @@ export class QOS_FLOW_FUNDAMENTALSView { */ export interface QOS_FLOWRATE_OUTGOING { /** u64 */ - Bandwidth: Deno.PointerValue; + Bandwidth: bigint | number; /** Windows.Win32.NetworkManagement.QoS.QOS_SHAPING */ ShapingBehavior: QOS_SHAPING; /** Windows.Win32.NetworkManagement.QoS.QOS_FLOWRATE_REASON */ @@ -4762,7 +4762,7 @@ export class QOS_FLOWRATE_OUTGOINGView { } // 0x00: u64 - get Bandwidth(): Deno.PointerValue { + get Bandwidth(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4777,7 +4777,7 @@ export class QOS_FLOWRATE_OUTGOINGView { } // 0x00: u64 - set Bandwidth(value: Deno.PointerValue) { + set Bandwidth(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5562,7 +5562,7 @@ export interface TC_SUPPORTED_INFO_BUFFER { /** array */ InstanceID: Deno.PointerValue; /** u64 */ - InterfaceLuid: Deno.PointerValue; + InterfaceLuid: bigint | number; /** Windows.Win32.NetworkManagement.QoS.ADDRESS_LIST_DESCRIPTOR */ AddrListDesc: Uint8Array | Deno.PointerValue; } @@ -5608,7 +5608,7 @@ export class TC_SUPPORTED_INFO_BUFFERView { } // 0x10: u64 - get InterfaceLuid(): Deno.PointerValue { + get InterfaceLuid(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5631,7 +5631,7 @@ export class TC_SUPPORTED_INFO_BUFFERView { } // 0x10: u64 - set InterfaceLuid(value: Deno.PointerValue) { + set InterfaceLuid(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -6796,9 +6796,9 @@ export class RSVP_FILTERSPEC_V6_GPIView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -6824,22 +6824,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8550,7 +8550,7 @@ export class SIPAEVENT_VSM_IDK_INFO_PAYLOADView { */ export interface SIPAEVENT_SI_POLICY_PAYLOAD { /** u64 */ - PolicyVersion: Deno.PointerValue; + PolicyVersion: bigint | number; /** u16 */ PolicyNameLength: number; /** u16 */ @@ -8590,7 +8590,7 @@ export class SIPAEVENT_SI_POLICY_PAYLOADView { } // 0x00: u64 - get PolicyVersion(): Deno.PointerValue { + get PolicyVersion(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8616,7 +8616,7 @@ export class SIPAEVENT_SI_POLICY_PAYLOADView { } // 0x00: u64 - set PolicyVersion(value: Deno.PointerValue) { + set PolicyVersion(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8646,7 +8646,7 @@ export class SIPAEVENT_SI_POLICY_PAYLOADView { */ export interface SIPAEVENT_REVOCATION_LIST_PAYLOAD { /** i64 */ - CreationTime: Deno.PointerValue; + CreationTime: bigint | number; /** u32 */ DigestLength: number; /** u16 */ @@ -8683,7 +8683,7 @@ export class SIPAEVENT_REVOCATION_LIST_PAYLOADView { } // 0x00: i64 - get CreationTime(): Deno.PointerValue { + get CreationTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -8706,7 +8706,7 @@ export class SIPAEVENT_REVOCATION_LIST_PAYLOADView { } // 0x00: i64 - set CreationTime(value: Deno.PointerValue) { + set CreationTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -8925,9 +8925,9 @@ export class SIPAEVENT_SBCP_INFO_PAYLOAD_V1View { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type SOCKET = Deno.PointerValue; +export type SOCKET = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; diff --git a/api/NetworkManagement/Rras.ts b/api/NetworkManagement/Rras.ts index 40baf2c..179f4a6 100644 --- a/api/NetworkManagement/Rras.ts +++ b/api/NetworkManagement/Rras.ts @@ -900,7 +900,7 @@ export const RTM_CHANGE_NOTIFICATION = 3; // Structs -export type HRASCONN = Deno.PointerValue; +export type HRASCONN = bigint | number; /** * Windows.Win32.NetworkManagement.Rras.RASIPADDR (size: 8) @@ -993,9 +993,9 @@ export class RASIPADDRView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1021,22 +1021,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1967,7 +1967,7 @@ export interface RASDIALPARAMSW { /** u32 */ dwSubEntry: number; /** usize */ - dwCallbackId: Deno.PointerValue; + dwCallbackId: bigint | number; /** u32 */ dwIfIndex: number; /** Windows.Win32.Foundation.PWSTR */ @@ -2071,7 +2071,7 @@ export class RASDIALPARAMSWView { // 0x3c: pad4 // 0x40: usize - get dwCallbackId(): Deno.PointerValue { + get dwCallbackId(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -2133,7 +2133,7 @@ export class RASDIALPARAMSWView { // 0x3c: pad4 // 0x40: usize - set dwCallbackId(value: Deno.PointerValue) { + set dwCallbackId(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -2174,7 +2174,7 @@ export interface RASDIALPARAMSA { /** u32 */ dwSubEntry: number; /** usize */ - dwCallbackId: Deno.PointerValue; + dwCallbackId: bigint | number; /** u32 */ dwIfIndex: number; /** Windows.Win32.Foundation.PSTR */ @@ -2278,7 +2278,7 @@ export class RASDIALPARAMSAView { // 0x3c: pad4 // 0x40: usize - get dwCallbackId(): Deno.PointerValue { + get dwCallbackId(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -2340,7 +2340,7 @@ export class RASDIALPARAMSAView { // 0x3c: pad4 // 0x40: usize - set dwCallbackId(value: Deno.PointerValue) { + set dwCallbackId(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -2476,7 +2476,7 @@ export class RASDEVSPECIFICINFOView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; export type BOOL = number; @@ -2491,9 +2491,9 @@ export interface RASDIALEXTENSIONS { /** Windows.Win32.Foundation.HWND */ hwndParent: Deno.PointerValue; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** usize */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** Windows.Win32.NetworkManagement.Rras.RASEAPINFO */ RasEapInfo: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BOOL */ @@ -2554,12 +2554,12 @@ export class RASDIALEXTENSIONSView { } // 0x10: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2598,12 +2598,12 @@ export class RASDIALEXTENSIONSView { } // 0x10: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -5073,7 +5073,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -9941,15 +9941,15 @@ export interface RASPBDLGW { /** i32 */ yDlg: number; /** usize */ - dwCallbackId: Deno.PointerValue; + dwCallbackId: bigint | number; /** Windows.Win32.NetworkManagement.Rras.RASPBDLGFUNCW */ pCallback: Uint8Array | Deno.PointerValue; /** u32 */ dwError: number; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** usize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; } export const sizeofRASPBDLGW = 72; @@ -10024,7 +10024,7 @@ export class RASPBDLGWView { // 0x1c: pad4 // 0x20: usize - get dwCallbackId(): Deno.PointerValue { + get dwCallbackId(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -10042,12 +10042,12 @@ export class RASPBDLGWView { // 0x34: pad4 // 0x38: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -10081,7 +10081,7 @@ export class RASPBDLGWView { // 0x1c: pad4 // 0x20: usize - set dwCallbackId(value: Deno.PointerValue) { + set dwCallbackId(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -10098,12 +10098,12 @@ export class RASPBDLGWView { // 0x34: pad4 // 0x38: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -10123,15 +10123,15 @@ export interface RASPBDLGA { /** i32 */ yDlg: number; /** usize */ - dwCallbackId: Deno.PointerValue; + dwCallbackId: bigint | number; /** Windows.Win32.NetworkManagement.Rras.RASPBDLGFUNCA */ pCallback: Uint8Array | Deno.PointerValue; /** u32 */ dwError: number; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** usize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; } export const sizeofRASPBDLGA = 72; @@ -10206,7 +10206,7 @@ export class RASPBDLGAView { // 0x1c: pad4 // 0x20: usize - get dwCallbackId(): Deno.PointerValue { + get dwCallbackId(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -10224,12 +10224,12 @@ export class RASPBDLGAView { // 0x34: pad4 // 0x38: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -10263,7 +10263,7 @@ export class RASPBDLGAView { // 0x1c: pad4 // 0x20: usize - set dwCallbackId(value: Deno.PointerValue) { + set dwCallbackId(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -10280,12 +10280,12 @@ export class RASPBDLGAView { // 0x34: pad4 // 0x38: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -10309,9 +10309,9 @@ export interface RASENTRYDLGW { /** u32 */ dwError: number; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** usize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; } export const sizeofRASENTRYDLGW = 64; @@ -10397,12 +10397,12 @@ export class RASENTRYDLGWView { // 0x2c: pad4 // 0x30: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -10448,12 +10448,12 @@ export class RASENTRYDLGWView { // 0x2c: pad4 // 0x30: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -10477,9 +10477,9 @@ export interface RASENTRYDLGA { /** u32 */ dwError: number; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** usize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; } export const sizeofRASENTRYDLGA = 64; @@ -10565,12 +10565,12 @@ export class RASENTRYDLGAView { // 0x2c: pad4 // 0x30: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -10616,12 +10616,12 @@ export class RASENTRYDLGAView { // 0x2c: pad4 // 0x30: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -10645,9 +10645,9 @@ export interface RASDIALDLG { /** u32 */ dwError: number; /** usize */ - reserved: Deno.PointerValue; + reserved: bigint | number; /** usize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; } export const sizeofRASDIALDLG = 56; @@ -10729,12 +10729,12 @@ export class RASDIALDLGView { // 0x24: pad4 // 0x28: usize - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -10778,12 +10778,12 @@ export class RASDIALDLGView { // 0x24: pad4 // 0x28: usize - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -13441,21 +13441,21 @@ export interface RAS_PORT_2 { /** u32 */ dwTotalErrors: number; /** u64 */ - ullBytesXmited: Deno.PointerValue; + ullBytesXmited: bigint | number; /** u64 */ - ullBytesRcved: Deno.PointerValue; + ullBytesRcved: bigint | number; /** u64 */ - ullFramesXmited: Deno.PointerValue; + ullFramesXmited: bigint | number; /** u64 */ - ullFramesRcved: Deno.PointerValue; + ullFramesRcved: bigint | number; /** u64 */ - ullBytesTxUncompressed: Deno.PointerValue; + ullBytesTxUncompressed: bigint | number; /** u64 */ - ullBytesTxCompressed: Deno.PointerValue; + ullBytesTxCompressed: bigint | number; /** u64 */ - ullBytesRcvUncompressed: Deno.PointerValue; + ullBytesRcvUncompressed: bigint | number; /** u64 */ - ullBytesRcvCompressed: Deno.PointerValue; + ullBytesRcvCompressed: bigint | number; } export const sizeofRAS_PORT_2 = 168; @@ -13635,42 +13635,42 @@ export class RAS_PORT_2View { } // 0x68: u64 - get ullBytesXmited(): Deno.PointerValue { + get ullBytesXmited(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get ullBytesRcved(): Deno.PointerValue { + get ullBytesRcved(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get ullFramesXmited(): Deno.PointerValue { + get ullFramesXmited(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get ullFramesRcved(): Deno.PointerValue { + get ullFramesRcved(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get ullBytesTxUncompressed(): Deno.PointerValue { + get ullBytesTxUncompressed(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get ullBytesTxCompressed(): Deno.PointerValue { + get ullBytesTxCompressed(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get ullBytesRcvUncompressed(): Deno.PointerValue { + get ullBytesRcvUncompressed(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get ullBytesRcvCompressed(): Deno.PointerValue { + get ullBytesRcvCompressed(): bigint | number { return Number(this.view.getBigUint64(160, true)); } @@ -13772,42 +13772,42 @@ export class RAS_PORT_2View { } // 0x68: u64 - set ullBytesXmited(value: Deno.PointerValue) { + set ullBytesXmited(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set ullBytesRcved(value: Deno.PointerValue) { + set ullBytesRcved(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set ullFramesXmited(value: Deno.PointerValue) { + set ullFramesXmited(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set ullFramesRcved(value: Deno.PointerValue) { + set ullFramesRcved(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set ullBytesTxUncompressed(value: Deno.PointerValue) { + set ullBytesTxUncompressed(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set ullBytesTxCompressed(value: Deno.PointerValue) { + set ullBytesTxCompressed(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set ullBytesRcvUncompressed(value: Deno.PointerValue) { + set ullBytesRcvUncompressed(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set ullBytesRcvCompressed(value: Deno.PointerValue) { + set ullBytesRcvCompressed(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } } @@ -15904,7 +15904,7 @@ export interface PPP_PROJECTION_INFO { /** u32 */ dwIPv4RemoteOptions: number; /** u64 */ - IPv4SubInterfaceIndex: Deno.PointerValue; + IPv4SubInterfaceIndex: bigint | number; /** u32 */ dwIPv6NegotiationError: number; /** array */ @@ -15916,7 +15916,7 @@ export interface PPP_PROJECTION_INFO { /** u32 */ dwPrefixLength: number; /** u64 */ - IPv6SubInterfaceIndex: Deno.PointerValue; + IPv6SubInterfaceIndex: bigint | number; /** u32 */ dwLcpError: number; /** Windows.Win32.NetworkManagement.Rras.PPP_LCP */ @@ -16058,7 +16058,7 @@ export class PPP_PROJECTION_INFOView { } // 0x20: u64 - get IPv4SubInterfaceIndex(): Deno.PointerValue { + get IPv4SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -16095,7 +16095,7 @@ export class PPP_PROJECTION_INFOView { // 0x4c: pad4 // 0x50: u64 - get IPv6SubInterfaceIndex(): Deno.PointerValue { + get IPv6SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -16207,7 +16207,7 @@ export class PPP_PROJECTION_INFOView { } // 0x20: u64 - set IPv4SubInterfaceIndex(value: Deno.PointerValue) { + set IPv4SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -16241,7 +16241,7 @@ export class PPP_PROJECTION_INFOView { // 0x4c: pad4 // 0x50: u64 - set IPv6SubInterfaceIndex(value: Deno.PointerValue) { + set IPv6SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -16341,7 +16341,7 @@ export interface PPP_PROJECTION_INFO2 { /** u32 */ dwIPv4RemoteOptions: number; /** u64 */ - IPv4SubInterfaceIndex: Deno.PointerValue; + IPv4SubInterfaceIndex: bigint | number; /** u32 */ dwIPv6NegotiationError: number; /** array */ @@ -16353,7 +16353,7 @@ export interface PPP_PROJECTION_INFO2 { /** u32 */ dwPrefixLength: number; /** u64 */ - IPv6SubInterfaceIndex: Deno.PointerValue; + IPv6SubInterfaceIndex: bigint | number; /** u32 */ dwLcpError: number; /** Windows.Win32.NetworkManagement.Rras.PPP_LCP */ @@ -16500,7 +16500,7 @@ export class PPP_PROJECTION_INFO2View { } // 0x20: u64 - get IPv4SubInterfaceIndex(): Deno.PointerValue { + get IPv4SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -16537,7 +16537,7 @@ export class PPP_PROJECTION_INFO2View { // 0x4c: pad4 // 0x50: u64 - get IPv6SubInterfaceIndex(): Deno.PointerValue { + get IPv6SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -16656,7 +16656,7 @@ export class PPP_PROJECTION_INFO2View { } // 0x20: u64 - set IPv4SubInterfaceIndex(value: Deno.PointerValue) { + set IPv4SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -16690,7 +16690,7 @@ export class PPP_PROJECTION_INFO2View { // 0x4c: pad4 // 0x50: u64 - set IPv6SubInterfaceIndex(value: Deno.PointerValue) { + set IPv6SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -16793,7 +16793,7 @@ export interface IKEV2_PROJECTION_INFO { /** array */ wszRemoteAddress: Deno.PointerValue; /** u64 */ - IPv4SubInterfaceIndex: Deno.PointerValue; + IPv4SubInterfaceIndex: bigint | number; /** u32 */ dwIPv6NegotiationError: number; /** array */ @@ -16805,7 +16805,7 @@ export interface IKEV2_PROJECTION_INFO { /** u32 */ dwPrefixLength: number; /** u64 */ - IPv6SubInterfaceIndex: Deno.PointerValue; + IPv6SubInterfaceIndex: bigint | number; /** u32 */ dwOptions: number; /** u32 */ @@ -16890,7 +16890,7 @@ export class IKEV2_PROJECTION_INFOView { } // 0x18: u64 - get IPv4SubInterfaceIndex(): Deno.PointerValue { + get IPv4SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -16927,7 +16927,7 @@ export class IKEV2_PROJECTION_INFOView { // 0x44: pad4 // 0x48: u64 - get IPv6SubInterfaceIndex(): Deno.PointerValue { + get IPv6SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -16976,7 +16976,7 @@ export class IKEV2_PROJECTION_INFOView { } // 0x18: u64 - set IPv4SubInterfaceIndex(value: Deno.PointerValue) { + set IPv4SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -17010,7 +17010,7 @@ export class IKEV2_PROJECTION_INFOView { // 0x44: pad4 // 0x48: u64 - set IPv6SubInterfaceIndex(value: Deno.PointerValue) { + set IPv6SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -17053,7 +17053,7 @@ export interface IKEV2_PROJECTION_INFO2 { /** array */ wszRemoteAddress: Deno.PointerValue; /** u64 */ - IPv4SubInterfaceIndex: Deno.PointerValue; + IPv4SubInterfaceIndex: bigint | number; /** u32 */ dwIPv6NegotiationError: number; /** array */ @@ -17065,7 +17065,7 @@ export interface IKEV2_PROJECTION_INFO2 { /** u32 */ dwPrefixLength: number; /** u64 */ - IPv6SubInterfaceIndex: Deno.PointerValue; + IPv6SubInterfaceIndex: bigint | number; /** u32 */ dwOptions: number; /** u32 */ @@ -17153,7 +17153,7 @@ export class IKEV2_PROJECTION_INFO2View { } // 0x18: u64 - get IPv4SubInterfaceIndex(): Deno.PointerValue { + get IPv4SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -17190,7 +17190,7 @@ export class IKEV2_PROJECTION_INFO2View { // 0x44: pad4 // 0x48: u64 - get IPv6SubInterfaceIndex(): Deno.PointerValue { + get IPv6SubInterfaceIndex(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -17242,7 +17242,7 @@ export class IKEV2_PROJECTION_INFO2View { } // 0x18: u64 - set IPv4SubInterfaceIndex(value: Deno.PointerValue) { + set IPv4SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -17276,7 +17276,7 @@ export class IKEV2_PROJECTION_INFO2View { // 0x44: pad4 // 0x48: u64 - set IPv6SubInterfaceIndex(value: Deno.PointerValue) { + set IPv6SubInterfaceIndex(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -17914,9 +17914,9 @@ export interface RAS_CONNECTION_4 { /** Windows.Win32.Foundation.FILETIME */ connectionStartTime: Uint8Array | Deno.PointerValue; /** u64 */ - ullBytesXmited: Deno.PointerValue; + ullBytesXmited: bigint | number; /** u64 */ - ullBytesRcved: Deno.PointerValue; + ullBytesRcved: bigint | number; /** u32 */ dwFramesXmited: number; /** u32 */ @@ -18102,12 +18102,12 @@ export class RAS_CONNECTION_4View { } // 0x50: u64 - get ullBytesXmited(): Deno.PointerValue { + get ullBytesXmited(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ullBytesRcved(): Deno.PointerValue { + get ullBytesRcved(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -18265,12 +18265,12 @@ export class RAS_CONNECTION_4View { } // 0x50: u64 - set ullBytesXmited(value: Deno.PointerValue) { + set ullBytesXmited(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ullBytesRcved(value: Deno.PointerValue) { + set ullBytesRcved(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -21778,7 +21778,7 @@ export interface SECURITY_MESSAGE { /** Windows.Win32.NetworkManagement.Rras.SECURITY_MESSAGE_MSG_ID */ dwMsgId: SECURITY_MESSAGE_MSG_ID; /** isize */ - hPort: Deno.PointerValue; + hPort: bigint | number; /** u32 */ dwError: number; /** array */ @@ -21825,7 +21825,7 @@ export class SECURITY_MESSAGEView { // 0x04: pad4 // 0x08: isize - get hPort(): Deno.PointerValue { + get hPort(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -21856,7 +21856,7 @@ export class SECURITY_MESSAGEView { // 0x04: pad4 // 0x08: isize - set hPort(value: Deno.PointerValue) { + set hPort(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -22558,7 +22558,7 @@ export class RTM_NEXTHOP_LISTView { */ export interface RTM_DEST_INFO { /** isize */ - DestHandle: Deno.PointerValue; + DestHandle: bigint | number; /** Windows.Win32.NetworkManagement.Rras.RTM_NET_ADDRESS */ DestAddress: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.FILETIME */ @@ -22602,7 +22602,7 @@ export class RTM_DEST_INFOView { } // 0x00: isize - get DestHandle(): Deno.PointerValue { + get DestHandle(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -22635,7 +22635,7 @@ export class RTM_DEST_INFOView { } // 0x00: isize - set DestHandle(value: Deno.PointerValue) { + set DestHandle(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -22670,11 +22670,11 @@ export class RTM_DEST_INFOView { */ export interface RTM_ROUTE_INFO { /** isize */ - DestHandle: Deno.PointerValue; + DestHandle: bigint | number; /** isize */ - RouteOwner: Deno.PointerValue; + RouteOwner: bigint | number; /** isize */ - Neighbour: Deno.PointerValue; + Neighbour: bigint | number; /** u8 */ State: number; /** u8 */ @@ -22732,17 +22732,17 @@ export class RTM_ROUTE_INFOView { } // 0x00: isize - get DestHandle(): Deno.PointerValue { + get DestHandle(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get RouteOwner(): Deno.PointerValue { + get RouteOwner(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get Neighbour(): Deno.PointerValue { + get Neighbour(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -22789,17 +22789,17 @@ export class RTM_ROUTE_INFOView { } // 0x00: isize - set DestHandle(value: Deno.PointerValue) { + set DestHandle(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set RouteOwner(value: Deno.PointerValue) { + set RouteOwner(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set Neighbour(value: Deno.PointerValue) { + set Neighbour(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -22850,7 +22850,7 @@ export interface RTM_NEXTHOP_INFO { /** Windows.Win32.NetworkManagement.Rras.RTM_NET_ADDRESS */ NextHopAddress: Uint8Array | Deno.PointerValue; /** isize */ - NextHopOwner: Deno.PointerValue; + NextHopOwner: bigint | number; /** u32 */ InterfaceIndex: number; /** u16 */ @@ -22860,7 +22860,7 @@ export interface RTM_NEXTHOP_INFO { /** ptr */ EntitySpecificInfo: Deno.PointerValue | Uint8Array; /** isize */ - RemoteNextHop: Deno.PointerValue; + RemoteNextHop: bigint | number; } export const sizeofRTM_NEXTHOP_INFO = 40; @@ -22902,7 +22902,7 @@ export class RTM_NEXTHOP_INFOView { } // 0x08: isize - get NextHopOwner(): Deno.PointerValue { + get NextHopOwner(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -22928,7 +22928,7 @@ export class RTM_NEXTHOP_INFOView { } // 0x20: isize - get RemoteNextHop(): Deno.PointerValue { + get RemoteNextHop(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -22938,7 +22938,7 @@ export class RTM_NEXTHOP_INFOView { } // 0x08: isize - set NextHopOwner(value: Deno.PointerValue) { + set NextHopOwner(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -22963,7 +22963,7 @@ export class RTM_NEXTHOP_INFOView { } // 0x20: isize - set RemoteNextHop(value: Deno.PointerValue) { + set RemoteNextHop(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } } @@ -25188,7 +25188,7 @@ export function RasDialDlgW( } export function MprAdminConnectionEnumEx( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, pObjectHeader: Deno.PointerValue | Uint8Array /* ptr */, dwPreferedMaxLen: number /* u32 */, lpdwEntriesRead: Deno.PointerValue | Uint8Array /* ptr */, @@ -25200,7 +25200,7 @@ export function MprAdminConnectionEnumEx( } export function MprAdminConnectionGetInfoEx( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, hRasConnection: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, pRasConnection: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25208,14 +25208,14 @@ export function MprAdminConnectionGetInfoEx( } export function MprAdminServerGetInfoEx( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, pServerInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminServerGetInfoEx(hMprServer, util.toPointer(pServerInfo)); } export function MprAdminServerSetInfoEx( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, pServerInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminServerSetInfoEx(hMprServer, util.toPointer(pServerInfo)); @@ -25236,7 +25236,7 @@ export function MprConfigServerSetInfoEx( } export function MprAdminUpdateConnection( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, hRasConnection: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, pRasUpdateConnection: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25251,7 +25251,7 @@ export function MprAdminIsServiceInitialized( } export function MprAdminInterfaceSetCustomInfoEx( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, pCustomInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25259,7 +25259,7 @@ export function MprAdminInterfaceSetCustomInfoEx( } export function MprAdminInterfaceGetCustomInfoEx( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, pCustomInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25283,7 +25283,7 @@ export function MprConfigInterfaceSetCustomInfoEx( } export function MprAdminConnectionEnum( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, dwLevel: number /* u32 */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, dwPrefMaxLen: number /* u32 */, @@ -25295,7 +25295,7 @@ export function MprAdminConnectionEnum( } export function MprAdminPortEnum( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, dwLevel: number /* u32 */, hRasConnection: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -25308,7 +25308,7 @@ export function MprAdminPortEnum( } export function MprAdminConnectionGetInfo( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, dwLevel: number /* u32 */, hRasConnection: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -25317,7 +25317,7 @@ export function MprAdminConnectionGetInfo( } export function MprAdminPortGetInfo( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, dwLevel: number /* u32 */, hPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -25326,28 +25326,28 @@ export function MprAdminPortGetInfo( } export function MprAdminConnectionClearStats( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, hRasConnection: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminConnectionClearStats(hRasServer, util.toPointer(hRasConnection)); } export function MprAdminPortClearStats( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, hPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminPortClearStats(hRasServer, util.toPointer(hPort)); } export function MprAdminPortReset( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, hPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminPortReset(hRasServer, util.toPointer(hPort)); } export function MprAdminPortDisconnect( - hRasServer: Deno.PointerValue /* isize */, + hRasServer: bigint | number /* isize */, hPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminPortDisconnect(hRasServer, util.toPointer(hPort)); @@ -25380,7 +25380,7 @@ export function MprAdminUserSetInfo( } export function MprAdminSendUserMessage( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hConnection: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpwszMessage: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* u32 */ { @@ -25409,13 +25409,13 @@ export function MprAdminServerConnect( } export function MprAdminServerDisconnect( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, ): void /* void */ { return libMPRAPI_dll.MprAdminServerDisconnect(hMprServer); } export function MprAdminServerGetCredentials( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25423,7 +25423,7 @@ export function MprAdminServerGetCredentials( } export function MprAdminServerSetCredentials( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25444,7 +25444,7 @@ export function MprAdminGetErrorString( } export function MprAdminServerGetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25452,7 +25452,7 @@ export function MprAdminServerGetInfo( } export function MprAdminServerSetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -25476,7 +25476,7 @@ export function MprAdminIsDomainRasServer( } export function MprAdminTransportCreate( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwTransportId: number /* u32 */, lpwsTransportName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pGlobalInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -25489,7 +25489,7 @@ export function MprAdminTransportCreate( } export function MprAdminTransportSetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwTransportId: number /* u32 */, pGlobalInfo: Deno.PointerValue | Uint8Array /* ptr */, dwGlobalInfoSize: number /* u32 */, @@ -25500,7 +25500,7 @@ export function MprAdminTransportSetInfo( } export function MprAdminTransportGetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwTransportId: number /* u32 */, ppGlobalInfo: Deno.PointerValue | Uint8Array /* ptr */, lpdwGlobalInfoSize: Deno.PointerValue | Uint8Array /* ptr */, @@ -25511,7 +25511,7 @@ export function MprAdminTransportGetInfo( } export function MprAdminDeviceEnum( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, lpdwTotalEntries: Deno.PointerValue | Uint8Array /* ptr */, @@ -25520,7 +25520,7 @@ export function MprAdminDeviceEnum( } export function MprAdminInterfaceGetHandle( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, lpwsInterfaceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, phInterface: Deno.PointerValue | Uint8Array /* ptr */, fIncludeClientInterfaces: boolean /* Windows.Win32.Foundation.BOOL */, @@ -25529,7 +25529,7 @@ export function MprAdminInterfaceGetHandle( } export function MprAdminInterfaceCreate( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, phInterface: Deno.PointerValue | Uint8Array /* ptr */, @@ -25538,7 +25538,7 @@ export function MprAdminInterfaceCreate( } export function MprAdminInterfaceGetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwLevel: number /* u32 */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -25547,7 +25547,7 @@ export function MprAdminInterfaceGetInfo( } export function MprAdminInterfaceSetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwLevel: number /* u32 */, lpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -25556,14 +25556,14 @@ export function MprAdminInterfaceSetInfo( } export function MprAdminInterfaceDelete( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminInterfaceDelete(hMprServer, util.toPointer(hInterface)); } export function MprAdminInterfaceDeviceGetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwIndex: number /* u32 */, dwLevel: number /* u32 */, @@ -25573,7 +25573,7 @@ export function MprAdminInterfaceDeviceGetInfo( } export function MprAdminInterfaceDeviceSetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwIndex: number /* u32 */, dwLevel: number /* u32 */, @@ -25583,7 +25583,7 @@ export function MprAdminInterfaceDeviceSetInfo( } export function MprAdminInterfaceTransportRemove( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwTransportId: number /* u32 */, ): number /* u32 */ { @@ -25591,7 +25591,7 @@ export function MprAdminInterfaceTransportRemove( } export function MprAdminInterfaceTransportAdd( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwTransportId: number /* u32 */, pInterfaceInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -25601,7 +25601,7 @@ export function MprAdminInterfaceTransportAdd( } export function MprAdminInterfaceTransportGetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwTransportId: number /* u32 */, ppInterfaceInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -25611,7 +25611,7 @@ export function MprAdminInterfaceTransportGetInfo( } export function MprAdminInterfaceTransportSetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwTransportId: number /* u32 */, pInterfaceInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -25621,7 +25621,7 @@ export function MprAdminInterfaceTransportSetInfo( } export function MprAdminInterfaceEnum( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, dwPrefMaxLen: number /* u32 */, @@ -25653,7 +25653,7 @@ export function MprAdminInterfaceGetCredentials( } export function MprAdminInterfaceSetCredentialsEx( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwLevel: number /* u32 */, lpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -25662,7 +25662,7 @@ export function MprAdminInterfaceSetCredentialsEx( } export function MprAdminInterfaceGetCredentialsEx( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwLevel: number /* u32 */, lplpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -25671,7 +25671,7 @@ export function MprAdminInterfaceGetCredentialsEx( } export function MprAdminInterfaceConnect( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, hEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, fSynchronous: boolean /* Windows.Win32.Foundation.BOOL */, @@ -25680,14 +25680,14 @@ export function MprAdminInterfaceConnect( } export function MprAdminInterfaceDisconnect( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminInterfaceDisconnect(hMprServer, util.toPointer(hInterface)); } export function MprAdminInterfaceUpdateRoutes( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwProtocolId: number /* u32 */, hEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, @@ -25696,7 +25696,7 @@ export function MprAdminInterfaceUpdateRoutes( } export function MprAdminInterfaceQueryUpdateResult( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwProtocolId: number /* u32 */, lpdwUpdateResult: Deno.PointerValue | Uint8Array /* ptr */, @@ -25705,21 +25705,21 @@ export function MprAdminInterfaceQueryUpdateResult( } export function MprAdminInterfaceUpdatePhonebookInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hInterface: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminInterfaceUpdatePhonebookInfo(hMprServer, util.toPointer(hInterface)); } export function MprAdminRegisterConnectionNotification( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hEventNotification: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminRegisterConnectionNotification(hMprServer, util.toPointer(hEventNotification)); } export function MprAdminDeregisterConnectionNotification( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, hEventNotification: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* u32 */ { return libMPRAPI_dll.MprAdminDeregisterConnectionNotification(hMprServer, util.toPointer(hEventNotification)); @@ -25733,13 +25733,13 @@ export function MprAdminMIBServerConnect( } export function MprAdminMIBServerDisconnect( - hMibServer: Deno.PointerValue /* isize */, + hMibServer: bigint | number /* isize */, ): void /* void */ { return libMPRAPI_dll.MprAdminMIBServerDisconnect(hMibServer); } export function MprAdminMIBEntryCreate( - hMibServer: Deno.PointerValue /* isize */, + hMibServer: bigint | number /* isize */, dwPid: number /* u32 */, dwRoutingPid: number /* u32 */, lpEntry: Deno.PointerValue | Uint8Array /* ptr */, @@ -25749,7 +25749,7 @@ export function MprAdminMIBEntryCreate( } export function MprAdminMIBEntryDelete( - hMibServer: Deno.PointerValue /* isize */, + hMibServer: bigint | number /* isize */, dwProtocolId: number /* u32 */, dwRoutingPid: number /* u32 */, lpEntry: Deno.PointerValue | Uint8Array /* ptr */, @@ -25759,7 +25759,7 @@ export function MprAdminMIBEntryDelete( } export function MprAdminMIBEntrySet( - hMibServer: Deno.PointerValue /* isize */, + hMibServer: bigint | number /* isize */, dwProtocolId: number /* u32 */, dwRoutingPid: number /* u32 */, lpEntry: Deno.PointerValue | Uint8Array /* ptr */, @@ -25769,7 +25769,7 @@ export function MprAdminMIBEntrySet( } export function MprAdminMIBEntryGet( - hMibServer: Deno.PointerValue /* isize */, + hMibServer: bigint | number /* isize */, dwProtocolId: number /* u32 */, dwRoutingPid: number /* u32 */, lpInEntry: Deno.PointerValue | Uint8Array /* ptr */, @@ -25781,7 +25781,7 @@ export function MprAdminMIBEntryGet( } export function MprAdminMIBEntryGetFirst( - hMibServer: Deno.PointerValue /* isize */, + hMibServer: bigint | number /* isize */, dwProtocolId: number /* u32 */, dwRoutingPid: number /* u32 */, lpInEntry: Deno.PointerValue | Uint8Array /* ptr */, @@ -25793,7 +25793,7 @@ export function MprAdminMIBEntryGetFirst( } export function MprAdminMIBEntryGetNext( - hMibServer: Deno.PointerValue /* isize */, + hMibServer: bigint | number /* isize */, dwProtocolId: number /* u32 */, dwRoutingPid: number /* u32 */, lpInEntry: Deno.PointerValue | Uint8Array /* ptr */, @@ -25851,7 +25851,7 @@ export function MprConfigServerGetInfo( } export function MprConfigServerSetInfo( - hMprServer: Deno.PointerValue /* isize */, + hMprServer: bigint | number /* isize */, dwLevel: number /* u32 */, lpbBuffer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26335,13 +26335,13 @@ export function RtmRegisterEntity( } export function RtmDeregisterEntity( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, ): number /* u32 */ { return librtm_dll.RtmDeregisterEntity(RtmRegHandle); } export function RtmGetRegisteredEntities( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NumEntities: Deno.PointerValue | Uint8Array /* ptr */, EntityHandles: Deno.PointerValue | Uint8Array /* ptr */, EntityInfos: Deno.PointerValue | Uint8Array /* ptr */, @@ -26350,7 +26350,7 @@ export function RtmGetRegisteredEntities( } export function RtmReleaseEntities( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NumEntities: number /* u32 */, EntityHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26358,8 +26358,8 @@ export function RtmReleaseEntities( } export function RtmLockDestination( - RtmRegHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, Exclusive: boolean /* Windows.Win32.Foundation.BOOL */, LockDest: boolean /* Windows.Win32.Foundation.BOOL */, ): number /* u32 */ { @@ -26367,16 +26367,16 @@ export function RtmLockDestination( } export function RtmGetOpaqueInformationPointer( - RtmRegHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, OpaqueInfoPointer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmGetOpaqueInformationPointer(RtmRegHandle, DestHandle, util.toPointer(OpaqueInfoPointer)); } export function RtmGetEntityMethods( - RtmRegHandle: Deno.PointerValue /* isize */, - EntityHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EntityHandle: bigint | number /* isize */, NumMethods: Deno.PointerValue | Uint8Array /* ptr */, ExptMethods: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26384,8 +26384,8 @@ export function RtmGetEntityMethods( } export function RtmInvokeMethod( - RtmRegHandle: Deno.PointerValue /* isize */, - EntityHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EntityHandle: bigint | number /* isize */, Input: Deno.PointerValue | Uint8Array /* ptr */, OutputSize: Deno.PointerValue | Uint8Array /* ptr */, Output: Deno.PointerValue | Uint8Array /* ptr */, @@ -26394,7 +26394,7 @@ export function RtmInvokeMethod( } export function RtmBlockMethods( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, TargetHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, TargetType: number /* u8 */, BlockingFlag: number /* u32 */, @@ -26403,16 +26403,16 @@ export function RtmBlockMethods( } export function RtmGetEntityInfo( - RtmRegHandle: Deno.PointerValue /* isize */, - EntityHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EntityHandle: bigint | number /* isize */, EntityInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmGetEntityInfo(RtmRegHandle, EntityHandle, util.toPointer(EntityInfo)); } export function RtmGetDestInfo( - RtmRegHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, ProtocolId: number /* u32 */, TargetViews: number /* u32 */, DestInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -26421,8 +26421,8 @@ export function RtmGetDestInfo( } export function RtmGetRouteInfo( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteHandle: bigint | number /* isize */, RouteInfo: Deno.PointerValue | Uint8Array /* ptr */, DestAddress: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26430,66 +26430,66 @@ export function RtmGetRouteInfo( } export function RtmGetNextHopInfo( - RtmRegHandle: Deno.PointerValue /* isize */, - NextHopHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NextHopHandle: bigint | number /* isize */, NextHopInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmGetNextHopInfo(RtmRegHandle, NextHopHandle, util.toPointer(NextHopInfo)); } export function RtmReleaseEntityInfo( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, EntityInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmReleaseEntityInfo(RtmRegHandle, util.toPointer(EntityInfo)); } export function RtmReleaseDestInfo( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, DestInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmReleaseDestInfo(RtmRegHandle, util.toPointer(DestInfo)); } export function RtmReleaseRouteInfo( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, RouteInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmReleaseRouteInfo(RtmRegHandle, util.toPointer(RouteInfo)); } export function RtmReleaseNextHopInfo( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NextHopInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmReleaseNextHopInfo(RtmRegHandle, util.toPointer(NextHopInfo)); } export function RtmAddRouteToDest( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, RouteHandle: Deno.PointerValue | Uint8Array /* ptr */, DestAddress: Deno.PointerValue | Uint8Array /* ptr */, RouteInfo: Deno.PointerValue | Uint8Array /* ptr */, TimeToLive: number /* u32 */, - RouteListHandle: Deno.PointerValue /* isize */, + RouteListHandle: bigint | number /* isize */, NotifyType: number /* u32 */, - NotifyHandle: Deno.PointerValue /* isize */, + NotifyHandle: bigint | number /* isize */, ChangeFlags: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmAddRouteToDest(RtmRegHandle, util.toPointer(RouteHandle), util.toPointer(DestAddress), util.toPointer(RouteInfo), TimeToLive, RouteListHandle, NotifyType, NotifyHandle, util.toPointer(ChangeFlags)); } export function RtmDeleteRouteToDest( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteHandle: bigint | number /* isize */, ChangeFlags: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmDeleteRouteToDest(RtmRegHandle, RouteHandle, util.toPointer(ChangeFlags)); } export function RtmHoldDestination( - RtmRegHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, TargetViews: number /* u32 */, HoldTime: number /* u32 */, ): number /* u32 */ { @@ -26497,16 +26497,16 @@ export function RtmHoldDestination( } export function RtmGetRoutePointer( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteHandle: bigint | number /* isize */, RoutePointer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmGetRoutePointer(RtmRegHandle, RouteHandle, util.toPointer(RoutePointer)); } export function RtmLockRoute( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteHandle: bigint | number /* isize */, Exclusive: boolean /* Windows.Win32.Foundation.BOOL */, LockRoute: boolean /* Windows.Win32.Foundation.BOOL */, RoutePointer: Deno.PointerValue | Uint8Array /* ptr */, @@ -26515,19 +26515,19 @@ export function RtmLockRoute( } export function RtmUpdateAndUnlockRoute( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteHandle: bigint | number /* isize */, TimeToLive: number /* u32 */, - RouteListHandle: Deno.PointerValue /* isize */, + RouteListHandle: bigint | number /* isize */, NotifyType: number /* u32 */, - NotifyHandle: Deno.PointerValue /* isize */, + NotifyHandle: bigint | number /* isize */, ChangeFlags: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmUpdateAndUnlockRoute(RtmRegHandle, RouteHandle, TimeToLive, RouteListHandle, NotifyType, NotifyHandle, util.toPointer(ChangeFlags)); } export function RtmGetExactMatchDestination( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, DestAddress: Deno.PointerValue | Uint8Array /* ptr */, ProtocolId: number /* u32 */, TargetViews: number /* u32 */, @@ -26537,7 +26537,7 @@ export function RtmGetExactMatchDestination( } export function RtmGetMostSpecificDestination( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, DestAddress: Deno.PointerValue | Uint8Array /* ptr */, ProtocolId: number /* u32 */, TargetViews: number /* u32 */, @@ -26547,8 +26547,8 @@ export function RtmGetMostSpecificDestination( } export function RtmGetLessSpecificDestination( - RtmRegHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, ProtocolId: number /* u32 */, TargetViews: number /* u32 */, DestInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -26557,7 +26557,7 @@ export function RtmGetLessSpecificDestination( } export function RtmGetExactMatchRoute( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, DestAddress: Deno.PointerValue | Uint8Array /* ptr */, MatchingFlags: number /* u32 */, RouteInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -26569,15 +26569,15 @@ export function RtmGetExactMatchRoute( } export function RtmIsBestRoute( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteHandle: bigint | number /* isize */, BestInViews: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmIsBestRoute(RtmRegHandle, RouteHandle, util.toPointer(BestInViews)); } export function RtmAddNextHop( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NextHopInfo: Deno.PointerValue | Uint8Array /* ptr */, NextHopHandle: Deno.PointerValue | Uint8Array /* ptr */, ChangeFlags: Deno.PointerValue | Uint8Array /* ptr */, @@ -26586,7 +26586,7 @@ export function RtmAddNextHop( } export function RtmFindNextHop( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NextHopInfo: Deno.PointerValue | Uint8Array /* ptr */, NextHopHandle: Deno.PointerValue | Uint8Array /* ptr */, NextHopPointer: Deno.PointerValue | Uint8Array /* ptr */, @@ -26595,24 +26595,24 @@ export function RtmFindNextHop( } export function RtmDeleteNextHop( - RtmRegHandle: Deno.PointerValue /* isize */, - NextHopHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NextHopHandle: bigint | number /* isize */, NextHopInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmDeleteNextHop(RtmRegHandle, NextHopHandle, util.toPointer(NextHopInfo)); } export function RtmGetNextHopPointer( - RtmRegHandle: Deno.PointerValue /* isize */, - NextHopHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NextHopHandle: bigint | number /* isize */, NextHopPointer: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmGetNextHopPointer(RtmRegHandle, NextHopHandle, util.toPointer(NextHopPointer)); } export function RtmLockNextHop( - RtmRegHandle: Deno.PointerValue /* isize */, - NextHopHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NextHopHandle: bigint | number /* isize */, Exclusive: boolean /* Windows.Win32.Foundation.BOOL */, LockNextHop: boolean /* Windows.Win32.Foundation.BOOL */, NextHopPointer: Deno.PointerValue | Uint8Array /* ptr */, @@ -26621,7 +26621,7 @@ export function RtmLockNextHop( } export function RtmCreateDestEnum( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, TargetViews: number /* u32 */, EnumFlags: number /* u32 */, NetAddress: Deno.PointerValue | Uint8Array /* ptr */, @@ -26632,8 +26632,8 @@ export function RtmCreateDestEnum( } export function RtmGetEnumDests( - RtmRegHandle: Deno.PointerValue /* isize */, - EnumHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EnumHandle: bigint | number /* isize */, NumDests: Deno.PointerValue | Uint8Array /* ptr */, DestInfos: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26641,7 +26641,7 @@ export function RtmGetEnumDests( } export function RtmReleaseDests( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NumDests: number /* u32 */, DestInfos: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26649,8 +26649,8 @@ export function RtmReleaseDests( } export function RtmCreateRouteEnum( - RtmRegHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, TargetViews: number /* u32 */, EnumFlags: number /* u32 */, StartDest: Deno.PointerValue | Uint8Array /* ptr */, @@ -26663,8 +26663,8 @@ export function RtmCreateRouteEnum( } export function RtmGetEnumRoutes( - RtmRegHandle: Deno.PointerValue /* isize */, - EnumHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EnumHandle: bigint | number /* isize */, NumRoutes: Deno.PointerValue | Uint8Array /* ptr */, RouteHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26672,7 +26672,7 @@ export function RtmGetEnumRoutes( } export function RtmReleaseRoutes( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NumRoutes: number /* u32 */, RouteHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26680,7 +26680,7 @@ export function RtmReleaseRoutes( } export function RtmCreateNextHopEnum( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, EnumFlags: number /* u32 */, NetAddress: Deno.PointerValue | Uint8Array /* ptr */, RtmEnumHandle: Deno.PointerValue | Uint8Array /* ptr */, @@ -26689,8 +26689,8 @@ export function RtmCreateNextHopEnum( } export function RtmGetEnumNextHops( - RtmRegHandle: Deno.PointerValue /* isize */, - EnumHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EnumHandle: bigint | number /* isize */, NumNextHops: Deno.PointerValue | Uint8Array /* ptr */, NextHopHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26698,7 +26698,7 @@ export function RtmGetEnumNextHops( } export function RtmReleaseNextHops( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NumNextHops: number /* u32 */, NextHopHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26706,14 +26706,14 @@ export function RtmReleaseNextHops( } export function RtmDeleteEnumHandle( - RtmRegHandle: Deno.PointerValue /* isize */, - EnumHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EnumHandle: bigint | number /* isize */, ): number /* u32 */ { return librtm_dll.RtmDeleteEnumHandle(RtmRegHandle, EnumHandle); } export function RtmRegisterForChangeNotification( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, TargetViews: number /* u32 */, NotifyFlags: number /* u32 */, NotifyContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -26723,8 +26723,8 @@ export function RtmRegisterForChangeNotification( } export function RtmGetChangedDests( - RtmRegHandle: Deno.PointerValue /* isize */, - NotifyHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NotifyHandle: bigint | number /* isize */, NumDests: Deno.PointerValue | Uint8Array /* ptr */, ChangedDests: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26732,8 +26732,8 @@ export function RtmGetChangedDests( } export function RtmReleaseChangedDests( - RtmRegHandle: Deno.PointerValue /* isize */, - NotifyHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NotifyHandle: bigint | number /* isize */, NumDests: number /* u32 */, ChangedDests: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26741,8 +26741,8 @@ export function RtmReleaseChangedDests( } export function RtmIgnoreChangedDests( - RtmRegHandle: Deno.PointerValue /* isize */, - NotifyHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NotifyHandle: bigint | number /* isize */, NumDests: number /* u32 */, ChangedDests: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26750,49 +26750,49 @@ export function RtmIgnoreChangedDests( } export function RtmGetChangeStatus( - RtmRegHandle: Deno.PointerValue /* isize */, - NotifyHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NotifyHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, ChangeStatus: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmGetChangeStatus(RtmRegHandle, NotifyHandle, DestHandle, util.toPointer(ChangeStatus)); } export function RtmMarkDestForChangeNotification( - RtmRegHandle: Deno.PointerValue /* isize */, - NotifyHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NotifyHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, MarkDest: boolean /* Windows.Win32.Foundation.BOOL */, ): number /* u32 */ { return librtm_dll.RtmMarkDestForChangeNotification(RtmRegHandle, NotifyHandle, DestHandle, util.boolToFfi(MarkDest)); } export function RtmIsMarkedForChangeNotification( - RtmRegHandle: Deno.PointerValue /* isize */, - NotifyHandle: Deno.PointerValue /* isize */, - DestHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NotifyHandle: bigint | number /* isize */, + DestHandle: bigint | number /* isize */, DestMarked: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmIsMarkedForChangeNotification(RtmRegHandle, NotifyHandle, DestHandle, util.toPointer(DestMarked)); } export function RtmDeregisterFromChangeNotification( - RtmRegHandle: Deno.PointerValue /* isize */, - NotifyHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + NotifyHandle: bigint | number /* isize */, ): number /* u32 */ { return librtm_dll.RtmDeregisterFromChangeNotification(RtmRegHandle, NotifyHandle); } export function RtmCreateRouteList( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, RouteListHandle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmCreateRouteList(RtmRegHandle, util.toPointer(RouteListHandle)); } export function RtmInsertInRouteList( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteListHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteListHandle: bigint | number /* isize */, NumRoutes: number /* u32 */, RouteHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26800,16 +26800,16 @@ export function RtmInsertInRouteList( } export function RtmCreateRouteListEnum( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteListHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteListHandle: bigint | number /* isize */, RtmEnumHandle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return librtm_dll.RtmCreateRouteListEnum(RtmRegHandle, RouteListHandle, util.toPointer(RtmEnumHandle)); } export function RtmGetListEnumRoutes( - RtmRegHandle: Deno.PointerValue /* isize */, - EnumHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + EnumHandle: bigint | number /* isize */, NumRoutes: Deno.PointerValue | Uint8Array /* ptr */, RouteHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -26817,14 +26817,14 @@ export function RtmGetListEnumRoutes( } export function RtmDeleteRouteList( - RtmRegHandle: Deno.PointerValue /* isize */, - RouteListHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, + RouteListHandle: bigint | number /* isize */, ): number /* u32 */ { return librtm_dll.RtmDeleteRouteList(RtmRegHandle, RouteListHandle); } export function RtmReferenceHandles( - RtmRegHandle: Deno.PointerValue /* isize */, + RtmRegHandle: bigint | number /* isize */, NumHandles: number /* u32 */, RtmHandles: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { diff --git a/api/NetworkManagement/Snmp.ts b/api/NetworkManagement/Snmp.ts index 72e849e..c2a24a9 100644 --- a/api/NetworkManagement/Snmp.ts +++ b/api/NetworkManagement/Snmp.ts @@ -314,9 +314,9 @@ export class AsnObjectIdentifierView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -342,22 +342,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -436,7 +436,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -476,7 +476,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -491,7 +491,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -1115,7 +1115,7 @@ export interface _value_e__Union { /** i32 */ propertyInt32: number; /** i64 */ - propertyInt64: Deno.PointerValue; + propertyInt64: bigint | number; /** _propertyBlob_e__Struct */ propertyBlob: Uint8Array | Deno.PointerValue; } @@ -1174,7 +1174,7 @@ export class _value_e__UnionView { // 0x14: pad4 // 0x18: i64 - get propertyInt64(): Deno.PointerValue { + get propertyInt64(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -1205,7 +1205,7 @@ export class _value_e__UnionView { // 0x14: pad4 // 0x18: i64 - set propertyInt64(value: Deno.PointerValue) { + set propertyInt64(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -1380,7 +1380,7 @@ export class smiVENDORINFOView { export type PSTR = Deno.PointerValue | Uint8Array; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries @@ -2012,7 +2012,7 @@ export function SnmpSetRetransmitMode( } export function SnmpGetTimeout( - hEntity: Deno.PointerValue /* isize */, + hEntity: bigint | number /* isize */, nPolicyTimeout: Deno.PointerValue | Uint8Array /* ptr */, nActualTimeout: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -2020,14 +2020,14 @@ export function SnmpGetTimeout( } export function SnmpSetTimeout( - hEntity: Deno.PointerValue /* isize */, + hEntity: bigint | number /* isize */, nPolicyTimeout: number /* u32 */, ): number /* u32 */ { return libwsnmp32_dll.SnmpSetTimeout(hEntity, nPolicyTimeout); } export function SnmpGetRetry( - hEntity: Deno.PointerValue /* isize */, + hEntity: bigint | number /* isize */, nPolicyRetry: Deno.PointerValue | Uint8Array /* ptr */, nActualRetry: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -2035,7 +2035,7 @@ export function SnmpGetRetry( } export function SnmpSetRetry( - hEntity: Deno.PointerValue /* isize */, + hEntity: bigint | number /* isize */, nPolicyRetry: number /* u32 */, ): number /* u32 */ { return libwsnmp32_dll.SnmpSetRetry(hEntity, nPolicyRetry); @@ -2064,28 +2064,28 @@ export function SnmpCleanup(): number /* u32 */ { export function SnmpOpen( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, wMsg: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpOpen((hWnd), wMsg); } export function SnmpClose( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpClose(session); } export function SnmpSendMsg( - session: Deno.PointerValue /* isize */, - srcEntity: Deno.PointerValue /* isize */, - dstEntity: Deno.PointerValue /* isize */, - context: Deno.PointerValue /* isize */, - PDU: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, + srcEntity: bigint | number /* isize */, + dstEntity: bigint | number /* isize */, + context: bigint | number /* isize */, + PDU: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpSendMsg(session, srcEntity, dstEntity, context, PDU); } export function SnmpRecvMsg( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, srcEntity: Deno.PointerValue | Uint8Array /* ptr */, dstEntity: Deno.PointerValue | Uint8Array /* ptr */, context: Deno.PointerValue | Uint8Array /* ptr */, @@ -2095,10 +2095,10 @@ export function SnmpRecvMsg( } export function SnmpRegister( - session: Deno.PointerValue /* isize */, - srcEntity: Deno.PointerValue /* isize */, - dstEntity: Deno.PointerValue /* isize */, - context: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, + srcEntity: bigint | number /* isize */, + dstEntity: bigint | number /* isize */, + context: bigint | number /* isize */, notification: Deno.PointerValue | Uint8Array /* ptr */, state: SNMP_STATUS /* Windows.Win32.NetworkManagement.Snmp.SNMP_STATUS */, ): number /* u32 */ { @@ -2110,19 +2110,19 @@ export function SnmpCreateSession( wMsg: number /* u32 */, fCallBack: Uint8Array | Deno.PointerValue /* Windows.Win32.NetworkManagement.Snmp.SNMPAPI_CALLBACK */, lpClientData: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpCreateSession((hWnd), wMsg, util.toPointer(fCallBack), util.toPointer(lpClientData)); } export function SnmpListen( - hEntity: Deno.PointerValue /* isize */, + hEntity: bigint | number /* isize */, lStatus: SNMP_STATUS /* Windows.Win32.NetworkManagement.Snmp.SNMP_STATUS */, ): number /* u32 */ { return libwsnmp32_dll.SnmpListen(hEntity, lStatus); } export function SnmpListenEx( - hEntity: Deno.PointerValue /* isize */, + hEntity: bigint | number /* isize */, lStatus: number /* u32 */, nUseEntityAddr: number /* u32 */, ): number /* u32 */ { @@ -2130,7 +2130,7 @@ export function SnmpListenEx( } export function SnmpCancelMsg( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, reqId: number /* i32 */, ): number /* u32 */ { return libwsnmp32_dll.SnmpCancelMsg(session, reqId); @@ -2151,14 +2151,14 @@ export function SnmpCleanupEx(): number /* u32 */ { } export function SnmpStrToEntity( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, string: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpStrToEntity(session, util.pstrToFfi(string)); } export function SnmpEntityToStr( - entity: Deno.PointerValue /* isize */, + entity: bigint | number /* isize */, size: number /* u32 */, string: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* u32 */ { @@ -2166,51 +2166,51 @@ export function SnmpEntityToStr( } export function SnmpFreeEntity( - entity: Deno.PointerValue /* isize */, + entity: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpFreeEntity(entity); } export function SnmpStrToContext( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, string: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpStrToContext(session, util.toPointer(string)); } export function SnmpContextToStr( - context: Deno.PointerValue /* isize */, + context: bigint | number /* isize */, string: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libwsnmp32_dll.SnmpContextToStr(context, util.toPointer(string)); } export function SnmpFreeContext( - context: Deno.PointerValue /* isize */, + context: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpFreeContext(context); } export function SnmpSetPort( - hEntity: Deno.PointerValue /* isize */, + hEntity: bigint | number /* isize */, nPort: number /* u32 */, ): number /* u32 */ { return libwsnmp32_dll.SnmpSetPort(hEntity, nPort); } export function SnmpCreatePdu( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, PDU_type: SNMP_PDU_TYPE /* Windows.Win32.NetworkManagement.Snmp.SNMP_PDU_TYPE */, request_id: number /* i32 */, error_status: number /* i32 */, error_index: number /* i32 */, - varbindlist: Deno.PointerValue /* isize */, -): Deno.PointerValue /* isize */ { + varbindlist: bigint | number /* isize */, +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpCreatePdu(session, PDU_type, request_id, error_status, error_index, varbindlist); } export function SnmpGetPduData( - PDU: Deno.PointerValue /* isize */, + PDU: bigint | number /* isize */, PDU_type: Deno.PointerValue | Uint8Array /* ptr */, request_id: Deno.PointerValue | Uint8Array /* ptr */, error_status: Deno.PointerValue | Uint8Array /* ptr */, @@ -2221,7 +2221,7 @@ export function SnmpGetPduData( } export function SnmpSetPduData( - PDU: Deno.PointerValue /* isize */, + PDU: bigint | number /* isize */, PDU_type: Deno.PointerValue | Uint8Array /* ptr */, request_id: Deno.PointerValue | Uint8Array /* ptr */, non_repeaters: Deno.PointerValue | Uint8Array /* ptr */, @@ -2232,47 +2232,47 @@ export function SnmpSetPduData( } export function SnmpDuplicatePdu( - session: Deno.PointerValue /* isize */, - PDU: Deno.PointerValue /* isize */, -): Deno.PointerValue /* isize */ { + session: bigint | number /* isize */, + PDU: bigint | number /* isize */, +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpDuplicatePdu(session, PDU); } export function SnmpFreePdu( - PDU: Deno.PointerValue /* isize */, + PDU: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpFreePdu(PDU); } export function SnmpCreateVbl( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, name: Deno.PointerValue | Uint8Array /* ptr */, value: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpCreateVbl(session, util.toPointer(name), util.toPointer(value)); } export function SnmpDuplicateVbl( - session: Deno.PointerValue /* isize */, - vbl: Deno.PointerValue /* isize */, -): Deno.PointerValue /* isize */ { + session: bigint | number /* isize */, + vbl: bigint | number /* isize */, +): bigint | number /* isize */ { return libwsnmp32_dll.SnmpDuplicateVbl(session, vbl); } export function SnmpFreeVbl( - vbl: Deno.PointerValue /* isize */, + vbl: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpFreeVbl(vbl); } export function SnmpCountVbl( - vbl: Deno.PointerValue /* isize */, + vbl: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpCountVbl(vbl); } export function SnmpGetVb( - vbl: Deno.PointerValue /* isize */, + vbl: bigint | number /* isize */, index: number /* u32 */, name: Deno.PointerValue | Uint8Array /* ptr */, value: Deno.PointerValue | Uint8Array /* ptr */, @@ -2281,7 +2281,7 @@ export function SnmpGetVb( } export function SnmpSetVb( - vbl: Deno.PointerValue /* isize */, + vbl: bigint | number /* isize */, index: number /* u32 */, name: Deno.PointerValue | Uint8Array /* ptr */, value: Deno.PointerValue | Uint8Array /* ptr */, @@ -2290,14 +2290,14 @@ export function SnmpSetVb( } export function SnmpDeleteVb( - vbl: Deno.PointerValue /* isize */, + vbl: bigint | number /* isize */, index: number /* u32 */, ): number /* u32 */ { return libwsnmp32_dll.SnmpDeleteVb(vbl, index); } export function SnmpGetLastError( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, ): number /* u32 */ { return libwsnmp32_dll.SnmpGetLastError(session); } @@ -2334,18 +2334,18 @@ export function SnmpOidCompare( } export function SnmpEncodeMsg( - session: Deno.PointerValue /* isize */, - srcEntity: Deno.PointerValue /* isize */, - dstEntity: Deno.PointerValue /* isize */, - context: Deno.PointerValue /* isize */, - pdu: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, + srcEntity: bigint | number /* isize */, + dstEntity: bigint | number /* isize */, + context: bigint | number /* isize */, + pdu: bigint | number /* isize */, msgBufDesc: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libwsnmp32_dll.SnmpEncodeMsg(session, srcEntity, dstEntity, context, pdu, util.toPointer(msgBufDesc)); } export function SnmpDecodeMsg( - session: Deno.PointerValue /* isize */, + session: bigint | number /* isize */, srcEntity: Deno.PointerValue | Uint8Array /* ptr */, dstEntity: Deno.PointerValue | Uint8Array /* ptr */, context: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/NetworkManagement/WNet.ts b/api/NetworkManagement/WNet.ts index 7122b7f..f731f31 100644 --- a/api/NetworkManagement/WNet.ts +++ b/api/NetworkManagement/WNet.ts @@ -3349,7 +3349,7 @@ export const ERROR_QUERY_STORAGE_ERROR = 2151284737; // Structs -export type NetEnumHandle = Deno.PointerValue; +export type NetEnumHandle = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -3669,7 +3669,7 @@ export class NETRESOURCEWView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.NetworkManagement.WNet.CONNECTDLGSTRUCTA (size: 32) @@ -4372,7 +4372,7 @@ export interface NETINFOSTRUCT { /** Windows.Win32.NetworkManagement.WNet.NETINFOSTRUCT_CHARACTERISTICS */ dwCharacteristics: NETINFOSTRUCT_CHARACTERISTICS; /** usize */ - dwHandle: Deno.PointerValue; + dwHandle: bigint | number; /** u16 */ wNetType: number; /** u32 */ @@ -4437,7 +4437,7 @@ export class NETINFOSTRUCTView { } // 0x10: usize - get dwHandle(): Deno.PointerValue { + get dwHandle(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4479,7 +4479,7 @@ export class NETINFOSTRUCTView { } // 0x10: usize - set dwHandle(value: Deno.PointerValue) { + set dwHandle(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4836,7 +4836,7 @@ export class NOTIFYCANCELView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/NetworkManagement/WebDav.ts b/api/NetworkManagement/WebDav.ts index 97ddb94..c3e70b8 100644 --- a/api/NetworkManagement/WebDav.ts +++ b/api/NetworkManagement/WebDav.ts @@ -275,7 +275,7 @@ export class DAV_CALLBACK_CREDView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/NetworkManagement/WiFi.ts b/api/NetworkManagement/WiFi.ts index 8565ea8..1eeaad3 100644 --- a/api/NetworkManagement/WiFi.ts +++ b/api/NetworkManagement/WiFi.ts @@ -2165,7 +2165,7 @@ export class DOT11_IV48_COUNTERView { // 0x06: pad2 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type BOOLEAN = number; @@ -3772,7 +3772,7 @@ export interface DOT11_BSS_DESCRIPTION { /** u16 */ usBeaconPeriod: number; /** u64 */ - ullTimestamp: Deno.PointerValue; + ullTimestamp: bigint | number; /** u16 */ usCapabilityInformation: number; /** u32 */ @@ -3844,7 +3844,7 @@ export class DOT11_BSS_DESCRIPTIONView { // 0x16: pad2 // 0x18: u64 - get ullTimestamp(): Deno.PointerValue { + get ullTimestamp(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3891,7 +3891,7 @@ export class DOT11_BSS_DESCRIPTIONView { // 0x16: pad2 // 0x18: u64 - set ullTimestamp(value: Deno.PointerValue) { + set ullTimestamp(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6022,9 +6022,9 @@ export class DOT11_RECV_SENSITIVITYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -6050,22 +6050,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7095,9 +7095,9 @@ export interface DOT11_BSS_ENTRY { /** u16 */ usBeaconPeriod: number; /** u64 */ - ullTimestamp: Deno.PointerValue; + ullTimestamp: bigint | number; /** u64 */ - ullHostTimestamp: Deno.PointerValue; + ullHostTimestamp: bigint | number; /** u16 */ usCapabilityInformation: number; /** u32 */ @@ -7204,12 +7204,12 @@ export class DOT11_BSS_ENTRYView { // 0x32: pad6 // 0x38: u64 - get ullTimestamp(): Deno.PointerValue { + get ullTimestamp(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullHostTimestamp(): Deno.PointerValue { + get ullHostTimestamp(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -7278,12 +7278,12 @@ export class DOT11_BSS_ENTRYView { // 0x32: pad6 // 0x38: u64 - set ullTimestamp(value: Deno.PointerValue) { + set ullTimestamp(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullHostTimestamp(value: Deno.PointerValue) { + set ullHostTimestamp(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -7633,41 +7633,41 @@ export class DOT11_PMKID_LISTView { */ export interface DOT11_PHY_FRAME_STATISTICS { /** u64 */ - ullTransmittedFrameCount: Deno.PointerValue; + ullTransmittedFrameCount: bigint | number; /** u64 */ - ullMulticastTransmittedFrameCount: Deno.PointerValue; + ullMulticastTransmittedFrameCount: bigint | number; /** u64 */ - ullFailedCount: Deno.PointerValue; + ullFailedCount: bigint | number; /** u64 */ - ullRetryCount: Deno.PointerValue; + ullRetryCount: bigint | number; /** u64 */ - ullMultipleRetryCount: Deno.PointerValue; + ullMultipleRetryCount: bigint | number; /** u64 */ - ullMaxTXLifetimeExceededCount: Deno.PointerValue; + ullMaxTXLifetimeExceededCount: bigint | number; /** u64 */ - ullTransmittedFragmentCount: Deno.PointerValue; + ullTransmittedFragmentCount: bigint | number; /** u64 */ - ullRTSSuccessCount: Deno.PointerValue; + ullRTSSuccessCount: bigint | number; /** u64 */ - ullRTSFailureCount: Deno.PointerValue; + ullRTSFailureCount: bigint | number; /** u64 */ - ullACKFailureCount: Deno.PointerValue; + ullACKFailureCount: bigint | number; /** u64 */ - ullReceivedFrameCount: Deno.PointerValue; + ullReceivedFrameCount: bigint | number; /** u64 */ - ullMulticastReceivedFrameCount: Deno.PointerValue; + ullMulticastReceivedFrameCount: bigint | number; /** u64 */ - ullPromiscuousReceivedFrameCount: Deno.PointerValue; + ullPromiscuousReceivedFrameCount: bigint | number; /** u64 */ - ullMaxRXLifetimeExceededCount: Deno.PointerValue; + ullMaxRXLifetimeExceededCount: bigint | number; /** u64 */ - ullFrameDuplicateCount: Deno.PointerValue; + ullFrameDuplicateCount: bigint | number; /** u64 */ - ullReceivedFragmentCount: Deno.PointerValue; + ullReceivedFragmentCount: bigint | number; /** u64 */ - ullPromiscuousReceivedFragmentCount: Deno.PointerValue; + ullPromiscuousReceivedFragmentCount: bigint | number; /** u64 */ - ullFCSErrorCount: Deno.PointerValue; + ullFCSErrorCount: bigint | number; } export const sizeofDOT11_PHY_FRAME_STATISTICS = 144; @@ -7725,182 +7725,182 @@ export class DOT11_PHY_FRAME_STATISTICSView { } // 0x00: u64 - get ullTransmittedFrameCount(): Deno.PointerValue { + get ullTransmittedFrameCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullMulticastTransmittedFrameCount(): Deno.PointerValue { + get ullMulticastTransmittedFrameCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullFailedCount(): Deno.PointerValue { + get ullFailedCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullRetryCount(): Deno.PointerValue { + get ullRetryCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ullMultipleRetryCount(): Deno.PointerValue { + get ullMultipleRetryCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ullMaxTXLifetimeExceededCount(): Deno.PointerValue { + get ullMaxTXLifetimeExceededCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ullTransmittedFragmentCount(): Deno.PointerValue { + get ullTransmittedFragmentCount(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ullRTSSuccessCount(): Deno.PointerValue { + get ullRTSSuccessCount(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullRTSFailureCount(): Deno.PointerValue { + get ullRTSFailureCount(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ullACKFailureCount(): Deno.PointerValue { + get ullACKFailureCount(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ullReceivedFrameCount(): Deno.PointerValue { + get ullReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ullMulticastReceivedFrameCount(): Deno.PointerValue { + get ullMulticastReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get ullPromiscuousReceivedFrameCount(): Deno.PointerValue { + get ullPromiscuousReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get ullMaxRXLifetimeExceededCount(): Deno.PointerValue { + get ullMaxRXLifetimeExceededCount(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get ullFrameDuplicateCount(): Deno.PointerValue { + get ullFrameDuplicateCount(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get ullReceivedFragmentCount(): Deno.PointerValue { + get ullReceivedFragmentCount(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get ullPromiscuousReceivedFragmentCount(): Deno.PointerValue { + get ullPromiscuousReceivedFragmentCount(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get ullFCSErrorCount(): Deno.PointerValue { + get ullFCSErrorCount(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x00: u64 - set ullTransmittedFrameCount(value: Deno.PointerValue) { + set ullTransmittedFrameCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullMulticastTransmittedFrameCount(value: Deno.PointerValue) { + set ullMulticastTransmittedFrameCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullFailedCount(value: Deno.PointerValue) { + set ullFailedCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullRetryCount(value: Deno.PointerValue) { + set ullRetryCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ullMultipleRetryCount(value: Deno.PointerValue) { + set ullMultipleRetryCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ullMaxTXLifetimeExceededCount(value: Deno.PointerValue) { + set ullMaxTXLifetimeExceededCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ullTransmittedFragmentCount(value: Deno.PointerValue) { + set ullTransmittedFragmentCount(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ullRTSSuccessCount(value: Deno.PointerValue) { + set ullRTSSuccessCount(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullRTSFailureCount(value: Deno.PointerValue) { + set ullRTSFailureCount(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ullACKFailureCount(value: Deno.PointerValue) { + set ullACKFailureCount(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ullReceivedFrameCount(value: Deno.PointerValue) { + set ullReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ullMulticastReceivedFrameCount(value: Deno.PointerValue) { + set ullMulticastReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set ullPromiscuousReceivedFrameCount(value: Deno.PointerValue) { + set ullPromiscuousReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set ullMaxRXLifetimeExceededCount(value: Deno.PointerValue) { + set ullMaxRXLifetimeExceededCount(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set ullFrameDuplicateCount(value: Deno.PointerValue) { + set ullFrameDuplicateCount(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set ullReceivedFragmentCount(value: Deno.PointerValue) { + set ullReceivedFragmentCount(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set ullPromiscuousReceivedFragmentCount(value: Deno.PointerValue) { + set ullPromiscuousReceivedFragmentCount(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set ullFCSErrorCount(value: Deno.PointerValue) { + set ullFCSErrorCount(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } } @@ -7910,33 +7910,33 @@ export class DOT11_PHY_FRAME_STATISTICSView { */ export interface DOT11_MAC_FRAME_STATISTICS { /** u64 */ - ullTransmittedFrameCount: Deno.PointerValue; + ullTransmittedFrameCount: bigint | number; /** u64 */ - ullReceivedFrameCount: Deno.PointerValue; + ullReceivedFrameCount: bigint | number; /** u64 */ - ullTransmittedFailureFrameCount: Deno.PointerValue; + ullTransmittedFailureFrameCount: bigint | number; /** u64 */ - ullReceivedFailureFrameCount: Deno.PointerValue; + ullReceivedFailureFrameCount: bigint | number; /** u64 */ - ullWEPExcludedCount: Deno.PointerValue; + ullWEPExcludedCount: bigint | number; /** u64 */ - ullTKIPLocalMICFailures: Deno.PointerValue; + ullTKIPLocalMICFailures: bigint | number; /** u64 */ - ullTKIPReplays: Deno.PointerValue; + ullTKIPReplays: bigint | number; /** u64 */ - ullTKIPICVErrorCount: Deno.PointerValue; + ullTKIPICVErrorCount: bigint | number; /** u64 */ - ullCCMPReplays: Deno.PointerValue; + ullCCMPReplays: bigint | number; /** u64 */ - ullCCMPDecryptErrors: Deno.PointerValue; + ullCCMPDecryptErrors: bigint | number; /** u64 */ - ullWEPUndecryptableCount: Deno.PointerValue; + ullWEPUndecryptableCount: bigint | number; /** u64 */ - ullWEPICVErrorCount: Deno.PointerValue; + ullWEPICVErrorCount: bigint | number; /** u64 */ - ullDecryptSuccessCount: Deno.PointerValue; + ullDecryptSuccessCount: bigint | number; /** u64 */ - ullDecryptFailureCount: Deno.PointerValue; + ullDecryptFailureCount: bigint | number; } export const sizeofDOT11_MAC_FRAME_STATISTICS = 112; @@ -7986,142 +7986,142 @@ export class DOT11_MAC_FRAME_STATISTICSView { } // 0x00: u64 - get ullTransmittedFrameCount(): Deno.PointerValue { + get ullTransmittedFrameCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullReceivedFrameCount(): Deno.PointerValue { + get ullReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullTransmittedFailureFrameCount(): Deno.PointerValue { + get ullTransmittedFailureFrameCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullReceivedFailureFrameCount(): Deno.PointerValue { + get ullReceivedFailureFrameCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ullWEPExcludedCount(): Deno.PointerValue { + get ullWEPExcludedCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ullTKIPLocalMICFailures(): Deno.PointerValue { + get ullTKIPLocalMICFailures(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ullTKIPReplays(): Deno.PointerValue { + get ullTKIPReplays(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ullTKIPICVErrorCount(): Deno.PointerValue { + get ullTKIPICVErrorCount(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullCCMPReplays(): Deno.PointerValue { + get ullCCMPReplays(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ullCCMPDecryptErrors(): Deno.PointerValue { + get ullCCMPDecryptErrors(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ullWEPUndecryptableCount(): Deno.PointerValue { + get ullWEPUndecryptableCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ullWEPICVErrorCount(): Deno.PointerValue { + get ullWEPICVErrorCount(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get ullDecryptSuccessCount(): Deno.PointerValue { + get ullDecryptSuccessCount(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get ullDecryptFailureCount(): Deno.PointerValue { + get ullDecryptFailureCount(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x00: u64 - set ullTransmittedFrameCount(value: Deno.PointerValue) { + set ullTransmittedFrameCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullReceivedFrameCount(value: Deno.PointerValue) { + set ullReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullTransmittedFailureFrameCount(value: Deno.PointerValue) { + set ullTransmittedFailureFrameCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullReceivedFailureFrameCount(value: Deno.PointerValue) { + set ullReceivedFailureFrameCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ullWEPExcludedCount(value: Deno.PointerValue) { + set ullWEPExcludedCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ullTKIPLocalMICFailures(value: Deno.PointerValue) { + set ullTKIPLocalMICFailures(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ullTKIPReplays(value: Deno.PointerValue) { + set ullTKIPReplays(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ullTKIPICVErrorCount(value: Deno.PointerValue) { + set ullTKIPICVErrorCount(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullCCMPReplays(value: Deno.PointerValue) { + set ullCCMPReplays(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ullCCMPDecryptErrors(value: Deno.PointerValue) { + set ullCCMPDecryptErrors(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ullWEPUndecryptableCount(value: Deno.PointerValue) { + set ullWEPUndecryptableCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ullWEPICVErrorCount(value: Deno.PointerValue) { + set ullWEPICVErrorCount(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set ullDecryptSuccessCount(value: Deno.PointerValue) { + set ullDecryptSuccessCount(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set ullDecryptFailureCount(value: Deno.PointerValue) { + set ullDecryptFailureCount(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } } @@ -8133,11 +8133,11 @@ export interface DOT11_STATISTICS { /** Windows.Win32.NetworkManagement.Ndis.NDIS_OBJECT_HEADER */ Header: Uint8Array | Deno.PointerValue; /** u64 */ - ullFourWayHandshakeFailures: Deno.PointerValue; + ullFourWayHandshakeFailures: bigint | number; /** u64 */ - ullTKIPCounterMeasuresInvoked: Deno.PointerValue; + ullTKIPCounterMeasuresInvoked: bigint | number; /** u64 */ - ullReserved: Deno.PointerValue; + ullReserved: bigint | number; /** Windows.Win32.NetworkManagement.WiFi.DOT11_MAC_FRAME_STATISTICS */ MacUcastCounters: Uint8Array | Deno.PointerValue; /** Windows.Win32.NetworkManagement.WiFi.DOT11_MAC_FRAME_STATISTICS */ @@ -8185,17 +8185,17 @@ export class DOT11_STATISTICSView { } // 0x08: u64 - get ullFourWayHandshakeFailures(): Deno.PointerValue { + get ullFourWayHandshakeFailures(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullTKIPCounterMeasuresInvoked(): Deno.PointerValue { + get ullTKIPCounterMeasuresInvoked(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullReserved(): Deno.PointerValue { + get ullReserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8223,17 +8223,17 @@ export class DOT11_STATISTICSView { } // 0x08: u64 - set ullFourWayHandshakeFailures(value: Deno.PointerValue) { + set ullFourWayHandshakeFailures(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullTKIPCounterMeasuresInvoked(value: Deno.PointerValue) { + set ullTKIPCounterMeasuresInvoked(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullReserved(value: Deno.PointerValue) { + set ullReserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -9463,7 +9463,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -9503,7 +9503,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -9518,7 +9518,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -9546,13 +9546,13 @@ export interface DOT11_ASSOCIATION_INFO_EX { /** Windows.Win32.Foundation.LARGE_INTEGER */ liAssociationUpTime: Uint8Array | Deno.PointerValue; /** u64 */ - ullNumOfTxPacketSuccesses: Deno.PointerValue; + ullNumOfTxPacketSuccesses: bigint | number; /** u64 */ - ullNumOfTxPacketFailures: Deno.PointerValue; + ullNumOfTxPacketFailures: bigint | number; /** u64 */ - ullNumOfRxPacketSuccesses: Deno.PointerValue; + ullNumOfRxPacketSuccesses: bigint | number; /** u64 */ - ullNumOfRxPacketFailures: Deno.PointerValue; + ullNumOfRxPacketFailures: bigint | number; } export const sizeofDOT11_ASSOCIATION_INFO_EX = 88; @@ -9655,22 +9655,22 @@ export class DOT11_ASSOCIATION_INFO_EXView { } // 0x38: u64 - get ullNumOfTxPacketSuccesses(): Deno.PointerValue { + get ullNumOfTxPacketSuccesses(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullNumOfTxPacketFailures(): Deno.PointerValue { + get ullNumOfTxPacketFailures(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ullNumOfRxPacketSuccesses(): Deno.PointerValue { + get ullNumOfRxPacketSuccesses(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ullNumOfRxPacketFailures(): Deno.PointerValue { + get ullNumOfRxPacketFailures(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -9724,22 +9724,22 @@ export class DOT11_ASSOCIATION_INFO_EXView { } // 0x38: u64 - set ullNumOfTxPacketSuccesses(value: Deno.PointerValue) { + set ullNumOfTxPacketSuccesses(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullNumOfTxPacketFailures(value: Deno.PointerValue) { + set ullNumOfTxPacketFailures(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ullNumOfRxPacketSuccesses(value: Deno.PointerValue) { + set ullNumOfRxPacketSuccesses(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ullNumOfRxPacketFailures(value: Deno.PointerValue) { + set ullNumOfRxPacketFailures(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -14262,7 +14262,7 @@ export interface DOT11_EXTSTA_RECV_CONTEXT { /** ptr */ pvMediaSpecificInfo: Deno.PointerValue | Uint8Array; /** u64 */ - ullTimestamp: Deno.PointerValue; + ullTimestamp: bigint | number; } export const sizeofDOT11_EXTSTA_RECV_CONTEXT = 48; @@ -14354,7 +14354,7 @@ export class DOT11_EXTSTA_RECV_CONTEXTView { } // 0x28: u64 - get ullTimestamp(): Deno.PointerValue { + get ullTimestamp(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -14406,7 +14406,7 @@ export class DOT11_EXTSTA_RECV_CONTEXTView { } // 0x28: u64 - set ullTimestamp(value: Deno.PointerValue) { + set ullTimestamp(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -15863,17 +15863,17 @@ export class DOT11_ADDITIONAL_IEView { */ export interface DOT11_PEER_STATISTICS { /** u64 */ - ullDecryptSuccessCount: Deno.PointerValue; + ullDecryptSuccessCount: bigint | number; /** u64 */ - ullDecryptFailureCount: Deno.PointerValue; + ullDecryptFailureCount: bigint | number; /** u64 */ - ullTxPacketSuccessCount: Deno.PointerValue; + ullTxPacketSuccessCount: bigint | number; /** u64 */ - ullTxPacketFailureCount: Deno.PointerValue; + ullTxPacketFailureCount: bigint | number; /** u64 */ - ullRxPacketSuccessCount: Deno.PointerValue; + ullRxPacketSuccessCount: bigint | number; /** u64 */ - ullRxPacketFailureCount: Deno.PointerValue; + ullRxPacketFailureCount: bigint | number; } export const sizeofDOT11_PEER_STATISTICS = 48; @@ -15907,62 +15907,62 @@ export class DOT11_PEER_STATISTICSView { } // 0x00: u64 - get ullDecryptSuccessCount(): Deno.PointerValue { + get ullDecryptSuccessCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullDecryptFailureCount(): Deno.PointerValue { + get ullDecryptFailureCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullTxPacketSuccessCount(): Deno.PointerValue { + get ullTxPacketSuccessCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullTxPacketFailureCount(): Deno.PointerValue { + get ullTxPacketFailureCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ullRxPacketSuccessCount(): Deno.PointerValue { + get ullRxPacketSuccessCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ullRxPacketFailureCount(): Deno.PointerValue { + get ullRxPacketFailureCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set ullDecryptSuccessCount(value: Deno.PointerValue) { + set ullDecryptSuccessCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullDecryptFailureCount(value: Deno.PointerValue) { + set ullDecryptFailureCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullTxPacketSuccessCount(value: Deno.PointerValue) { + set ullTxPacketSuccessCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullTxPacketFailureCount(value: Deno.PointerValue) { + set ullTxPacketFailureCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ullRxPacketSuccessCount(value: Deno.PointerValue) { + set ullRxPacketSuccessCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ullRxPacketFailureCount(value: Deno.PointerValue) { + set ullRxPacketFailureCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -20549,11 +20549,11 @@ export interface DOT11_WFD_DEVICE_ENTRY { /** u16 */ usBeaconPeriod: number; /** u64 */ - ullTimestamp: Deno.PointerValue; + ullTimestamp: bigint | number; /** u64 */ - ullBeaconHostTimestamp: Deno.PointerValue; + ullBeaconHostTimestamp: bigint | number; /** u64 */ - ullProbeResponseHostTimestamp: Deno.PointerValue; + ullProbeResponseHostTimestamp: bigint | number; /** u16 */ usCapabilityInformation: number; /** u32 */ @@ -20670,17 +20670,17 @@ export class DOT11_WFD_DEVICE_ENTRYView { // 0x32: pad6 // 0x38: u64 - get ullTimestamp(): Deno.PointerValue { + get ullTimestamp(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullBeaconHostTimestamp(): Deno.PointerValue { + get ullBeaconHostTimestamp(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ullProbeResponseHostTimestamp(): Deno.PointerValue { + get ullProbeResponseHostTimestamp(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -20758,17 +20758,17 @@ export class DOT11_WFD_DEVICE_ENTRYView { // 0x32: pad6 // 0x38: u64 - set ullTimestamp(value: Deno.PointerValue) { + set ullTimestamp(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullBeaconHostTimestamp(value: Deno.PointerValue) { + set ullBeaconHostTimestamp(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ullProbeResponseHostTimestamp(value: Deno.PointerValue) { + set ullProbeResponseHostTimestamp(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -24930,9 +24930,9 @@ export interface WLAN_BSS_ENTRY { /** u16 */ usBeaconPeriod: number; /** u64 */ - ullTimestamp: Deno.PointerValue; + ullTimestamp: bigint | number; /** u64 */ - ullHostTimestamp: Deno.PointerValue; + ullHostTimestamp: bigint | number; /** u16 */ usCapabilityInformation: number; /** u32 */ @@ -25051,12 +25051,12 @@ export class WLAN_BSS_ENTRYView { // 0x32: pad6 // 0x38: u64 - get ullTimestamp(): Deno.PointerValue { + get ullTimestamp(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullHostTimestamp(): Deno.PointerValue { + get ullHostTimestamp(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -25138,12 +25138,12 @@ export class WLAN_BSS_ENTRYView { // 0x32: pad6 // 0x38: u64 - set ullTimestamp(value: Deno.PointerValue) { + set ullTimestamp(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullHostTimestamp(value: Deno.PointerValue) { + set ullHostTimestamp(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -27018,41 +27018,41 @@ export class WLAN_DEVICE_SERVICE_NOTIFICATION_DATAView { */ export interface WLAN_PHY_FRAME_STATISTICS { /** u64 */ - ullTransmittedFrameCount: Deno.PointerValue; + ullTransmittedFrameCount: bigint | number; /** u64 */ - ullMulticastTransmittedFrameCount: Deno.PointerValue; + ullMulticastTransmittedFrameCount: bigint | number; /** u64 */ - ullFailedCount: Deno.PointerValue; + ullFailedCount: bigint | number; /** u64 */ - ullRetryCount: Deno.PointerValue; + ullRetryCount: bigint | number; /** u64 */ - ullMultipleRetryCount: Deno.PointerValue; + ullMultipleRetryCount: bigint | number; /** u64 */ - ullMaxTXLifetimeExceededCount: Deno.PointerValue; + ullMaxTXLifetimeExceededCount: bigint | number; /** u64 */ - ullTransmittedFragmentCount: Deno.PointerValue; + ullTransmittedFragmentCount: bigint | number; /** u64 */ - ullRTSSuccessCount: Deno.PointerValue; + ullRTSSuccessCount: bigint | number; /** u64 */ - ullRTSFailureCount: Deno.PointerValue; + ullRTSFailureCount: bigint | number; /** u64 */ - ullACKFailureCount: Deno.PointerValue; + ullACKFailureCount: bigint | number; /** u64 */ - ullReceivedFrameCount: Deno.PointerValue; + ullReceivedFrameCount: bigint | number; /** u64 */ - ullMulticastReceivedFrameCount: Deno.PointerValue; + ullMulticastReceivedFrameCount: bigint | number; /** u64 */ - ullPromiscuousReceivedFrameCount: Deno.PointerValue; + ullPromiscuousReceivedFrameCount: bigint | number; /** u64 */ - ullMaxRXLifetimeExceededCount: Deno.PointerValue; + ullMaxRXLifetimeExceededCount: bigint | number; /** u64 */ - ullFrameDuplicateCount: Deno.PointerValue; + ullFrameDuplicateCount: bigint | number; /** u64 */ - ullReceivedFragmentCount: Deno.PointerValue; + ullReceivedFragmentCount: bigint | number; /** u64 */ - ullPromiscuousReceivedFragmentCount: Deno.PointerValue; + ullPromiscuousReceivedFragmentCount: bigint | number; /** u64 */ - ullFCSErrorCount: Deno.PointerValue; + ullFCSErrorCount: bigint | number; } export const sizeofWLAN_PHY_FRAME_STATISTICS = 144; @@ -27110,182 +27110,182 @@ export class WLAN_PHY_FRAME_STATISTICSView { } // 0x00: u64 - get ullTransmittedFrameCount(): Deno.PointerValue { + get ullTransmittedFrameCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullMulticastTransmittedFrameCount(): Deno.PointerValue { + get ullMulticastTransmittedFrameCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullFailedCount(): Deno.PointerValue { + get ullFailedCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullRetryCount(): Deno.PointerValue { + get ullRetryCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ullMultipleRetryCount(): Deno.PointerValue { + get ullMultipleRetryCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ullMaxTXLifetimeExceededCount(): Deno.PointerValue { + get ullMaxTXLifetimeExceededCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ullTransmittedFragmentCount(): Deno.PointerValue { + get ullTransmittedFragmentCount(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ullRTSSuccessCount(): Deno.PointerValue { + get ullRTSSuccessCount(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullRTSFailureCount(): Deno.PointerValue { + get ullRTSFailureCount(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ullACKFailureCount(): Deno.PointerValue { + get ullACKFailureCount(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ullReceivedFrameCount(): Deno.PointerValue { + get ullReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ullMulticastReceivedFrameCount(): Deno.PointerValue { + get ullMulticastReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get ullPromiscuousReceivedFrameCount(): Deno.PointerValue { + get ullPromiscuousReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get ullMaxRXLifetimeExceededCount(): Deno.PointerValue { + get ullMaxRXLifetimeExceededCount(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get ullFrameDuplicateCount(): Deno.PointerValue { + get ullFrameDuplicateCount(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get ullReceivedFragmentCount(): Deno.PointerValue { + get ullReceivedFragmentCount(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get ullPromiscuousReceivedFragmentCount(): Deno.PointerValue { + get ullPromiscuousReceivedFragmentCount(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get ullFCSErrorCount(): Deno.PointerValue { + get ullFCSErrorCount(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x00: u64 - set ullTransmittedFrameCount(value: Deno.PointerValue) { + set ullTransmittedFrameCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullMulticastTransmittedFrameCount(value: Deno.PointerValue) { + set ullMulticastTransmittedFrameCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullFailedCount(value: Deno.PointerValue) { + set ullFailedCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullRetryCount(value: Deno.PointerValue) { + set ullRetryCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ullMultipleRetryCount(value: Deno.PointerValue) { + set ullMultipleRetryCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ullMaxTXLifetimeExceededCount(value: Deno.PointerValue) { + set ullMaxTXLifetimeExceededCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ullTransmittedFragmentCount(value: Deno.PointerValue) { + set ullTransmittedFragmentCount(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ullRTSSuccessCount(value: Deno.PointerValue) { + set ullRTSSuccessCount(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullRTSFailureCount(value: Deno.PointerValue) { + set ullRTSFailureCount(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ullACKFailureCount(value: Deno.PointerValue) { + set ullACKFailureCount(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ullReceivedFrameCount(value: Deno.PointerValue) { + set ullReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ullMulticastReceivedFrameCount(value: Deno.PointerValue) { + set ullMulticastReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set ullPromiscuousReceivedFrameCount(value: Deno.PointerValue) { + set ullPromiscuousReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set ullMaxRXLifetimeExceededCount(value: Deno.PointerValue) { + set ullMaxRXLifetimeExceededCount(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set ullFrameDuplicateCount(value: Deno.PointerValue) { + set ullFrameDuplicateCount(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set ullReceivedFragmentCount(value: Deno.PointerValue) { + set ullReceivedFragmentCount(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set ullPromiscuousReceivedFragmentCount(value: Deno.PointerValue) { + set ullPromiscuousReceivedFragmentCount(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set ullFCSErrorCount(value: Deno.PointerValue) { + set ullFCSErrorCount(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } } @@ -27295,29 +27295,29 @@ export class WLAN_PHY_FRAME_STATISTICSView { */ export interface WLAN_MAC_FRAME_STATISTICS { /** u64 */ - ullTransmittedFrameCount: Deno.PointerValue; + ullTransmittedFrameCount: bigint | number; /** u64 */ - ullReceivedFrameCount: Deno.PointerValue; + ullReceivedFrameCount: bigint | number; /** u64 */ - ullWEPExcludedCount: Deno.PointerValue; + ullWEPExcludedCount: bigint | number; /** u64 */ - ullTKIPLocalMICFailures: Deno.PointerValue; + ullTKIPLocalMICFailures: bigint | number; /** u64 */ - ullTKIPReplays: Deno.PointerValue; + ullTKIPReplays: bigint | number; /** u64 */ - ullTKIPICVErrorCount: Deno.PointerValue; + ullTKIPICVErrorCount: bigint | number; /** u64 */ - ullCCMPReplays: Deno.PointerValue; + ullCCMPReplays: bigint | number; /** u64 */ - ullCCMPDecryptErrors: Deno.PointerValue; + ullCCMPDecryptErrors: bigint | number; /** u64 */ - ullWEPUndecryptableCount: Deno.PointerValue; + ullWEPUndecryptableCount: bigint | number; /** u64 */ - ullWEPICVErrorCount: Deno.PointerValue; + ullWEPICVErrorCount: bigint | number; /** u64 */ - ullDecryptSuccessCount: Deno.PointerValue; + ullDecryptSuccessCount: bigint | number; /** u64 */ - ullDecryptFailureCount: Deno.PointerValue; + ullDecryptFailureCount: bigint | number; } export const sizeofWLAN_MAC_FRAME_STATISTICS = 96; @@ -27363,122 +27363,122 @@ export class WLAN_MAC_FRAME_STATISTICSView { } // 0x00: u64 - get ullTransmittedFrameCount(): Deno.PointerValue { + get ullTransmittedFrameCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullReceivedFrameCount(): Deno.PointerValue { + get ullReceivedFrameCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullWEPExcludedCount(): Deno.PointerValue { + get ullWEPExcludedCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullTKIPLocalMICFailures(): Deno.PointerValue { + get ullTKIPLocalMICFailures(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ullTKIPReplays(): Deno.PointerValue { + get ullTKIPReplays(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ullTKIPICVErrorCount(): Deno.PointerValue { + get ullTKIPICVErrorCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ullCCMPReplays(): Deno.PointerValue { + get ullCCMPReplays(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ullCCMPDecryptErrors(): Deno.PointerValue { + get ullCCMPDecryptErrors(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ullWEPUndecryptableCount(): Deno.PointerValue { + get ullWEPUndecryptableCount(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ullWEPICVErrorCount(): Deno.PointerValue { + get ullWEPICVErrorCount(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ullDecryptSuccessCount(): Deno.PointerValue { + get ullDecryptSuccessCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ullDecryptFailureCount(): Deno.PointerValue { + get ullDecryptFailureCount(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x00: u64 - set ullTransmittedFrameCount(value: Deno.PointerValue) { + set ullTransmittedFrameCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullReceivedFrameCount(value: Deno.PointerValue) { + set ullReceivedFrameCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullWEPExcludedCount(value: Deno.PointerValue) { + set ullWEPExcludedCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullTKIPLocalMICFailures(value: Deno.PointerValue) { + set ullTKIPLocalMICFailures(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ullTKIPReplays(value: Deno.PointerValue) { + set ullTKIPReplays(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ullTKIPICVErrorCount(value: Deno.PointerValue) { + set ullTKIPICVErrorCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ullCCMPReplays(value: Deno.PointerValue) { + set ullCCMPReplays(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ullCCMPDecryptErrors(value: Deno.PointerValue) { + set ullCCMPDecryptErrors(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ullWEPUndecryptableCount(value: Deno.PointerValue) { + set ullWEPUndecryptableCount(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ullWEPICVErrorCount(value: Deno.PointerValue) { + set ullWEPICVErrorCount(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ullDecryptSuccessCount(value: Deno.PointerValue) { + set ullDecryptSuccessCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ullDecryptFailureCount(value: Deno.PointerValue) { + set ullDecryptFailureCount(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } } @@ -27488,11 +27488,11 @@ export class WLAN_MAC_FRAME_STATISTICSView { */ export interface WLAN_STATISTICS { /** u64 */ - ullFourWayHandshakeFailures: Deno.PointerValue; + ullFourWayHandshakeFailures: bigint | number; /** u64 */ - ullTKIPCounterMeasuresInvoked: Deno.PointerValue; + ullTKIPCounterMeasuresInvoked: bigint | number; /** u64 */ - ullReserved: Deno.PointerValue; + ullReserved: bigint | number; /** Windows.Win32.NetworkManagement.WiFi.WLAN_MAC_FRAME_STATISTICS */ MacUcastCounters: Uint8Array | Deno.PointerValue; /** Windows.Win32.NetworkManagement.WiFi.WLAN_MAC_FRAME_STATISTICS */ @@ -27537,17 +27537,17 @@ export class WLAN_STATISTICSView { } // 0x00: u64 - get ullFourWayHandshakeFailures(): Deno.PointerValue { + get ullFourWayHandshakeFailures(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullTKIPCounterMeasuresInvoked(): Deno.PointerValue { + get ullTKIPCounterMeasuresInvoked(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullReserved(): Deno.PointerValue { + get ullReserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -27577,17 +27577,17 @@ export class WLAN_STATISTICSView { } // 0x00: u64 - set ullFourWayHandshakeFailures(value: Deno.PointerValue) { + set ullFourWayHandshakeFailures(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullTKIPCounterMeasuresInvoked(value: Deno.PointerValue) { + set ullTKIPCounterMeasuresInvoked(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullReserved(value: Deno.PointerValue) { + set ullReserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -31238,7 +31238,7 @@ export class DOT11EXT_VIRTUAL_STATION_APISView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/NetworkManagement/WindowsConnectionManager.ts b/api/NetworkManagement/WindowsConnectionManager.ts index 32b9308..9a208b5 100644 --- a/api/NetworkManagement/WindowsConnectionManager.ts +++ b/api/NetworkManagement/WindowsConnectionManager.ts @@ -793,7 +793,7 @@ export class NET_INTERFACE_CONTEXTView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.NetworkManagement.WindowsConnectionManager.NET_INTERFACE_CONTEXT_TABLE (size: 24) diff --git a/api/NetworkManagement/WindowsFilteringPlatform.ts b/api/NetworkManagement/WindowsFilteringPlatform.ts index 738f38a..0988d95 100644 --- a/api/NetworkManagement/WindowsFilteringPlatform.ts +++ b/api/NetworkManagement/WindowsFilteringPlatform.ts @@ -882,9 +882,9 @@ export class FWP_TOKEN_INFORMATIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -910,22 +910,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1340,9 +1340,9 @@ export class FWPM_DISPLAY_DATA0View { */ export interface IPSEC_VIRTUAL_IF_TUNNEL_INFO0 { /** u64 */ - virtualIfTunnelId: Deno.PointerValue; + virtualIfTunnelId: bigint | number; /** u64 */ - trafficSelectorId: Deno.PointerValue; + trafficSelectorId: bigint | number; } export const sizeofIPSEC_VIRTUAL_IF_TUNNEL_INFO0 = 16; @@ -1368,22 +1368,22 @@ export class IPSEC_VIRTUAL_IF_TUNNEL_INFO0View { } // 0x00: u64 - get virtualIfTunnelId(): Deno.PointerValue { + get virtualIfTunnelId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get trafficSelectorId(): Deno.PointerValue { + get trafficSelectorId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set virtualIfTunnelId(value: Deno.PointerValue) { + set virtualIfTunnelId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set trafficSelectorId(value: Deno.PointerValue) { + set trafficSelectorId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1551,11 +1551,11 @@ export class IKEEXT_CERT_ROOT_CONFIG0View { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -1607,7 +1607,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1618,7 +1618,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1654,7 +1654,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1665,7 +1665,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1702,7 +1702,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -1731,7 +1731,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1743,7 +1743,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5050,7 +5050,7 @@ export interface IKEEXT_TRAFFIC0 { /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** u64 */ - authIpFilterId: Deno.PointerValue; + authIpFilterId: bigint | number; } export const sizeofIKEEXT_TRAFFIC0 = 32; @@ -5100,7 +5100,7 @@ export class IKEEXT_TRAFFIC0View { } // 0x18: u64 - get authIpFilterId(): Deno.PointerValue { + get authIpFilterId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -5122,7 +5122,7 @@ export class IKEEXT_TRAFFIC0View { } // 0x18: u64 - set authIpFilterId(value: Deno.PointerValue) { + set authIpFilterId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -5132,9 +5132,9 @@ export class IKEEXT_TRAFFIC0View { */ export interface IKEEXT_COOKIE_PAIR0 { /** u64 */ - initiator: Deno.PointerValue; + initiator: bigint | number; /** u64 */ - responder: Deno.PointerValue; + responder: bigint | number; } export const sizeofIKEEXT_COOKIE_PAIR0 = 16; @@ -5160,22 +5160,22 @@ export class IKEEXT_COOKIE_PAIR0View { } // 0x00: u64 - get initiator(): Deno.PointerValue { + get initiator(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get responder(): Deno.PointerValue { + get responder(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set initiator(value: Deno.PointerValue) { + set initiator(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set responder(value: Deno.PointerValue) { + set responder(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5485,7 +5485,7 @@ export class IKEEXT_CREDENTIALS0View { */ export interface IKEEXT_SA_DETAILS0 { /** u64 */ - saId: Deno.PointerValue; + saId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IKEEXT_KEY_MODULE_TYPE */ keyModuleType: IKEEXT_KEY_MODULE_TYPE; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_IP_VERSION */ @@ -5503,7 +5503,7 @@ export interface IKEEXT_SA_DETAILS0 { /** System.Guid */ ikePolicyKey: Uint8Array | Deno.PointerValue; /** u64 */ - virtualIfTunnelId: Deno.PointerValue; + virtualIfTunnelId: bigint | number; } export const sizeofIKEEXT_SA_DETAILS0 = 72; @@ -5545,7 +5545,7 @@ export class IKEEXT_SA_DETAILS0View { } // 0x00: u64 - get saId(): Deno.PointerValue { + get saId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5596,12 +5596,12 @@ export class IKEEXT_SA_DETAILS0View { } // 0x40: u64 - get virtualIfTunnelId(): Deno.PointerValue { + get virtualIfTunnelId(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x00: u64 - set saId(value: Deno.PointerValue) { + set saId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5646,7 +5646,7 @@ export class IKEEXT_SA_DETAILS0View { } // 0x40: u64 - set virtualIfTunnelId(value: Deno.PointerValue) { + set virtualIfTunnelId(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -5927,7 +5927,7 @@ export class IKEEXT_CREDENTIALS1View { */ export interface IKEEXT_SA_DETAILS1 { /** u64 */ - saId: Deno.PointerValue; + saId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IKEEXT_KEY_MODULE_TYPE */ keyModuleType: IKEEXT_KEY_MODULE_TYPE; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_IP_VERSION */ @@ -5945,7 +5945,7 @@ export interface IKEEXT_SA_DETAILS1 { /** System.Guid */ ikePolicyKey: Uint8Array | Deno.PointerValue; /** u64 */ - virtualIfTunnelId: Deno.PointerValue; + virtualIfTunnelId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_BYTE_BLOB */ correlationKey: Uint8Array | Deno.PointerValue; } @@ -5991,7 +5991,7 @@ export class IKEEXT_SA_DETAILS1View { } // 0x00: u64 - get saId(): Deno.PointerValue { + get saId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6042,7 +6042,7 @@ export class IKEEXT_SA_DETAILS1View { } // 0x40: u64 - get virtualIfTunnelId(): Deno.PointerValue { + get virtualIfTunnelId(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -6053,7 +6053,7 @@ export class IKEEXT_SA_DETAILS1View { } // 0x00: u64 - set saId(value: Deno.PointerValue) { + set saId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6098,7 +6098,7 @@ export class IKEEXT_SA_DETAILS1View { } // 0x40: u64 - set virtualIfTunnelId(value: Deno.PointerValue) { + set virtualIfTunnelId(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -6295,7 +6295,7 @@ export class IKEEXT_CREDENTIALS2View { */ export interface IKEEXT_SA_DETAILS2 { /** u64 */ - saId: Deno.PointerValue; + saId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IKEEXT_KEY_MODULE_TYPE */ keyModuleType: IKEEXT_KEY_MODULE_TYPE; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_IP_VERSION */ @@ -6313,7 +6313,7 @@ export interface IKEEXT_SA_DETAILS2 { /** System.Guid */ ikePolicyKey: Uint8Array | Deno.PointerValue; /** u64 */ - virtualIfTunnelId: Deno.PointerValue; + virtualIfTunnelId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_BYTE_BLOB */ correlationKey: Uint8Array | Deno.PointerValue; } @@ -6359,7 +6359,7 @@ export class IKEEXT_SA_DETAILS2View { } // 0x00: u64 - get saId(): Deno.PointerValue { + get saId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6410,7 +6410,7 @@ export class IKEEXT_SA_DETAILS2View { } // 0x40: u64 - get virtualIfTunnelId(): Deno.PointerValue { + get virtualIfTunnelId(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -6421,7 +6421,7 @@ export class IKEEXT_SA_DETAILS2View { } // 0x00: u64 - set saId(value: Deno.PointerValue) { + set saId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6466,7 +6466,7 @@ export class IKEEXT_SA_DETAILS2View { } // 0x40: u64 - set virtualIfTunnelId(value: Deno.PointerValue) { + set virtualIfTunnelId(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -7817,7 +7817,7 @@ export interface IPSEC_TUNNEL_ENDPOINTS2 { /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** u64 */ - localIfLuid: Deno.PointerValue; + localIfLuid: bigint | number; /** Windows.Win32.Foundation.PWSTR */ remoteFqdn: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -7883,7 +7883,7 @@ export class IPSEC_TUNNEL_ENDPOINTS2View { } // 0x18: u64 - get localIfLuid(): Deno.PointerValue { + get localIfLuid(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -7924,7 +7924,7 @@ export class IPSEC_TUNNEL_ENDPOINTS2View { } // 0x18: u64 - set localIfLuid(value: Deno.PointerValue) { + set localIfLuid(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -7958,7 +7958,7 @@ export interface IPSEC_TUNNEL_ENDPOINTS1 { /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** u64 */ - localIfLuid: Deno.PointerValue; + localIfLuid: bigint | number; } export const sizeofIPSEC_TUNNEL_ENDPOINTS1 = 32; @@ -8008,7 +8008,7 @@ export class IPSEC_TUNNEL_ENDPOINTS1View { } // 0x18: u64 - get localIfLuid(): Deno.PointerValue { + get localIfLuid(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8030,7 +8030,7 @@ export class IPSEC_TUNNEL_ENDPOINTS1View { } // 0x18: u64 - set localIfLuid(value: Deno.PointerValue) { + set localIfLuid(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -9340,17 +9340,17 @@ export class IPSEC_AGGREGATE_DROP_PACKET_STATISTICS1View { */ export interface IPSEC_TRAFFIC_STATISTICS0 { /** u64 */ - encryptedByteCount: Deno.PointerValue; + encryptedByteCount: bigint | number; /** u64 */ - authenticatedAHByteCount: Deno.PointerValue; + authenticatedAHByteCount: bigint | number; /** u64 */ - authenticatedESPByteCount: Deno.PointerValue; + authenticatedESPByteCount: bigint | number; /** u64 */ - transportByteCount: Deno.PointerValue; + transportByteCount: bigint | number; /** u64 */ - tunnelByteCount: Deno.PointerValue; + tunnelByteCount: bigint | number; /** u64 */ - offloadByteCount: Deno.PointerValue; + offloadByteCount: bigint | number; } export const sizeofIPSEC_TRAFFIC_STATISTICS0 = 48; @@ -9384,62 +9384,62 @@ export class IPSEC_TRAFFIC_STATISTICS0View { } // 0x00: u64 - get encryptedByteCount(): Deno.PointerValue { + get encryptedByteCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get authenticatedAHByteCount(): Deno.PointerValue { + get authenticatedAHByteCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get authenticatedESPByteCount(): Deno.PointerValue { + get authenticatedESPByteCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get transportByteCount(): Deno.PointerValue { + get transportByteCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get tunnelByteCount(): Deno.PointerValue { + get tunnelByteCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get offloadByteCount(): Deno.PointerValue { + get offloadByteCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set encryptedByteCount(value: Deno.PointerValue) { + set encryptedByteCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set authenticatedAHByteCount(value: Deno.PointerValue) { + set authenticatedAHByteCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set authenticatedESPByteCount(value: Deno.PointerValue) { + set authenticatedESPByteCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set transportByteCount(value: Deno.PointerValue) { + set transportByteCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set tunnelByteCount(value: Deno.PointerValue) { + set tunnelByteCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set offloadByteCount(value: Deno.PointerValue) { + set offloadByteCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -9449,19 +9449,19 @@ export class IPSEC_TRAFFIC_STATISTICS0View { */ export interface IPSEC_TRAFFIC_STATISTICS1 { /** u64 */ - encryptedByteCount: Deno.PointerValue; + encryptedByteCount: bigint | number; /** u64 */ - authenticatedAHByteCount: Deno.PointerValue; + authenticatedAHByteCount: bigint | number; /** u64 */ - authenticatedESPByteCount: Deno.PointerValue; + authenticatedESPByteCount: bigint | number; /** u64 */ - transportByteCount: Deno.PointerValue; + transportByteCount: bigint | number; /** u64 */ - tunnelByteCount: Deno.PointerValue; + tunnelByteCount: bigint | number; /** u64 */ - offloadByteCount: Deno.PointerValue; + offloadByteCount: bigint | number; /** u64 */ - totalSuccessfulPackets: Deno.PointerValue; + totalSuccessfulPackets: bigint | number; } export const sizeofIPSEC_TRAFFIC_STATISTICS1 = 56; @@ -9497,72 +9497,72 @@ export class IPSEC_TRAFFIC_STATISTICS1View { } // 0x00: u64 - get encryptedByteCount(): Deno.PointerValue { + get encryptedByteCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get authenticatedAHByteCount(): Deno.PointerValue { + get authenticatedAHByteCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get authenticatedESPByteCount(): Deno.PointerValue { + get authenticatedESPByteCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get transportByteCount(): Deno.PointerValue { + get transportByteCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get tunnelByteCount(): Deno.PointerValue { + get tunnelByteCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get offloadByteCount(): Deno.PointerValue { + get offloadByteCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get totalSuccessfulPackets(): Deno.PointerValue { + get totalSuccessfulPackets(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x00: u64 - set encryptedByteCount(value: Deno.PointerValue) { + set encryptedByteCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set authenticatedAHByteCount(value: Deno.PointerValue) { + set authenticatedAHByteCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set authenticatedESPByteCount(value: Deno.PointerValue) { + set authenticatedESPByteCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set transportByteCount(value: Deno.PointerValue) { + set transportByteCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set tunnelByteCount(value: Deno.PointerValue) { + set tunnelByteCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set offloadByteCount(value: Deno.PointerValue) { + set offloadByteCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set totalSuccessfulPackets(value: Deno.PointerValue) { + set totalSuccessfulPackets(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -10096,7 +10096,7 @@ export interface IPSEC_TOKEN0 { /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IPSEC_TOKEN_MODE */ mode: IPSEC_TOKEN_MODE; /** u64 */ - token: Deno.PointerValue; + token: bigint | number; } export const sizeofIPSEC_TOKEN0 = 24; @@ -10144,7 +10144,7 @@ export class IPSEC_TOKEN0View { // 0x0c: pad4 // 0x10: u64 - get token(): Deno.PointerValue { + get token(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10166,7 +10166,7 @@ export class IPSEC_TOKEN0View { // 0x0c: pad4 // 0x10: u64 - set token(value: Deno.PointerValue) { + set token(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -10184,9 +10184,9 @@ export interface IPSEC_ID0 { /** ptr */ tokens: Deno.PointerValue | Uint8Array; /** u64 */ - explicitCredentials: Deno.PointerValue; + explicitCredentials: bigint | number; /** u64 */ - logonId: Deno.PointerValue; + logonId: bigint | number; } export const sizeofIPSEC_ID0 = 48; @@ -10252,12 +10252,12 @@ export class IPSEC_ID0View { } // 0x20: u64 - get explicitCredentials(): Deno.PointerValue { + get explicitCredentials(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get logonId(): Deno.PointerValue { + get logonId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -10286,12 +10286,12 @@ export class IPSEC_ID0View { } // 0x20: u64 - set explicitCredentials(value: Deno.PointerValue) { + set explicitCredentials(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set logonId(value: Deno.PointerValue) { + set logonId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -10325,7 +10325,7 @@ export interface IPSEC_SA_BUNDLE0 { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - mmSaId: Deno.PointerValue; + mmSaId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IPSEC_PFS_GROUP */ pfsGroup: IPSEC_PFS_GROUP; } @@ -10452,7 +10452,7 @@ export class IPSEC_SA_BUNDLE0View { } // 0x50: u64 - get mmSaId(): Deno.PointerValue { + get mmSaId(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -10530,7 +10530,7 @@ export class IPSEC_SA_BUNDLE0View { } // 0x50: u64 - set mmSaId(value: Deno.PointerValue) { + set mmSaId(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -10571,13 +10571,13 @@ export interface IPSEC_SA_BUNDLE1 { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - mmSaId: Deno.PointerValue; + mmSaId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IPSEC_PFS_GROUP */ pfsGroup: IPSEC_PFS_GROUP; /** System.Guid */ saLookupContext: Uint8Array | Deno.PointerValue; /** u64 */ - qmFilterId: Deno.PointerValue; + qmFilterId: bigint | number; } export const sizeofIPSEC_SA_BUNDLE1 = 112; @@ -10706,7 +10706,7 @@ export class IPSEC_SA_BUNDLE1View { } // 0x50: u64 - get mmSaId(): Deno.PointerValue { + get mmSaId(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -10724,7 +10724,7 @@ export class IPSEC_SA_BUNDLE1View { } // 0x68: u64 - get qmFilterId(): Deno.PointerValue { + get qmFilterId(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -10795,7 +10795,7 @@ export class IPSEC_SA_BUNDLE1View { } // 0x50: u64 - set mmSaId(value: Deno.PointerValue) { + set mmSaId(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -10812,7 +10812,7 @@ export class IPSEC_SA_BUNDLE1View { } // 0x68: u64 - set qmFilterId(value: Deno.PointerValue) { + set qmFilterId(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } } @@ -11024,7 +11024,7 @@ export interface IPSEC_TRAFFIC1 { /** u8 */ ipProtocol: number; /** u64 */ - localIfLuid: Deno.PointerValue; + localIfLuid: bigint | number; /** u32 */ realIfProfileId: number; } @@ -11121,7 +11121,7 @@ export class IPSEC_TRAFFIC1View { // 0x2d: pad3 // 0x30: u64 - get localIfLuid(): Deno.PointerValue { + get localIfLuid(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -11179,7 +11179,7 @@ export class IPSEC_TRAFFIC1View { // 0x2d: pad3 // 0x30: u64 - set localIfLuid(value: Deno.PointerValue) { + set localIfLuid(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -11673,7 +11673,7 @@ export class IPSEC_SA_DETAILS1View { */ export interface IPSEC_SA_CONTEXT0 { /** u64 */ - saContextId: Deno.PointerValue; + saContextId: bigint | number; /** ptr */ inboundSa: Deno.PointerValue | Uint8Array; /** ptr */ @@ -11705,7 +11705,7 @@ export class IPSEC_SA_CONTEXT0View { } // 0x00: u64 - get saContextId(): Deno.PointerValue { + get saContextId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11722,7 +11722,7 @@ export class IPSEC_SA_CONTEXT0View { } // 0x00: u64 - set saContextId(value: Deno.PointerValue) { + set saContextId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11742,7 +11742,7 @@ export class IPSEC_SA_CONTEXT0View { */ export interface IPSEC_SA_CONTEXT1 { /** u64 */ - saContextId: Deno.PointerValue; + saContextId: bigint | number; /** ptr */ inboundSa: Deno.PointerValue | Uint8Array; /** ptr */ @@ -11774,7 +11774,7 @@ export class IPSEC_SA_CONTEXT1View { } // 0x00: u64 - get saContextId(): Deno.PointerValue { + get saContextId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11791,7 +11791,7 @@ export class IPSEC_SA_CONTEXT1View { } // 0x00: u64 - set saContextId(value: Deno.PointerValue) { + set saContextId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11986,7 +11986,7 @@ export interface IPSEC_SA_CONTEXT_CHANGE0 { /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IPSEC_SA_CONTEXT_EVENT_TYPE0 */ changeType: IPSEC_SA_CONTEXT_EVENT_TYPE0; /** u64 */ - saContextId: Deno.PointerValue; + saContextId: bigint | number; } export const sizeofIPSEC_SA_CONTEXT_CHANGE0 = 16; @@ -12020,7 +12020,7 @@ export class IPSEC_SA_CONTEXT_CHANGE0View { // 0x04: pad4 // 0x08: u64 - get saContextId(): Deno.PointerValue { + get saContextId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -12032,7 +12032,7 @@ export class IPSEC_SA_CONTEXT_CHANGE0View { // 0x04: pad4 // 0x08: u64 - set saContextId(value: Deno.PointerValue) { + set saContextId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12482,41 +12482,41 @@ export class IPSEC_DOSP_OPTIONS0View { */ export interface IPSEC_DOSP_STATISTICS0 { /** u64 */ - totalStateEntriesCreated: Deno.PointerValue; + totalStateEntriesCreated: bigint | number; /** u64 */ - currentStateEntries: Deno.PointerValue; + currentStateEntries: bigint | number; /** u64 */ - totalInboundAllowedIPv6IPsecUnauthPkts: Deno.PointerValue; + totalInboundAllowedIPv6IPsecUnauthPkts: bigint | number; /** u64 */ - totalInboundRatelimitDiscardedIPv6IPsecUnauthPkts: Deno.PointerValue; + totalInboundRatelimitDiscardedIPv6IPsecUnauthPkts: bigint | number; /** u64 */ - totalInboundPerIPRatelimitDiscardedIPv6IPsecUnauthPkts: Deno.PointerValue; + totalInboundPerIPRatelimitDiscardedIPv6IPsecUnauthPkts: bigint | number; /** u64 */ - totalInboundOtherDiscardedIPv6IPsecUnauthPkts: Deno.PointerValue; + totalInboundOtherDiscardedIPv6IPsecUnauthPkts: bigint | number; /** u64 */ - totalInboundAllowedIPv6IPsecAuthPkts: Deno.PointerValue; + totalInboundAllowedIPv6IPsecAuthPkts: bigint | number; /** u64 */ - totalInboundRatelimitDiscardedIPv6IPsecAuthPkts: Deno.PointerValue; + totalInboundRatelimitDiscardedIPv6IPsecAuthPkts: bigint | number; /** u64 */ - totalInboundOtherDiscardedIPv6IPsecAuthPkts: Deno.PointerValue; + totalInboundOtherDiscardedIPv6IPsecAuthPkts: bigint | number; /** u64 */ - totalInboundAllowedICMPv6Pkts: Deno.PointerValue; + totalInboundAllowedICMPv6Pkts: bigint | number; /** u64 */ - totalInboundRatelimitDiscardedICMPv6Pkts: Deno.PointerValue; + totalInboundRatelimitDiscardedICMPv6Pkts: bigint | number; /** u64 */ - totalInboundAllowedIPv6FilterExemptPkts: Deno.PointerValue; + totalInboundAllowedIPv6FilterExemptPkts: bigint | number; /** u64 */ - totalInboundRatelimitDiscardedIPv6FilterExemptPkts: Deno.PointerValue; + totalInboundRatelimitDiscardedIPv6FilterExemptPkts: bigint | number; /** u64 */ - totalInboundDiscardedIPv6FilterBlockPkts: Deno.PointerValue; + totalInboundDiscardedIPv6FilterBlockPkts: bigint | number; /** u64 */ - totalInboundAllowedDefBlockExemptPkts: Deno.PointerValue; + totalInboundAllowedDefBlockExemptPkts: bigint | number; /** u64 */ - totalInboundRatelimitDiscardedDefBlockExemptPkts: Deno.PointerValue; + totalInboundRatelimitDiscardedDefBlockExemptPkts: bigint | number; /** u64 */ - totalInboundDiscardedDefBlockPkts: Deno.PointerValue; + totalInboundDiscardedDefBlockPkts: bigint | number; /** u64 */ - currentInboundIPv6IPsecUnauthPerIPRateLimitQueues: Deno.PointerValue; + currentInboundIPv6IPsecUnauthPerIPRateLimitQueues: bigint | number; } export const sizeofIPSEC_DOSP_STATISTICS0 = 144; @@ -12574,182 +12574,182 @@ export class IPSEC_DOSP_STATISTICS0View { } // 0x00: u64 - get totalStateEntriesCreated(): Deno.PointerValue { + get totalStateEntriesCreated(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get currentStateEntries(): Deno.PointerValue { + get currentStateEntries(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get totalInboundAllowedIPv6IPsecUnauthPkts(): Deno.PointerValue { + get totalInboundAllowedIPv6IPsecUnauthPkts(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get totalInboundRatelimitDiscardedIPv6IPsecUnauthPkts(): Deno.PointerValue { + get totalInboundRatelimitDiscardedIPv6IPsecUnauthPkts(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get totalInboundPerIPRatelimitDiscardedIPv6IPsecUnauthPkts(): Deno.PointerValue { + get totalInboundPerIPRatelimitDiscardedIPv6IPsecUnauthPkts(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get totalInboundOtherDiscardedIPv6IPsecUnauthPkts(): Deno.PointerValue { + get totalInboundOtherDiscardedIPv6IPsecUnauthPkts(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get totalInboundAllowedIPv6IPsecAuthPkts(): Deno.PointerValue { + get totalInboundAllowedIPv6IPsecAuthPkts(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get totalInboundRatelimitDiscardedIPv6IPsecAuthPkts(): Deno.PointerValue { + get totalInboundRatelimitDiscardedIPv6IPsecAuthPkts(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get totalInboundOtherDiscardedIPv6IPsecAuthPkts(): Deno.PointerValue { + get totalInboundOtherDiscardedIPv6IPsecAuthPkts(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get totalInboundAllowedICMPv6Pkts(): Deno.PointerValue { + get totalInboundAllowedICMPv6Pkts(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get totalInboundRatelimitDiscardedICMPv6Pkts(): Deno.PointerValue { + get totalInboundRatelimitDiscardedICMPv6Pkts(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get totalInboundAllowedIPv6FilterExemptPkts(): Deno.PointerValue { + get totalInboundAllowedIPv6FilterExemptPkts(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get totalInboundRatelimitDiscardedIPv6FilterExemptPkts(): Deno.PointerValue { + get totalInboundRatelimitDiscardedIPv6FilterExemptPkts(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get totalInboundDiscardedIPv6FilterBlockPkts(): Deno.PointerValue { + get totalInboundDiscardedIPv6FilterBlockPkts(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get totalInboundAllowedDefBlockExemptPkts(): Deno.PointerValue { + get totalInboundAllowedDefBlockExemptPkts(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get totalInboundRatelimitDiscardedDefBlockExemptPkts(): Deno.PointerValue { + get totalInboundRatelimitDiscardedDefBlockExemptPkts(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get totalInboundDiscardedDefBlockPkts(): Deno.PointerValue { + get totalInboundDiscardedDefBlockPkts(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get currentInboundIPv6IPsecUnauthPerIPRateLimitQueues(): Deno.PointerValue { + get currentInboundIPv6IPsecUnauthPerIPRateLimitQueues(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x00: u64 - set totalStateEntriesCreated(value: Deno.PointerValue) { + set totalStateEntriesCreated(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set currentStateEntries(value: Deno.PointerValue) { + set currentStateEntries(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set totalInboundAllowedIPv6IPsecUnauthPkts(value: Deno.PointerValue) { + set totalInboundAllowedIPv6IPsecUnauthPkts(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set totalInboundRatelimitDiscardedIPv6IPsecUnauthPkts(value: Deno.PointerValue) { + set totalInboundRatelimitDiscardedIPv6IPsecUnauthPkts(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set totalInboundPerIPRatelimitDiscardedIPv6IPsecUnauthPkts(value: Deno.PointerValue) { + set totalInboundPerIPRatelimitDiscardedIPv6IPsecUnauthPkts(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set totalInboundOtherDiscardedIPv6IPsecUnauthPkts(value: Deno.PointerValue) { + set totalInboundOtherDiscardedIPv6IPsecUnauthPkts(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set totalInboundAllowedIPv6IPsecAuthPkts(value: Deno.PointerValue) { + set totalInboundAllowedIPv6IPsecAuthPkts(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set totalInboundRatelimitDiscardedIPv6IPsecAuthPkts(value: Deno.PointerValue) { + set totalInboundRatelimitDiscardedIPv6IPsecAuthPkts(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set totalInboundOtherDiscardedIPv6IPsecAuthPkts(value: Deno.PointerValue) { + set totalInboundOtherDiscardedIPv6IPsecAuthPkts(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set totalInboundAllowedICMPv6Pkts(value: Deno.PointerValue) { + set totalInboundAllowedICMPv6Pkts(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set totalInboundRatelimitDiscardedICMPv6Pkts(value: Deno.PointerValue) { + set totalInboundRatelimitDiscardedICMPv6Pkts(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set totalInboundAllowedIPv6FilterExemptPkts(value: Deno.PointerValue) { + set totalInboundAllowedIPv6FilterExemptPkts(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set totalInboundRatelimitDiscardedIPv6FilterExemptPkts(value: Deno.PointerValue) { + set totalInboundRatelimitDiscardedIPv6FilterExemptPkts(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set totalInboundDiscardedIPv6FilterBlockPkts(value: Deno.PointerValue) { + set totalInboundDiscardedIPv6FilterBlockPkts(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set totalInboundAllowedDefBlockExemptPkts(value: Deno.PointerValue) { + set totalInboundAllowedDefBlockExemptPkts(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set totalInboundRatelimitDiscardedDefBlockExemptPkts(value: Deno.PointerValue) { + set totalInboundRatelimitDiscardedDefBlockExemptPkts(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set totalInboundDiscardedDefBlockPkts(value: Deno.PointerValue) { + set totalInboundDiscardedDefBlockPkts(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set currentInboundIPv6IPsecUnauthPerIPRateLimitQueues(value: Deno.PointerValue) { + set currentInboundIPv6IPsecUnauthPerIPRateLimitQueues(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } } @@ -12763,9 +12763,9 @@ export interface IPSEC_DOSP_STATE0 { /** array */ internalHostV6Addr: Deno.PointerValue; /** u64 */ - totalInboundIPv6IPsecAuthPackets: Deno.PointerValue; + totalInboundIPv6IPsecAuthPackets: bigint | number; /** u64 */ - totalOutboundIPv6IPsecAuthPackets: Deno.PointerValue; + totalOutboundIPv6IPsecAuthPackets: bigint | number; /** u32 */ durationSecs: number; } @@ -12812,12 +12812,12 @@ export class IPSEC_DOSP_STATE0View { } // 0x10: u64 - get totalInboundIPv6IPsecAuthPackets(): Deno.PointerValue { + get totalInboundIPv6IPsecAuthPackets(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get totalOutboundIPv6IPsecAuthPackets(): Deno.PointerValue { + get totalOutboundIPv6IPsecAuthPackets(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -12839,12 +12839,12 @@ export class IPSEC_DOSP_STATE0View { } // 0x10: u64 - set totalInboundIPv6IPsecAuthPackets(value: Deno.PointerValue) { + set totalInboundIPv6IPsecAuthPackets(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set totalOutboundIPv6IPsecAuthPackets(value: Deno.PointerValue) { + set totalOutboundIPv6IPsecAuthPackets(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -13161,7 +13161,7 @@ export class FWPM_SESSION0View { */ export interface FWPM_SESSION_ENUM_TEMPLATE0 { /** u64 */ - reserved: Deno.PointerValue; + reserved: bigint | number; } export const sizeofFWPM_SESSION_ENUM_TEMPLATE0 = 8; @@ -13185,12 +13185,12 @@ export class FWPM_SESSION_ENUM_TEMPLATE0View { } // 0x00: u64 - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -13308,7 +13308,7 @@ export class FWPM_PROVIDER0View { */ export interface FWPM_PROVIDER_ENUM_TEMPLATE0 { /** u64 */ - reserved: Deno.PointerValue; + reserved: bigint | number; } export const sizeofFWPM_PROVIDER_ENUM_TEMPLATE0 = 8; @@ -13332,12 +13332,12 @@ export class FWPM_PROVIDER_ENUM_TEMPLATE0View { } // 0x00: u64 - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -13612,7 +13612,7 @@ export interface FWPM_PROVIDER_CONTEXT0 { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - providerContextId: Deno.PointerValue; + providerContextId: bigint | number; } export const sizeofFWPM_PROVIDER_CONTEXT0 = 64; @@ -13696,7 +13696,7 @@ export class FWPM_PROVIDER_CONTEXT0View { } // 0x38: u64 - get providerContextId(): Deno.PointerValue { + get providerContextId(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -13740,7 +13740,7 @@ export class FWPM_PROVIDER_CONTEXT0View { } // 0x38: u64 - set providerContextId(value: Deno.PointerValue) { + set providerContextId(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -13764,7 +13764,7 @@ export interface FWPM_PROVIDER_CONTEXT1 { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - providerContextId: Deno.PointerValue; + providerContextId: bigint | number; } export const sizeofFWPM_PROVIDER_CONTEXT1 = 64; @@ -13848,7 +13848,7 @@ export class FWPM_PROVIDER_CONTEXT1View { } // 0x38: u64 - get providerContextId(): Deno.PointerValue { + get providerContextId(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -13892,7 +13892,7 @@ export class FWPM_PROVIDER_CONTEXT1View { } // 0x38: u64 - set providerContextId(value: Deno.PointerValue) { + set providerContextId(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -13916,7 +13916,7 @@ export interface FWPM_PROVIDER_CONTEXT2 { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - providerContextId: Deno.PointerValue; + providerContextId: bigint | number; } export const sizeofFWPM_PROVIDER_CONTEXT2 = 64; @@ -14000,7 +14000,7 @@ export class FWPM_PROVIDER_CONTEXT2View { } // 0x38: u64 - get providerContextId(): Deno.PointerValue { + get providerContextId(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -14044,7 +14044,7 @@ export class FWPM_PROVIDER_CONTEXT2View { } // 0x38: u64 - set providerContextId(value: Deno.PointerValue) { + set providerContextId(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -14068,7 +14068,7 @@ export interface FWPM_PROVIDER_CONTEXT3 { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - providerContextId: Deno.PointerValue; + providerContextId: bigint | number; } export const sizeofFWPM_PROVIDER_CONTEXT3 = 64; @@ -14152,7 +14152,7 @@ export class FWPM_PROVIDER_CONTEXT3View { } // 0x38: u64 - get providerContextId(): Deno.PointerValue { + get providerContextId(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -14196,7 +14196,7 @@ export class FWPM_PROVIDER_CONTEXT3View { } // 0x38: u64 - set providerContextId(value: Deno.PointerValue) { + set providerContextId(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -14269,7 +14269,7 @@ export interface FWPM_PROVIDER_CONTEXT_CHANGE0 { /** System.Guid */ providerContextKey: Uint8Array | Deno.PointerValue; /** u64 */ - providerContextId: Deno.PointerValue; + providerContextId: bigint | number; } export const sizeofFWPM_PROVIDER_CONTEXT_CHANGE0 = 24; @@ -14311,7 +14311,7 @@ export class FWPM_PROVIDER_CONTEXT_CHANGE0View { } // 0x10: u64 - get providerContextId(): Deno.PointerValue { + get providerContextId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -14328,7 +14328,7 @@ export class FWPM_PROVIDER_CONTEXT_CHANGE0View { } // 0x10: u64 - set providerContextId(value: Deno.PointerValue) { + set providerContextId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -14908,7 +14908,7 @@ export class FWPM_LAYER0View { */ export interface FWPM_LAYER_ENUM_TEMPLATE0 { /** u64 */ - reserved: Deno.PointerValue; + reserved: bigint | number; } export const sizeofFWPM_LAYER_ENUM_TEMPLATE0 = 8; @@ -14932,12 +14932,12 @@ export class FWPM_LAYER_ENUM_TEMPLATE0View { } // 0x00: u64 - get reserved(): Deno.PointerValue { + get reserved(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set reserved(value: Deno.PointerValue) { + set reserved(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -15451,7 +15451,7 @@ export interface FWPM_FILTER0 { /** ptr */ reserved: Deno.PointerValue | Uint8Array; /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_VALUE0 */ effectiveWeight: Uint8Array | Deno.PointerValue; } @@ -15587,7 +15587,7 @@ export class FWPM_FILTER0View { } // 0x68: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -15667,7 +15667,7 @@ export class FWPM_FILTER0View { } // 0x68: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -15852,7 +15852,7 @@ export interface FWPM_FILTER_CHANGE0 { /** System.Guid */ filterKey: Uint8Array | Deno.PointerValue; /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; } export const sizeofFWPM_FILTER_CHANGE0 = 24; @@ -15894,7 +15894,7 @@ export class FWPM_FILTER_CHANGE0View { } // 0x10: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -15911,7 +15911,7 @@ export class FWPM_FILTER_CHANGE0View { } // 0x10: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -16119,49 +16119,49 @@ export interface FWPM_STATISTICS0 { /** u32 */ outboundActiveConnectionsV6: number; /** u64 */ - reauthDirInbound: Deno.PointerValue; + reauthDirInbound: bigint | number; /** u64 */ - reauthDirOutbound: Deno.PointerValue; + reauthDirOutbound: bigint | number; /** u64 */ - reauthFamilyV4: Deno.PointerValue; + reauthFamilyV4: bigint | number; /** u64 */ - reauthFamilyV6: Deno.PointerValue; + reauthFamilyV6: bigint | number; /** u64 */ - reauthProtoOther: Deno.PointerValue; + reauthProtoOther: bigint | number; /** u64 */ - reauthProtoIPv4: Deno.PointerValue; + reauthProtoIPv4: bigint | number; /** u64 */ - reauthProtoIPv6: Deno.PointerValue; + reauthProtoIPv6: bigint | number; /** u64 */ - reauthProtoICMP: Deno.PointerValue; + reauthProtoICMP: bigint | number; /** u64 */ - reauthProtoICMP6: Deno.PointerValue; + reauthProtoICMP6: bigint | number; /** u64 */ - reauthProtoUDP: Deno.PointerValue; + reauthProtoUDP: bigint | number; /** u64 */ - reauthProtoTCP: Deno.PointerValue; + reauthProtoTCP: bigint | number; /** u64 */ - reauthReasonPolicyChange: Deno.PointerValue; + reauthReasonPolicyChange: bigint | number; /** u64 */ - reauthReasonNewArrivalInterface: Deno.PointerValue; + reauthReasonNewArrivalInterface: bigint | number; /** u64 */ - reauthReasonNewNextHopInterface: Deno.PointerValue; + reauthReasonNewNextHopInterface: bigint | number; /** u64 */ - reauthReasonProfileCrossing: Deno.PointerValue; + reauthReasonProfileCrossing: bigint | number; /** u64 */ - reauthReasonClassifyCompletion: Deno.PointerValue; + reauthReasonClassifyCompletion: bigint | number; /** u64 */ - reauthReasonIPSecPropertiesChanged: Deno.PointerValue; + reauthReasonIPSecPropertiesChanged: bigint | number; /** u64 */ - reauthReasonMidStreamInspection: Deno.PointerValue; + reauthReasonMidStreamInspection: bigint | number; /** u64 */ - reauthReasonSocketPropertyChanged: Deno.PointerValue; + reauthReasonSocketPropertyChanged: bigint | number; /** u64 */ - reauthReasonNewInboundMCastBCastPacket: Deno.PointerValue; + reauthReasonNewInboundMCastBCastPacket: bigint | number; /** u64 */ - reauthReasonEDPPolicyChanged: Deno.PointerValue; + reauthReasonEDPPolicyChanged: bigint | number; /** u64 */ - reauthReasonProxyHandleChanged: Deno.PointerValue; + reauthReasonProxyHandleChanged: bigint | number; } export const sizeofFWPM_STATISTICS0 = 240; @@ -16329,112 +16329,112 @@ export class FWPM_STATISTICS0View { } // 0x40: u64 - get reauthDirInbound(): Deno.PointerValue { + get reauthDirInbound(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get reauthDirOutbound(): Deno.PointerValue { + get reauthDirOutbound(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get reauthFamilyV4(): Deno.PointerValue { + get reauthFamilyV4(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get reauthFamilyV6(): Deno.PointerValue { + get reauthFamilyV6(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get reauthProtoOther(): Deno.PointerValue { + get reauthProtoOther(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get reauthProtoIPv4(): Deno.PointerValue { + get reauthProtoIPv4(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get reauthProtoIPv6(): Deno.PointerValue { + get reauthProtoIPv6(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get reauthProtoICMP(): Deno.PointerValue { + get reauthProtoICMP(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get reauthProtoICMP6(): Deno.PointerValue { + get reauthProtoICMP6(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get reauthProtoUDP(): Deno.PointerValue { + get reauthProtoUDP(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get reauthProtoTCP(): Deno.PointerValue { + get reauthProtoTCP(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get reauthReasonPolicyChange(): Deno.PointerValue { + get reauthReasonPolicyChange(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get reauthReasonNewArrivalInterface(): Deno.PointerValue { + get reauthReasonNewArrivalInterface(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: u64 - get reauthReasonNewNextHopInterface(): Deno.PointerValue { + get reauthReasonNewNextHopInterface(): bigint | number { return Number(this.view.getBigUint64(168, true)); } // 0xb0: u64 - get reauthReasonProfileCrossing(): Deno.PointerValue { + get reauthReasonProfileCrossing(): bigint | number { return Number(this.view.getBigUint64(176, true)); } // 0xb8: u64 - get reauthReasonClassifyCompletion(): Deno.PointerValue { + get reauthReasonClassifyCompletion(): bigint | number { return Number(this.view.getBigUint64(184, true)); } // 0xc0: u64 - get reauthReasonIPSecPropertiesChanged(): Deno.PointerValue { + get reauthReasonIPSecPropertiesChanged(): bigint | number { return Number(this.view.getBigUint64(192, true)); } // 0xc8: u64 - get reauthReasonMidStreamInspection(): Deno.PointerValue { + get reauthReasonMidStreamInspection(): bigint | number { return Number(this.view.getBigUint64(200, true)); } // 0xd0: u64 - get reauthReasonSocketPropertyChanged(): Deno.PointerValue { + get reauthReasonSocketPropertyChanged(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: u64 - get reauthReasonNewInboundMCastBCastPacket(): Deno.PointerValue { + get reauthReasonNewInboundMCastBCastPacket(): bigint | number { return Number(this.view.getBigUint64(216, true)); } // 0xe0: u64 - get reauthReasonEDPPolicyChanged(): Deno.PointerValue { + get reauthReasonEDPPolicyChanged(): bigint | number { return Number(this.view.getBigUint64(224, true)); } // 0xe8: u64 - get reauthReasonProxyHandleChanged(): Deno.PointerValue { + get reauthReasonProxyHandleChanged(): bigint | number { return Number(this.view.getBigUint64(232, true)); } @@ -16511,112 +16511,112 @@ export class FWPM_STATISTICS0View { } // 0x40: u64 - set reauthDirInbound(value: Deno.PointerValue) { + set reauthDirInbound(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set reauthDirOutbound(value: Deno.PointerValue) { + set reauthDirOutbound(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set reauthFamilyV4(value: Deno.PointerValue) { + set reauthFamilyV4(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set reauthFamilyV6(value: Deno.PointerValue) { + set reauthFamilyV6(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set reauthProtoOther(value: Deno.PointerValue) { + set reauthProtoOther(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set reauthProtoIPv4(value: Deno.PointerValue) { + set reauthProtoIPv4(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set reauthProtoIPv6(value: Deno.PointerValue) { + set reauthProtoIPv6(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set reauthProtoICMP(value: Deno.PointerValue) { + set reauthProtoICMP(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set reauthProtoICMP6(value: Deno.PointerValue) { + set reauthProtoICMP6(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set reauthProtoUDP(value: Deno.PointerValue) { + set reauthProtoUDP(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set reauthProtoTCP(value: Deno.PointerValue) { + set reauthProtoTCP(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set reauthReasonPolicyChange(value: Deno.PointerValue) { + set reauthReasonPolicyChange(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set reauthReasonNewArrivalInterface(value: Deno.PointerValue) { + set reauthReasonNewArrivalInterface(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: u64 - set reauthReasonNewNextHopInterface(value: Deno.PointerValue) { + set reauthReasonNewNextHopInterface(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } // 0xb0: u64 - set reauthReasonProfileCrossing(value: Deno.PointerValue) { + set reauthReasonProfileCrossing(value: bigint | number) { this.view.setBigUint64(176, BigInt(value), true); } // 0xb8: u64 - set reauthReasonClassifyCompletion(value: Deno.PointerValue) { + set reauthReasonClassifyCompletion(value: bigint | number) { this.view.setBigUint64(184, BigInt(value), true); } // 0xc0: u64 - set reauthReasonIPSecPropertiesChanged(value: Deno.PointerValue) { + set reauthReasonIPSecPropertiesChanged(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } // 0xc8: u64 - set reauthReasonMidStreamInspection(value: Deno.PointerValue) { + set reauthReasonMidStreamInspection(value: bigint | number) { this.view.setBigUint64(200, BigInt(value), true); } // 0xd0: u64 - set reauthReasonSocketPropertyChanged(value: Deno.PointerValue) { + set reauthReasonSocketPropertyChanged(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: u64 - set reauthReasonNewInboundMCastBCastPacket(value: Deno.PointerValue) { + set reauthReasonNewInboundMCastBCastPacket(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } // 0xe0: u64 - set reauthReasonEDPPolicyChanged(value: Deno.PointerValue) { + set reauthReasonEDPPolicyChanged(value: bigint | number) { this.view.setBigUint64(224, BigInt(value), true); } // 0xe8: u64 - set reauthReasonProxyHandleChanged(value: Deno.PointerValue) { + set reauthReasonProxyHandleChanged(value: bigint | number) { this.view.setBigUint64(232, BigInt(value), true); } } @@ -17323,7 +17323,7 @@ export interface FWPM_NET_EVENT_HEADER3 { /** Windows.Win32.Foundation.PWSTR */ enterpriseId: string | null | Uint8Array | Uint16Array; /** u64 */ - policyFlags: Deno.PointerValue; + policyFlags: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_BYTE_BLOB */ effectiveName: Uint8Array | Deno.PointerValue; } @@ -17465,7 +17465,7 @@ export class FWPM_NET_EVENT_HEADER3View { } // 0x58: u64 - get policyFlags(): Deno.PointerValue { + get policyFlags(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -17551,7 +17551,7 @@ export class FWPM_NET_EVENT_HEADER3View { } // 0x58: u64 - set policyFlags(value: Deno.PointerValue) { + set policyFlags(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -17582,9 +17582,9 @@ export interface FWPM_NET_EVENT_IKEEXT_MM_FAILURE0 { /** array */ endCertHash: Deno.PointerValue; /** u64 */ - mmId: Deno.PointerValue; + mmId: bigint | number; /** u64 */ - mmFilterId: Deno.PointerValue; + mmFilterId: bigint | number; } export const sizeofFWPM_NET_EVENT_IKEEXT_MM_FAILURE0 = 56; @@ -17670,12 +17670,12 @@ export class FWPM_NET_EVENT_IKEEXT_MM_FAILURE0View { } // 0x28: u64 - get mmId(): Deno.PointerValue { + get mmId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get mmFilterId(): Deno.PointerValue { + get mmFilterId(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -17722,12 +17722,12 @@ export class FWPM_NET_EVENT_IKEEXT_MM_FAILURE0View { } // 0x28: u64 - set mmId(value: Deno.PointerValue) { + set mmId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set mmFilterId(value: Deno.PointerValue) { + set mmFilterId(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -17753,9 +17753,9 @@ export interface FWPM_NET_EVENT_IKEEXT_MM_FAILURE1 { /** array */ endCertHash: Deno.PointerValue; /** u64 */ - mmId: Deno.PointerValue; + mmId: bigint | number; /** u64 */ - mmFilterId: Deno.PointerValue; + mmFilterId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ localPrincipalNameForAuth: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -17873,12 +17873,12 @@ export class FWPM_NET_EVENT_IKEEXT_MM_FAILURE1View { } // 0x28: u64 - get mmId(): Deno.PointerValue { + get mmId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get mmFilterId(): Deno.PointerValue { + get mmFilterId(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -17963,12 +17963,12 @@ export class FWPM_NET_EVENT_IKEEXT_MM_FAILURE1View { } // 0x28: u64 - set mmId(value: Deno.PointerValue) { + set mmId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set mmFilterId(value: Deno.PointerValue) { + set mmFilterId(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -18030,9 +18030,9 @@ export interface FWPM_NET_EVENT_IKEEXT_MM_FAILURE2 { /** array */ endCertHash: Deno.PointerValue; /** u64 */ - mmId: Deno.PointerValue; + mmId: bigint | number; /** u64 */ - mmFilterId: Deno.PointerValue; + mmFilterId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ localPrincipalNameForAuth: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -18154,12 +18154,12 @@ export class FWPM_NET_EVENT_IKEEXT_MM_FAILURE2View { } // 0x28: u64 - get mmId(): Deno.PointerValue { + get mmId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get mmFilterId(): Deno.PointerValue { + get mmFilterId(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -18250,12 +18250,12 @@ export class FWPM_NET_EVENT_IKEEXT_MM_FAILURE2View { } // 0x28: u64 - set mmId(value: Deno.PointerValue) { + set mmId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set mmFilterId(value: Deno.PointerValue) { + set mmFilterId(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -18322,7 +18322,7 @@ export interface FWPM_NET_EVENT_IKEEXT_QM_FAILURE0 { /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** u64 */ - qmFilterId: Deno.PointerValue; + qmFilterId: bigint | number; } export const sizeofFWPM_NET_EVENT_IKEEXT_QM_FAILURE0 = 48; @@ -18404,7 +18404,7 @@ export class FWPM_NET_EVENT_IKEEXT_QM_FAILURE0View { } // 0x28: u64 - get qmFilterId(): Deno.PointerValue { + get qmFilterId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -18449,7 +18449,7 @@ export class FWPM_NET_EVENT_IKEEXT_QM_FAILURE0View { } // 0x28: u64 - set qmFilterId(value: Deno.PointerValue) { + set qmFilterId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -18475,9 +18475,9 @@ export interface FWPM_NET_EVENT_IKEEXT_QM_FAILURE1 { /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** u64 */ - qmFilterId: Deno.PointerValue; + qmFilterId: bigint | number; /** u64 */ - mmSaLuid: Deno.PointerValue; + mmSaLuid: bigint | number; /** System.Guid */ mmProviderContextKey: Uint8Array | Deno.PointerValue; } @@ -18565,12 +18565,12 @@ export class FWPM_NET_EVENT_IKEEXT_QM_FAILURE1View { } // 0x28: u64 - get qmFilterId(): Deno.PointerValue { + get qmFilterId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get mmSaLuid(): Deno.PointerValue { + get mmSaLuid(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -18621,12 +18621,12 @@ export class FWPM_NET_EVENT_IKEEXT_QM_FAILURE1View { } // 0x28: u64 - set qmFilterId(value: Deno.PointerValue) { + set qmFilterId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set mmSaLuid(value: Deno.PointerValue) { + set mmSaLuid(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -18655,9 +18655,9 @@ export interface FWPM_NET_EVENT_IKEEXT_EM_FAILURE0 { /** array */ endCertHash: Deno.PointerValue; /** u64 */ - mmId: Deno.PointerValue; + mmId: bigint | number; /** u64 */ - qmFilterId: Deno.PointerValue; + qmFilterId: bigint | number; } export const sizeofFWPM_NET_EVENT_IKEEXT_EM_FAILURE0 = 48; @@ -18733,12 +18733,12 @@ export class FWPM_NET_EVENT_IKEEXT_EM_FAILURE0View { } // 0x20: u64 - get mmId(): Deno.PointerValue { + get mmId(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get qmFilterId(): Deno.PointerValue { + get qmFilterId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -18778,12 +18778,12 @@ export class FWPM_NET_EVENT_IKEEXT_EM_FAILURE0View { } // 0x20: u64 - set mmId(value: Deno.PointerValue) { + set mmId(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set qmFilterId(value: Deno.PointerValue) { + set qmFilterId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -18807,9 +18807,9 @@ export interface FWPM_NET_EVENT_IKEEXT_EM_FAILURE1 { /** array */ endCertHash: Deno.PointerValue; /** u64 */ - mmId: Deno.PointerValue; + mmId: bigint | number; /** u64 */ - qmFilterId: Deno.PointerValue; + qmFilterId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ localPrincipalNameForAuth: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -18922,12 +18922,12 @@ export class FWPM_NET_EVENT_IKEEXT_EM_FAILURE1View { } // 0x20: u64 - get mmId(): Deno.PointerValue { + get mmId(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get qmFilterId(): Deno.PointerValue { + get qmFilterId(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -19012,12 +19012,12 @@ export class FWPM_NET_EVENT_IKEEXT_EM_FAILURE1View { } // 0x20: u64 - set mmId(value: Deno.PointerValue) { + set mmId(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set qmFilterId(value: Deno.PointerValue) { + set qmFilterId(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -19070,7 +19070,7 @@ export class FWPM_NET_EVENT_IKEEXT_EM_FAILURE1View { */ export interface FWPM_NET_EVENT_CLASSIFY_DROP0 { /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** u16 */ layerId: number; } @@ -19099,7 +19099,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP0View { } // 0x00: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19111,7 +19111,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP0View { // 0x0a: pad6 // 0x00: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19128,7 +19128,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP0View { */ export interface FWPM_NET_EVENT_CLASSIFY_DROP1 { /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** u16 */ layerId: number; /** u32 */ @@ -19177,7 +19177,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP1View { } // 0x00: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19214,7 +19214,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP1View { // 0x1e: pad2 // 0x00: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19256,7 +19256,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP1View { */ export interface FWPM_NET_EVENT_CLASSIFY_DROP2 { /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** u16 */ layerId: number; /** u32 */ @@ -19317,7 +19317,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP2View { } // 0x00: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19370,7 +19370,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP2View { } // 0x00: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19443,9 +19443,9 @@ export interface FWPM_NET_EVENT_CLASSIFY_DROP_MAC0 { /** u16 */ vlanTag: number; /** u64 */ - ifLuid: Deno.PointerValue; + ifLuid: bigint | number; /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** u16 */ layerId: number; /** u32 */ @@ -19569,12 +19569,12 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP_MAC0View { // 0x24: pad4 // 0x28: u64 - get ifLuid(): Deno.PointerValue { + get ifLuid(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -19669,12 +19669,12 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP_MAC0View { // 0x24: pad4 // 0x28: u64 - set ifLuid(value: Deno.PointerValue) { + set ifLuid(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -19731,7 +19731,7 @@ export class FWPM_NET_EVENT_CLASSIFY_DROP_MAC0View { */ export interface FWPM_NET_EVENT_CLASSIFY_ALLOW0 { /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** u16 */ layerId: number; /** u32 */ @@ -19780,7 +19780,7 @@ export class FWPM_NET_EVENT_CLASSIFY_ALLOW0View { } // 0x00: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19817,7 +19817,7 @@ export class FWPM_NET_EVENT_CLASSIFY_ALLOW0View { // 0x1e: pad2 // 0x00: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19865,7 +19865,7 @@ export interface FWPM_NET_EVENT_IPSEC_KERNEL_DROP0 { /** u32 */ spi: number; /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** u16 */ layerId: number; } @@ -19918,7 +19918,7 @@ export class FWPM_NET_EVENT_IPSEC_KERNEL_DROP0View { // 0x0c: pad4 // 0x10: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -19947,7 +19947,7 @@ export class FWPM_NET_EVENT_IPSEC_KERNEL_DROP0View { // 0x0c: pad4 // 0x10: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -20068,7 +20068,7 @@ export interface FWPM_NET_EVENT_CAPABILITY_DROP0 { /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWPM_APPC_NETWORK_CAPABILITY_TYPE */ networkCapabilityId: FWPM_APPC_NETWORK_CAPABILITY_TYPE; /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** Windows.Win32.Foundation.BOOL */ isLoopback: boolean; } @@ -20107,7 +20107,7 @@ export class FWPM_NET_EVENT_CAPABILITY_DROP0View { // 0x04: pad4 // 0x08: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -20126,7 +20126,7 @@ export class FWPM_NET_EVENT_CAPABILITY_DROP0View { // 0x04: pad4 // 0x08: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -20145,7 +20145,7 @@ export interface FWPM_NET_EVENT_CAPABILITY_ALLOW0 { /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWPM_APPC_NETWORK_CAPABILITY_TYPE */ networkCapabilityId: FWPM_APPC_NETWORK_CAPABILITY_TYPE; /** u64 */ - filterId: Deno.PointerValue; + filterId: bigint | number; /** Windows.Win32.Foundation.BOOL */ isLoopback: boolean; } @@ -20184,7 +20184,7 @@ export class FWPM_NET_EVENT_CAPABILITY_ALLOW0View { // 0x04: pad4 // 0x08: u64 - get filterId(): Deno.PointerValue { + get filterId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -20203,7 +20203,7 @@ export class FWPM_NET_EVENT_CAPABILITY_ALLOW0View { // 0x04: pad4 // 0x08: u64 - set filterId(value: Deno.PointerValue) { + set filterId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -20998,7 +20998,7 @@ export class FWPM_SYSTEM_PORTS0View { */ export interface FWPM_CONNECTION0 { /** u64 */ - connectionId: Deno.PointerValue; + connectionId: bigint | number; /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.FWP_IP_VERSION */ ipVersion: FWP_IP_VERSION; /** _Anonymous1_e__Union */ @@ -21018,11 +21018,11 @@ export interface FWPM_CONNECTION0 { /** Windows.Win32.NetworkManagement.WindowsFilteringPlatform.IKEEXT_CREDENTIAL2 */ emPeer: Uint8Array | Deno.PointerValue; /** u64 */ - bytesTransferredIn: Deno.PointerValue; + bytesTransferredIn: bigint | number; /** u64 */ - bytesTransferredOut: Deno.PointerValue; + bytesTransferredOut: bigint | number; /** u64 */ - bytesTransferredTotal: Deno.PointerValue; + bytesTransferredTotal: bigint | number; /** Windows.Win32.Foundation.FILETIME */ startSysTime: Uint8Array | Deno.PointerValue; } @@ -21075,7 +21075,7 @@ export class FWPM_CONNECTION0View { } // 0x00: u64 - get connectionId(): Deno.PointerValue { + get connectionId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -21133,17 +21133,17 @@ export class FWPM_CONNECTION0View { } // 0x48: u64 - get bytesTransferredIn(): Deno.PointerValue { + get bytesTransferredIn(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get bytesTransferredOut(): Deno.PointerValue { + get bytesTransferredOut(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get bytesTransferredTotal(): Deno.PointerValue { + get bytesTransferredTotal(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -21154,7 +21154,7 @@ export class FWPM_CONNECTION0View { } // 0x00: u64 - set connectionId(value: Deno.PointerValue) { + set connectionId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -21206,17 +21206,17 @@ export class FWPM_CONNECTION0View { } // 0x48: u64 - set bytesTransferredIn(value: Deno.PointerValue) { + set bytesTransferredIn(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set bytesTransferredOut(value: Deno.PointerValue) { + set bytesTransferredOut(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set bytesTransferredTotal(value: Deno.PointerValue) { + set bytesTransferredTotal(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -21231,7 +21231,7 @@ export class FWPM_CONNECTION0View { */ export interface FWPM_CONNECTION_ENUM_TEMPLATE0 { /** u64 */ - connectionId: Deno.PointerValue; + connectionId: bigint | number; /** u32 */ flags: number; } @@ -21260,7 +21260,7 @@ export class FWPM_CONNECTION_ENUM_TEMPLATE0View { } // 0x00: u64 - get connectionId(): Deno.PointerValue { + get connectionId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -21272,7 +21272,7 @@ export class FWPM_CONNECTION_ENUM_TEMPLATE0View { // 0x0c: pad4 // 0x00: u64 - set connectionId(value: Deno.PointerValue) { + set connectionId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -21599,7 +21599,7 @@ export class IPSEC_KEY_MANAGER_CALLBACKS0View { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; @@ -22597,7 +22597,7 @@ export function FwpmProviderContextAdd3( export function FwpmProviderContextDeleteById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmProviderContextDeleteById0(util.toPointer(engineHandle), id); } @@ -22611,7 +22611,7 @@ export function FwpmProviderContextDeleteByKey0( export function FwpmProviderContextGetById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, providerContext: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmProviderContextGetById0(util.toPointer(engineHandle), id, util.toPointer(providerContext)); @@ -22619,7 +22619,7 @@ export function FwpmProviderContextGetById0( export function FwpmProviderContextGetById1( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, providerContext: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmProviderContextGetById1(util.toPointer(engineHandle), id, util.toPointer(providerContext)); @@ -22627,7 +22627,7 @@ export function FwpmProviderContextGetById1( export function FwpmProviderContextGetById2( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, providerContext: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmProviderContextGetById2(util.toPointer(engineHandle), id, util.toPointer(providerContext)); @@ -22635,7 +22635,7 @@ export function FwpmProviderContextGetById2( export function FwpmProviderContextGetById3( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, providerContext: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmProviderContextGetById3(util.toPointer(engineHandle), id, util.toPointer(providerContext)); @@ -23067,7 +23067,7 @@ export function FwpmFilterAdd0( export function FwpmFilterDeleteById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmFilterDeleteById0(util.toPointer(engineHandle), id); } @@ -23081,7 +23081,7 @@ export function FwpmFilterDeleteByKey0( export function FwpmFilterGetById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, filter: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmFilterGetById0(util.toPointer(engineHandle), id, util.toPointer(filter)); @@ -23270,14 +23270,14 @@ export function IPsecSaContextCreate1( export function IPsecSaContextDeleteById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextDeleteById0(util.toPointer(engineHandle), id); } export function IPsecSaContextGetById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, saContext: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextGetById0(util.toPointer(engineHandle), id, util.toPointer(saContext)); @@ -23285,7 +23285,7 @@ export function IPsecSaContextGetById0( export function IPsecSaContextGetById1( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, saContext: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextGetById1(util.toPointer(engineHandle), id, util.toPointer(saContext)); @@ -23293,7 +23293,7 @@ export function IPsecSaContextGetById1( export function IPsecSaContextGetSpi0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, getSpi: Deno.PointerValue | Uint8Array /* ptr */, inboundSpi: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -23302,7 +23302,7 @@ export function IPsecSaContextGetSpi0( export function IPsecSaContextGetSpi1( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, getSpi: Deno.PointerValue | Uint8Array /* ptr */, inboundSpi: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -23311,7 +23311,7 @@ export function IPsecSaContextGetSpi1( export function IPsecSaContextSetSpi0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, getSpi: Deno.PointerValue | Uint8Array /* ptr */, inboundSpi: number /* u32 */, ): number /* u32 */ { @@ -23320,7 +23320,7 @@ export function IPsecSaContextSetSpi0( export function IPsecSaContextAddInbound0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, inboundBundle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextAddInbound0(util.toPointer(engineHandle), id, util.toPointer(inboundBundle)); @@ -23328,7 +23328,7 @@ export function IPsecSaContextAddInbound0( export function IPsecSaContextAddOutbound0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, outboundBundle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextAddOutbound0(util.toPointer(engineHandle), id, util.toPointer(outboundBundle)); @@ -23336,7 +23336,7 @@ export function IPsecSaContextAddOutbound0( export function IPsecSaContextAddInbound1( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, inboundBundle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextAddInbound1(util.toPointer(engineHandle), id, util.toPointer(inboundBundle)); @@ -23344,7 +23344,7 @@ export function IPsecSaContextAddInbound1( export function IPsecSaContextAddOutbound1( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, outboundBundle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextAddOutbound1(util.toPointer(engineHandle), id, util.toPointer(outboundBundle)); @@ -23352,14 +23352,14 @@ export function IPsecSaContextAddOutbound1( export function IPsecSaContextExpire0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextExpire0(util.toPointer(engineHandle), id); } export function IPsecSaContextUpdate0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - flags: Deno.PointerValue /* u64 */, + flags: bigint | number /* u64 */, newValues: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IPsecSaContextUpdate0(util.toPointer(engineHandle), flags, util.toPointer(newValues)); @@ -23603,14 +23603,14 @@ export function IkeextGetStatistics1( export function IkeextSaDeleteById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, ): number /* u32 */ { return libfwpuclnt_dll.IkeextSaDeleteById0(util.toPointer(engineHandle), id); } export function IkeextSaGetById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, sa: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.IkeextSaGetById0(util.toPointer(engineHandle), id, util.toPointer(sa)); @@ -23618,7 +23618,7 @@ export function IkeextSaGetById0( export function IkeextSaGetById1( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, saLookupContext: Deno.PointerValue | Uint8Array /* ptr */, sa: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -23627,7 +23627,7 @@ export function IkeextSaGetById1( export function IkeextSaGetById2( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, saLookupContext: Deno.PointerValue | Uint8Array /* ptr */, sa: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -23906,7 +23906,7 @@ export function FwpmSystemPortsUnsubscribe0( export function FwpmConnectionGetById0( engineHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - id: Deno.PointerValue /* u64 */, + id: bigint | number /* u64 */, connection: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libfwpuclnt_dll.FwpmConnectionGetById0(util.toPointer(engineHandle), id, util.toPointer(connection)); diff --git a/api/NetworkManagement/WindowsFirewall.ts b/api/NetworkManagement/WindowsFirewall.ts index d9b67a4..8f049ec 100644 --- a/api/NetworkManagement/WindowsFirewall.ts +++ b/api/NetworkManagement/WindowsFirewall.ts @@ -459,9 +459,9 @@ export class INET_FIREWALL_AC_BINARIESView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -487,22 +487,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1050,7 +1050,7 @@ export type BOOL = number; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/NetworkManagement/WindowsNetworkVirtualization.ts b/api/NetworkManagement/WindowsNetworkVirtualization.ts index e27979d..c0475b9 100644 --- a/api/NetworkManagement/WindowsNetworkVirtualization.ts +++ b/api/NetworkManagement/WindowsNetworkVirtualization.ts @@ -622,7 +622,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -1738,9 +1738,9 @@ export class WNV_PROVIDER_ADDRESS_CHANGE_PARAMView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1766,22 +1766,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Networking/ActiveDirectory.ts b/api/Networking/ActiveDirectory.ts index 1f819ce..6a2f5ef 100644 --- a/api/Networking/ActiveDirectory.ts +++ b/api/Networking/ActiveDirectory.ts @@ -1058,7 +1058,7 @@ export const DsRoleOperationNeedReboot = 2; // Structs -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -1164,9 +1164,9 @@ export class CQFORMView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Networking.ActiveDirectory.CQPAGE (size: 48) @@ -1314,9 +1314,9 @@ export class CQPAGEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1342,22 +1342,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3047,7 +3047,7 @@ export class ADS_SEARCHPREF_INFOView { // 0x14: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Networking.ActiveDirectory.ADS_SEARCH_COLUMN (size: 40) @@ -4357,7 +4357,7 @@ export class DSCLASSCREATIONINFOView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Networking.ActiveDirectory.DSBROWSEINFOW (size: 112) @@ -9346,9 +9346,9 @@ export interface DS_REPL_NEIGHBORW { /** System.Guid */ uuidAsyncIntersiteTransportObjGuid: Uint8Array | Deno.PointerValue; /** i64 */ - usnLastObjChangeSynced: Deno.PointerValue; + usnLastObjChangeSynced: bigint | number; /** i64 */ - usnAttributeFilter: Deno.PointerValue; + usnAttributeFilter: bigint | number; /** Windows.Win32.Foundation.FILETIME */ ftimeLastSyncSuccess: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.FILETIME */ @@ -9480,12 +9480,12 @@ export class DS_REPL_NEIGHBORWView { } // 0x48: i64 - get usnLastObjChangeSynced(): Deno.PointerValue { + get usnLastObjChangeSynced(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: i64 - get usnAttributeFilter(): Deno.PointerValue { + get usnAttributeFilter(): bigint | number { return Number(this.view.getBigInt64(80, true)); } @@ -9566,12 +9566,12 @@ export class DS_REPL_NEIGHBORWView { } // 0x48: i64 - set usnLastObjChangeSynced(value: Deno.PointerValue) { + set usnLastObjChangeSynced(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: i64 - set usnAttributeFilter(value: Deno.PointerValue) { + set usnAttributeFilter(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } @@ -9621,9 +9621,9 @@ export interface DS_REPL_NEIGHBORW_BLOB { /** System.Guid */ uuidAsyncIntersiteTransportObjGuid: Uint8Array | Deno.PointerValue; /** i64 */ - usnLastObjChangeSynced: Deno.PointerValue; + usnLastObjChangeSynced: bigint | number; /** i64 */ - usnAttributeFilter: Deno.PointerValue; + usnAttributeFilter: bigint | number; /** Windows.Win32.Foundation.FILETIME */ ftimeLastSyncSuccess: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.FILETIME */ @@ -9739,12 +9739,12 @@ export class DS_REPL_NEIGHBORW_BLOBView { } // 0x38: i64 - get usnLastObjChangeSynced(): Deno.PointerValue { + get usnLastObjChangeSynced(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: i64 - get usnAttributeFilter(): Deno.PointerValue { + get usnAttributeFilter(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -9821,12 +9821,12 @@ export class DS_REPL_NEIGHBORW_BLOBView { } // 0x38: i64 - set usnLastObjChangeSynced(value: Deno.PointerValue) { + set usnLastObjChangeSynced(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: i64 - set usnAttributeFilter(value: Deno.PointerValue) { + set usnAttributeFilter(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } @@ -9926,7 +9926,7 @@ export interface DS_REPL_CURSOR { /** System.Guid */ uuidSourceDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnAttributeFilter: Deno.PointerValue; + usnAttributeFilter: bigint | number; } export const sizeofDS_REPL_CURSOR = 16; @@ -9958,7 +9958,7 @@ export class DS_REPL_CURSORView { } // 0x08: i64 - get usnAttributeFilter(): Deno.PointerValue { + get usnAttributeFilter(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -9968,7 +9968,7 @@ export class DS_REPL_CURSORView { } // 0x08: i64 - set usnAttributeFilter(value: Deno.PointerValue) { + set usnAttributeFilter(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -9980,7 +9980,7 @@ export interface DS_REPL_CURSOR_2 { /** System.Guid */ uuidSourceDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnAttributeFilter: Deno.PointerValue; + usnAttributeFilter: bigint | number; /** Windows.Win32.Foundation.FILETIME */ ftimeLastSyncSuccess: Uint8Array | Deno.PointerValue; } @@ -10016,7 +10016,7 @@ export class DS_REPL_CURSOR_2View { } // 0x08: i64 - get usnAttributeFilter(): Deno.PointerValue { + get usnAttributeFilter(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -10032,7 +10032,7 @@ export class DS_REPL_CURSOR_2View { } // 0x08: i64 - set usnAttributeFilter(value: Deno.PointerValue) { + set usnAttributeFilter(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -10049,7 +10049,7 @@ export interface DS_REPL_CURSOR_3W { /** System.Guid */ uuidSourceDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnAttributeFilter: Deno.PointerValue; + usnAttributeFilter: bigint | number; /** Windows.Win32.Foundation.FILETIME */ ftimeLastSyncSuccess: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.PWSTR */ @@ -10092,7 +10092,7 @@ export class DS_REPL_CURSOR_3WView { } // 0x08: i64 - get usnAttributeFilter(): Deno.PointerValue { + get usnAttributeFilter(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -10114,7 +10114,7 @@ export class DS_REPL_CURSOR_3WView { } // 0x08: i64 - set usnAttributeFilter(value: Deno.PointerValue) { + set usnAttributeFilter(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -10137,7 +10137,7 @@ export interface DS_REPL_CURSOR_BLOB { /** System.Guid */ uuidSourceDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnAttributeFilter: Deno.PointerValue; + usnAttributeFilter: bigint | number; /** Windows.Win32.Foundation.FILETIME */ ftimeLastSyncSuccess: Uint8Array | Deno.PointerValue; /** u32 */ @@ -10178,7 +10178,7 @@ export class DS_REPL_CURSOR_BLOBView { } // 0x08: i64 - get usnAttributeFilter(): Deno.PointerValue { + get usnAttributeFilter(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -10201,7 +10201,7 @@ export class DS_REPL_CURSOR_BLOBView { } // 0x08: i64 - set usnAttributeFilter(value: Deno.PointerValue) { + set usnAttributeFilter(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -10435,9 +10435,9 @@ export interface DS_REPL_ATTR_META_DATA { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; } export const sizeofDS_REPL_ATTR_META_DATA = 48; @@ -10500,12 +10500,12 @@ export class DS_REPL_ATTR_META_DATAView { } // 0x20: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -10533,12 +10533,12 @@ export class DS_REPL_ATTR_META_DATAView { } // 0x20: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } } @@ -10556,9 +10556,9 @@ export interface DS_REPL_ATTR_META_DATA_2 { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszLastOriginatingDsaDN: string | null | Uint8Array | Uint16Array; } @@ -10628,12 +10628,12 @@ export class DS_REPL_ATTR_META_DATA_2View { } // 0x20: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -10667,12 +10667,12 @@ export class DS_REPL_ATTR_META_DATA_2View { } // 0x20: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } @@ -10696,9 +10696,9 @@ export interface DS_REPL_ATTR_META_DATA_BLOB { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; /** u32 */ oszLastOriginatingDsaDN: number; } @@ -10759,12 +10759,12 @@ export class DS_REPL_ATTR_META_DATA_BLOBView { } // 0x18: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -10796,12 +10796,12 @@ export class DS_REPL_ATTR_META_DATA_BLOBView { } // 0x18: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -11674,9 +11674,9 @@ export interface DS_REPL_VALUE_META_DATA { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; } export const sizeofDS_REPL_VALUE_META_DATA = 88; @@ -11784,12 +11784,12 @@ export class DS_REPL_VALUE_META_DATAView { } // 0x48: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(80, true)); } @@ -11845,12 +11845,12 @@ export class DS_REPL_VALUE_META_DATAView { } // 0x48: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } } @@ -11878,9 +11878,9 @@ export interface DS_REPL_VALUE_META_DATA_2 { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszLastOriginatingDsaDN: string | null | Uint8Array | Uint16Array; } @@ -11995,12 +11995,12 @@ export class DS_REPL_VALUE_META_DATA_2View { } // 0x48: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(80, true)); } @@ -12062,12 +12062,12 @@ export class DS_REPL_VALUE_META_DATA_2View { } // 0x48: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } @@ -12101,9 +12101,9 @@ export interface DS_REPL_VALUE_META_DATA_EXT { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszLastOriginatingDsaDN: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -12231,12 +12231,12 @@ export class DS_REPL_VALUE_META_DATA_EXTView { } // 0x48: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(80, true)); } @@ -12315,12 +12315,12 @@ export class DS_REPL_VALUE_META_DATA_EXTView { } // 0x48: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } @@ -12371,9 +12371,9 @@ export interface DS_REPL_VALUE_META_DATA_BLOB { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; /** u32 */ oszLastOriginatingDsaDN: number; } @@ -12474,12 +12474,12 @@ export class DS_REPL_VALUE_META_DATA_BLOBView { } // 0x38: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -12538,12 +12538,12 @@ export class DS_REPL_VALUE_META_DATA_BLOBView { } // 0x38: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } @@ -12578,9 +12578,9 @@ export interface DS_REPL_VALUE_META_DATA_BLOB_EXT { /** System.Guid */ uuidLastOriginatingDsaInvocationID: Uint8Array | Deno.PointerValue; /** i64 */ - usnOriginatingChange: Deno.PointerValue; + usnOriginatingChange: bigint | number; /** i64 */ - usnLocalChange: Deno.PointerValue; + usnLocalChange: bigint | number; /** u32 */ oszLastOriginatingDsaDN: number; /** u32 */ @@ -12692,12 +12692,12 @@ export class DS_REPL_VALUE_META_DATA_BLOB_EXTView { } // 0x38: i64 - get usnOriginatingChange(): Deno.PointerValue { + get usnOriginatingChange(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: i64 - get usnLocalChange(): Deno.PointerValue { + get usnLocalChange(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -12769,12 +12769,12 @@ export class DS_REPL_VALUE_META_DATA_BLOB_EXTView { } // 0x38: i64 - set usnOriginatingChange(value: Deno.PointerValue) { + set usnOriginatingChange(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: i64 - set usnLocalChange(value: Deno.PointerValue) { + set usnLocalChange(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } @@ -14043,9 +14043,9 @@ export class DS_DOMAIN_TRUSTSAView { } } -export type GetDcContextHandle = Deno.PointerValue; +export type GetDcContextHandle = bigint | number; -export type ADS_SEARCH_HANDLE = Deno.PointerValue; +export type ADS_SEARCH_HANDLE = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; @@ -15621,7 +15621,7 @@ export function DsReplicaSyncAllA( hDS: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, pszNameContext: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ulFlags: number /* u32 */, - pFnCallBack: Deno.PointerValue /* isize */, + pFnCallBack: bigint | number /* isize */, pCallbackData: Deno.PointerValue | Uint8Array /* ptr */, pErrors: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -15632,7 +15632,7 @@ export function DsReplicaSyncAllW( hDS: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, pszNameContext: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ulFlags: number /* u32 */, - pFnCallBack: Deno.PointerValue /* isize */, + pFnCallBack: bigint | number /* isize */, pCallbackData: Deno.PointerValue | Uint8Array /* ptr */, pErrors: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { diff --git a/api/Networking/BackgroundIntelligentTransferService.ts b/api/Networking/BackgroundIntelligentTransferService.ts index adaf377..82ee160 100644 --- a/api/Networking/BackgroundIntelligentTransferService.ts +++ b/api/Networking/BackgroundIntelligentTransferService.ts @@ -310,9 +310,9 @@ export type BOOL = number; */ export interface BG_FILE_PROGRESS { /** u64 */ - BytesTotal: Deno.PointerValue; + BytesTotal: bigint | number; /** u64 */ - BytesTransferred: Deno.PointerValue; + BytesTransferred: bigint | number; /** Windows.Win32.Foundation.BOOL */ Completed: boolean; } @@ -343,12 +343,12 @@ export class BG_FILE_PROGRESSView { } // 0x00: u64 - get BytesTotal(): Deno.PointerValue { + get BytesTotal(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get BytesTransferred(): Deno.PointerValue { + get BytesTransferred(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -360,12 +360,12 @@ export class BG_FILE_PROGRESSView { // 0x14: pad4 // 0x00: u64 - set BytesTotal(value: Deno.PointerValue) { + set BytesTotal(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set BytesTransferred(value: Deno.PointerValue) { + set BytesTransferred(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -447,9 +447,9 @@ export class BG_FILE_INFOView { */ export interface BG_JOB_PROGRESS { /** u64 */ - BytesTotal: Deno.PointerValue; + BytesTotal: bigint | number; /** u64 */ - BytesTransferred: Deno.PointerValue; + BytesTransferred: bigint | number; /** u32 */ FilesTotal: number; /** u32 */ @@ -483,12 +483,12 @@ export class BG_JOB_PROGRESSView { } // 0x00: u64 - get BytesTotal(): Deno.PointerValue { + get BytesTotal(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get BytesTransferred(): Deno.PointerValue { + get BytesTransferred(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -503,12 +503,12 @@ export class BG_JOB_PROGRESSView { } // 0x00: u64 - set BytesTotal(value: Deno.PointerValue) { + set BytesTotal(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set BytesTransferred(value: Deno.PointerValue) { + set BytesTransferred(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -651,9 +651,9 @@ export class BG_JOB_TIMESView { */ export interface BG_JOB_REPLY_PROGRESS { /** u64 */ - BytesTotal: Deno.PointerValue; + BytesTotal: bigint | number; /** u64 */ - BytesTransferred: Deno.PointerValue; + BytesTransferred: bigint | number; } export const sizeofBG_JOB_REPLY_PROGRESS = 16; @@ -679,22 +679,22 @@ export class BG_JOB_REPLY_PROGRESSView { } // 0x00: u64 - get BytesTotal(): Deno.PointerValue { + get BytesTotal(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get BytesTransferred(): Deno.PointerValue { + get BytesTransferred(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set BytesTotal(value: Deno.PointerValue) { + set BytesTotal(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set BytesTransferred(value: Deno.PointerValue) { + set BytesTransferred(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -875,9 +875,9 @@ export class BG_AUTH_CREDENTIALSView { */ export interface BG_FILE_RANGE { /** u64 */ - InitialOffset: Deno.PointerValue; + InitialOffset: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofBG_FILE_RANGE = 16; @@ -903,22 +903,22 @@ export class BG_FILE_RANGEView { } // 0x00: u64 - get InitialOffset(): Deno.PointerValue { + get InitialOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set InitialOffset(value: Deno.PointerValue) { + set InitialOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -934,7 +934,7 @@ export interface BITS_JOB_PROPERTY_VALUE { /** Windows.Win32.Foundation.BOOL */ Enable: boolean; /** u64 */ - Uint64: Deno.PointerValue; + Uint64: bigint | number; /** Windows.Win32.Networking.BackgroundIntelligentTransferService.BG_AUTH_TARGET */ Target: BG_AUTH_TARGET; } @@ -991,7 +991,7 @@ export class BITS_JOB_PROPERTY_VALUEView { // 0x14: pad4 // 0x18: u64 - get Uint64(): Deno.PointerValue { + get Uint64(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1022,7 +1022,7 @@ export class BITS_JOB_PROPERTY_VALUEView { // 0x14: pad4 // 0x18: u64 - set Uint64(value: Deno.PointerValue) { + set Uint64(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } diff --git a/api/Networking/Clustering.ts b/api/Networking/Clustering.ts index b7245ee..512bfd9 100644 --- a/api/Networking/Clustering.ts +++ b/api/Networking/Clustering.ts @@ -1860,9 +1860,9 @@ export const CLUADMEX_OT_NETINTERFACE = 7; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1888,22 +1888,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2705,7 +2705,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -2745,7 +2745,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2760,7 +2760,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -4874,7 +4874,7 @@ export interface NOTIFY_FILTER_AND_TYPE { /** u32 */ dwObjectType: number; /** i64 */ - FilterFlags: Deno.PointerValue; + FilterFlags: bigint | number; } export const sizeofNOTIFY_FILTER_AND_TYPE = 16; @@ -4908,7 +4908,7 @@ export class NOTIFY_FILTER_AND_TYPEView { // 0x04: pad4 // 0x08: i64 - get FilterFlags(): Deno.PointerValue { + get FilterFlags(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -4920,7 +4920,7 @@ export class NOTIFY_FILTER_AND_TYPEView { // 0x04: pad4 // 0x08: i64 - set FilterFlags(value: Deno.PointerValue) { + set FilterFlags(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -6190,7 +6190,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -6230,7 +6230,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6245,7 +6245,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -6958,9 +6958,9 @@ export interface CLUSTER_SHARED_VOLUME_STATE_INFO_EX { /** array */ szVolumeFriendlyName: Deno.PointerValue; /** u64 */ - RedirectedIOReason: Deno.PointerValue; + RedirectedIOReason: bigint | number; /** u64 */ - VolumeRedirectedIOReason: Deno.PointerValue; + VolumeRedirectedIOReason: bigint | number; } export const sizeofCLUSTER_SHARED_VOLUME_STATE_INFO_EX = 48; @@ -7020,12 +7020,12 @@ export class CLUSTER_SHARED_VOLUME_STATE_INFO_EXView { } // 0x20: u64 - get RedirectedIOReason(): Deno.PointerValue { + get RedirectedIOReason(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get VolumeRedirectedIOReason(): Deno.PointerValue { + get VolumeRedirectedIOReason(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -7052,12 +7052,12 @@ export class CLUSTER_SHARED_VOLUME_STATE_INFO_EXView { } // 0x20: u64 - set RedirectedIOReason(value: Deno.PointerValue) { + set RedirectedIOReason(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set VolumeRedirectedIOReason(value: Deno.PointerValue) { + set VolumeRedirectedIOReason(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -8637,7 +8637,7 @@ export class SYSTEMTIMEView { */ export interface CLUSCTL_GROUP_GET_LAST_MOVE_TIME_OUTPUT { /** u64 */ - GetTickCount64: Deno.PointerValue; + GetTickCount64: bigint | number; /** Windows.Win32.Foundation.SYSTEMTIME */ GetSystemTime: Uint8Array | Deno.PointerValue; /** u32 */ @@ -8670,7 +8670,7 @@ export class CLUSCTL_GROUP_GET_LAST_MOVE_TIME_OUTPUTView { } // 0x00: u64 - get GetTickCount64(): Deno.PointerValue { + get GetTickCount64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8688,7 +8688,7 @@ export class CLUSCTL_GROUP_GET_LAST_MOVE_TIME_OUTPUTView { // 0x14: pad4 // 0x00: u64 - set GetTickCount64(value: Deno.PointerValue) { + set GetTickCount64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9159,7 +9159,7 @@ export class CLUSPROP_BUFFER_HELPERView { */ export interface SR_RESOURCE_TYPE_REPLICATED_PARTITION_INFO { /** u64 */ - PartitionOffset: Deno.PointerValue; + PartitionOffset: bigint | number; /** u32 */ Capabilities: number; } @@ -9188,7 +9188,7 @@ export class SR_RESOURCE_TYPE_REPLICATED_PARTITION_INFOView { } // 0x00: u64 - get PartitionOffset(): Deno.PointerValue { + get PartitionOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9200,7 +9200,7 @@ export class SR_RESOURCE_TYPE_REPLICATED_PARTITION_INFOView { // 0x0c: pad4 // 0x00: u64 - set PartitionOffset(value: Deno.PointerValue) { + set PartitionOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9743,7 +9743,7 @@ export interface SR_RESOURCE_TYPE_ADD_REPLICATION_GROUP { /** array */ LogPath: Deno.PointerValue; /** u64 */ - MaxLogSizeInBytes: Deno.PointerValue; + MaxLogSizeInBytes: bigint | number; /** u16 */ LogType: number; /** u32 */ @@ -9825,7 +9825,7 @@ export class SR_RESOURCE_TYPE_ADD_REPLICATION_GROUPView { } // 0x18: u64 - get MaxLogSizeInBytes(): Deno.PointerValue { + get MaxLogSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9893,7 +9893,7 @@ export class SR_RESOURCE_TYPE_ADD_REPLICATION_GROUPView { } // 0x18: u64 - set MaxLogSizeInBytes(value: Deno.PointerValue) { + set MaxLogSizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -10060,7 +10060,7 @@ export class CLUSCTL_RESOURCE_TYPE_STORAGE_GET_AVAILABLE_DISKS_EX2_INPUTView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Networking.Clustering.RESOURCE_STATUS (size: 24) @@ -10154,11 +10154,11 @@ export class RESOURCE_STATUSView { */ export interface NodeUtilizationInfoElement { /** u64 */ - Id: Deno.PointerValue; + Id: bigint | number; /** u64 */ - AvailableMemory: Deno.PointerValue; + AvailableMemory: bigint | number; /** u64 */ - AvailableMemoryAfterReclamation: Deno.PointerValue; + AvailableMemoryAfterReclamation: bigint | number; } export const sizeofNodeUtilizationInfoElement = 24; @@ -10186,32 +10186,32 @@ export class NodeUtilizationInfoElementView { } // 0x00: u64 - get Id(): Deno.PointerValue { + get Id(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get AvailableMemory(): Deno.PointerValue { + get AvailableMemory(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get AvailableMemoryAfterReclamation(): Deno.PointerValue { + get AvailableMemoryAfterReclamation(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set Id(value: Deno.PointerValue) { + set Id(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set AvailableMemory(value: Deno.PointerValue) { + set AvailableMemory(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set AvailableMemoryAfterReclamation(value: Deno.PointerValue) { + set AvailableMemoryAfterReclamation(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -10221,9 +10221,9 @@ export class NodeUtilizationInfoElementView { */ export interface ResourceUtilizationInfoElement { /** u64 */ - PhysicalNumaId: Deno.PointerValue; + PhysicalNumaId: bigint | number; /** u64 */ - CurrentMemory: Deno.PointerValue; + CurrentMemory: bigint | number; } export const sizeofResourceUtilizationInfoElement = 16; @@ -10249,22 +10249,22 @@ export class ResourceUtilizationInfoElementView { } // 0x00: u64 - get PhysicalNumaId(): Deno.PointerValue { + get PhysicalNumaId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get CurrentMemory(): Deno.PointerValue { + get CurrentMemory(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set PhysicalNumaId(value: Deno.PointerValue) { + set PhysicalNumaId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set CurrentMemory(value: Deno.PointerValue) { + set CurrentMemory(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12435,23 +12435,23 @@ export class CLUS_WORKERView { */ export interface PaxosTagCStruct { /** u64 */ - __padding__PaxosTagVtable: Deno.PointerValue; + __padding__PaxosTagVtable: bigint | number; /** u64 */ - __padding__NextEpochVtable: Deno.PointerValue; + __padding__NextEpochVtable: bigint | number; /** u64 */ - __padding__NextEpoch_DateTimeVtable: Deno.PointerValue; + __padding__NextEpoch_DateTimeVtable: bigint | number; /** u64 */ - NextEpoch_DateTime_ticks: Deno.PointerValue; + NextEpoch_DateTime_ticks: bigint | number; /** i32 */ NextEpoch_Value: number; /** u32 */ __padding__BoundryNextEpoch: number; /** u64 */ - __padding__EpochVtable: Deno.PointerValue; + __padding__EpochVtable: bigint | number; /** u64 */ - __padding__Epoch_DateTimeVtable: Deno.PointerValue; + __padding__Epoch_DateTimeVtable: bigint | number; /** u64 */ - Epoch_DateTime_ticks: Deno.PointerValue; + Epoch_DateTime_ticks: bigint | number; /** i32 */ Epoch_Value: number; /** u32 */ @@ -12507,22 +12507,22 @@ export class PaxosTagCStructView { } // 0x00: u64 - get __padding__PaxosTagVtable(): Deno.PointerValue { + get __padding__PaxosTagVtable(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get __padding__NextEpochVtable(): Deno.PointerValue { + get __padding__NextEpochVtable(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get __padding__NextEpoch_DateTimeVtable(): Deno.PointerValue { + get __padding__NextEpoch_DateTimeVtable(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get NextEpoch_DateTime_ticks(): Deno.PointerValue { + get NextEpoch_DateTime_ticks(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -12537,17 +12537,17 @@ export class PaxosTagCStructView { } // 0x28: u64 - get __padding__EpochVtable(): Deno.PointerValue { + get __padding__EpochVtable(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get __padding__Epoch_DateTimeVtable(): Deno.PointerValue { + get __padding__Epoch_DateTimeVtable(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Epoch_DateTime_ticks(): Deno.PointerValue { + get Epoch_DateTime_ticks(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -12572,22 +12572,22 @@ export class PaxosTagCStructView { } // 0x00: u64 - set __padding__PaxosTagVtable(value: Deno.PointerValue) { + set __padding__PaxosTagVtable(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set __padding__NextEpochVtable(value: Deno.PointerValue) { + set __padding__NextEpochVtable(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set __padding__NextEpoch_DateTimeVtable(value: Deno.PointerValue) { + set __padding__NextEpoch_DateTimeVtable(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set NextEpoch_DateTime_ticks(value: Deno.PointerValue) { + set NextEpoch_DateTime_ticks(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -12602,17 +12602,17 @@ export class PaxosTagCStructView { } // 0x28: u64 - set __padding__EpochVtable(value: Deno.PointerValue) { + set __padding__EpochVtable(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set __padding__Epoch_DateTimeVtable(value: Deno.PointerValue) { + set __padding__Epoch_DateTimeVtable(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Epoch_DateTime_ticks(value: Deno.PointerValue) { + set Epoch_DateTime_ticks(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -12770,11 +12770,11 @@ export class WitnessTagHelperView { } } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; -export type SC_HANDLE = Deno.PointerValue; +export type SC_HANDLE = bigint | number; // Native Libraries @@ -14321,7 +14321,7 @@ export function CreateClusterNotifyPortV2( hCluster: Deno.PointerValue | Uint8Array /* ptr */, Filters: Deno.PointerValue | Uint8Array /* ptr */, dwFilterCount: number /* u32 */, - dwNotifyKey: Deno.PointerValue /* usize */, + dwNotifyKey: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libCLUSAPI_dll.CreateClusterNotifyPortV2(util.toPointer(hChange), util.toPointer(hCluster), util.toPointer(Filters), dwFilterCount, dwNotifyKey); } @@ -14330,7 +14330,7 @@ export function RegisterClusterNotifyV2( hChange: Deno.PointerValue | Uint8Array /* ptr */, Filter: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.Clustering.NOTIFY_FILTER_AND_TYPE */, hObject: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwNotifyKey: Deno.PointerValue /* usize */, + dwNotifyKey: bigint | number /* usize */, ): number /* u32 */ { return libCLUSAPI_dll.RegisterClusterNotifyV2(util.toPointer(hChange), util.toPointer(Filter), util.toPointer(hObject), dwNotifyKey); } @@ -14365,7 +14365,7 @@ export function CreateClusterNotifyPort( hChange: Deno.PointerValue | Uint8Array /* ptr */, hCluster: Deno.PointerValue | Uint8Array /* ptr */, dwFilter: number /* u32 */, - dwNotifyKey: Deno.PointerValue /* usize */, + dwNotifyKey: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libCLUSAPI_dll.CreateClusterNotifyPort(util.toPointer(hChange), util.toPointer(hCluster), dwFilter, dwNotifyKey); } @@ -14374,7 +14374,7 @@ export function RegisterClusterNotify( hChange: Deno.PointerValue | Uint8Array /* ptr */, dwFilterType: number /* u32 */, hObject: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwNotifyKey: Deno.PointerValue /* usize */, + dwNotifyKey: bigint | number /* usize */, ): number /* u32 */ { return libCLUSAPI_dll.RegisterClusterNotify(util.toPointer(hChange), dwFilterType, util.toPointer(hObject), dwNotifyKey); } @@ -15196,7 +15196,7 @@ export function ChangeClusterResourceGroup( export function ChangeClusterResourceGroupEx( hResource: Deno.PointerValue | Uint8Array /* ptr */, hGroup: Deno.PointerValue | Uint8Array /* ptr */, - Flags: Deno.PointerValue /* u64 */, + Flags: bigint | number /* u64 */, ): number /* u32 */ { return libCLUSAPI_dll.ChangeClusterResourceGroupEx(util.toPointer(hResource), util.toPointer(hGroup), Flags); } @@ -15936,9 +15936,9 @@ export function GetNodeCloudTypeDW( export function RegisterClusterResourceTypeNotifyV2( hChange: Deno.PointerValue | Uint8Array /* ptr */, hCluster: Deno.PointerValue | Uint8Array /* ptr */, - Flags: Deno.PointerValue /* i64 */, + Flags: bigint | number /* i64 */, resTypeName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwNotifyKey: Deno.PointerValue /* usize */, + dwNotifyKey: bigint | number /* usize */, ): number /* u32 */ { return libCLUSAPI_dll.RegisterClusterResourceTypeNotifyV2(util.toPointer(hChange), util.toPointer(hCluster), Flags, util.pwstrToFfi(resTypeName), dwNotifyKey); } @@ -16320,7 +16320,7 @@ export function ResUtilGetQwordValue( hkeyClusterKey: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Registry.HKEY */, pszValueName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pqwOutValue: Deno.PointerValue | Uint8Array /* ptr */, - qwDefaultValue: Deno.PointerValue /* u64 */, + qwDefaultValue: bigint | number /* u64 */, ): number /* u32 */ { return libRESUTILS_dll.ResUtilGetQwordValue(util.toPointer(hkeyClusterKey), util.pwstrToFfi(pszValueName), util.toPointer(pqwOutValue), qwDefaultValue); } @@ -16377,7 +16377,7 @@ export function ResUtilSetDwordValue( export function ResUtilSetQwordValue( hkeyClusterKey: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Registry.HKEY */, pszValueName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - qwNewValue: Deno.PointerValue /* u64 */, + qwNewValue: bigint | number /* u64 */, pqwOutValue: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libRESUTILS_dll.ResUtilSetQwordValue(util.toPointer(hkeyClusterKey), util.pwstrToFfi(pszValueName), qwNewValue, util.toPointer(pqwOutValue)); @@ -16486,7 +16486,7 @@ export function ResUtilSetResourceServiceEnvironment( pszServiceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, hResource: Deno.PointerValue | Uint8Array /* ptr */, pfnLogEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.Clustering.PLOG_EVENT_ROUTINE */, - hResourceHandle: Deno.PointerValue /* isize */, + hResourceHandle: bigint | number /* isize */, ): number /* u32 */ { return libRESUTILS_dll.ResUtilSetResourceServiceEnvironment(util.pwstrToFfi(pszServiceName), util.toPointer(hResource), util.toPointer(pfnLogEvent), hResourceHandle); } @@ -16494,7 +16494,7 @@ export function ResUtilSetResourceServiceEnvironment( export function ResUtilRemoveResourceServiceEnvironment( pszServiceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pfnLogEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.Clustering.PLOG_EVENT_ROUTINE */, - hResourceHandle: Deno.PointerValue /* isize */, + hResourceHandle: bigint | number /* isize */, ): number /* u32 */ { return libRESUTILS_dll.ResUtilRemoveResourceServiceEnvironment(util.pwstrToFfi(pszServiceName), util.toPointer(pfnLogEvent), hResourceHandle); } @@ -16504,7 +16504,7 @@ export function ResUtilSetResourceServiceStartParameters( schSCMHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Security.SC_HANDLE */, phService: Deno.PointerValue | Uint8Array /* ptr */, pfnLogEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.Clustering.PLOG_EVENT_ROUTINE */, - hResourceHandle: Deno.PointerValue /* isize */, + hResourceHandle: bigint | number /* isize */, ): number /* u32 */ { return libRESUTILS_dll.ResUtilSetResourceServiceStartParameters(util.pwstrToFfi(pszServiceName), util.toPointer(schSCMHandle), util.toPointer(phService), util.toPointer(pfnLogEvent), hResourceHandle); } @@ -16622,7 +16622,7 @@ export function ClusWorkerTerminateEx( export function ClusWorkersTerminate( ClusWorkers: Deno.PointerValue | Uint8Array /* ptr */, - ClusWorkersCount: Deno.PointerValue /* usize */, + ClusWorkersCount: bigint | number /* usize */, TimeoutInMilliseconds: number /* u32 */, WaitOnly: boolean /* Windows.Win32.Foundation.BOOL */, ): number /* u32 */ { @@ -16727,7 +16727,7 @@ export function ResUtilTerminateServiceProcessFromResDll( bOffline: boolean /* Windows.Win32.Foundation.BOOL */, pdwResourceState: Deno.PointerValue | Uint8Array /* ptr */, pfnLogEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.Clustering.PLOG_EVENT_ROUTINE */, - hResourceHandle: Deno.PointerValue /* isize */, + hResourceHandle: bigint | number /* isize */, ): number /* u32 */ { return libRESUTILS_dll.ResUtilTerminateServiceProcessFromResDll(dwServicePid, util.boolToFfi(bOffline), util.toPointer(pdwResourceState), util.toPointer(pfnLogEvent), hResourceHandle); } @@ -16810,7 +16810,7 @@ export function ResUtilSetResourceServiceStartParametersEx( phService: Deno.PointerValue | Uint8Array /* ptr */, dwDesiredAccess: number /* u32 */, pfnLogEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.Clustering.PLOG_EVENT_ROUTINE */, - hResourceHandle: Deno.PointerValue /* isize */, + hResourceHandle: bigint | number /* isize */, ): number /* u32 */ { return libRESUTILS_dll.ResUtilSetResourceServiceStartParametersEx(util.pwstrToFfi(pszServiceName), util.toPointer(schSCMHandle), util.toPointer(phService), dwDesiredAccess, util.toPointer(pfnLogEvent), hResourceHandle); } @@ -17040,8 +17040,8 @@ export function RegisterAppInstance( export function RegisterAppInstanceVersion( AppInstanceId: Deno.PointerValue | Uint8Array /* ptr */, - InstanceVersionHigh: Deno.PointerValue /* u64 */, - InstanceVersionLow: Deno.PointerValue /* u64 */, + InstanceVersionHigh: bigint | number /* u64 */, + InstanceVersionLow: bigint | number /* u64 */, ): number /* u32 */ { return libNTLANMAN_dll.RegisterAppInstanceVersion(util.toPointer(AppInstanceId), InstanceVersionHigh, InstanceVersionLow); } diff --git a/api/Networking/HttpServer.ts b/api/Networking/HttpServer.ts index 3abdba1..b5e5c06 100644 --- a/api/Networking/HttpServer.ts +++ b/api/Networking/HttpServer.ts @@ -2098,7 +2098,7 @@ export class HTTP_LOGGING_INFOView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Networking.HttpServer.HTTP_BINDING_INFO (size: 16) @@ -2219,9 +2219,9 @@ export class HTTP_PROTECTION_LEVEL_INFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2247,22 +2247,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2339,7 +2339,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -2379,7 +2379,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2394,7 +2394,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -4293,7 +4293,7 @@ export class HTTP_SSL_PROTOCOL_INFOView { */ export interface HTTP_REQUEST_SIZING_INFO { /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u32 */ RequestIndex: number; /** u32 */ @@ -4329,7 +4329,7 @@ export class HTTP_REQUEST_SIZING_INFOView { } // 0x00: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4350,7 +4350,7 @@ export class HTTP_REQUEST_SIZING_INFOView { } // 0x00: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4746,11 +4746,11 @@ export interface HTTP_REQUEST_V1 { /** u32 */ Flags: number; /** u64 */ - ConnectionId: Deno.PointerValue; + ConnectionId: bigint | number; /** u64 */ - RequestId: Deno.PointerValue; + RequestId: bigint | number; /** u64 */ - UrlContext: Deno.PointerValue; + UrlContext: bigint | number; /** Windows.Win32.Networking.HttpServer.HTTP_VERSION */ Version: Uint8Array | Deno.PointerValue; /** Windows.Win32.Networking.HttpServer.HTTP_VERB */ @@ -4770,13 +4770,13 @@ export interface HTTP_REQUEST_V1 { /** Windows.Win32.Networking.HttpServer.HTTP_REQUEST_HEADERS */ Headers: Uint8Array | Deno.PointerValue; /** u64 */ - BytesReceived: Deno.PointerValue; + BytesReceived: bigint | number; /** u16 */ EntityChunkCount: number; /** ptr */ pEntityChunks: Deno.PointerValue | Uint8Array; /** u64 */ - RawConnectionId: Deno.PointerValue; + RawConnectionId: bigint | number; /** ptr */ pSslInfo: Deno.PointerValue | Uint8Array; } @@ -4851,17 +4851,17 @@ export class HTTP_REQUEST_V1View { // 0x04: pad4 // 0x08: u64 - get ConnectionId(): Deno.PointerValue { + get ConnectionId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get RequestId(): Deno.PointerValue { + get RequestId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get UrlContext(): Deno.PointerValue { + get UrlContext(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4917,7 +4917,7 @@ export class HTTP_REQUEST_V1View { } // 0x58: u64 - get BytesReceived(): Deno.PointerValue { + get BytesReceived(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -4935,7 +4935,7 @@ export class HTTP_REQUEST_V1View { } // 0x70: u64 - get RawConnectionId(): Deno.PointerValue { + get RawConnectionId(): bigint | number { return Number(this.view.getBigUint64(112, true)); } @@ -4953,17 +4953,17 @@ export class HTTP_REQUEST_V1View { // 0x04: pad4 // 0x08: u64 - set ConnectionId(value: Deno.PointerValue) { + set ConnectionId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set RequestId(value: Deno.PointerValue) { + set RequestId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set UrlContext(value: Deno.PointerValue) { + set UrlContext(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -5015,7 +5015,7 @@ export class HTTP_REQUEST_V1View { } // 0x58: u64 - set BytesReceived(value: Deno.PointerValue) { + set BytesReceived(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -5032,7 +5032,7 @@ export class HTTP_REQUEST_V1View { } // 0x70: u64 - set RawConnectionId(value: Deno.PointerValue) { + set RawConnectionId(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } @@ -5665,7 +5665,7 @@ export interface SOCKADDR_STORAGE { /** array */ __ss_pad1: Deno.PointerValue; /** i64 */ - __ss_align: Deno.PointerValue; + __ss_align: bigint | number; /** array */ __ss_pad2: Deno.PointerValue; } @@ -5711,7 +5711,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - get __ss_align(): Deno.PointerValue { + get __ss_align(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -5734,7 +5734,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - set __ss_align(value: Deno.PointerValue) { + set __ss_align(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -6443,7 +6443,7 @@ export interface HTTP_SERVICE_CONFIG_SSL_PARAM_EX { /** Windows.Win32.Networking.HttpServer.HTTP_SSL_SERVICE_CONFIG_EX_PARAM_TYPE */ ParamType: HTTP_SSL_SERVICE_CONFIG_EX_PARAM_TYPE; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -6481,7 +6481,7 @@ export class HTTP_SERVICE_CONFIG_SSL_PARAM_EXView { // 0x04: pad4 // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6499,7 +6499,7 @@ export class HTTP_SERVICE_CONFIG_SSL_PARAM_EXView { // 0x04: pad4 // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -7731,7 +7731,7 @@ export class HTTP_SERVICE_CONFIG_CACHE_SETView { */ export interface HTTP_QUERY_REQUEST_QUALIFIER_TCP { /** u64 */ - Freshness: Deno.PointerValue; + Freshness: bigint | number; } export const sizeofHTTP_QUERY_REQUEST_QUALIFIER_TCP = 8; @@ -7755,12 +7755,12 @@ export class HTTP_QUERY_REQUEST_QUALIFIER_TCPView { } // 0x00: u64 - get Freshness(): Deno.PointerValue { + get Freshness(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Freshness(value: Deno.PointerValue) { + set Freshness(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -7770,7 +7770,7 @@ export class HTTP_QUERY_REQUEST_QUALIFIER_TCPView { */ export interface HTTP_QUERY_REQUEST_QUALIFIER_QUIC { /** u64 */ - Freshness: Deno.PointerValue; + Freshness: bigint | number; } export const sizeofHTTP_QUERY_REQUEST_QUALIFIER_QUIC = 8; @@ -7794,12 +7794,12 @@ export class HTTP_QUERY_REQUEST_QUALIFIER_QUICView { } // 0x00: u64 - get Freshness(): Deno.PointerValue { + get Freshness(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Freshness(value: Deno.PointerValue) { + set Freshness(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -7912,29 +7912,29 @@ export class HTTP_REQUEST_PROPERTY_STREAM_ERRORView { */ export interface HTTP_WSK_API_TIMINGS { /** u64 */ - ConnectCount: Deno.PointerValue; + ConnectCount: bigint | number; /** u64 */ - ConnectSum: Deno.PointerValue; + ConnectSum: bigint | number; /** u64 */ - DisconnectCount: Deno.PointerValue; + DisconnectCount: bigint | number; /** u64 */ - DisconnectSum: Deno.PointerValue; + DisconnectSum: bigint | number; /** u64 */ - SendCount: Deno.PointerValue; + SendCount: bigint | number; /** u64 */ - SendSum: Deno.PointerValue; + SendSum: bigint | number; /** u64 */ - ReceiveCount: Deno.PointerValue; + ReceiveCount: bigint | number; /** u64 */ - ReceiveSum: Deno.PointerValue; + ReceiveSum: bigint | number; /** u64 */ - ReleaseCount: Deno.PointerValue; + ReleaseCount: bigint | number; /** u64 */ - ReleaseSum: Deno.PointerValue; + ReleaseSum: bigint | number; /** u64 */ - ControlSocketCount: Deno.PointerValue; + ControlSocketCount: bigint | number; /** u64 */ - ControlSocketSum: Deno.PointerValue; + ControlSocketSum: bigint | number; } export const sizeofHTTP_WSK_API_TIMINGS = 96; @@ -7980,122 +7980,122 @@ export class HTTP_WSK_API_TIMINGSView { } // 0x00: u64 - get ConnectCount(): Deno.PointerValue { + get ConnectCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ConnectSum(): Deno.PointerValue { + get ConnectSum(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get DisconnectCount(): Deno.PointerValue { + get DisconnectCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get DisconnectSum(): Deno.PointerValue { + get DisconnectSum(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get SendCount(): Deno.PointerValue { + get SendCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get SendSum(): Deno.PointerValue { + get SendSum(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ReceiveCount(): Deno.PointerValue { + get ReceiveCount(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ReceiveSum(): Deno.PointerValue { + get ReceiveSum(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ReleaseCount(): Deno.PointerValue { + get ReleaseCount(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get ReleaseSum(): Deno.PointerValue { + get ReleaseSum(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ControlSocketCount(): Deno.PointerValue { + get ControlSocketCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ControlSocketSum(): Deno.PointerValue { + get ControlSocketSum(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x00: u64 - set ConnectCount(value: Deno.PointerValue) { + set ConnectCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ConnectSum(value: Deno.PointerValue) { + set ConnectSum(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set DisconnectCount(value: Deno.PointerValue) { + set DisconnectCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set DisconnectSum(value: Deno.PointerValue) { + set DisconnectSum(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set SendCount(value: Deno.PointerValue) { + set SendCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set SendSum(value: Deno.PointerValue) { + set SendSum(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ReceiveCount(value: Deno.PointerValue) { + set ReceiveCount(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ReceiveSum(value: Deno.PointerValue) { + set ReceiveSum(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ReleaseCount(value: Deno.PointerValue) { + set ReleaseCount(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set ReleaseSum(value: Deno.PointerValue) { + set ReleaseSum(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ControlSocketCount(value: Deno.PointerValue) { + set ControlSocketCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ControlSocketSum(value: Deno.PointerValue) { + set ControlSocketSum(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } } @@ -8105,41 +8105,41 @@ export class HTTP_WSK_API_TIMINGSView { */ export interface HTTP_QUIC_STREAM_API_TIMINGS { /** u64 */ - OpenCount: Deno.PointerValue; + OpenCount: bigint | number; /** u64 */ - OpenSum: Deno.PointerValue; + OpenSum: bigint | number; /** u64 */ - CloseCount: Deno.PointerValue; + CloseCount: bigint | number; /** u64 */ - CloseSum: Deno.PointerValue; + CloseSum: bigint | number; /** u64 */ - StartCount: Deno.PointerValue; + StartCount: bigint | number; /** u64 */ - StartSum: Deno.PointerValue; + StartSum: bigint | number; /** u64 */ - ShutdownCount: Deno.PointerValue; + ShutdownCount: bigint | number; /** u64 */ - ShutdownSum: Deno.PointerValue; + ShutdownSum: bigint | number; /** u64 */ - SendCount: Deno.PointerValue; + SendCount: bigint | number; /** u64 */ - SendSum: Deno.PointerValue; + SendSum: bigint | number; /** u64 */ - ReceiveSetEnabledCount: Deno.PointerValue; + ReceiveSetEnabledCount: bigint | number; /** u64 */ - ReceiveSetEnabledSum: Deno.PointerValue; + ReceiveSetEnabledSum: bigint | number; /** u64 */ - GetParamCount: Deno.PointerValue; + GetParamCount: bigint | number; /** u64 */ - GetParamSum: Deno.PointerValue; + GetParamSum: bigint | number; /** u64 */ - SetParamCount: Deno.PointerValue; + SetParamCount: bigint | number; /** u64 */ - SetParamSum: Deno.PointerValue; + SetParamSum: bigint | number; /** u64 */ - SetCallbackHandlerCount: Deno.PointerValue; + SetCallbackHandlerCount: bigint | number; /** u64 */ - SetCallbackHandlerSum: Deno.PointerValue; + SetCallbackHandlerSum: bigint | number; } export const sizeofHTTP_QUIC_STREAM_API_TIMINGS = 144; @@ -8197,182 +8197,182 @@ export class HTTP_QUIC_STREAM_API_TIMINGSView { } // 0x00: u64 - get OpenCount(): Deno.PointerValue { + get OpenCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get OpenSum(): Deno.PointerValue { + get OpenSum(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CloseCount(): Deno.PointerValue { + get CloseCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get CloseSum(): Deno.PointerValue { + get CloseSum(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get StartCount(): Deno.PointerValue { + get StartCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get StartSum(): Deno.PointerValue { + get StartSum(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ShutdownCount(): Deno.PointerValue { + get ShutdownCount(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ShutdownSum(): Deno.PointerValue { + get ShutdownSum(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get SendCount(): Deno.PointerValue { + get SendCount(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get SendSum(): Deno.PointerValue { + get SendSum(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ReceiveSetEnabledCount(): Deno.PointerValue { + get ReceiveSetEnabledCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ReceiveSetEnabledSum(): Deno.PointerValue { + get ReceiveSetEnabledSum(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get GetParamCount(): Deno.PointerValue { + get GetParamCount(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get GetParamSum(): Deno.PointerValue { + get GetParamSum(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get SetParamCount(): Deno.PointerValue { + get SetParamCount(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get SetParamSum(): Deno.PointerValue { + get SetParamSum(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get SetCallbackHandlerCount(): Deno.PointerValue { + get SetCallbackHandlerCount(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get SetCallbackHandlerSum(): Deno.PointerValue { + get SetCallbackHandlerSum(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x00: u64 - set OpenCount(value: Deno.PointerValue) { + set OpenCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set OpenSum(value: Deno.PointerValue) { + set OpenSum(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CloseCount(value: Deno.PointerValue) { + set CloseCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set CloseSum(value: Deno.PointerValue) { + set CloseSum(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set StartCount(value: Deno.PointerValue) { + set StartCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set StartSum(value: Deno.PointerValue) { + set StartSum(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ShutdownCount(value: Deno.PointerValue) { + set ShutdownCount(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ShutdownSum(value: Deno.PointerValue) { + set ShutdownSum(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set SendCount(value: Deno.PointerValue) { + set SendCount(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set SendSum(value: Deno.PointerValue) { + set SendSum(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ReceiveSetEnabledCount(value: Deno.PointerValue) { + set ReceiveSetEnabledCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ReceiveSetEnabledSum(value: Deno.PointerValue) { + set ReceiveSetEnabledSum(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set GetParamCount(value: Deno.PointerValue) { + set GetParamCount(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set GetParamSum(value: Deno.PointerValue) { + set GetParamSum(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set SetParamCount(value: Deno.PointerValue) { + set SetParamCount(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set SetParamSum(value: Deno.PointerValue) { + set SetParamSum(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set SetCallbackHandlerCount(value: Deno.PointerValue) { + set SetCallbackHandlerCount(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set SetCallbackHandlerSum(value: Deno.PointerValue) { + set SetCallbackHandlerSum(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } } @@ -8382,29 +8382,29 @@ export class HTTP_QUIC_STREAM_API_TIMINGSView { */ export interface HTTP_QUIC_CONNECTION_API_TIMINGS { /** u64 */ - OpenTime: Deno.PointerValue; + OpenTime: bigint | number; /** u64 */ - CloseTime: Deno.PointerValue; + CloseTime: bigint | number; /** u64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** u64 */ - ShutdownTime: Deno.PointerValue; + ShutdownTime: bigint | number; /** u64 */ - SecConfigCreateTime: Deno.PointerValue; + SecConfigCreateTime: bigint | number; /** u64 */ - SecConfigDeleteTime: Deno.PointerValue; + SecConfigDeleteTime: bigint | number; /** u64 */ - GetParamCount: Deno.PointerValue; + GetParamCount: bigint | number; /** u64 */ - GetParamSum: Deno.PointerValue; + GetParamSum: bigint | number; /** u64 */ - SetParamCount: Deno.PointerValue; + SetParamCount: bigint | number; /** u64 */ - SetParamSum: Deno.PointerValue; + SetParamSum: bigint | number; /** u64 */ - SetCallbackHandlerCount: Deno.PointerValue; + SetCallbackHandlerCount: bigint | number; /** u64 */ - SetCallbackHandlerSum: Deno.PointerValue; + SetCallbackHandlerSum: bigint | number; /** Windows.Win32.Networking.HttpServer.HTTP_QUIC_STREAM_API_TIMINGS */ ControlStreamTimings: Uint8Array | Deno.PointerValue; } @@ -8454,62 +8454,62 @@ export class HTTP_QUIC_CONNECTION_API_TIMINGSView { } // 0x00: u64 - get OpenTime(): Deno.PointerValue { + get OpenTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get CloseTime(): Deno.PointerValue { + get CloseTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ShutdownTime(): Deno.PointerValue { + get ShutdownTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get SecConfigCreateTime(): Deno.PointerValue { + get SecConfigCreateTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get SecConfigDeleteTime(): Deno.PointerValue { + get SecConfigDeleteTime(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get GetParamCount(): Deno.PointerValue { + get GetParamCount(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get GetParamSum(): Deno.PointerValue { + get GetParamSum(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get SetParamCount(): Deno.PointerValue { + get SetParamCount(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get SetParamSum(): Deno.PointerValue { + get SetParamSum(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get SetCallbackHandlerCount(): Deno.PointerValue { + get SetCallbackHandlerCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get SetCallbackHandlerSum(): Deno.PointerValue { + get SetCallbackHandlerSum(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -8520,62 +8520,62 @@ export class HTTP_QUIC_CONNECTION_API_TIMINGSView { } // 0x00: u64 - set OpenTime(value: Deno.PointerValue) { + set OpenTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set CloseTime(value: Deno.PointerValue) { + set CloseTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ShutdownTime(value: Deno.PointerValue) { + set ShutdownTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set SecConfigCreateTime(value: Deno.PointerValue) { + set SecConfigCreateTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set SecConfigDeleteTime(value: Deno.PointerValue) { + set SecConfigDeleteTime(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set GetParamCount(value: Deno.PointerValue) { + set GetParamCount(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set GetParamSum(value: Deno.PointerValue) { + set GetParamSum(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set SetParamCount(value: Deno.PointerValue) { + set SetParamCount(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set SetParamSum(value: Deno.PointerValue) { + set SetParamSum(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set SetCallbackHandlerCount(value: Deno.PointerValue) { + set SetCallbackHandlerCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set SetCallbackHandlerSum(value: Deno.PointerValue) { + set SetCallbackHandlerSum(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -8886,7 +8886,7 @@ export function HttpQueryRequestQueueProperty( export function HttpSetRequestProperty( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Id: Deno.PointerValue /* u64 */, + Id: bigint | number /* u64 */, PropertyId: HTTP_REQUEST_PROPERTY /* Windows.Win32.Networking.HttpServer.HTTP_REQUEST_PROPERTY */, Input: Deno.PointerValue | Uint8Array /* ptr */, InputPropertySize: number /* u32 */, @@ -8903,7 +8903,7 @@ export function HttpShutdownRequestQueue( export function HttpReceiveClientCertificate( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ConnectionId: Deno.PointerValue /* u64 */, + ConnectionId: bigint | number /* u64 */, Flags: number /* u32 */, SslClientCertInfo: Deno.PointerValue | Uint8Array /* ptr */, SslClientCertInfoSize: number /* u32 */, @@ -8922,13 +8922,13 @@ export function HttpCreateServerSession( } export function HttpCloseServerSession( - ServerSessionId: Deno.PointerValue /* u64 */, + ServerSessionId: bigint | number /* u64 */, ): number /* u32 */ { return libHTTPAPI_dll.HttpCloseServerSession(ServerSessionId); } export function HttpQueryServerSessionProperty( - ServerSessionId: Deno.PointerValue /* u64 */, + ServerSessionId: bigint | number /* u64 */, Property: HTTP_SERVER_PROPERTY /* Windows.Win32.Networking.HttpServer.HTTP_SERVER_PROPERTY */, PropertyInformation: Deno.PointerValue | Uint8Array /* ptr */, PropertyInformationLength: number /* u32 */, @@ -8938,7 +8938,7 @@ export function HttpQueryServerSessionProperty( } export function HttpSetServerSessionProperty( - ServerSessionId: Deno.PointerValue /* u64 */, + ServerSessionId: bigint | number /* u64 */, Property: HTTP_SERVER_PROPERTY /* Windows.Win32.Networking.HttpServer.HTTP_SERVER_PROPERTY */, PropertyInformation: Deno.PointerValue | Uint8Array /* ptr */, PropertyInformationLength: number /* u32 */, @@ -8962,7 +8962,7 @@ export function HttpRemoveUrl( } export function HttpCreateUrlGroup( - ServerSessionId: Deno.PointerValue /* u64 */, + ServerSessionId: bigint | number /* u64 */, pUrlGroupId: Deno.PointerValue | Uint8Array /* ptr */, Reserved: number /* u32 */, ): number /* u32 */ { @@ -8970,22 +8970,22 @@ export function HttpCreateUrlGroup( } export function HttpCloseUrlGroup( - UrlGroupId: Deno.PointerValue /* u64 */, + UrlGroupId: bigint | number /* u64 */, ): number /* u32 */ { return libHTTPAPI_dll.HttpCloseUrlGroup(UrlGroupId); } export function HttpAddUrlToUrlGroup( - UrlGroupId: Deno.PointerValue /* u64 */, + UrlGroupId: bigint | number /* u64 */, pFullyQualifiedUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - UrlContext: Deno.PointerValue /* u64 */, + UrlContext: bigint | number /* u64 */, Reserved: number /* u32 */, ): number /* u32 */ { return libHTTPAPI_dll.HttpAddUrlToUrlGroup(UrlGroupId, util.pwstrToFfi(pFullyQualifiedUrl), UrlContext, Reserved); } export function HttpRemoveUrlFromUrlGroup( - UrlGroupId: Deno.PointerValue /* u64 */, + UrlGroupId: bigint | number /* u64 */, pFullyQualifiedUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Flags: number /* u32 */, ): number /* u32 */ { @@ -8993,7 +8993,7 @@ export function HttpRemoveUrlFromUrlGroup( } export function HttpSetUrlGroupProperty( - UrlGroupId: Deno.PointerValue /* u64 */, + UrlGroupId: bigint | number /* u64 */, Property: HTTP_SERVER_PROPERTY /* Windows.Win32.Networking.HttpServer.HTTP_SERVER_PROPERTY */, PropertyInformation: Deno.PointerValue | Uint8Array /* ptr */, PropertyInformationLength: number /* u32 */, @@ -9002,7 +9002,7 @@ export function HttpSetUrlGroupProperty( } export function HttpQueryUrlGroupProperty( - UrlGroupId: Deno.PointerValue /* u64 */, + UrlGroupId: bigint | number /* u64 */, Property: HTTP_SERVER_PROPERTY /* Windows.Win32.Networking.HttpServer.HTTP_SERVER_PROPERTY */, PropertyInformation: Deno.PointerValue | Uint8Array /* ptr */, PropertyInformationLength: number /* u32 */, @@ -9022,7 +9022,7 @@ export function HttpPrepareUrl( export function HttpReceiveHttpRequest( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - RequestId: Deno.PointerValue /* u64 */, + RequestId: bigint | number /* u64 */, Flags: HTTP_RECEIVE_HTTP_REQUEST_FLAGS /* Windows.Win32.Networking.HttpServer.HTTP_RECEIVE_HTTP_REQUEST_FLAGS */, RequestBuffer: Deno.PointerValue | Uint8Array /* ptr */, RequestBufferLength: number /* u32 */, @@ -9034,7 +9034,7 @@ export function HttpReceiveHttpRequest( export function HttpReceiveRequestEntityBody( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - RequestId: Deno.PointerValue /* u64 */, + RequestId: bigint | number /* u64 */, Flags: number /* u32 */, EntityBuffer: Deno.PointerValue | Uint8Array /* ptr */, EntityBufferLength: number /* u32 */, @@ -9046,7 +9046,7 @@ export function HttpReceiveRequestEntityBody( export function HttpSendHttpResponse( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - RequestId: Deno.PointerValue /* u64 */, + RequestId: bigint | number /* u64 */, Flags: number /* u32 */, HttpResponse: Deno.PointerValue | Uint8Array /* ptr */, CachePolicy: Deno.PointerValue | Uint8Array /* ptr */, @@ -9061,7 +9061,7 @@ export function HttpSendHttpResponse( export function HttpSendResponseEntityBody( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - RequestId: Deno.PointerValue /* u64 */, + RequestId: bigint | number /* u64 */, Flags: number /* u32 */, EntityChunkCount: number /* u16 */, EntityChunks: Deno.PointerValue | Uint8Array /* ptr */, @@ -9076,7 +9076,7 @@ export function HttpSendResponseEntityBody( export function HttpDeclarePush( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - RequestId: Deno.PointerValue /* u64 */, + RequestId: bigint | number /* u64 */, Verb: HTTP_VERB /* Windows.Win32.Networking.HttpServer.HTTP_VERB */, Path: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Query: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -9087,7 +9087,7 @@ export function HttpDeclarePush( export function HttpWaitForDisconnect( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ConnectionId: Deno.PointerValue /* u64 */, + ConnectionId: bigint | number /* u64 */, Overlapped: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libHTTPAPI_dll.HttpWaitForDisconnect(util.toPointer(RequestQueueHandle), ConnectionId, util.toPointer(Overlapped)); @@ -9095,7 +9095,7 @@ export function HttpWaitForDisconnect( export function HttpWaitForDisconnectEx( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ConnectionId: Deno.PointerValue /* u64 */, + ConnectionId: bigint | number /* u64 */, Reserved: number /* u32 */, Overlapped: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -9104,7 +9104,7 @@ export function HttpWaitForDisconnectEx( export function HttpCancelHttpRequest( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - RequestId: Deno.PointerValue /* u64 */, + RequestId: bigint | number /* u64 */, Overlapped: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libHTTPAPI_dll.HttpCancelHttpRequest(util.toPointer(RequestQueueHandle), RequestId, util.toPointer(Overlapped)); @@ -9126,8 +9126,8 @@ export function HttpIsFeatureSupported( export function HttpDelegateRequestEx( RequestQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, DelegateQueueHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - RequestId: Deno.PointerValue /* u64 */, - DelegateUrlGroupId: Deno.PointerValue /* u64 */, + RequestId: bigint | number /* u64 */, + DelegateUrlGroupId: bigint | number /* u64 */, PropertyInfoSetSize: number /* u32 */, PropertyInfoSet: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { diff --git a/api/Networking/Ldap.ts b/api/Networking/Ldap.ts index 351c7b9..8ec5891 100644 --- a/api/Networking/Ldap.ts +++ b/api/Networking/Ldap.ts @@ -3600,11 +3600,11 @@ export const ERROR_QUERY_STORAGE_ERROR = 2151284737; */ export interface _ld_sb_e__Struct { /** usize */ - sb_sd: Deno.PointerValue; + sb_sd: bigint | number; /** array */ Reserved1: Deno.PointerValue; /** usize */ - sb_naddr: Deno.PointerValue; + sb_naddr: bigint | number; /** array */ Reserved2: Deno.PointerValue; } @@ -3636,7 +3636,7 @@ export class _ld_sb_e__StructView { } // 0x00: usize - get sb_sd(): Deno.PointerValue { + get sb_sd(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3647,7 +3647,7 @@ export class _ld_sb_e__StructView { } // 0x10: usize - get sb_naddr(): Deno.PointerValue { + get sb_naddr(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3658,7 +3658,7 @@ export class _ld_sb_e__StructView { } // 0x00: usize - set sb_sd(value: Deno.PointerValue) { + set sb_sd(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3668,7 +3668,7 @@ export class _ld_sb_e__StructView { } // 0x10: usize - set sb_naddr(value: Deno.PointerValue) { + set sb_naddr(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5580,7 +5580,7 @@ export class LDAP_REFERRAL_CALLBACKView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/Networking/RemoteDifferentialCompression.ts b/api/Networking/RemoteDifferentialCompression.ts index dcceaf8..a07cbc0 100644 --- a/api/Networking/RemoteDifferentialCompression.ts +++ b/api/Networking/RemoteDifferentialCompression.ts @@ -67,9 +67,9 @@ export interface RdcNeed { /** Windows.Win32.Networking.RemoteDifferentialCompression.RdcNeedType */ m_BlockType: RdcNeedType; /** u64 */ - m_FileOffset: Deno.PointerValue; + m_FileOffset: bigint | number; /** u64 */ - m_BlockLength: Deno.PointerValue; + m_BlockLength: bigint | number; } export const sizeofRdcNeed = 24; @@ -105,12 +105,12 @@ export class RdcNeedView { // 0x04: pad4 // 0x08: u64 - get m_FileOffset(): Deno.PointerValue { + get m_FileOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get m_BlockLength(): Deno.PointerValue { + get m_BlockLength(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -122,12 +122,12 @@ export class RdcNeedView { // 0x04: pad4 // 0x08: u64 - set m_FileOffset(value: Deno.PointerValue) { + set m_FileOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set m_BlockLength(value: Deno.PointerValue) { + set m_BlockLength(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } diff --git a/api/Networking/WebSocket.ts b/api/Networking/WebSocket.ts index 4374aba..09884e1 100644 --- a/api/Networking/WebSocket.ts +++ b/api/Networking/WebSocket.ts @@ -48,7 +48,7 @@ export const WEB_SOCKET_INDICATE_RECEIVE_COMPLETE_ACTION = 4; // Structs -export type WEB_SOCKET_HANDLE = Deno.PointerValue; +export type WEB_SOCKET_HANDLE = bigint | number; /** * Windows.Win32.Networking.WebSocket.WEB_SOCKET_PROPERTY (size: 24) diff --git a/api/Networking/WinHttp.ts b/api/Networking/WinHttp.ts index bd8bb8f..bd1441c 100644 --- a/api/Networking/WinHttp.ts +++ b/api/Networking/WinHttp.ts @@ -603,7 +603,7 @@ export interface SOCKADDR_STORAGE { /** array */ __ss_pad1: Deno.PointerValue; /** i64 */ - __ss_align: Deno.PointerValue; + __ss_align: bigint | number; /** array */ __ss_pad2: Deno.PointerValue; } @@ -649,7 +649,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - get __ss_align(): Deno.PointerValue { + get __ss_align(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -672,7 +672,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - set __ss_align(value: Deno.PointerValue) { + set __ss_align(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -820,7 +820,7 @@ export class WINHTTP_REQUEST_TIMESView { */ export interface WINHTTP_REQUEST_STATS { /** u64 */ - ullFlags: Deno.PointerValue; + ullFlags: bigint | number; /** u32 */ ulIndex: number; /** u32 */ @@ -856,7 +856,7 @@ export class WINHTTP_REQUEST_STATSView { } // 0x00: u64 - get ullFlags(): Deno.PointerValue { + get ullFlags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -877,7 +877,7 @@ export class WINHTTP_REQUEST_STATSView { } // 0x00: u64 - set ullFlags(value: Deno.PointerValue) { + set ullFlags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -904,7 +904,7 @@ export interface WINHTTP_MATCH_CONNECTION_GUID { /** System.Guid */ ConnectionGuid: Uint8Array | Deno.PointerValue; /** u64 */ - ullFlags: Deno.PointerValue; + ullFlags: bigint | number; } export const sizeofWINHTTP_MATCH_CONNECTION_GUID = 16; @@ -936,7 +936,7 @@ export class WINHTTP_MATCH_CONNECTION_GUIDView { } // 0x08: u64 - get ullFlags(): Deno.PointerValue { + get ullFlags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -946,7 +946,7 @@ export class WINHTTP_MATCH_CONNECTION_GUIDView { } // 0x08: u64 - set ullFlags(value: Deno.PointerValue) { + set ullFlags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -964,9 +964,9 @@ export interface WINHTTP_RESOLVER_CACHE_CONFIG { /** Windows.Win32.Networking.WinHttp.WINHTTP_SECURE_DNS_SETTING */ SecureDnsSetting: WINHTTP_SECURE_DNS_SETTING; /** u64 */ - ullConnResolutionWaitTime: Deno.PointerValue; + ullConnResolutionWaitTime: bigint | number; /** u64 */ - ullFlags: Deno.PointerValue; + ullFlags: bigint | number; } export const sizeofWINHTTP_RESOLVER_CACHE_CONFIG = 32; @@ -1020,12 +1020,12 @@ export class WINHTTP_RESOLVER_CACHE_CONFIGView { } // 0x10: u64 - get ullConnResolutionWaitTime(): Deno.PointerValue { + get ullConnResolutionWaitTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullFlags(): Deno.PointerValue { + get ullFlags(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1050,12 +1050,12 @@ export class WINHTTP_RESOLVER_CACHE_CONFIGView { } // 0x10: u64 - set ullConnResolutionWaitTime(value: Deno.PointerValue) { + set ullConnResolutionWaitTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullFlags(value: Deno.PointerValue) { + set ullFlags(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -1065,7 +1065,7 @@ export class WINHTTP_RESOLVER_CACHE_CONFIGView { */ export interface WINHTTP_ASYNC_RESULT { /** usize */ - dwResult: Deno.PointerValue; + dwResult: bigint | number; /** u32 */ dwError: number; } @@ -1094,7 +1094,7 @@ export class WINHTTP_ASYNC_RESULTView { } // 0x00: usize - get dwResult(): Deno.PointerValue { + get dwResult(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1106,7 +1106,7 @@ export class WINHTTP_ASYNC_RESULTView { // 0x0c: pad4 // 0x00: usize - set dwResult(value: Deno.PointerValue) { + set dwResult(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1836,7 +1836,7 @@ export class WINHTTP_PROXY_RESULTView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Networking.WinHttp.WINHTTP_PROXY_RESULT_EX (size: 32) @@ -2505,11 +2505,11 @@ export class WINHTTP_CERTIFICATE_INFOView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -2561,7 +2561,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2572,7 +2572,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2608,7 +2608,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2619,7 +2619,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -2656,7 +2656,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -2685,7 +2685,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2697,7 +2697,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3858,7 +3858,7 @@ export function WinHttpSetStatusCallback( hInternet: Deno.PointerValue | Uint8Array /* ptr */, lpfnInternetCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.WinHttp.WINHTTP_STATUS_CALLBACK */, dwNotificationFlags: number /* u32 */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Networking.WinHttp.WINHTTP_STATUS_CALLBACK */ { return libWINHTTP_dll.WinHttpSetStatusCallback(util.toPointer(hInternet), util.toPointer(lpfnInternetCallback), dwNotificationFlags, dwReserved); } @@ -3950,7 +3950,7 @@ export function WinHttpReadDataEx( lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, dwNumberOfBytesToRead: number /* u32 */, lpdwNumberOfBytesRead: Deno.PointerValue | Uint8Array /* ptr */, - ullFlags: Deno.PointerValue /* u64 */, + ullFlags: bigint | number /* u64 */, cbProperty: number /* u32 */, pvProperty: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -4025,8 +4025,8 @@ export function WinHttpAddRequestHeaders( export function WinHttpAddRequestHeadersEx( hRequest: Deno.PointerValue | Uint8Array /* ptr */, dwModifiers: number /* u32 */, - ullFlags: Deno.PointerValue /* u64 */, - ullExtra: Deno.PointerValue /* u64 */, + ullFlags: bigint | number /* u64 */, + ullExtra: bigint | number /* u64 */, cHeaders: number /* u32 */, pHeaders: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -4040,7 +4040,7 @@ export function WinHttpSendRequest( lpOptional: Deno.PointerValue | Uint8Array /* ptr */, dwOptionalLength: number /* u32 */, dwTotalLength: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWINHTTP_dll.WinHttpSendRequest(util.toPointer(hRequest), util.pwstrToFfi(lpszHeaders), dwHeadersLength, util.toPointer(lpOptional), dwOptionalLength, dwTotalLength, dwContext)); } @@ -4086,7 +4086,7 @@ export function WinHttpQueryHeaders( export function WinHttpQueryHeadersEx( hRequest: Deno.PointerValue | Uint8Array /* ptr */, dwInfoLevel: number /* u32 */, - ullFlags: Deno.PointerValue /* u64 */, + ullFlags: bigint | number /* u64 */, uiCodePage: number /* u32 */, pdwIndex: Deno.PointerValue | Uint8Array /* ptr */, pHeaderName: Deno.PointerValue | Uint8Array /* ptr */, @@ -4101,7 +4101,7 @@ export function WinHttpQueryHeadersEx( export function WinHttpQueryConnectionGroup( hInternet: Deno.PointerValue | Uint8Array /* ptr */, pGuidConnection: Deno.PointerValue | Uint8Array /* ptr */, - ullFlags: Deno.PointerValue /* u64 */, + ullFlags: bigint | number /* u64 */, ppResult: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libWINHTTP_dll.WinHttpQueryConnectionGroup(util.toPointer(hInternet), util.toPointer(pGuidConnection), ullFlags, util.toPointer(ppResult)); @@ -4140,7 +4140,7 @@ export function WinHttpGetProxyForUrlEx( hResolver: Deno.PointerValue | Uint8Array /* ptr */, pcwszUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pAutoProxyOptions: Deno.PointerValue | Uint8Array /* ptr */, - pContext: Deno.PointerValue /* usize */, + pContext: bigint | number /* usize */, ): number /* u32 */ { return libWINHTTP_dll.WinHttpGetProxyForUrlEx(util.toPointer(hResolver), util.pwstrToFfi(pcwszUrl), util.toPointer(pAutoProxyOptions), pContext); } @@ -4151,7 +4151,7 @@ export function WinHttpGetProxyForUrlEx2( pAutoProxyOptions: Deno.PointerValue | Uint8Array /* ptr */, cbInterfaceSelectionContext: number /* u32 */, pInterfaceSelectionContext: Deno.PointerValue | Uint8Array /* ptr */, - pContext: Deno.PointerValue /* usize */, + pContext: bigint | number /* usize */, ): number /* u32 */ { return libWINHTTP_dll.WinHttpGetProxyForUrlEx2(util.toPointer(hResolver), util.pwstrToFfi(pcwszUrl), util.toPointer(pAutoProxyOptions), cbInterfaceSelectionContext, util.toPointer(pInterfaceSelectionContext), pContext); } @@ -4236,7 +4236,7 @@ export function WinHttpSetProxySettingsPerUser( export function WinHttpWebSocketCompleteUpgrade( hRequest: Deno.PointerValue | Uint8Array /* ptr */, - pContext: Deno.PointerValue /* usize */, + pContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWINHTTP_dll.WinHttpWebSocketCompleteUpgrade(util.toPointer(hRequest), pContext); } diff --git a/api/Networking/WinInet.ts b/api/Networking/WinInet.ts index ac4a44d..452d622 100644 --- a/api/Networking/WinInet.ts +++ b/api/Networking/WinInet.ts @@ -1120,14 +1120,14 @@ export const ICU_DECODE = 268435456; // Structs -export type HTTP_PUSH_WAIT_HANDLE = Deno.PointerValue; +export type HTTP_PUSH_WAIT_HANDLE = bigint | number; /** * Windows.Win32.Networking.WinInet.INTERNET_ASYNC_RESULT (size: 16) */ export interface INTERNET_ASYNC_RESULT { /** usize */ - dwResult: Deno.PointerValue; + dwResult: bigint | number; /** u32 */ dwError: number; } @@ -1156,7 +1156,7 @@ export class INTERNET_ASYNC_RESULTView { } // 0x00: usize - get dwResult(): Deno.PointerValue { + get dwResult(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1168,7 +1168,7 @@ export class INTERNET_ASYNC_RESULTView { // 0x0c: pad4 // 0x00: usize - set dwResult(value: Deno.PointerValue) { + set dwResult(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1185,7 +1185,7 @@ export class INTERNET_ASYNC_RESULTView { */ export interface INTERNET_DIAGNOSTIC_SOCKET_INFO { /** usize */ - Socket: Deno.PointerValue; + Socket: bigint | number; /** u32 */ SourcePort: number; /** u32 */ @@ -1222,7 +1222,7 @@ export class INTERNET_DIAGNOSTIC_SOCKET_INFOView { } // 0x00: usize - get Socket(): Deno.PointerValue { + get Socket(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1244,7 +1244,7 @@ export class INTERNET_DIAGNOSTIC_SOCKET_INFOView { // 0x14: pad4 // 0x00: usize - set Socket(value: Deno.PointerValue) { + set Socket(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4925,7 +4925,7 @@ export interface INTERNET_AUTH_NOTIFY_DATA { /** Windows.Win32.Networking.WinInet.PFN_AUTH_NOTIFY */ pfnNotify: Uint8Array | Deno.PointerValue; /** usize */ - dwContext: Deno.PointerValue; + dwContext: bigint | number; } export const sizeofINTERNET_AUTH_NOTIFY_DATA = 24; @@ -4971,7 +4971,7 @@ export class INTERNET_AUTH_NOTIFY_DATAView { } // 0x10: usize - get dwContext(): Deno.PointerValue { + get dwContext(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4991,7 +4991,7 @@ export class INTERNET_AUTH_NOTIFY_DATAView { } // 0x10: usize - set dwContext(value: Deno.PointerValue) { + set dwContext(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -5001,9 +5001,9 @@ export class INTERNET_AUTH_NOTIFY_DATAView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -5029,22 +5029,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6002,23 +6002,23 @@ export class INTERNET_CACHE_GROUP_INFOWView { */ export interface AutoProxyHelperVtbl { /** isize */ - IsResolvable: Deno.PointerValue; + IsResolvable: bigint | number; /** isize */ - GetIPAddress: Deno.PointerValue; + GetIPAddress: bigint | number; /** isize */ - ResolveHostName: Deno.PointerValue; + ResolveHostName: bigint | number; /** isize */ - IsInNet: Deno.PointerValue; + IsInNet: bigint | number; /** isize */ - IsResolvableEx: Deno.PointerValue; + IsResolvableEx: bigint | number; /** isize */ - GetIPAddressEx: Deno.PointerValue; + GetIPAddressEx: bigint | number; /** isize */ - ResolveHostNameEx: Deno.PointerValue; + ResolveHostNameEx: bigint | number; /** isize */ - IsInNetEx: Deno.PointerValue; + IsInNetEx: bigint | number; /** isize */ - SortIpList: Deno.PointerValue; + SortIpList: bigint | number; } export const sizeofAutoProxyHelperVtbl = 72; @@ -6058,92 +6058,92 @@ export class AutoProxyHelperVtblView { } // 0x00: isize - get IsResolvable(): Deno.PointerValue { + get IsResolvable(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetIPAddress(): Deno.PointerValue { + get GetIPAddress(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get ResolveHostName(): Deno.PointerValue { + get ResolveHostName(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get IsInNet(): Deno.PointerValue { + get IsInNet(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get IsResolvableEx(): Deno.PointerValue { + get IsResolvableEx(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get GetIPAddressEx(): Deno.PointerValue { + get GetIPAddressEx(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get ResolveHostNameEx(): Deno.PointerValue { + get ResolveHostNameEx(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get IsInNetEx(): Deno.PointerValue { + get IsInNetEx(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get SortIpList(): Deno.PointerValue { + get SortIpList(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x00: isize - set IsResolvable(value: Deno.PointerValue) { + set IsResolvable(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetIPAddress(value: Deno.PointerValue) { + set GetIPAddress(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set ResolveHostName(value: Deno.PointerValue) { + set ResolveHostName(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set IsInNet(value: Deno.PointerValue) { + set IsInNet(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set IsResolvableEx(value: Deno.PointerValue) { + set IsResolvableEx(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set GetIPAddressEx(value: Deno.PointerValue) { + set GetIPAddressEx(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set ResolveHostNameEx(value: Deno.PointerValue) { + set ResolveHostNameEx(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set IsInNetEx(value: Deno.PointerValue) { + set IsInNetEx(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set SortIpList(value: Deno.PointerValue) { + set SortIpList(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } } @@ -8855,7 +8855,7 @@ export interface APP_CACHE_GROUP_INFO { /** Windows.Win32.Foundation.FILETIME */ ftLastAccessTime: Uint8Array | Deno.PointerValue; /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; } export const sizeofAPP_CACHE_GROUP_INFO = 24; @@ -8898,7 +8898,7 @@ export class APP_CACHE_GROUP_INFOView { } // 0x10: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8914,7 +8914,7 @@ export class APP_CACHE_GROUP_INFOView { } // 0x10: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -9601,11 +9601,11 @@ export class ProofOfPossessionCookieInfoView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; // Native Libraries @@ -10959,7 +10959,7 @@ export function InternetConnectA( lpszPassword: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwService: number /* u32 */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.InternetConnectA(util.toPointer(hInternet), util.pstrToFfi(lpszServerName), nServerPort, util.pstrToFfi(lpszUserName), util.pstrToFfi(lpszPassword), dwService, dwFlags, dwContext); } @@ -10972,7 +10972,7 @@ export function InternetConnectW( lpszPassword: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwService: number /* u32 */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.InternetConnectW(util.toPointer(hInternet), util.pwstrToFfi(lpszServerName), nServerPort, util.pwstrToFfi(lpszUserName), util.pwstrToFfi(lpszPassword), dwService, dwFlags, dwContext); } @@ -10983,7 +10983,7 @@ export function InternetOpenUrlA( lpszHeaders: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwHeadersLength: number /* u32 */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.InternetOpenUrlA(util.toPointer(hInternet), util.pstrToFfi(lpszUrl), util.pstrToFfi(lpszHeaders), dwHeadersLength, dwFlags, dwContext); } @@ -10994,7 +10994,7 @@ export function InternetOpenUrlW( lpszHeaders: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwHeadersLength: number /* u32 */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.InternetOpenUrlW(util.toPointer(hInternet), util.pwstrToFfi(lpszUrl), util.pwstrToFfi(lpszHeaders), dwHeadersLength, dwFlags, dwContext); } @@ -11012,7 +11012,7 @@ export function InternetReadFileExA( hFile: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersOut: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.InternetReadFileExA(util.toPointer(hFile), util.toPointer(lpBuffersOut), dwFlags, dwContext)); } @@ -11021,7 +11021,7 @@ export function InternetReadFileExW( hFile: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersOut: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.InternetReadFileExW(util.toPointer(hFile), util.toPointer(lpBuffersOut), dwFlags, dwContext)); } @@ -11031,7 +11031,7 @@ export function InternetSetFilePointer( lDistanceToMove: number /* i32 */, lpDistanceToMoveHigh: Deno.PointerValue | Uint8Array /* ptr */, dwMoveMethod: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): number /* u32 */ { return libWININET_dll.InternetSetFilePointer(util.toPointer(hFile), lDistanceToMove, util.toPointer(lpDistanceToMoveHigh), dwMoveMethod, dwContext); } @@ -11049,7 +11049,7 @@ export function InternetQueryDataAvailable( hFile: Deno.PointerValue | Uint8Array /* ptr */, lpdwNumberOfBytesAvailable: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.InternetQueryDataAvailable(util.toPointer(hFile), util.toPointer(lpdwNumberOfBytesAvailable), dwFlags, dwContext)); } @@ -11179,7 +11179,7 @@ export function FtpFindFirstFileA( lpszSearchFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpFindFileData: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.FtpFindFirstFileA(util.toPointer(hConnect), util.pstrToFfi(lpszSearchFile), util.toPointer(lpFindFileData), dwFlags, dwContext); } @@ -11189,7 +11189,7 @@ export function FtpFindFirstFileW( lpszSearchFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpFindFileData: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.FtpFindFirstFileW(util.toPointer(hConnect), util.pwstrToFfi(lpszSearchFile), util.toPointer(lpFindFileData), dwFlags, dwContext); } @@ -11201,7 +11201,7 @@ export function FtpGetFileA( fFailIfExists: boolean /* Windows.Win32.Foundation.BOOL */, dwFlagsAndAttributes: number /* u32 */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpGetFileA(util.toPointer(hConnect), util.pstrToFfi(lpszRemoteFile), util.pstrToFfi(lpszNewFile), util.boolToFfi(fFailIfExists), dwFlagsAndAttributes, dwFlags, dwContext)); } @@ -11213,7 +11213,7 @@ export function FtpGetFileW( fFailIfExists: boolean /* Windows.Win32.Foundation.BOOL */, dwFlagsAndAttributes: number /* u32 */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpGetFileW(util.toPointer(hConnect), util.pwstrToFfi(lpszRemoteFile), util.pwstrToFfi(lpszNewFile), util.boolToFfi(fFailIfExists), dwFlagsAndAttributes, dwFlags, dwContext)); } @@ -11223,7 +11223,7 @@ export function FtpPutFileA( lpszLocalFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpszNewRemoteFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: FTP_FLAGS /* Windows.Win32.Networking.WinInet.FTP_FLAGS */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpPutFileA(util.toPointer(hConnect), util.pstrToFfi(lpszLocalFile), util.pstrToFfi(lpszNewRemoteFile), dwFlags, dwContext)); } @@ -11233,7 +11233,7 @@ export function FtpPutFileW( lpszLocalFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpszNewRemoteFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: FTP_FLAGS /* Windows.Win32.Networking.WinInet.FTP_FLAGS */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpPutFileW(util.toPointer(hConnect), util.pwstrToFfi(lpszLocalFile), util.pwstrToFfi(lpszNewRemoteFile), dwFlags, dwContext)); } @@ -11245,7 +11245,7 @@ export function FtpGetFileEx( fFailIfExists: boolean /* Windows.Win32.Foundation.BOOL */, dwFlagsAndAttributes: number /* u32 */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpGetFileEx(util.toPointer(hFtpSession), util.pstrToFfi(lpszRemoteFile), util.pwstrToFfi(lpszNewFile), util.boolToFfi(fFailIfExists), dwFlagsAndAttributes, dwFlags, dwContext)); } @@ -11255,7 +11255,7 @@ export function FtpPutFileEx( lpszLocalFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpszNewRemoteFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpPutFileEx(util.toPointer(hFtpSession), util.pwstrToFfi(lpszLocalFile), util.pstrToFfi(lpszNewRemoteFile), dwFlags, dwContext)); } @@ -11295,7 +11295,7 @@ export function FtpOpenFileA( lpszFileName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwAccess: number /* u32 */, dwFlags: FTP_FLAGS /* Windows.Win32.Networking.WinInet.FTP_FLAGS */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.FtpOpenFileA(util.toPointer(hConnect), util.pstrToFfi(lpszFileName), dwAccess, dwFlags, dwContext); } @@ -11305,7 +11305,7 @@ export function FtpOpenFileW( lpszFileName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwAccess: number /* u32 */, dwFlags: FTP_FLAGS /* Windows.Win32.Networking.WinInet.FTP_FLAGS */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.FtpOpenFileW(util.toPointer(hConnect), util.pwstrToFfi(lpszFileName), dwAccess, dwFlags, dwContext); } @@ -11373,7 +11373,7 @@ export function FtpCommandA( fExpectResponse: boolean /* Windows.Win32.Foundation.BOOL */, dwFlags: FTP_FLAGS /* Windows.Win32.Networking.WinInet.FTP_FLAGS */, lpszCommand: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, phFtpCommand: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpCommandA(util.toPointer(hConnect), util.boolToFfi(fExpectResponse), dwFlags, util.pstrToFfi(lpszCommand), dwContext, util.toPointer(phFtpCommand))); @@ -11384,7 +11384,7 @@ export function FtpCommandW( fExpectResponse: boolean /* Windows.Win32.Foundation.BOOL */, dwFlags: FTP_FLAGS /* Windows.Win32.Networking.WinInet.FTP_FLAGS */, lpszCommand: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, phFtpCommand: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.FtpCommandW(util.toPointer(hConnect), util.boolToFfi(fExpectResponse), dwFlags, util.pwstrToFfi(lpszCommand), dwContext, util.toPointer(phFtpCommand))); @@ -11441,7 +11441,7 @@ export function GopherFindFirstFileA( lpszSearchString: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpFindData: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.GopherFindFirstFileA(util.toPointer(hConnect), util.pstrToFfi(lpszLocator), util.pstrToFfi(lpszSearchString), util.toPointer(lpFindData), dwFlags, dwContext); } @@ -11452,7 +11452,7 @@ export function GopherFindFirstFileW( lpszSearchString: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpFindData: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.GopherFindFirstFileW(util.toPointer(hConnect), util.pwstrToFfi(lpszLocator), util.pwstrToFfi(lpszSearchString), util.toPointer(lpFindData), dwFlags, dwContext); } @@ -11462,7 +11462,7 @@ export function GopherOpenFileA( lpszLocator: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpszView: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.GopherOpenFileA(util.toPointer(hConnect), util.pstrToFfi(lpszLocator), util.pstrToFfi(lpszView), dwFlags, dwContext); } @@ -11472,7 +11472,7 @@ export function GopherOpenFileW( lpszLocator: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpszView: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.GopherOpenFileW(util.toPointer(hConnect), util.pwstrToFfi(lpszLocator), util.pwstrToFfi(lpszView), dwFlags, dwContext); } @@ -11485,7 +11485,7 @@ export function GopherGetAttributeA( dwBufferLength: number /* u32 */, lpdwCharactersReturned: Deno.PointerValue | Uint8Array /* ptr */, lpfnEnumerator: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.WinInet.GOPHER_ATTRIBUTE_ENUMERATOR */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.GopherGetAttributeA(util.toPointer(hConnect), util.pstrToFfi(lpszLocator), util.pstrToFfi(lpszAttributeName), util.toPointer(lpBuffer), dwBufferLength, util.toPointer(lpdwCharactersReturned), util.toPointer(lpfnEnumerator), dwContext)); } @@ -11498,7 +11498,7 @@ export function GopherGetAttributeW( dwBufferLength: number /* u32 */, lpdwCharactersReturned: Deno.PointerValue | Uint8Array /* ptr */, lpfnEnumerator: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.WinInet.GOPHER_ATTRIBUTE_ENUMERATOR */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.GopherGetAttributeW(util.toPointer(hConnect), util.pwstrToFfi(lpszLocator), util.pwstrToFfi(lpszAttributeName), util.toPointer(lpBuffer), dwBufferLength, util.toPointer(lpdwCharactersReturned), util.toPointer(lpfnEnumerator), dwContext)); } @@ -11511,7 +11511,7 @@ export function HttpOpenRequestA( lpszReferrer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lplpszAcceptTypes: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.HttpOpenRequestA(util.toPointer(hConnect), util.pstrToFfi(lpszVerb), util.pstrToFfi(lpszObjectName), util.pstrToFfi(lpszVersion), util.pstrToFfi(lpszReferrer), util.toPointer(lplpszAcceptTypes), dwFlags, dwContext); } @@ -11524,7 +11524,7 @@ export function HttpOpenRequestW( lpszReferrer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lplpszAcceptTypes: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.HttpOpenRequestW(util.toPointer(hConnect), util.pwstrToFfi(lpszVerb), util.pwstrToFfi(lpszObjectName), util.pwstrToFfi(lpszVersion), util.pwstrToFfi(lpszReferrer), util.toPointer(lplpszAcceptTypes), dwFlags, dwContext); } @@ -11572,7 +11572,7 @@ export function HttpSendRequestExA( lpBuffersIn: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersOut: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.HttpSendRequestExA(util.toPointer(hRequest), util.toPointer(lpBuffersIn), util.toPointer(lpBuffersOut), dwFlags, dwContext)); } @@ -11582,7 +11582,7 @@ export function HttpSendRequestExW( lpBuffersIn: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersOut: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.HttpSendRequestExW(util.toPointer(hRequest), util.toPointer(lpBuffersIn), util.toPointer(lpBuffersOut), dwFlags, dwContext)); } @@ -11591,7 +11591,7 @@ export function HttpEndRequestA( hRequest: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersOut: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.HttpEndRequestA(util.toPointer(hRequest), util.toPointer(lpBuffersOut), dwFlags, dwContext)); } @@ -11600,7 +11600,7 @@ export function HttpEndRequestW( hRequest: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersOut: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.HttpEndRequestW(util.toPointer(hRequest), util.toPointer(lpBuffersOut), dwFlags, dwContext)); } @@ -11664,7 +11664,7 @@ export function InternetSetCookieExA( lpszCookieName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpszCookieData: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): number /* u32 */ { return libWININET_dll.InternetSetCookieExA(util.pstrToFfi(lpszUrl), util.pstrToFfi(lpszCookieName), util.pstrToFfi(lpszCookieData), dwFlags, dwReserved); } @@ -11674,7 +11674,7 @@ export function InternetSetCookieExW( lpszCookieName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpszCookieData: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): number /* u32 */ { return libWININET_dll.InternetSetCookieExW(util.pwstrToFfi(lpszUrl), util.pwstrToFfi(lpszCookieName), util.pwstrToFfi(lpszCookieData), dwFlags, dwReserved); } @@ -11913,7 +11913,7 @@ export function ReadUrlCacheEntryStream( export function ReadUrlCacheEntryStreamEx( hUrlCacheStream: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - qwLocation: Deno.PointerValue /* u64 */, + qwLocation: bigint | number /* u64 */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, lpdwLen: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -11963,7 +11963,7 @@ export function FindNextUrlCacheGroup( } export function GetUrlCacheGroupAttributeA( - gid: Deno.PointerValue /* i64 */, + gid: bigint | number /* i64 */, dwFlags: number /* u32 */, dwAttributes: number /* u32 */, lpGroupInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -11974,7 +11974,7 @@ export function GetUrlCacheGroupAttributeA( } export function GetUrlCacheGroupAttributeW( - gid: Deno.PointerValue /* i64 */, + gid: bigint | number /* i64 */, dwFlags: number /* u32 */, dwAttributes: number /* u32 */, lpGroupInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -11985,7 +11985,7 @@ export function GetUrlCacheGroupAttributeW( } export function SetUrlCacheGroupAttributeA( - gid: Deno.PointerValue /* i64 */, + gid: bigint | number /* i64 */, dwFlags: number /* u32 */, dwAttributes: number /* u32 */, lpGroupInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -11995,7 +11995,7 @@ export function SetUrlCacheGroupAttributeA( } export function SetUrlCacheGroupAttributeW( - gid: Deno.PointerValue /* i64 */, + gid: bigint | number /* i64 */, dwFlags: number /* u32 */, dwAttributes: number /* u32 */, lpGroupInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -12047,12 +12047,12 @@ export function SetUrlCacheEntryInfoW( export function CreateUrlCacheGroup( dwFlags: number /* u32 */, lpReserved: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* i64 */ { +): bigint | number /* i64 */ { return libWININET_dll.CreateUrlCacheGroup(dwFlags, util.toPointer(lpReserved)); } export function DeleteUrlCacheGroup( - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, dwFlags: number /* u32 */, lpReserved: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -12062,7 +12062,7 @@ export function DeleteUrlCacheGroup( export function SetUrlCacheEntryGroupA( lpszUrlName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, pbGroupAttributes: Deno.PointerValue | Uint8Array /* ptr */, cbGroupAttributes: number /* u32 */, lpReserved: Deno.PointerValue | Uint8Array /* ptr */, @@ -12073,7 +12073,7 @@ export function SetUrlCacheEntryGroupA( export function SetUrlCacheEntryGroupW( lpszUrlName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, pbGroupAttributes: Deno.PointerValue | Uint8Array /* ptr */, cbGroupAttributes: number /* u32 */, lpReserved: Deno.PointerValue | Uint8Array /* ptr */, @@ -12084,7 +12084,7 @@ export function SetUrlCacheEntryGroupW( export function SetUrlCacheEntryGroup( lpszUrlName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, pbGroupAttributes: Deno.PointerValue | Uint8Array /* ptr */, cbGroupAttributes: number /* u32 */, lpReserved: Deno.PointerValue | Uint8Array /* ptr */, @@ -12096,7 +12096,7 @@ export function FindFirstUrlCacheEntryExA( lpszUrlSearchPattern: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, dwFilter: number /* u32 */, - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, lpFirstCacheEntryInfo: Deno.PointerValue | Uint8Array /* ptr */, lpcbCacheEntryInfo: Deno.PointerValue | Uint8Array /* ptr */, lpGroupAttributes: Deno.PointerValue | Uint8Array /* ptr */, @@ -12110,7 +12110,7 @@ export function FindFirstUrlCacheEntryExW( lpszUrlSearchPattern: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, dwFilter: number /* u32 */, - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, lpFirstCacheEntryInfo: Deno.PointerValue | Uint8Array /* ptr */, lpcbCacheEntryInfo: Deno.PointerValue | Uint8Array /* ptr */, lpGroupAttributes: Deno.PointerValue | Uint8Array /* ptr */, @@ -12229,7 +12229,7 @@ export function InternetDial( } export function InternetHangUp( - dwConnection: Deno.PointerValue /* usize */, + dwConnection: bigint | number /* usize */, dwReserved: number /* u32 */, ): number /* u32 */ { return libWININET_dll.InternetHangUp(dwConnection, dwReserved); @@ -12549,14 +12549,14 @@ export function InternetShowSecurityInfoByURL( export function InternetFortezzaCommand( dwCommand: number /* u32 */, hwnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.InternetFortezzaCommand(dwCommand, (hwnd), dwReserved)); } export function InternetQueryFortezzaStatus( pdwStatus: Deno.PointerValue | Uint8Array /* ptr */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.InternetQueryFortezzaStatus(util.toPointer(pdwStatus), dwReserved)); } @@ -12565,7 +12565,7 @@ export function InternetWriteFileExA( hFile: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersIn: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.InternetWriteFileExA(util.toPointer(hFile), util.toPointer(lpBuffersIn), dwFlags, dwContext)); } @@ -12574,7 +12574,7 @@ export function InternetWriteFileExW( hFile: Deno.PointerValue | Uint8Array /* ptr */, lpBuffersIn: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWININET_dll.InternetWriteFileExW(util.toPointer(hFile), util.toPointer(lpBuffersIn), dwFlags, dwContext)); } @@ -12776,7 +12776,7 @@ export function FreeUrlCacheSpaceW( } export function UrlCacheFreeGlobalSpace( - ullTargetSize: Deno.PointerValue /* u64 */, + ullTargetSize: bigint | number /* u64 */, dwFilter: number /* u32 */, ): number /* u32 */ { return libWININET_dll.UrlCacheFreeGlobalSpace(ullTargetSize, dwFilter); @@ -12847,7 +12847,7 @@ export function UpdateUrlCacheContentPath( export function RegisterUrlCacheNotification( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, uMsg: number /* u32 */, - gid: Deno.PointerValue /* i64 */, + gid: bigint | number /* i64 */, dwOpsFilter: number /* u32 */, dwReserved: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -13067,7 +13067,7 @@ export function UrlCacheRetrieveEntryFile( export function UrlCacheReadEntryStream( hUrlCacheStream: Deno.PointerValue | Uint8Array /* ptr */, - ullLocation: Deno.PointerValue /* u64 */, + ullLocation: bigint | number /* u64 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, dwBufferLen: number /* u32 */, pdwBufferLen: Deno.PointerValue | Uint8Array /* ptr */, @@ -13098,7 +13098,7 @@ export function UrlCacheCreateContainer( pwszName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pwszPrefix: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pwszDirectory: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - ullLimit: Deno.PointerValue /* u64 */, + ullLimit: bigint | number /* u64 */, dwOptions: number /* u32 */, ): number /* u32 */ { return libWININET_dll.UrlCacheCreateContainer(util.pwstrToFfi(pwszName), util.pwstrToFfi(pwszPrefix), util.pwstrToFfi(pwszDirectory), ullLimit, dwOptions); @@ -13128,7 +13128,7 @@ export function UrlCacheGetGlobalLimit( export function UrlCacheSetGlobalLimit( limitType: URL_CACHE_LIMIT_TYPE /* Windows.Win32.Networking.WinInet.URL_CACHE_LIMIT_TYPE */, - ullLimit: Deno.PointerValue /* u64 */, + ullLimit: bigint | number /* u64 */, ): number /* u32 */ { return libWININET_dll.UrlCacheSetGlobalLimit(limitType, ullLimit); } @@ -13148,7 +13148,7 @@ export function UrlCacheFindFirstEntry( pwszPrefix: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, dwFilter: number /* u32 */, - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, pCacheEntryInfo: Deno.PointerValue | Uint8Array /* ptr */, phFind: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { @@ -13216,7 +13216,7 @@ export function PerformOperationOverUrlCacheA( pszUrlSearchPattern: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, dwFilter: number /* u32 */, - GroupId: Deno.PointerValue /* i64 */, + GroupId: bigint | number /* i64 */, pReserved1: Deno.PointerValue | Uint8Array /* ptr */, pdwReserved2: Deno.PointerValue | Uint8Array /* ptr */, pReserved3: Deno.PointerValue | Uint8Array /* ptr */, @@ -13280,7 +13280,7 @@ export function IsDomainLegalCookieDomainW( export function HttpWebSocketCompleteUpgrade( hRequest: Deno.PointerValue | Uint8Array /* ptr */, - dwContext: Deno.PointerValue /* usize */, + dwContext: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libWININET_dll.HttpWebSocketCompleteUpgrade(util.toPointer(hRequest), dwContext); } diff --git a/api/Networking/WinSock.ts b/api/Networking/WinSock.ts index 6d489c5..d3e2798 100644 --- a/api/Networking/WinSock.ts +++ b/api/Networking/WinSock.ts @@ -1660,9 +1660,9 @@ export const FallbackIndexMax = 1; // Structs -export type HWSAEVENT = Deno.PointerValue; +export type HWSAEVENT = bigint | number; -export type SOCKET = Deno.PointerValue; +export type SOCKET = bigint | number; /** * Windows.Win32.Networking.WinSock.FLOWSPEC (size: 32) @@ -2543,7 +2543,7 @@ export interface SOCKADDR_STORAGE { /** array */ __ss_pad1: Deno.PointerValue; /** i64 */ - __ss_align: Deno.PointerValue; + __ss_align: bigint | number; /** array */ __ss_pad2: Deno.PointerValue; } @@ -2589,7 +2589,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - get __ss_align(): Deno.PointerValue { + get __ss_align(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -2612,7 +2612,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - set __ss_align(value: Deno.PointerValue) { + set __ss_align(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -2631,7 +2631,7 @@ export interface SOCKADDR_STORAGE_XP { /** array */ __ss_pad1: Deno.PointerValue; /** i64 */ - __ss_align: Deno.PointerValue; + __ss_align: bigint | number; /** array */ __ss_pad2: Deno.PointerValue; } @@ -2677,7 +2677,7 @@ export class SOCKADDR_STORAGE_XPView { } // 0x10: i64 - get __ss_align(): Deno.PointerValue { + get __ss_align(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -2700,7 +2700,7 @@ export class SOCKADDR_STORAGE_XPView { } // 0x10: i64 - set __ss_align(value: Deno.PointerValue) { + set __ss_align(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -2860,9 +2860,9 @@ export class SOCKET_PROCESSOR_AFFINITYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2888,22 +2888,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3360,7 +3360,7 @@ export class WSAMSGView { */ export interface CMSGHDR { /** usize */ - cmsg_len: Deno.PointerValue; + cmsg_len: bigint | number; /** i32 */ cmsg_level: number; /** i32 */ @@ -3392,7 +3392,7 @@ export class CMSGHDRView { } // 0x00: usize - get cmsg_len(): Deno.PointerValue { + get cmsg_len(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3407,7 +3407,7 @@ export class CMSGHDRView { } // 0x00: usize - set cmsg_len(value: Deno.PointerValue) { + set cmsg_len(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3435,7 +3435,7 @@ export interface ADDRINFOA { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PSTR */ ai_canonname: string | null | Uint8Array; /** ptr */ @@ -3502,7 +3502,7 @@ export class ADDRINFOAView { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3545,7 +3545,7 @@ export class ADDRINFOAView { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3581,7 +3581,7 @@ export interface ADDRINFOW { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PWSTR */ ai_canonname: string | null | Uint8Array | Uint16Array; /** ptr */ @@ -3648,7 +3648,7 @@ export class ADDRINFOWView { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3691,7 +3691,7 @@ export class ADDRINFOWView { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3725,7 +3725,7 @@ export interface ADDRINFOEXA { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PSTR */ ai_canonname: string | null | Uint8Array; /** ptr */ @@ -3733,7 +3733,7 @@ export interface ADDRINFOEXA { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -3804,7 +3804,7 @@ export class ADDRINFOEXAView { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3827,7 +3827,7 @@ export class ADDRINFOEXAView { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -3864,7 +3864,7 @@ export class ADDRINFOEXAView { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3885,7 +3885,7 @@ export class ADDRINFOEXAView { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -3913,7 +3913,7 @@ export interface ADDRINFOEXW { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PWSTR */ ai_canonname: string | null | Uint8Array | Uint16Array; /** ptr */ @@ -3921,7 +3921,7 @@ export interface ADDRINFOEXW { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -3992,7 +3992,7 @@ export class ADDRINFOEXWView { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4015,7 +4015,7 @@ export class ADDRINFOEXWView { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4052,7 +4052,7 @@ export class ADDRINFOEXWView { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4073,7 +4073,7 @@ export class ADDRINFOEXWView { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -4101,7 +4101,7 @@ export interface ADDRINFOEX2A { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PSTR */ ai_canonname: string | null | Uint8Array; /** ptr */ @@ -4109,7 +4109,7 @@ export interface ADDRINFOEX2A { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -4192,7 +4192,7 @@ export class ADDRINFOEX2AView { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4215,7 +4215,7 @@ export class ADDRINFOEX2AView { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4265,7 +4265,7 @@ export class ADDRINFOEX2AView { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4286,7 +4286,7 @@ export class ADDRINFOEX2AView { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -4327,7 +4327,7 @@ export interface ADDRINFOEX2W { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PWSTR */ ai_canonname: string | null | Uint8Array | Uint16Array; /** ptr */ @@ -4335,7 +4335,7 @@ export interface ADDRINFOEX2W { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -4418,7 +4418,7 @@ export class ADDRINFOEX2WView { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4441,7 +4441,7 @@ export class ADDRINFOEX2WView { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4491,7 +4491,7 @@ export class ADDRINFOEX2WView { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4512,7 +4512,7 @@ export class ADDRINFOEX2WView { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -4553,7 +4553,7 @@ export interface ADDRINFOEX3 { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PWSTR */ ai_canonname: string | null | Uint8Array | Uint16Array; /** ptr */ @@ -4561,7 +4561,7 @@ export interface ADDRINFOEX3 { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -4649,7 +4649,7 @@ export class ADDRINFOEX3View { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4672,7 +4672,7 @@ export class ADDRINFOEX3View { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4729,7 +4729,7 @@ export class ADDRINFOEX3View { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4750,7 +4750,7 @@ export class ADDRINFOEX3View { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -4785,7 +4785,7 @@ export class ADDRINFOEX3View { // 0x5c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Networking.WinSock.ADDRINFOEX4 (size: 104) @@ -4800,7 +4800,7 @@ export interface ADDRINFOEX4 { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PWSTR */ ai_canonname: string | null | Uint8Array | Uint16Array; /** ptr */ @@ -4808,7 +4808,7 @@ export interface ADDRINFOEX4 { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -4900,7 +4900,7 @@ export class ADDRINFOEX4View { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4923,7 +4923,7 @@ export class ADDRINFOEX4View { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4986,7 +4986,7 @@ export class ADDRINFOEX4View { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5007,7 +5007,7 @@ export class ADDRINFOEX4View { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5060,7 +5060,7 @@ export interface ADDRINFOEX5 { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PWSTR */ ai_canonname: string | null | Uint8Array | Uint16Array; /** ptr */ @@ -5068,7 +5068,7 @@ export interface ADDRINFOEX5 { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -5165,7 +5165,7 @@ export class ADDRINFOEX5View { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5188,7 +5188,7 @@ export class ADDRINFOEX5View { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5258,7 +5258,7 @@ export class ADDRINFOEX5View { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5279,7 +5279,7 @@ export class ADDRINFOEX5View { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5333,7 +5333,7 @@ export interface ADDRINFO_DNS_SERVER { /** u32 */ ai_servertype: number; /** u64 */ - ai_flags: Deno.PointerValue; + ai_flags: bigint | number; /** u32 */ ai_addrlen: number; /** ptr */ @@ -5380,7 +5380,7 @@ export class ADDRINFO_DNS_SERVERView { // 0x04: pad4 // 0x08: u64 - get ai_flags(): Deno.PointerValue { + get ai_flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5411,7 +5411,7 @@ export class ADDRINFO_DNS_SERVERView { // 0x04: pad4 // 0x08: u64 - set ai_flags(value: Deno.PointerValue) { + set ai_flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5446,7 +5446,7 @@ export interface ADDRINFOEX6 { /** i32 */ ai_protocol: number; /** usize */ - ai_addrlen: Deno.PointerValue; + ai_addrlen: bigint | number; /** Windows.Win32.Foundation.PWSTR */ ai_canonname: string | null | Uint8Array | Uint16Array; /** ptr */ @@ -5454,7 +5454,7 @@ export interface ADDRINFOEX6 { /** ptr */ ai_blob: Deno.PointerValue | Uint8Array; /** usize */ - ai_bloblen: Deno.PointerValue; + ai_bloblen: bigint | number; /** ptr */ ai_provider: Deno.PointerValue | Uint8Array; /** ptr */ @@ -5474,7 +5474,7 @@ export interface ADDRINFOEX6 { /** ptr */ ai_servers: Deno.PointerValue | Uint8Array; /** u64 */ - ai_responseflags: Deno.PointerValue; + ai_responseflags: bigint | number; } export const sizeofADDRINFOEX6 = 128; @@ -5562,7 +5562,7 @@ export class ADDRINFOEX6View { } // 0x10: usize - get ai_addrlen(): Deno.PointerValue { + get ai_addrlen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5585,7 +5585,7 @@ export class ADDRINFOEX6View { } // 0x30: usize - get ai_bloblen(): Deno.PointerValue { + get ai_bloblen(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5644,7 +5644,7 @@ export class ADDRINFOEX6View { } // 0x78: u64 - get ai_responseflags(): Deno.PointerValue { + get ai_responseflags(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -5669,7 +5669,7 @@ export class ADDRINFOEX6View { } // 0x10: usize - set ai_addrlen(value: Deno.PointerValue) { + set ai_addrlen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5690,7 +5690,7 @@ export class ADDRINFOEX6View { } // 0x30: usize - set ai_bloblen(value: Deno.PointerValue) { + set ai_bloblen(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5745,7 +5745,7 @@ export class ADDRINFOEX6View { } // 0x78: u64 - set ai_responseflags(value: Deno.PointerValue) { + set ai_responseflags(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } } @@ -12498,31 +12498,31 @@ export class RM_SEND_WINDOWView { */ export interface RM_SENDER_STATS { /** u64 */ - DataBytesSent: Deno.PointerValue; + DataBytesSent: bigint | number; /** u64 */ - TotalBytesSent: Deno.PointerValue; + TotalBytesSent: bigint | number; /** u64 */ - NaksReceived: Deno.PointerValue; + NaksReceived: bigint | number; /** u64 */ - NaksReceivedTooLate: Deno.PointerValue; + NaksReceivedTooLate: bigint | number; /** u64 */ - NumOutstandingNaks: Deno.PointerValue; + NumOutstandingNaks: bigint | number; /** u64 */ - NumNaksAfterRData: Deno.PointerValue; + NumNaksAfterRData: bigint | number; /** u64 */ - RepairPacketsSent: Deno.PointerValue; + RepairPacketsSent: bigint | number; /** u64 */ - BufferSpaceAvailable: Deno.PointerValue; + BufferSpaceAvailable: bigint | number; /** u64 */ - TrailingEdgeSeqId: Deno.PointerValue; + TrailingEdgeSeqId: bigint | number; /** u64 */ - LeadingEdgeSeqId: Deno.PointerValue; + LeadingEdgeSeqId: bigint | number; /** u64 */ - RateKBitsPerSecOverall: Deno.PointerValue; + RateKBitsPerSecOverall: bigint | number; /** u64 */ - RateKBitsPerSecLast: Deno.PointerValue; + RateKBitsPerSecLast: bigint | number; /** u64 */ - TotalODataPacketsSent: Deno.PointerValue; + TotalODataPacketsSent: bigint | number; } export const sizeofRM_SENDER_STATS = 104; @@ -12570,132 +12570,132 @@ export class RM_SENDER_STATSView { } // 0x00: u64 - get DataBytesSent(): Deno.PointerValue { + get DataBytesSent(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TotalBytesSent(): Deno.PointerValue { + get TotalBytesSent(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get NaksReceived(): Deno.PointerValue { + get NaksReceived(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get NaksReceivedTooLate(): Deno.PointerValue { + get NaksReceivedTooLate(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get NumOutstandingNaks(): Deno.PointerValue { + get NumOutstandingNaks(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get NumNaksAfterRData(): Deno.PointerValue { + get NumNaksAfterRData(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get RepairPacketsSent(): Deno.PointerValue { + get RepairPacketsSent(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get BufferSpaceAvailable(): Deno.PointerValue { + get BufferSpaceAvailable(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get TrailingEdgeSeqId(): Deno.PointerValue { + get TrailingEdgeSeqId(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get LeadingEdgeSeqId(): Deno.PointerValue { + get LeadingEdgeSeqId(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get RateKBitsPerSecOverall(): Deno.PointerValue { + get RateKBitsPerSecOverall(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get RateKBitsPerSecLast(): Deno.PointerValue { + get RateKBitsPerSecLast(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get TotalODataPacketsSent(): Deno.PointerValue { + get TotalODataPacketsSent(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x00: u64 - set DataBytesSent(value: Deno.PointerValue) { + set DataBytesSent(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TotalBytesSent(value: Deno.PointerValue) { + set TotalBytesSent(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set NaksReceived(value: Deno.PointerValue) { + set NaksReceived(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set NaksReceivedTooLate(value: Deno.PointerValue) { + set NaksReceivedTooLate(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set NumOutstandingNaks(value: Deno.PointerValue) { + set NumOutstandingNaks(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set NumNaksAfterRData(value: Deno.PointerValue) { + set NumNaksAfterRData(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set RepairPacketsSent(value: Deno.PointerValue) { + set RepairPacketsSent(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set BufferSpaceAvailable(value: Deno.PointerValue) { + set BufferSpaceAvailable(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set TrailingEdgeSeqId(value: Deno.PointerValue) { + set TrailingEdgeSeqId(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set LeadingEdgeSeqId(value: Deno.PointerValue) { + set LeadingEdgeSeqId(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set RateKBitsPerSecOverall(value: Deno.PointerValue) { + set RateKBitsPerSecOverall(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set RateKBitsPerSecLast(value: Deno.PointerValue) { + set RateKBitsPerSecLast(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set TotalODataPacketsSent(value: Deno.PointerValue) { + set TotalODataPacketsSent(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } } @@ -12705,41 +12705,41 @@ export class RM_SENDER_STATSView { */ export interface RM_RECEIVER_STATS { /** u64 */ - NumODataPacketsReceived: Deno.PointerValue; + NumODataPacketsReceived: bigint | number; /** u64 */ - NumRDataPacketsReceived: Deno.PointerValue; + NumRDataPacketsReceived: bigint | number; /** u64 */ - NumDuplicateDataPackets: Deno.PointerValue; + NumDuplicateDataPackets: bigint | number; /** u64 */ - DataBytesReceived: Deno.PointerValue; + DataBytesReceived: bigint | number; /** u64 */ - TotalBytesReceived: Deno.PointerValue; + TotalBytesReceived: bigint | number; /** u64 */ - RateKBitsPerSecOverall: Deno.PointerValue; + RateKBitsPerSecOverall: bigint | number; /** u64 */ - RateKBitsPerSecLast: Deno.PointerValue; + RateKBitsPerSecLast: bigint | number; /** u64 */ - TrailingEdgeSeqId: Deno.PointerValue; + TrailingEdgeSeqId: bigint | number; /** u64 */ - LeadingEdgeSeqId: Deno.PointerValue; + LeadingEdgeSeqId: bigint | number; /** u64 */ - AverageSequencesInWindow: Deno.PointerValue; + AverageSequencesInWindow: bigint | number; /** u64 */ - MinSequencesInWindow: Deno.PointerValue; + MinSequencesInWindow: bigint | number; /** u64 */ - MaxSequencesInWindow: Deno.PointerValue; + MaxSequencesInWindow: bigint | number; /** u64 */ - FirstNakSequenceNumber: Deno.PointerValue; + FirstNakSequenceNumber: bigint | number; /** u64 */ - NumPendingNaks: Deno.PointerValue; + NumPendingNaks: bigint | number; /** u64 */ - NumOutstandingNaks: Deno.PointerValue; + NumOutstandingNaks: bigint | number; /** u64 */ - NumDataPacketsBuffered: Deno.PointerValue; + NumDataPacketsBuffered: bigint | number; /** u64 */ - TotalSelectiveNaksSent: Deno.PointerValue; + TotalSelectiveNaksSent: bigint | number; /** u64 */ - TotalParityNaksSent: Deno.PointerValue; + TotalParityNaksSent: bigint | number; } export const sizeofRM_RECEIVER_STATS = 144; @@ -12797,182 +12797,182 @@ export class RM_RECEIVER_STATSView { } // 0x00: u64 - get NumODataPacketsReceived(): Deno.PointerValue { + get NumODataPacketsReceived(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get NumRDataPacketsReceived(): Deno.PointerValue { + get NumRDataPacketsReceived(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get NumDuplicateDataPackets(): Deno.PointerValue { + get NumDuplicateDataPackets(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get DataBytesReceived(): Deno.PointerValue { + get DataBytesReceived(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get TotalBytesReceived(): Deno.PointerValue { + get TotalBytesReceived(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get RateKBitsPerSecOverall(): Deno.PointerValue { + get RateKBitsPerSecOverall(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get RateKBitsPerSecLast(): Deno.PointerValue { + get RateKBitsPerSecLast(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get TrailingEdgeSeqId(): Deno.PointerValue { + get TrailingEdgeSeqId(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get LeadingEdgeSeqId(): Deno.PointerValue { + get LeadingEdgeSeqId(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get AverageSequencesInWindow(): Deno.PointerValue { + get AverageSequencesInWindow(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get MinSequencesInWindow(): Deno.PointerValue { + get MinSequencesInWindow(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get MaxSequencesInWindow(): Deno.PointerValue { + get MaxSequencesInWindow(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get FirstNakSequenceNumber(): Deno.PointerValue { + get FirstNakSequenceNumber(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get NumPendingNaks(): Deno.PointerValue { + get NumPendingNaks(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get NumOutstandingNaks(): Deno.PointerValue { + get NumOutstandingNaks(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get NumDataPacketsBuffered(): Deno.PointerValue { + get NumDataPacketsBuffered(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get TotalSelectiveNaksSent(): Deno.PointerValue { + get TotalSelectiveNaksSent(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get TotalParityNaksSent(): Deno.PointerValue { + get TotalParityNaksSent(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x00: u64 - set NumODataPacketsReceived(value: Deno.PointerValue) { + set NumODataPacketsReceived(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set NumRDataPacketsReceived(value: Deno.PointerValue) { + set NumRDataPacketsReceived(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set NumDuplicateDataPackets(value: Deno.PointerValue) { + set NumDuplicateDataPackets(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set DataBytesReceived(value: Deno.PointerValue) { + set DataBytesReceived(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set TotalBytesReceived(value: Deno.PointerValue) { + set TotalBytesReceived(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set RateKBitsPerSecOverall(value: Deno.PointerValue) { + set RateKBitsPerSecOverall(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set RateKBitsPerSecLast(value: Deno.PointerValue) { + set RateKBitsPerSecLast(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set TrailingEdgeSeqId(value: Deno.PointerValue) { + set TrailingEdgeSeqId(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set LeadingEdgeSeqId(value: Deno.PointerValue) { + set LeadingEdgeSeqId(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set AverageSequencesInWindow(value: Deno.PointerValue) { + set AverageSequencesInWindow(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set MinSequencesInWindow(value: Deno.PointerValue) { + set MinSequencesInWindow(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set MaxSequencesInWindow(value: Deno.PointerValue) { + set MaxSequencesInWindow(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set FirstNakSequenceNumber(value: Deno.PointerValue) { + set FirstNakSequenceNumber(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set NumPendingNaks(value: Deno.PointerValue) { + set NumPendingNaks(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set NumOutstandingNaks(value: Deno.PointerValue) { + set NumOutstandingNaks(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set NumDataPacketsBuffered(value: Deno.PointerValue) { + set NumDataPacketsBuffered(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set TotalSelectiveNaksSent(value: Deno.PointerValue) { + set TotalSelectiveNaksSent(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set TotalParityNaksSent(value: Deno.PointerValue) { + set TotalParityNaksSent(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } } @@ -14534,9 +14534,9 @@ export class NL_INTERFACE_OFFLOAD_RODView { */ export interface NL_PATH_BANDWIDTH_ROD { /** u64 */ - Bandwidth: Deno.PointerValue; + Bandwidth: bigint | number; /** u64 */ - Instability: Deno.PointerValue; + Instability: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ BandwidthPeaked: Uint8Array | Deno.PointerValue; } @@ -14566,12 +14566,12 @@ export class NL_PATH_BANDWIDTH_RODView { } // 0x00: u64 - get Bandwidth(): Deno.PointerValue { + get Bandwidth(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Instability(): Deno.PointerValue { + get Instability(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -14582,12 +14582,12 @@ export class NL_PATH_BANDWIDTH_RODView { } // 0x00: u64 - set Bandwidth(value: Deno.PointerValue) { + set Bandwidth(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Instability(value: Deno.PointerValue) { + set Instability(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -14700,9 +14700,9 @@ export class NL_NETWORK_CONNECTIVITY_HINTView { */ export interface NL_BANDWIDTH_INFORMATION { /** u64 */ - Bandwidth: Deno.PointerValue; + Bandwidth: bigint | number; /** u64 */ - Instability: Deno.PointerValue; + Instability: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ BandwidthPeaked: Uint8Array | Deno.PointerValue; } @@ -14732,12 +14732,12 @@ export class NL_BANDWIDTH_INFORMATIONView { } // 0x00: u64 - get Bandwidth(): Deno.PointerValue { + get Bandwidth(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Instability(): Deno.PointerValue { + get Instability(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -14748,12 +14748,12 @@ export class NL_BANDWIDTH_INFORMATIONView { } // 0x00: u64 - set Bandwidth(value: Deno.PointerValue) { + set Bandwidth(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Instability(value: Deno.PointerValue) { + set Instability(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -15051,7 +15051,7 @@ export interface ASSOCIATE_NAMERES_CONTEXT_INPUT { /** Windows.Win32.Networking.WinSock.TRANSPORT_SETTING_ID */ TransportSettingId: Uint8Array | Deno.PointerValue; /** u64 */ - Handle: Deno.PointerValue; + Handle: bigint | number; } export const sizeofASSOCIATE_NAMERES_CONTEXT_INPUT = 16; @@ -15083,7 +15083,7 @@ export class ASSOCIATE_NAMERES_CONTEXT_INPUTView { } // 0x08: u64 - get Handle(): Deno.PointerValue { + get Handle(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -15093,7 +15093,7 @@ export class ASSOCIATE_NAMERES_CONTEXT_INPUTView { } // 0x08: u64 - set Handle(value: Deno.PointerValue) { + set Handle(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -15417,7 +15417,7 @@ export interface TCP_INFO_v0 { /** u32 */ Mss: number; /** u64 */ - ConnectionTimeMs: Deno.PointerValue; + ConnectionTimeMs: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ TimestampsEnabled: Uint8Array | Deno.PointerValue; /** u32 */ @@ -15435,9 +15435,9 @@ export interface TCP_INFO_v0 { /** u32 */ RcvBuf: number; /** u64 */ - BytesOut: Deno.PointerValue; + BytesOut: bigint | number; /** u64 */ - BytesIn: Deno.PointerValue; + BytesIn: bigint | number; /** u32 */ BytesReordered: number; /** u32 */ @@ -15521,7 +15521,7 @@ export class TCP_INFO_v0View { } // 0x08: u64 - get ConnectionTimeMs(): Deno.PointerValue { + get ConnectionTimeMs(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -15569,12 +15569,12 @@ export class TCP_INFO_v0View { // 0x34: pad4 // 0x38: u64 - get BytesOut(): Deno.PointerValue { + get BytesOut(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get BytesIn(): Deno.PointerValue { + get BytesIn(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -15621,7 +15621,7 @@ export class TCP_INFO_v0View { } // 0x08: u64 - set ConnectionTimeMs(value: Deno.PointerValue) { + set ConnectionTimeMs(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -15668,12 +15668,12 @@ export class TCP_INFO_v0View { // 0x34: pad4 // 0x38: u64 - set BytesOut(value: Deno.PointerValue) { + set BytesOut(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set BytesIn(value: Deno.PointerValue) { + set BytesIn(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -15719,7 +15719,7 @@ export interface TCP_INFO_v1 { /** u32 */ Mss: number; /** u64 */ - ConnectionTimeMs: Deno.PointerValue; + ConnectionTimeMs: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ TimestampsEnabled: Uint8Array | Deno.PointerValue; /** u32 */ @@ -15737,9 +15737,9 @@ export interface TCP_INFO_v1 { /** u32 */ RcvBuf: number; /** u64 */ - BytesOut: Deno.PointerValue; + BytesOut: bigint | number; /** u64 */ - BytesIn: Deno.PointerValue; + BytesIn: bigint | number; /** u32 */ BytesReordered: number; /** u32 */ @@ -15757,19 +15757,19 @@ export interface TCP_INFO_v1 { /** u32 */ SndLimTimeRwin: number; /** u64 */ - SndLimBytesRwin: Deno.PointerValue; + SndLimBytesRwin: bigint | number; /** u32 */ SndLimTransCwnd: number; /** u32 */ SndLimTimeCwnd: number; /** u64 */ - SndLimBytesCwnd: Deno.PointerValue; + SndLimBytesCwnd: bigint | number; /** u32 */ SndLimTransSnd: number; /** u32 */ SndLimTimeSnd: number; /** u64 */ - SndLimBytesSnd: Deno.PointerValue; + SndLimBytesSnd: bigint | number; } export const sizeofTCP_INFO_v1 = 144; @@ -15859,7 +15859,7 @@ export class TCP_INFO_v1View { } // 0x08: u64 - get ConnectionTimeMs(): Deno.PointerValue { + get ConnectionTimeMs(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -15907,12 +15907,12 @@ export class TCP_INFO_v1View { // 0x34: pad4 // 0x38: u64 - get BytesOut(): Deno.PointerValue { + get BytesOut(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get BytesIn(): Deno.PointerValue { + get BytesIn(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -15959,7 +15959,7 @@ export class TCP_INFO_v1View { // 0x65: pad3 // 0x68: u64 - get SndLimBytesRwin(): Deno.PointerValue { + get SndLimBytesRwin(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -15974,7 +15974,7 @@ export class TCP_INFO_v1View { } // 0x78: u64 - get SndLimBytesCwnd(): Deno.PointerValue { + get SndLimBytesCwnd(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -15989,7 +15989,7 @@ export class TCP_INFO_v1View { } // 0x88: u64 - get SndLimBytesSnd(): Deno.PointerValue { + get SndLimBytesSnd(): bigint | number { return Number(this.view.getBigUint64(136, true)); } @@ -16004,7 +16004,7 @@ export class TCP_INFO_v1View { } // 0x08: u64 - set ConnectionTimeMs(value: Deno.PointerValue) { + set ConnectionTimeMs(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -16051,12 +16051,12 @@ export class TCP_INFO_v1View { // 0x34: pad4 // 0x38: u64 - set BytesOut(value: Deno.PointerValue) { + set BytesOut(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set BytesIn(value: Deno.PointerValue) { + set BytesIn(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -16103,7 +16103,7 @@ export class TCP_INFO_v1View { // 0x65: pad3 // 0x68: u64 - set SndLimBytesRwin(value: Deno.PointerValue) { + set SndLimBytesRwin(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -16118,7 +16118,7 @@ export class TCP_INFO_v1View { } // 0x78: u64 - set SndLimBytesCwnd(value: Deno.PointerValue) { + set SndLimBytesCwnd(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -16133,7 +16133,7 @@ export class TCP_INFO_v1View { } // 0x88: u64 - set SndLimBytesSnd(value: Deno.PointerValue) { + set SndLimBytesSnd(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } } @@ -16201,7 +16201,7 @@ export class INET_PORT_RANGEView { */ export interface INET_PORT_RESERVATION_TOKEN { /** u64 */ - Token: Deno.PointerValue; + Token: bigint | number; } export const sizeofINET_PORT_RESERVATION_TOKEN = 8; @@ -16225,12 +16225,12 @@ export class INET_PORT_RESERVATION_TOKENView { } // 0x00: u64 - get Token(): Deno.PointerValue { + get Token(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Token(value: Deno.PointerValue) { + set Token(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -16404,7 +16404,7 @@ export interface SOCKET_SECURITY_SETTINGS_IPSEC { /** System.Guid */ Reserved: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** u32 */ UserNameStringLen: number; /** u32 */ @@ -16493,7 +16493,7 @@ export class SOCKET_SECURITY_SETTINGS_IPSECView { } // 0x28: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -16553,7 +16553,7 @@ export class SOCKET_SECURITY_SETTINGS_IPSECView { } // 0x28: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -16866,9 +16866,9 @@ export interface SOCKET_SECURITY_QUERY_INFO { /** u32 */ Flags: number; /** u64 */ - PeerApplicationAccessTokenHandle: Deno.PointerValue; + PeerApplicationAccessTokenHandle: bigint | number; /** u64 */ - PeerMachineAccessTokenHandle: Deno.PointerValue; + PeerMachineAccessTokenHandle: bigint | number; } export const sizeofSOCKET_SECURITY_QUERY_INFO = 24; @@ -16908,12 +16908,12 @@ export class SOCKET_SECURITY_QUERY_INFOView { } // 0x08: u64 - get PeerApplicationAccessTokenHandle(): Deno.PointerValue { + get PeerApplicationAccessTokenHandle(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get PeerMachineAccessTokenHandle(): Deno.PointerValue { + get PeerMachineAccessTokenHandle(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -16928,12 +16928,12 @@ export class SOCKET_SECURITY_QUERY_INFOView { } // 0x08: u64 - set PeerApplicationAccessTokenHandle(value: Deno.PointerValue) { + set PeerApplicationAccessTokenHandle(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set PeerMachineAccessTokenHandle(value: Deno.PointerValue) { + set PeerMachineAccessTokenHandle(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -16947,13 +16947,13 @@ export interface SOCKET_SECURITY_QUERY_INFO_IPSEC2 { /** u32 */ Flags: number; /** u64 */ - PeerApplicationAccessTokenHandle: Deno.PointerValue; + PeerApplicationAccessTokenHandle: bigint | number; /** u64 */ - PeerMachineAccessTokenHandle: Deno.PointerValue; + PeerMachineAccessTokenHandle: bigint | number; /** u64 */ - MmSaId: Deno.PointerValue; + MmSaId: bigint | number; /** u64 */ - QmSaId: Deno.PointerValue; + QmSaId: bigint | number; /** u32 */ NegotiationWinerr: number; /** System.Guid */ @@ -17006,22 +17006,22 @@ export class SOCKET_SECURITY_QUERY_INFO_IPSEC2View { } // 0x08: u64 - get PeerApplicationAccessTokenHandle(): Deno.PointerValue { + get PeerApplicationAccessTokenHandle(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get PeerMachineAccessTokenHandle(): Deno.PointerValue { + get PeerMachineAccessTokenHandle(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MmSaId(): Deno.PointerValue { + get MmSaId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get QmSaId(): Deno.PointerValue { + get QmSaId(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -17049,22 +17049,22 @@ export class SOCKET_SECURITY_QUERY_INFO_IPSEC2View { } // 0x08: u64 - set PeerApplicationAccessTokenHandle(value: Deno.PointerValue) { + set PeerApplicationAccessTokenHandle(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set PeerMachineAccessTokenHandle(value: Deno.PointerValue) { + set PeerMachineAccessTokenHandle(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MmSaId(value: Deno.PointerValue) { + set MmSaId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set QmSaId(value: Deno.PointerValue) { + set QmSaId(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -17183,9 +17183,9 @@ export interface RIORESULT { /** u32 */ BytesTransferred: number; /** u64 */ - SocketContext: Deno.PointerValue; + SocketContext: bigint | number; /** u64 */ - RequestContext: Deno.PointerValue; + RequestContext: bigint | number; } export const sizeofRIORESULT = 24; @@ -17225,12 +17225,12 @@ export class RIORESULTView { } // 0x08: u64 - get SocketContext(): Deno.PointerValue { + get SocketContext(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get RequestContext(): Deno.PointerValue { + get RequestContext(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -17245,12 +17245,12 @@ export class RIORESULTView { } // 0x08: u64 - set SocketContext(value: Deno.PointerValue) { + set SocketContext(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set RequestContext(value: Deno.PointerValue) { + set RequestContext(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -19357,9 +19357,9 @@ export class _header_e__StructView { */ export interface SDP_LARGE_INTEGER_16 { /** u64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** i64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeofSDP_LARGE_INTEGER_16 = 16; @@ -19385,22 +19385,22 @@ export class SDP_LARGE_INTEGER_16View { } // 0x00: u64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: u64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -19412,9 +19412,9 @@ export type CHAR = number; */ export interface SDP_ULARGE_INTEGER_16 { /** u64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** u64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeofSDP_ULARGE_INTEGER_16 = 16; @@ -19440,22 +19440,22 @@ export class SDP_ULARGE_INTEGER_16View { } // 0x00: u64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -19703,7 +19703,7 @@ export interface _data_e__Union { /** Windows.Win32.Devices.Bluetooth.SDP_LARGE_INTEGER_16 */ int128: Uint8Array | Deno.PointerValue; /** i64 */ - int64: Deno.PointerValue; + int64: bigint | number; /** i32 */ int32: number; /** i16 */ @@ -19713,7 +19713,7 @@ export interface _data_e__Union { /** Windows.Win32.Devices.Bluetooth.SDP_ULARGE_INTEGER_16 */ uint128: Uint8Array | Deno.PointerValue; /** u64 */ - uint64: Deno.PointerValue; + uint64: bigint | number; /** u32 */ uint32: number; /** u16 */ @@ -19801,7 +19801,7 @@ export class _data_e__UnionView { } // 0x08: i64 - get int64(): Deno.PointerValue { + get int64(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -19829,7 +19829,7 @@ export class _data_e__UnionView { } // 0x20: u64 - get uint64(): Deno.PointerValue { + get uint64(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -19901,7 +19901,7 @@ export class _data_e__UnionView { } // 0x08: i64 - set int64(value: Deno.PointerValue) { + set int64(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -19928,7 +19928,7 @@ export class _data_e__UnionView { } // 0x20: u64 - set uint64(value: Deno.PointerValue) { + set uint64(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -20614,7 +20614,7 @@ export interface WSATHREADID { /** Windows.Win32.Foundation.HANDLE */ ThreadHandle: Uint8Array | Deno.PointerValue; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofWSATHREADID = 16; @@ -20646,7 +20646,7 @@ export class WSATHREADIDView { } // 0x08: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -20656,7 +20656,7 @@ export class WSATHREADIDView { } // 0x08: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -23881,7 +23881,7 @@ export class NETRESOURCE2WView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Networking.WinSock.SERVICE_ASYNC_INFO (size: 24) @@ -24594,7 +24594,7 @@ export interface DL_EUI64 { /** array */ Byte: Deno.PointerValue; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -24630,7 +24630,7 @@ export class DL_EUI64View { } // 0x08: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -24646,7 +24646,7 @@ export class DL_EUI64View { } // 0x08: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -25323,11 +25323,11 @@ export class ICMP_MESSAGEView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -25379,7 +25379,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -25390,7 +25390,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -25426,7 +25426,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -25437,7 +25437,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -25474,7 +25474,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -25503,7 +25503,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -25515,7 +25515,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -29587,7 +29587,7 @@ export class DL_TEREDO_ADDRESS_PRVView { */ export interface IPTLS_METADATA { /** u64 */ - SequenceNumber: Deno.PointerValue; + SequenceNumber: bigint | number; } export const sizeofIPTLS_METADATA = 8; @@ -29611,12 +29611,12 @@ export class IPTLS_METADATAView { } // 0x00: u64 - get SequenceNumber(): Deno.PointerValue { + get SequenceNumber(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set SequenceNumber(value: Deno.PointerValue) { + set SequenceNumber(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -29694,7 +29694,7 @@ export class NPI_MODULEIDView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries @@ -30586,7 +30586,7 @@ export function WSCSetProviderInfo32( lpProviderId: Deno.PointerValue | Uint8Array /* ptr */, InfoType: WSC_PROVIDER_INFO_TYPE /* Windows.Win32.Networking.WinSock.WSC_PROVIDER_INFO_TYPE */, Info: Deno.PointerValue | Uint8Array /* ptr */, - InfoSize: Deno.PointerValue /* usize */, + InfoSize: bigint | number /* usize */, Flags: number /* u32 */, lpErrno: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -31046,7 +31046,7 @@ export function WSAAccept( addr: Deno.PointerValue | Uint8Array /* ptr */, addrlen: Deno.PointerValue | Uint8Array /* ptr */, lpfnCondition: Uint8Array | Deno.PointerValue /* Windows.Win32.Networking.WinSock.LPCONDITIONPROC */, - dwCallbackData: Deno.PointerValue /* usize */, + dwCallbackData: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Networking.WinSock.SOCKET */ { return libWS2_32_dll.WSAAccept(util.toPointer(s), util.toPointer(addr), util.toPointer(addrlen), util.toPointer(lpfnCondition), dwCallbackData); } @@ -31839,7 +31839,7 @@ export function WSCSetProviderInfo( lpProviderId: Deno.PointerValue | Uint8Array /* ptr */, InfoType: WSC_PROVIDER_INFO_TYPE /* Windows.Win32.Networking.WinSock.WSC_PROVIDER_INFO_TYPE */, Info: Deno.PointerValue | Uint8Array /* ptr */, - InfoSize: Deno.PointerValue /* usize */, + InfoSize: bigint | number /* usize */, Flags: number /* u32 */, lpErrno: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -32228,7 +32228,7 @@ export function inet_ntop( Family: number /* i32 */, pAddr: Deno.PointerValue | Uint8Array /* ptr */, pStringBuf: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - StringBufSize: Deno.PointerValue /* usize */, + StringBufSize: bigint | number /* usize */, ): string | null /* Windows.Win32.Foundation.PSTR */ { return util.pstrFromFfi(libWS2_32_dll.inet_ntop(Family, util.toPointer(pAddr), util.pstrToFfi(pStringBuf), StringBufSize)); } @@ -32237,7 +32237,7 @@ export function InetNtopW( Family: number /* i32 */, pAddr: Deno.PointerValue | Uint8Array /* ptr */, pStringBuf: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - StringBufSize: Deno.PointerValue /* usize */, + StringBufSize: bigint | number /* usize */, ): string | null /* Windows.Win32.Foundation.PWSTR */ { return util.pwstrFromFfi(libWS2_32_dll.InetNtopW(Family, util.toPointer(pAddr), util.pwstrToFfi(pStringBuf), StringBufSize)); } diff --git a/api/Networking/WindowsWebServices.ts b/api/Networking/WindowsWebServices.ts index 242f945..5239778 100644 --- a/api/Networking/WindowsWebServices.ts +++ b/api/Networking/WindowsWebServices.ts @@ -2104,7 +2104,7 @@ export interface WS_XML_INT64_TEXT { /** Windows.Win32.Networking.WindowsWebServices.WS_XML_TEXT */ text: Uint8Array | Deno.PointerValue; /** i64 */ - value: Deno.PointerValue; + value: bigint | number; } export const sizeofWS_XML_INT64_TEXT = 16; @@ -2136,7 +2136,7 @@ export class WS_XML_INT64_TEXTView { } // 0x08: i64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -2146,7 +2146,7 @@ export class WS_XML_INT64_TEXTView { } // 0x08: i64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -2158,7 +2158,7 @@ export interface WS_XML_UINT64_TEXT { /** Windows.Win32.Networking.WindowsWebServices.WS_XML_TEXT */ text: Uint8Array | Deno.PointerValue; /** u64 */ - value: Deno.PointerValue; + value: bigint | number; } export const sizeofWS_XML_UINT64_TEXT = 16; @@ -2190,7 +2190,7 @@ export class WS_XML_UINT64_TEXTView { } // 0x08: u64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -2200,7 +2200,7 @@ export class WS_XML_UINT64_TEXTView { } // 0x08: u64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2325,11 +2325,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -2381,7 +2381,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2392,7 +2392,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2428,7 +2428,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2439,7 +2439,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -2476,7 +2476,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -2505,7 +2505,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2517,7 +2517,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2792,7 +2792,7 @@ export class WS_XML_UNIQUE_ID_TEXTView { */ export interface WS_DATETIME { /** u64 */ - ticks: Deno.PointerValue; + ticks: bigint | number; /** Windows.Win32.Networking.WindowsWebServices.WS_DATETIME_FORMAT */ format: WS_DATETIME_FORMAT; } @@ -2821,7 +2821,7 @@ export class WS_DATETIMEView { } // 0x00: u64 - get ticks(): Deno.PointerValue { + get ticks(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2833,7 +2833,7 @@ export class WS_DATETIMEView { // 0x0c: pad4 // 0x00: u64 - set ticks(value: Deno.PointerValue) { + set ticks(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2905,7 +2905,7 @@ export class WS_XML_DATETIME_TEXTView { */ export interface WS_TIMESPAN { /** i64 */ - ticks: Deno.PointerValue; + ticks: bigint | number; } export const sizeofWS_TIMESPAN = 8; @@ -2929,12 +2929,12 @@ export class WS_TIMESPANView { } // 0x00: i64 - get ticks(): Deno.PointerValue { + get ticks(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set ticks(value: Deno.PointerValue) { + set ticks(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -9096,7 +9096,7 @@ export class WS_RAW_SYMMETRIC_SECURITY_KEY_HANDLEView { } } -export type NCRYPT_KEY_HANDLE = Deno.PointerValue; +export type NCRYPT_KEY_HANDLE = bigint | number; /** * Windows.Win32.Networking.WindowsWebServices.WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE (size: 16) @@ -9160,7 +9160,7 @@ export interface WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLE { /** Windows.Win32.Networking.WindowsWebServices.WS_SECURITY_KEY_HANDLE */ keyHandle: Uint8Array | Deno.PointerValue; /** usize */ - provider: Deno.PointerValue; + provider: bigint | number; /** u32 */ keySpec: number; } @@ -9197,7 +9197,7 @@ export class WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLEView { } // 0x08: usize - get provider(): Deno.PointerValue { + get provider(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9214,7 +9214,7 @@ export class WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLEView { } // 0x08: usize - set provider(value: Deno.PointerValue) { + set provider(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -11760,9 +11760,9 @@ export class WS_UINT32_DESCRIPTIONView { */ export interface WS_INT64_DESCRIPTION { /** i64 */ - minValue: Deno.PointerValue; + minValue: bigint | number; /** i64 */ - maxValue: Deno.PointerValue; + maxValue: bigint | number; } export const sizeofWS_INT64_DESCRIPTION = 16; @@ -11788,22 +11788,22 @@ export class WS_INT64_DESCRIPTIONView { } // 0x00: i64 - get minValue(): Deno.PointerValue { + get minValue(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get maxValue(): Deno.PointerValue { + get maxValue(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set minValue(value: Deno.PointerValue) { + set minValue(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set maxValue(value: Deno.PointerValue) { + set maxValue(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -11813,9 +11813,9 @@ export class WS_INT64_DESCRIPTIONView { */ export interface WS_UINT64_DESCRIPTION { /** u64 */ - minValue: Deno.PointerValue; + minValue: bigint | number; /** u64 */ - maxValue: Deno.PointerValue; + maxValue: bigint | number; } export const sizeofWS_UINT64_DESCRIPTION = 16; @@ -11841,22 +11841,22 @@ export class WS_UINT64_DESCRIPTIONView { } // 0x00: u64 - get minValue(): Deno.PointerValue { + get minValue(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get maxValue(): Deno.PointerValue { + get maxValue(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set minValue(value: Deno.PointerValue) { + set minValue(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set maxValue(value: Deno.PointerValue) { + set maxValue(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -22339,7 +22339,7 @@ export class WEBAUTHN_ASSERTIONView { export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries @@ -24138,8 +24138,8 @@ export function WsGetFaultErrorDetail( } export function WsCreateHeap( - maxSize: Deno.PointerValue /* usize */, - trimSize: Deno.PointerValue /* usize */, + maxSize: bigint | number /* usize */, + trimSize: bigint | number /* usize */, properties: Deno.PointerValue | Uint8Array /* ptr */, propertyCount: number /* u32 */, heap: Deno.PointerValue | Uint8Array /* ptr */, @@ -24150,7 +24150,7 @@ export function WsCreateHeap( export function WsAlloc( heap: Deno.PointerValue | Uint8Array /* ptr */, - size: Deno.PointerValue /* usize */, + size: bigint | number /* usize */, ptr: Deno.PointerValue | Uint8Array /* ptr */, error: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { diff --git a/api/Security.ts b/api/Security.ts index 15acd76..445f79f 100644 --- a/api/Security.ts +++ b/api/Security.ts @@ -25,9 +25,9 @@ export type KERB_CRYPTO_KEY_TYPE = number; export type LSA_AUTH_INFORMATION_AUTH_TYPE = number; export type SECPKG_PACKAGE_CHANGE_TYPE = number; export type TRUSTED_DOMAIN_TRUST_ATTRIBUTES = number; -export type ISC_REQ_HIGH_FLAGS = Deno.PointerValue; +export type ISC_REQ_HIGH_FLAGS = bigint | number; export type ISC_REQ_FLAGS = number; -export type ASC_REQ_HIGH_FLAGS = Deno.PointerValue; +export type ASC_REQ_HIGH_FLAGS = bigint | number; export type ASC_REQ_FLAGS = number; export type AUTHZ_RESOURCE_MANAGER_FLAGS = number; export type AUTHZ_ACCESS_CHECK_FLAGS = number; @@ -11676,9 +11676,9 @@ export class TRUSTEE_ACCESSWView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -11704,22 +11704,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11779,7 +11779,7 @@ export class _Anonymous_e__UnionView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Security.Authorization.ACTRL_OVERLAPPED (size: 24) @@ -12477,11 +12477,11 @@ export class AUDIT_IP_ADDRESSView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -12533,7 +12533,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12544,7 +12544,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12580,7 +12580,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12591,7 +12591,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12628,7 +12628,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -12657,7 +12657,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12669,7 +12669,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13046,7 +13046,7 @@ export interface AUTHZ_AUDIT_EVENT_TYPE_OLD { /** i32 */ RefCount: number; /** usize */ - hAudit: Deno.PointerValue; + hAudit: bigint | number; /** Windows.Win32.Foundation.LUID */ LinkId: Uint8Array | Deno.PointerValue; /** Windows.Win32.Security.Authorization.AUTHZ_AUDIT_EVENT_TYPE_UNION */ @@ -13102,7 +13102,7 @@ export class AUTHZ_AUDIT_EVENT_TYPE_OLDView { // 0x0c: pad4 // 0x10: usize - get hAudit(): Deno.PointerValue { + get hAudit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -13136,7 +13136,7 @@ export class AUTHZ_AUDIT_EVENT_TYPE_OLDView { // 0x0c: pad4 // 0x10: usize - set hAudit(value: Deno.PointerValue) { + set hAudit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -13399,7 +13399,7 @@ export class AUTHZ_ACCESS_REPLYView { */ export interface AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE { /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pName: string | null | Uint8Array | Uint16Array; } @@ -13430,7 +13430,7 @@ export class AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUEView { } // 0x00: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -13441,7 +13441,7 @@ export class AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUEView { } // 0x00: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14400,7 +14400,7 @@ export class AUTHZ_SOURCE_SCHEMA_REGISTRATIONView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Security.Authorization.UI.SI_OBJECT_INFO (size: 48) @@ -15091,69 +15091,69 @@ export class EFFPERM_RESULT_LISTView { } } -export type HCRYPTASYNC = Deno.PointerValue; +export type HCRYPTASYNC = bigint | number; -export type HCERTCHAINENGINE = Deno.PointerValue; +export type HCERTCHAINENGINE = bigint | number; -export type LsaHandle = Deno.PointerValue; +export type LsaHandle = bigint | number; -export type BCRYPT_ALG_HANDLE = Deno.PointerValue; +export type BCRYPT_ALG_HANDLE = bigint | number; -export type BCRYPT_KEY_HANDLE = Deno.PointerValue; +export type BCRYPT_KEY_HANDLE = bigint | number; -export type BCRYPT_HASH_HANDLE = Deno.PointerValue; +export type BCRYPT_HASH_HANDLE = bigint | number; -export type BCRYPT_SECRET_HANDLE = Deno.PointerValue; +export type BCRYPT_SECRET_HANDLE = bigint | number; -export type HDIAGNOSTIC_DATA_QUERY_SESSION = Deno.PointerValue; +export type HDIAGNOSTIC_DATA_QUERY_SESSION = bigint | number; -export type HDIAGNOSTIC_REPORT = Deno.PointerValue; +export type HDIAGNOSTIC_REPORT = bigint | number; -export type HDIAGNOSTIC_EVENT_TAG_DESCRIPTION = Deno.PointerValue; +export type HDIAGNOSTIC_EVENT_TAG_DESCRIPTION = bigint | number; -export type HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION = Deno.PointerValue; +export type HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION = bigint | number; -export type HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION = Deno.PointerValue; +export type HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION = bigint | number; -export type HDIAGNOSTIC_RECORD = Deno.PointerValue; +export type HDIAGNOSTIC_RECORD = bigint | number; -export type NCRYPT_DESCRIPTOR_HANDLE = Deno.PointerValue; +export type NCRYPT_DESCRIPTOR_HANDLE = bigint | number; -export type NCRYPT_STREAM_HANDLE = Deno.PointerValue; +export type NCRYPT_STREAM_HANDLE = bigint | number; -export type SAFER_LEVEL_HANDLE = Deno.PointerValue; +export type SAFER_LEVEL_HANDLE = bigint | number; -export type SC_HANDLE = Deno.PointerValue; +export type SC_HANDLE = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; -export type AUTHZ_ACCESS_CHECK_RESULTS_HANDLE = Deno.PointerValue; +export type AUTHZ_ACCESS_CHECK_RESULTS_HANDLE = bigint | number; -export type AUTHZ_CLIENT_CONTEXT_HANDLE = Deno.PointerValue; +export type AUTHZ_CLIENT_CONTEXT_HANDLE = bigint | number; -export type AUTHZ_RESOURCE_MANAGER_HANDLE = Deno.PointerValue; +export type AUTHZ_RESOURCE_MANAGER_HANDLE = bigint | number; -export type AUTHZ_AUDIT_EVENT_HANDLE = Deno.PointerValue; +export type AUTHZ_AUDIT_EVENT_HANDLE = bigint | number; -export type AUTHZ_AUDIT_EVENT_TYPE_HANDLE = Deno.PointerValue; +export type AUTHZ_AUDIT_EVENT_TYPE_HANDLE = bigint | number; -export type AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE = Deno.PointerValue; +export type AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE = bigint | number; -export type BCRYPT_HANDLE = Deno.PointerValue; +export type BCRYPT_HANDLE = bigint | number; -export type NCRYPT_HANDLE = Deno.PointerValue; +export type NCRYPT_HANDLE = bigint | number; -export type NCRYPT_PROV_HANDLE = Deno.PointerValue; +export type NCRYPT_PROV_HANDLE = bigint | number; -export type NCRYPT_KEY_HANDLE = Deno.PointerValue; +export type NCRYPT_KEY_HANDLE = bigint | number; -export type NCRYPT_HASH_HANDLE = Deno.PointerValue; +export type NCRYPT_HASH_HANDLE = bigint | number; -export type NCRYPT_SECRET_HANDLE = Deno.PointerValue; +export type NCRYPT_SECRET_HANDLE = bigint | number; -export type HCRYPTPROV_LEGACY = Deno.PointerValue; +export type HCRYPTPROV_LEGACY = bigint | number; -export type HCRYPTPROV_OR_NCRYPT_KEY_HANDLE = Deno.PointerValue; +export type HCRYPTPROV_OR_NCRYPT_KEY_HANDLE = bigint | number; export type HCERTSTORE = Deno.PointerValue | Uint8Array; @@ -15677,9 +15677,9 @@ export class KeyCredentialManagerInfoView { */ export interface SecHandle { /** usize */ - dwLower: Deno.PointerValue; + dwLower: bigint | number; /** usize */ - dwUpper: Deno.PointerValue; + dwUpper: bigint | number; } export const sizeofSecHandle = 16; @@ -15705,22 +15705,22 @@ export class SecHandleView { } // 0x00: usize - get dwLower(): Deno.PointerValue { + get dwLower(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwUpper(): Deno.PointerValue { + get dwUpper(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set dwLower(value: Deno.PointerValue) { + set dwLower(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwUpper(value: Deno.PointerValue) { + set dwUpper(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -16958,9 +16958,9 @@ export class BINARY_BLOB_CREDENTIAL_INFOView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.Security.Credentials.CREDUI_INFOA (size: 40) @@ -18267,7 +18267,7 @@ export class OPENCARD_SEARCH_CRITERIAWView { } } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.Security.Credentials.OPENCARDNAME_EXA (size: 128) @@ -18276,7 +18276,7 @@ export interface OPENCARDNAME_EXA { /** u32 */ dwStructSize: number; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** u32 */ @@ -18308,7 +18308,7 @@ export interface OPENCARDNAME_EXA { /** u32 */ dwActiveProtocol: number; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAME_EXA = 128; @@ -18388,7 +18388,7 @@ export class OPENCARDNAME_EXAView { // 0x04: pad4 // 0x08: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -18481,7 +18481,7 @@ export class OPENCARDNAME_EXAView { } // 0x78: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -18493,7 +18493,7 @@ export class OPENCARDNAME_EXAView { // 0x04: pad4 // 0x08: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -18581,7 +18581,7 @@ export class OPENCARDNAME_EXAView { } // 0x78: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } } @@ -18593,7 +18593,7 @@ export interface OPENCARDNAME_EXW { /** u32 */ dwStructSize: number; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** u32 */ @@ -18625,7 +18625,7 @@ export interface OPENCARDNAME_EXW { /** u32 */ dwActiveProtocol: number; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAME_EXW = 128; @@ -18705,7 +18705,7 @@ export class OPENCARDNAME_EXWView { // 0x04: pad4 // 0x08: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -18798,7 +18798,7 @@ export class OPENCARDNAME_EXWView { } // 0x78: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -18810,7 +18810,7 @@ export class OPENCARDNAME_EXWView { // 0x04: pad4 // 0x08: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -18898,7 +18898,7 @@ export class OPENCARDNAME_EXWView { } // 0x78: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } } @@ -19080,7 +19080,7 @@ export interface OPENCARDNAMEA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrGroupNames: string | null | Uint8Array; /** u32 */ @@ -19120,7 +19120,7 @@ export interface OPENCARDNAMEA { /** Windows.Win32.Security.Credentials.LPOCNDSCPROC */ lpfnDisconnect: Uint8Array | Deno.PointerValue; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAMEA = 176; @@ -19224,7 +19224,7 @@ export class OPENCARDNAMEAView { } // 0x10: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -19348,7 +19348,7 @@ export class OPENCARDNAMEAView { } // 0xa8: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(168, true)); } @@ -19365,7 +19365,7 @@ export class OPENCARDNAMEAView { } // 0x10: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -19484,7 +19484,7 @@ export class OPENCARDNAMEAView { } // 0xa8: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } } @@ -19498,7 +19498,7 @@ export interface OPENCARDNAMEW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrGroupNames: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -19538,7 +19538,7 @@ export interface OPENCARDNAMEW { /** Windows.Win32.Security.Credentials.LPOCNDSCPROC */ lpfnDisconnect: Uint8Array | Deno.PointerValue; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAMEW = 176; @@ -19642,7 +19642,7 @@ export class OPENCARDNAMEWView { } // 0x10: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -19766,7 +19766,7 @@ export class OPENCARDNAMEWView { } // 0xa8: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(168, true)); } @@ -19783,7 +19783,7 @@ export class OPENCARDNAMEWView { } // 0x10: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -19902,7 +19902,7 @@ export class OPENCARDNAMEWView { } // 0xa8: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } } @@ -20997,13 +20997,13 @@ export interface PPP_EAP_INFO { /** u32 */ dwEapTypeId: number; /** isize */ - RasEapInitialize: Deno.PointerValue; + RasEapInitialize: bigint | number; /** isize */ - RasEapBegin: Deno.PointerValue; + RasEapBegin: bigint | number; /** isize */ - RasEapEnd: Deno.PointerValue; + RasEapEnd: bigint | number; /** isize */ - RasEapMakeMessage: Deno.PointerValue; + RasEapMakeMessage: bigint | number; } export const sizeofPPP_EAP_INFO = 40; @@ -21047,22 +21047,22 @@ export class PPP_EAP_INFOView { } // 0x08: isize - get RasEapInitialize(): Deno.PointerValue { + get RasEapInitialize(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get RasEapBegin(): Deno.PointerValue { + get RasEapBegin(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get RasEapEnd(): Deno.PointerValue { + get RasEapEnd(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get RasEapMakeMessage(): Deno.PointerValue { + get RasEapMakeMessage(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -21077,22 +21077,22 @@ export class PPP_EAP_INFOView { } // 0x08: isize - set RasEapInitialize(value: Deno.PointerValue) { + set RasEapInitialize(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set RasEapBegin(value: Deno.PointerValue) { + set RasEapBegin(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set RasEapEnd(value: Deno.PointerValue) { + set RasEapEnd(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set RasEapMakeMessage(value: Deno.PointerValue) { + set RasEapMakeMessage(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } } @@ -24283,31 +24283,31 @@ export interface EAP_PEER_METHOD_ROUTINES { /** ptr */ pEapType: Deno.PointerValue | Uint8Array; /** isize */ - EapPeerInitialize: Deno.PointerValue; + EapPeerInitialize: bigint | number; /** isize */ - EapPeerGetIdentity: Deno.PointerValue; + EapPeerGetIdentity: bigint | number; /** isize */ - EapPeerBeginSession: Deno.PointerValue; + EapPeerBeginSession: bigint | number; /** isize */ - EapPeerSetCredentials: Deno.PointerValue; + EapPeerSetCredentials: bigint | number; /** isize */ - EapPeerProcessRequestPacket: Deno.PointerValue; + EapPeerProcessRequestPacket: bigint | number; /** isize */ - EapPeerGetResponsePacket: Deno.PointerValue; + EapPeerGetResponsePacket: bigint | number; /** isize */ - EapPeerGetResult: Deno.PointerValue; + EapPeerGetResult: bigint | number; /** isize */ - EapPeerGetUIContext: Deno.PointerValue; + EapPeerGetUIContext: bigint | number; /** isize */ - EapPeerSetUIContext: Deno.PointerValue; + EapPeerSetUIContext: bigint | number; /** isize */ - EapPeerGetResponseAttributes: Deno.PointerValue; + EapPeerGetResponseAttributes: bigint | number; /** isize */ - EapPeerSetResponseAttributes: Deno.PointerValue; + EapPeerSetResponseAttributes: bigint | number; /** isize */ - EapPeerEndSession: Deno.PointerValue; + EapPeerEndSession: bigint | number; /** isize */ - EapPeerShutdown: Deno.PointerValue; + EapPeerShutdown: bigint | number; } export const sizeofEAP_PEER_METHOD_ROUTINES = 120; @@ -24373,67 +24373,67 @@ export class EAP_PEER_METHOD_ROUTINESView { } // 0x10: isize - get EapPeerInitialize(): Deno.PointerValue { + get EapPeerInitialize(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get EapPeerGetIdentity(): Deno.PointerValue { + get EapPeerGetIdentity(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get EapPeerBeginSession(): Deno.PointerValue { + get EapPeerBeginSession(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get EapPeerSetCredentials(): Deno.PointerValue { + get EapPeerSetCredentials(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get EapPeerProcessRequestPacket(): Deno.PointerValue { + get EapPeerProcessRequestPacket(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get EapPeerGetResponsePacket(): Deno.PointerValue { + get EapPeerGetResponsePacket(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get EapPeerGetResult(): Deno.PointerValue { + get EapPeerGetResult(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get EapPeerGetUIContext(): Deno.PointerValue { + get EapPeerGetUIContext(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get EapPeerSetUIContext(): Deno.PointerValue { + get EapPeerSetUIContext(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get EapPeerGetResponseAttributes(): Deno.PointerValue { + get EapPeerGetResponseAttributes(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get EapPeerSetResponseAttributes(): Deno.PointerValue { + get EapPeerSetResponseAttributes(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get EapPeerEndSession(): Deno.PointerValue { + get EapPeerEndSession(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get EapPeerShutdown(): Deno.PointerValue { + get EapPeerShutdown(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -24450,67 +24450,67 @@ export class EAP_PEER_METHOD_ROUTINESView { } // 0x10: isize - set EapPeerInitialize(value: Deno.PointerValue) { + set EapPeerInitialize(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set EapPeerGetIdentity(value: Deno.PointerValue) { + set EapPeerGetIdentity(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set EapPeerBeginSession(value: Deno.PointerValue) { + set EapPeerBeginSession(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set EapPeerSetCredentials(value: Deno.PointerValue) { + set EapPeerSetCredentials(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set EapPeerProcessRequestPacket(value: Deno.PointerValue) { + set EapPeerProcessRequestPacket(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set EapPeerGetResponsePacket(value: Deno.PointerValue) { + set EapPeerGetResponsePacket(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set EapPeerGetResult(value: Deno.PointerValue) { + set EapPeerGetResult(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set EapPeerGetUIContext(value: Deno.PointerValue) { + set EapPeerGetUIContext(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set EapPeerSetUIContext(value: Deno.PointerValue) { + set EapPeerSetUIContext(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set EapPeerGetResponseAttributes(value: Deno.PointerValue) { + set EapPeerGetResponseAttributes(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set EapPeerSetResponseAttributes(value: Deno.PointerValue) { + set EapPeerSetResponseAttributes(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set EapPeerEndSession(value: Deno.PointerValue) { + set EapPeerEndSession(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set EapPeerShutdown(value: Deno.PointerValue) { + set EapPeerShutdown(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -24524,25 +24524,25 @@ export interface EAP_AUTHENTICATOR_METHOD_ROUTINES { /** ptr */ pEapType: Deno.PointerValue | Uint8Array; /** isize */ - EapMethodAuthenticatorInitialize: Deno.PointerValue; + EapMethodAuthenticatorInitialize: bigint | number; /** isize */ - EapMethodAuthenticatorBeginSession: Deno.PointerValue; + EapMethodAuthenticatorBeginSession: bigint | number; /** isize */ - EapMethodAuthenticatorUpdateInnerMethodParams: Deno.PointerValue; + EapMethodAuthenticatorUpdateInnerMethodParams: bigint | number; /** isize */ - EapMethodAuthenticatorReceivePacket: Deno.PointerValue; + EapMethodAuthenticatorReceivePacket: bigint | number; /** isize */ - EapMethodAuthenticatorSendPacket: Deno.PointerValue; + EapMethodAuthenticatorSendPacket: bigint | number; /** isize */ - EapMethodAuthenticatorGetAttributes: Deno.PointerValue; + EapMethodAuthenticatorGetAttributes: bigint | number; /** isize */ - EapMethodAuthenticatorSetAttributes: Deno.PointerValue; + EapMethodAuthenticatorSetAttributes: bigint | number; /** isize */ - EapMethodAuthenticatorGetResult: Deno.PointerValue; + EapMethodAuthenticatorGetResult: bigint | number; /** isize */ - EapMethodAuthenticatorEndSession: Deno.PointerValue; + EapMethodAuthenticatorEndSession: bigint | number; /** isize */ - EapMethodAuthenticatorShutdown: Deno.PointerValue; + EapMethodAuthenticatorShutdown: bigint | number; } export const sizeofEAP_AUTHENTICATOR_METHOD_ROUTINES = 96; @@ -24602,52 +24602,52 @@ export class EAP_AUTHENTICATOR_METHOD_ROUTINESView { } // 0x10: isize - get EapMethodAuthenticatorInitialize(): Deno.PointerValue { + get EapMethodAuthenticatorInitialize(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get EapMethodAuthenticatorBeginSession(): Deno.PointerValue { + get EapMethodAuthenticatorBeginSession(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get EapMethodAuthenticatorUpdateInnerMethodParams(): Deno.PointerValue { + get EapMethodAuthenticatorUpdateInnerMethodParams(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get EapMethodAuthenticatorReceivePacket(): Deno.PointerValue { + get EapMethodAuthenticatorReceivePacket(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get EapMethodAuthenticatorSendPacket(): Deno.PointerValue { + get EapMethodAuthenticatorSendPacket(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get EapMethodAuthenticatorGetAttributes(): Deno.PointerValue { + get EapMethodAuthenticatorGetAttributes(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get EapMethodAuthenticatorSetAttributes(): Deno.PointerValue { + get EapMethodAuthenticatorSetAttributes(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get EapMethodAuthenticatorGetResult(): Deno.PointerValue { + get EapMethodAuthenticatorGetResult(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get EapMethodAuthenticatorEndSession(): Deno.PointerValue { + get EapMethodAuthenticatorEndSession(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get EapMethodAuthenticatorShutdown(): Deno.PointerValue { + get EapMethodAuthenticatorShutdown(): bigint | number { return Number(this.view.getBigInt64(88, true)); } @@ -24664,52 +24664,52 @@ export class EAP_AUTHENTICATOR_METHOD_ROUTINESView { } // 0x10: isize - set EapMethodAuthenticatorInitialize(value: Deno.PointerValue) { + set EapMethodAuthenticatorInitialize(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set EapMethodAuthenticatorBeginSession(value: Deno.PointerValue) { + set EapMethodAuthenticatorBeginSession(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set EapMethodAuthenticatorUpdateInnerMethodParams(value: Deno.PointerValue) { + set EapMethodAuthenticatorUpdateInnerMethodParams(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set EapMethodAuthenticatorReceivePacket(value: Deno.PointerValue) { + set EapMethodAuthenticatorReceivePacket(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set EapMethodAuthenticatorSendPacket(value: Deno.PointerValue) { + set EapMethodAuthenticatorSendPacket(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set EapMethodAuthenticatorGetAttributes(value: Deno.PointerValue) { + set EapMethodAuthenticatorGetAttributes(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set EapMethodAuthenticatorSetAttributes(value: Deno.PointerValue) { + set EapMethodAuthenticatorSetAttributes(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set EapMethodAuthenticatorGetResult(value: Deno.PointerValue) { + set EapMethodAuthenticatorGetResult(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set EapMethodAuthenticatorEndSession(value: Deno.PointerValue) { + set EapMethodAuthenticatorEndSession(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set EapMethodAuthenticatorShutdown(value: Deno.PointerValue) { + set EapMethodAuthenticatorShutdown(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } } @@ -26093,7 +26093,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -26133,7 +26133,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -26148,7 +26148,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -26661,15 +26661,15 @@ export class POLICY_REPLICA_SOURCE_INFOView { */ export interface QUOTA_LIMITS { /** usize */ - PagedPoolLimit: Deno.PointerValue; + PagedPoolLimit: bigint | number; /** usize */ - NonPagedPoolLimit: Deno.PointerValue; + NonPagedPoolLimit: bigint | number; /** usize */ - MinimumWorkingSetSize: Deno.PointerValue; + MinimumWorkingSetSize: bigint | number; /** usize */ - MaximumWorkingSetSize: Deno.PointerValue; + MaximumWorkingSetSize: bigint | number; /** usize */ - PagefileLimit: Deno.PointerValue; + PagefileLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ TimeLimit: Uint8Array | Deno.PointerValue; } @@ -26705,27 +26705,27 @@ export class QUOTA_LIMITSView { } // 0x00: usize - get PagedPoolLimit(): Deno.PointerValue { + get PagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get NonPagedPoolLimit(): Deno.PointerValue { + get NonPagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get MinimumWorkingSetSize(): Deno.PointerValue { + get MinimumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get MaximumWorkingSetSize(): Deno.PointerValue { + get MaximumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get PagefileLimit(): Deno.PointerValue { + get PagefileLimit(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -26736,27 +26736,27 @@ export class QUOTA_LIMITSView { } // 0x00: usize - set PagedPoolLimit(value: Deno.PointerValue) { + set PagedPoolLimit(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set NonPagedPoolLimit(value: Deno.PointerValue) { + set NonPagedPoolLimit(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set MinimumWorkingSetSize(value: Deno.PointerValue) { + set MinimumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set MaximumWorkingSetSize(value: Deno.PointerValue) { + set MaximumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set PagefileLimit(value: Deno.PointerValue) { + set PagefileLimit(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -29340,13 +29340,13 @@ export class CENTRAL_ACCESS_POLICYView { */ export interface NEGOTIATE_PACKAGE_PREFIX { /** usize */ - PackageId: Deno.PointerValue; + PackageId: bigint | number; /** ptr */ PackageDataA: Deno.PointerValue | Uint8Array; /** ptr */ PackageDataW: Deno.PointerValue | Uint8Array; /** usize */ - PrefixLen: Deno.PointerValue; + PrefixLen: bigint | number; /** array */ Prefix: Deno.PointerValue; } @@ -29380,7 +29380,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x00: usize - get PackageId(): Deno.PointerValue { + get PackageId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -29397,7 +29397,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x18: usize - get PrefixLen(): Deno.PointerValue { + get PrefixLen(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -29408,7 +29408,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x00: usize - set PackageId(value: Deno.PointerValue) { + set PackageId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -29423,7 +29423,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x18: usize - set PrefixLen(value: Deno.PointerValue) { + set PrefixLen(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -31248,7 +31248,7 @@ export interface MSV1_0_NTLM3_RESPONSE { /** u32 */ MsgWord: number; /** u64 */ - TimeStamp: Deno.PointerValue; + TimeStamp: bigint | number; /** array */ ChallengeFromClient: Deno.PointerValue; /** u32 */ @@ -31321,7 +31321,7 @@ export class MSV1_0_NTLM3_RESPONSEView { } // 0x10: u64 - get TimeStamp(): Deno.PointerValue { + get TimeStamp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -31370,7 +31370,7 @@ export class MSV1_0_NTLM3_RESPONSEView { } // 0x10: u64 - set TimeStamp(value: Deno.PointerValue) { + set TimeStamp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -35506,7 +35506,7 @@ export class KERB_QUERY_KDC_PROXY_CACHE_REQUESTView { */ export interface KDC_PROXY_CACHE_ENTRY_DATA { /** u64 */ - SinceLastUsed: Deno.PointerValue; + SinceLastUsed: bigint | number; /** Windows.Win32.Foundation.UNICODE_STRING */ DomainName: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.UNICODE_STRING */ @@ -35563,7 +35563,7 @@ export class KDC_PROXY_CACHE_ENTRY_DATAView { } // 0x00: u64 - get SinceLastUsed(): Deno.PointerValue { + get SinceLastUsed(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -35617,7 +35617,7 @@ export class KDC_PROXY_CACHE_ENTRY_DATAView { } // 0x00: u64 - set SinceLastUsed(value: Deno.PointerValue) { + set SinceLastUsed(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -37913,7 +37913,7 @@ export class KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUESTView { */ export interface KERB_BINDING_CACHE_ENTRY_DATA { /** u64 */ - DiscoveryTime: Deno.PointerValue; + DiscoveryTime: bigint | number; /** Windows.Win32.Foundation.UNICODE_STRING */ RealmName: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.UNICODE_STRING */ @@ -37965,7 +37965,7 @@ export class KERB_BINDING_CACHE_ENTRY_DATAView { } // 0x00: u64 - get DiscoveryTime(): Deno.PointerValue { + get DiscoveryTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -38008,7 +38008,7 @@ export class KERB_BINDING_CACHE_ENTRY_DATAView { } // 0x00: u64 - set DiscoveryTime(value: Deno.PointerValue) { + set DiscoveryTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -38762,7 +38762,7 @@ export class PKU2U_CERT_BLOBView { */ export interface PKU2U_CREDUI_CONTEXT { /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** u16 */ cbHeaderLength: number; /** u32 */ @@ -38803,7 +38803,7 @@ export class PKU2U_CREDUI_CONTEXTView { } // 0x00: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -38830,7 +38830,7 @@ export class PKU2U_CREDUI_CONTEXTView { // 0x14: pad4 // 0x00: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -40066,7 +40066,7 @@ export class SEC_DTLS_MTUView { */ export interface SEC_FLAGS { /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofSEC_FLAGS = 8; @@ -40090,12 +40090,12 @@ export class SEC_FLAGSView { } // 0x00: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -42949,9 +42949,9 @@ export interface SECPKG_APP_MODE_INFO { /** u32 */ UserFunction: number; /** usize */ - Argument1: Deno.PointerValue; + Argument1: bigint | number; /** usize */ - Argument2: Deno.PointerValue; + Argument2: bigint | number; /** Windows.Win32.Security.Authentication.Identity.SecBuffer */ UserData: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BOOLEAN */ @@ -42995,12 +42995,12 @@ export class SECPKG_APP_MODE_INFOView { // 0x04: pad4 // 0x08: usize - get Argument1(): Deno.PointerValue { + get Argument1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get Argument2(): Deno.PointerValue { + get Argument2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -43024,12 +43024,12 @@ export class SECPKG_APP_MODE_INFOView { // 0x04: pad4 // 0x08: usize - set Argument1(value: Deno.PointerValue) { + set Argument1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set Argument2(value: Deno.PointerValue) { + set Argument2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -46743,7 +46743,7 @@ export class SECPKG_SUPPLIED_CREDENTIALView { */ export interface SECPKG_CREDENTIAL { /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** u16 */ cbHeaderLength: number; /** u32 */ @@ -46821,7 +46821,7 @@ export class SECPKG_CREDENTIALView { } // 0x00: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -46901,7 +46901,7 @@ export class SECPKG_CREDENTIALView { } // 0x00: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -47454,7 +47454,7 @@ export interface SECPKG_PRIMARY_CRED_EX { /** Windows.Win32.Foundation.UNICODE_STRING */ Spare4: Uint8Array | Deno.PointerValue; /** usize */ - PackageId: Deno.PointerValue; + PackageId: bigint | number; /** Windows.Win32.Foundation.LUID */ PrevLogonId: Uint8Array | Deno.PointerValue; /** u32 */ @@ -47601,7 +47601,7 @@ export class SECPKG_PRIMARY_CRED_EXView { } // 0x70: usize - get PackageId(): Deno.PointerValue { + get PackageId(): bigint | number { return Number(this.view.getBigUint64(112, true)); } @@ -47691,7 +47691,7 @@ export class SECPKG_PRIMARY_CRED_EXView { } // 0x70: usize - set PackageId(value: Deno.PointerValue) { + set PackageId(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } @@ -51855,7 +51855,7 @@ export interface SECPKG_EVENT_PACKAGE_CHANGE { /** Windows.Win32.Security.Authentication.Identity.SECPKG_PACKAGE_CHANGE_TYPE */ ChangeType: SECPKG_PACKAGE_CHANGE_TYPE; /** usize */ - PackageId: Deno.PointerValue; + PackageId: bigint | number; /** Windows.Win32.Foundation.UNICODE_STRING */ PackageName: Uint8Array | Deno.PointerValue; } @@ -51893,7 +51893,7 @@ export class SECPKG_EVENT_PACKAGE_CHANGEView { // 0x04: pad4 // 0x08: usize - get PackageId(): Deno.PointerValue { + get PackageId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -51911,7 +51911,7 @@ export class SECPKG_EVENT_PACKAGE_CHANGEView { // 0x04: pad4 // 0x08: usize - set PackageId(value: Deno.PointerValue) { + set PackageId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -57965,7 +57965,7 @@ export interface SCHANNEL_CERT_HASH { /** u32 */ dwFlags: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** array */ ShaHash: Deno.PointerValue; } @@ -58007,7 +58007,7 @@ export class SCHANNEL_CERT_HASHView { } // 0x08: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -58028,7 +58028,7 @@ export class SCHANNEL_CERT_HASHView { } // 0x08: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -58047,7 +58047,7 @@ export interface SCHANNEL_CERT_HASH_STORE { /** u32 */ dwFlags: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** array */ ShaHash: Deno.PointerValue; /** array */ @@ -58093,7 +58093,7 @@ export class SCHANNEL_CERT_HASH_STOREView { } // 0x08: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -58120,7 +58120,7 @@ export class SCHANNEL_CERT_HASH_STOREView { } // 0x08: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -58598,7 +58598,7 @@ export interface SCH_CRED_SECRET_CAPI { /** u32 */ dwType: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; } export const sizeofSCH_CRED_SECRET_CAPI = 16; @@ -58632,7 +58632,7 @@ export class SCH_CRED_SECRET_CAPIView { // 0x04: pad4 // 0x08: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -58644,7 +58644,7 @@ export class SCH_CRED_SECRET_CAPIView { // 0x04: pad4 // 0x08: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -60739,7 +60739,7 @@ export interface SL_LICENSING_STATUS { /** Windows.Win32.Foundation.HRESULT */ hrReason: Uint8Array | Deno.PointerValue; /** u64 */ - qwValidityExpiration: Deno.PointerValue; + qwValidityExpiration: bigint | number; } export const sizeofSL_LICENSING_STATUS = 40; @@ -60803,7 +60803,7 @@ export class SL_LICENSING_STATUSView { } // 0x20: u64 - get qwValidityExpiration(): Deno.PointerValue { + get qwValidityExpiration(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -60835,7 +60835,7 @@ export class SL_LICENSING_STATUSView { } // 0x20: u64 - set qwValidityExpiration(value: Deno.PointerValue) { + set qwValidityExpiration(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -62474,7 +62474,7 @@ export interface SAFER_CODE_PROPERTIES_V2 { /** Windows.Win32.Foundation.PWSTR */ PackageName: string | null | Uint8Array | Uint16Array; /** u64 */ - PackageVersion: Deno.PointerValue; + PackageVersion: bigint | number; /** Windows.Win32.Foundation.BOOL */ PackageIsFramework: boolean; } @@ -62641,7 +62641,7 @@ export class SAFER_CODE_PROPERTIES_V2View { } // 0x70: u64 - get PackageVersion(): Deno.PointerValue { + get PackageVersion(): bigint | number { return Number(this.view.getBigUint64(112, true)); } @@ -62740,7 +62740,7 @@ export class SAFER_CODE_PROPERTIES_V2View { } // 0x70: u64 - set PackageVersion(value: Deno.PointerValue) { + set PackageVersion(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } @@ -63623,7 +63623,7 @@ export interface CRYPTCATSTORE { /** Windows.Win32.Foundation.PWSTR */ pwszP7File: string | null | Uint8Array | Uint16Array; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** u32 */ dwEncodingType: number; /** Windows.Win32.Security.Cryptography.Catalog.CRYPTCAT_OPEN_FLAGS */ @@ -63696,7 +63696,7 @@ export class CRYPTCATSTOREView { } // 0x10: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -63751,7 +63751,7 @@ export class CRYPTCATSTOREView { } // 0x10: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -66473,7 +66473,7 @@ export interface BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO { /** u32 */ cbAAD: number; /** u64 */ - cbData: Deno.PointerValue; + cbData: bigint | number; /** u32 */ dwFlags: number; } @@ -66592,7 +66592,7 @@ export class BCRYPT_AUTHENTICATED_CIPHER_MODE_INFOView { } // 0x48: u64 - get cbData(): Deno.PointerValue { + get cbData(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -66665,7 +66665,7 @@ export class BCRYPT_AUTHENTICATED_CIPHER_MODE_INFOView { } // 0x48: u64 - set cbData(value: Deno.PointerValue) { + set cbData(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -69742,7 +69742,7 @@ export interface NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS { /** u32 */ Version: number; /** u64 */ - TrustletId: Deno.PointerValue; + TrustletId: bigint | number; /** u32 */ MinSvn: number; /** u32 */ @@ -69792,7 +69792,7 @@ export class NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONSView { // 0x04: pad4 // 0x08: u64 - get TrustletId(): Deno.PointerValue { + get TrustletId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -69824,7 +69824,7 @@ export class NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONSView { // 0x04: pad4 // 0x08: u64 - set TrustletId(value: Deno.PointerValue) { + set TrustletId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -72355,7 +72355,7 @@ export class CRYPT_PKCS8_IMPORT_PARAMSView { */ export interface CRYPT_PKCS8_EXPORT_PARAMS { /** usize */ - hCryptProv: Deno.PointerValue; + hCryptProv: bigint | number; /** u32 */ dwKeySpec: number; /** Windows.Win32.Foundation.PSTR */ @@ -72399,7 +72399,7 @@ export class CRYPT_PKCS8_EXPORT_PARAMSView { } // 0x00: usize - get hCryptProv(): Deno.PointerValue { + get hCryptProv(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -72429,7 +72429,7 @@ export class CRYPT_PKCS8_EXPORT_PARAMSView { } // 0x00: usize - set hCryptProv(value: Deno.PointerValue) { + set hCryptProv(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -82061,7 +82061,7 @@ export interface CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO { /** ptr */ pvKeyEncryptionAuxInfo: Deno.PointerValue | Uint8Array; /** usize */ - hCryptProv: Deno.PointerValue; + hCryptProv: bigint | number; /** u32 */ dwKeyChoice: number; /** _Anonymous_e__Union */ @@ -82132,7 +82132,7 @@ export class CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFOView { } // 0x18: usize - get hCryptProv(): Deno.PointerValue { + get hCryptProv(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -82185,7 +82185,7 @@ export class CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFOView { } // 0x18: usize - set hCryptProv(value: Deno.PointerValue) { + set hCryptProv(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -83957,7 +83957,7 @@ export interface CMSG_CTRL_MAIL_LIST_DECRYPT_PARA { /** u32 */ cbSize: number; /** usize */ - hCryptProv: Deno.PointerValue; + hCryptProv: bigint | number; /** ptr */ pMailList: Deno.PointerValue | Uint8Array; /** u32 */ @@ -84007,7 +84007,7 @@ export class CMSG_CTRL_MAIL_LIST_DECRYPT_PARAView { // 0x04: pad4 // 0x08: usize - get hCryptProv(): Deno.PointerValue { + get hCryptProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -84041,7 +84041,7 @@ export class CMSG_CTRL_MAIL_LIST_DECRYPT_PARAView { // 0x04: pad4 // 0x08: usize - set hCryptProv(value: Deno.PointerValue) { + set hCryptProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -85916,7 +85916,7 @@ export class CERT_SYSTEM_STORE_RELOCATE_PARAView { } } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; /** * Windows.Win32.Security.Cryptography.CERT_REGISTRY_STORE_CLIENT_GPT_PARA (size: 16) @@ -96716,7 +96716,7 @@ export interface INFORMATIONCARD_CRYPTO_HANDLE { /** Windows.Win32.Security.Cryptography.HandleType */ type: HandleType; /** i64 */ - expiration: Deno.PointerValue; + expiration: bigint | number; /** ptr */ cryptoParameters: Deno.PointerValue | Uint8Array; } @@ -96754,7 +96754,7 @@ export class INFORMATIONCARD_CRYPTO_HANDLEView { // 0x04: pad4 // 0x08: i64 - get expiration(): Deno.PointerValue { + get expiration(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -96772,7 +96772,7 @@ export class INFORMATIONCARD_CRYPTO_HANDLEView { // 0x04: pad4 // 0x08: i64 - set expiration(value: Deno.PointerValue) { + set expiration(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -97619,7 +97619,7 @@ export interface SIP_SUBJECTINFO { /** u32 */ dwIntVersion: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** Windows.Win32.Security.Cryptography.CRYPT_ALGORITHM_IDENTIFIER */ DigestAlgorithm: Uint8Array | Deno.PointerValue; /** u32 */ @@ -97746,7 +97746,7 @@ export class SIP_SUBJECTINFOView { } // 0x30: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -97845,7 +97845,7 @@ export class SIP_SUBJECTINFOView { } // 0x30: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -98758,7 +98758,7 @@ export class MS_ADDINFO_CATALOGMEMBERView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Security.Cryptography.UI.CERT_SELECT_STRUCT_A (size: 136) @@ -98797,7 +98797,7 @@ export interface CERT_SELECT_STRUCT_A { /** u32 */ dwHelpId: number; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; } export const sizeofCERT_SELECT_STRUCT_A = 136; @@ -98971,7 +98971,7 @@ export class CERT_SELECT_STRUCT_AView { // 0x7c: pad4 // 0x80: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(128, true)); } @@ -99070,7 +99070,7 @@ export class CERT_SELECT_STRUCT_AView { // 0x7c: pad4 // 0x80: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } } @@ -99112,7 +99112,7 @@ export interface CERT_SELECT_STRUCT_W { /** u32 */ dwHelpId: number; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; } export const sizeofCERT_SELECT_STRUCT_W = 136; @@ -99286,7 +99286,7 @@ export class CERT_SELECT_STRUCT_WView { // 0x7c: pad4 // 0x80: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(128, true)); } @@ -99385,7 +99385,7 @@ export class CERT_SELECT_STRUCT_WView { // 0x7c: pad4 // 0x80: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } } @@ -99423,7 +99423,7 @@ export interface CERT_VIEWPROPERTIES_STRUCT_A { /** ptr */ rghstoreTrust: Deno.PointerValue | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lCustData: Uint8Array | Deno.PointerValue; /** u32 */ @@ -99601,7 +99601,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_AView { } // 0x68: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -99727,7 +99727,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_AView { } // 0x68: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -99805,7 +99805,7 @@ export interface CERT_VIEWPROPERTIES_STRUCT_W { /** ptr */ rghstoreTrust: Deno.PointerValue | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lCustData: Uint8Array | Deno.PointerValue; /** u32 */ @@ -99983,7 +99983,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_WView { } // 0x68: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -100109,7 +100109,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_WView { } // 0x68: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -100355,7 +100355,7 @@ export interface CERT_VERIFY_CERTIFICATE_TRUST { /** Windows.Win32.Foundation.PSTR */ pszUsageOid: string | null | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** u32 */ cRootStores: number; /** ptr */ @@ -100481,7 +100481,7 @@ export class CERT_VERIFY_CERTIFICATE_TRUSTView { } // 0x28: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -100594,7 +100594,7 @@ export class CERT_VERIFY_CERTIFICATE_TRUSTView { } // 0x28: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -102810,11 +102810,11 @@ export class LLFILETIMEView { */ export interface DIAGNOSTIC_DATA_RECORD { /** i64 */ - rowId: Deno.PointerValue; + rowId: bigint | number; /** u64 */ - timestamp: Deno.PointerValue; + timestamp: bigint | number; /** u64 */ - eventKeywords: Deno.PointerValue; + eventKeywords: bigint | number; /** Windows.Win32.Foundation.PWSTR */ fullEventName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -102905,17 +102905,17 @@ export class DIAGNOSTIC_DATA_RECORDView { } // 0x00: i64 - get rowId(): Deno.PointerValue { + get rowId(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: u64 - get timestamp(): Deno.PointerValue { + get timestamp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get eventKeywords(): Deno.PointerValue { + get eventKeywords(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -102985,17 +102985,17 @@ export class DIAGNOSTIC_DATA_RECORDView { } // 0x00: i64 - set rowId(value: Deno.PointerValue) { + set rowId(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: u64 - set timestamp(value: Deno.PointerValue) { + set timestamp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set eventKeywords(value: Deno.PointerValue) { + set eventKeywords(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -103471,7 +103471,7 @@ export interface DIAGNOSTIC_DATA_EVENT_BINARY_STATS { /** u32 */ eventCount: number; /** u64 */ - uploadSizeBytes: Deno.PointerValue; + uploadSizeBytes: bigint | number; } export const sizeofDIAGNOSTIC_DATA_EVENT_BINARY_STATS = 32; @@ -103527,7 +103527,7 @@ export class DIAGNOSTIC_DATA_EVENT_BINARY_STATSView { // 0x14: pad4 // 0x18: u64 - get uploadSizeBytes(): Deno.PointerValue { + get uploadSizeBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -103551,7 +103551,7 @@ export class DIAGNOSTIC_DATA_EVENT_BINARY_STATSView { // 0x14: pad4 // 0x18: u64 - set uploadSizeBytes(value: Deno.PointerValue) { + set uploadSizeBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -103563,9 +103563,9 @@ export interface DIAGNOSTIC_DATA_GENERAL_STATS { /** u32 */ optInLevel: number; /** u64 */ - transcriptSizeBytes: Deno.PointerValue; + transcriptSizeBytes: bigint | number; /** u64 */ - oldestEventTimestamp: Deno.PointerValue; + oldestEventTimestamp: bigint | number; /** u32 */ totalEventCountLast24Hours: number; /** f32 */ @@ -103609,12 +103609,12 @@ export class DIAGNOSTIC_DATA_GENERAL_STATSView { // 0x04: pad4 // 0x08: u64 - get transcriptSizeBytes(): Deno.PointerValue { + get transcriptSizeBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get oldestEventTimestamp(): Deno.PointerValue { + get oldestEventTimestamp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -103636,12 +103636,12 @@ export class DIAGNOSTIC_DATA_GENERAL_STATSView { // 0x04: pad4 // 0x08: u64 - set transcriptSizeBytes(value: Deno.PointerValue) { + set transcriptSizeBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set oldestEventTimestamp(value: Deno.PointerValue) { + set oldestEventTimestamp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -103851,7 +103851,7 @@ export interface DIAGNOSTIC_REPORT_DATA { /** Windows.Win32.Foundation.FILETIME */ creationTime: Uint8Array | Deno.PointerValue; /** u64 */ - sizeInBytes: Deno.PointerValue; + sizeInBytes: bigint | number; /** Windows.Win32.Foundation.PWSTR */ cabId: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -103873,7 +103873,7 @@ export interface DIAGNOSTIC_REPORT_DATA { /** Windows.Win32.Foundation.PWSTR */ bucketIdString: string | null | Uint8Array | Uint16Array; /** u64 */ - legacyBucketId: Deno.PointerValue; + legacyBucketId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ reportKey: string | null | Uint8Array | Uint16Array; } @@ -103978,7 +103978,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x20: u64 - get sizeInBytes(): Deno.PointerValue { + get sizeInBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -104045,7 +104045,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x78: u64 - get legacyBucketId(): Deno.PointerValue { + get legacyBucketId(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -104076,7 +104076,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x20: u64 - set sizeInBytes(value: Deno.PointerValue) { + set sizeInBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -104141,7 +104141,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x78: u64 - set legacyBucketId(value: Deno.PointerValue) { + set legacyBucketId(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -104615,7 +104615,7 @@ export interface WINTRUST_CATALOG_INFO { /** ptr */ pcCatalogContext: Deno.PointerValue | Uint8Array; /** isize */ - hCatAdmin: Deno.PointerValue; + hCatAdmin: bigint | number; } export const sizeofWINTRUST_CATALOG_INFO = 72; @@ -104720,7 +104720,7 @@ export class WINTRUST_CATALOG_INFOView { } // 0x40: isize - get hCatAdmin(): Deno.PointerValue { + get hCatAdmin(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -104775,7 +104775,7 @@ export class WINTRUST_CATALOG_INFOView { } // 0x40: isize - set hCatAdmin(value: Deno.PointerValue) { + set hCatAdmin(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } } @@ -105199,7 +105199,7 @@ export interface CRYPT_PROVIDER_DATA { /** ptr */ pgActionID: Deno.PointerValue | Uint8Array; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** u32 */ dwError: number; /** u32 */ @@ -105389,7 +105389,7 @@ export class CRYPT_PROVIDER_DATAView { } // 0x28: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -105587,7 +105587,7 @@ export class CRYPT_PROVIDER_DATAView { } // 0x28: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -109590,9 +109590,9 @@ export interface DRIVER_VER_INFO { /** u32 */ cbStruct: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; /** u32 */ dwPlatform: number; /** u32 */ @@ -109664,12 +109664,12 @@ export class DRIVER_VER_INFOView { // 0x04: pad4 // 0x08: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -109731,12 +109731,12 @@ export class DRIVER_VER_INFOView { // 0x04: pad4 // 0x08: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -111153,7 +111153,7 @@ export class WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0View { } } -export type HDESK = Deno.PointerValue; +export type HDESK = bigint | number; /** * Windows.Win32.Security.WinWlx.WLX_DESKTOP (size: 24) @@ -117234,7 +117234,7 @@ export class TOKEN_APPCONTAINER_INFORMATIONView { */ export interface CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE { /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** Windows.Win32.Foundation.PWSTR */ Name: string | null | Uint8Array | Uint16Array; } @@ -117265,7 +117265,7 @@ export class CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUEView { } // 0x00: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -117276,7 +117276,7 @@ export class CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUEView { } // 0x00: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } diff --git a/api/Security/AppLocker.ts b/api/Security/AppLocker.ts index 2fa9605..bf7d7c5 100644 --- a/api/Security/AppLocker.ts +++ b/api/Security/AppLocker.ts @@ -87,16 +87,16 @@ export const SaferIdentityTypeCertificate = 4; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -122,22 +122,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -214,7 +214,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -254,7 +254,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -269,12 +269,12 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Security.AppLocker.SAFER_CODE_PROPERTIES_V1 (size: 88) @@ -536,7 +536,7 @@ export interface SAFER_CODE_PROPERTIES_V2 { /** Windows.Win32.Foundation.PWSTR */ PackageName: string | null | Uint8Array | Uint16Array; /** u64 */ - PackageVersion: Deno.PointerValue; + PackageVersion: bigint | number; /** Windows.Win32.Foundation.BOOL */ PackageIsFramework: boolean; } @@ -703,7 +703,7 @@ export class SAFER_CODE_PROPERTIES_V2View { } // 0x70: u64 - get PackageVersion(): Deno.PointerValue { + get PackageVersion(): bigint | number { return Number(this.view.getBigUint64(112, true)); } @@ -802,7 +802,7 @@ export class SAFER_CODE_PROPERTIES_V2View { } // 0x70: u64 - set PackageVersion(value: Deno.PointerValue) { + set PackageVersion(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } @@ -1361,7 +1361,7 @@ export class SAFER_URLZONE_IDENTIFICATIONView { } } -export type SAFER_LEVEL_HANDLE = Deno.PointerValue; +export type SAFER_LEVEL_HANDLE = bigint | number; export type BOOLEAN = number; diff --git a/api/Security/Authentication/Identity.ts b/api/Security/Authentication/Identity.ts index 79f6961..2f5358a 100644 --- a/api/Security/Authentication/Identity.ts +++ b/api/Security/Authentication/Identity.ts @@ -24,9 +24,9 @@ export type KERB_CRYPTO_KEY_TYPE = number; export type LSA_AUTH_INFORMATION_AUTH_TYPE = number; export type SECPKG_PACKAGE_CHANGE_TYPE = number; export type TRUSTED_DOMAIN_TRUST_ATTRIBUTES = number; -export type ISC_REQ_HIGH_FLAGS = Deno.PointerValue; +export type ISC_REQ_HIGH_FLAGS = bigint | number; export type ISC_REQ_FLAGS = number; -export type ASC_REQ_HIGH_FLAGS = Deno.PointerValue; +export type ASC_REQ_HIGH_FLAGS = bigint | number; export type ASC_REQ_FLAGS = number; export type SID_NAME_USE = number; export type LSA_LOOKUP_DOMAIN_INFO_CLASS = number; @@ -2170,7 +2170,7 @@ export const CONNECT_COMPLETED = 2; // Structs -export type LsaHandle = Deno.PointerValue; +export type LsaHandle = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -3387,9 +3387,9 @@ export class LSA_TRANSLATED_SIDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3415,22 +3415,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3507,7 +3507,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -3547,7 +3547,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -3562,7 +3562,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -4077,15 +4077,15 @@ export class POLICY_REPLICA_SOURCE_INFOView { */ export interface QUOTA_LIMITS { /** usize */ - PagedPoolLimit: Deno.PointerValue; + PagedPoolLimit: bigint | number; /** usize */ - NonPagedPoolLimit: Deno.PointerValue; + NonPagedPoolLimit: bigint | number; /** usize */ - MinimumWorkingSetSize: Deno.PointerValue; + MinimumWorkingSetSize: bigint | number; /** usize */ - MaximumWorkingSetSize: Deno.PointerValue; + MaximumWorkingSetSize: bigint | number; /** usize */ - PagefileLimit: Deno.PointerValue; + PagefileLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ TimeLimit: Uint8Array | Deno.PointerValue; } @@ -4121,27 +4121,27 @@ export class QUOTA_LIMITSView { } // 0x00: usize - get PagedPoolLimit(): Deno.PointerValue { + get PagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get NonPagedPoolLimit(): Deno.PointerValue { + get NonPagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get MinimumWorkingSetSize(): Deno.PointerValue { + get MinimumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get MaximumWorkingSetSize(): Deno.PointerValue { + get MaximumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get PagefileLimit(): Deno.PointerValue { + get PagefileLimit(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -4152,27 +4152,27 @@ export class QUOTA_LIMITSView { } // 0x00: usize - set PagedPoolLimit(value: Deno.PointerValue) { + set PagedPoolLimit(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set NonPagedPoolLimit(value: Deno.PointerValue) { + set NonPagedPoolLimit(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set MinimumWorkingSetSize(value: Deno.PointerValue) { + set MinimumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set MaximumWorkingSetSize(value: Deno.PointerValue) { + set MaximumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set PagefileLimit(value: Deno.PointerValue) { + set PagefileLimit(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -6809,13 +6809,13 @@ export class CENTRAL_ACCESS_POLICYView { */ export interface NEGOTIATE_PACKAGE_PREFIX { /** usize */ - PackageId: Deno.PointerValue; + PackageId: bigint | number; /** ptr */ PackageDataA: Deno.PointerValue | Uint8Array; /** ptr */ PackageDataW: Deno.PointerValue | Uint8Array; /** usize */ - PrefixLen: Deno.PointerValue; + PrefixLen: bigint | number; /** array */ Prefix: Deno.PointerValue; } @@ -6849,7 +6849,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x00: usize - get PackageId(): Deno.PointerValue { + get PackageId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6866,7 +6866,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x18: usize - get PrefixLen(): Deno.PointerValue { + get PrefixLen(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6877,7 +6877,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x00: usize - set PackageId(value: Deno.PointerValue) { + set PackageId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6892,7 +6892,7 @@ export class NEGOTIATE_PACKAGE_PREFIXView { } // 0x18: usize - set PrefixLen(value: Deno.PointerValue) { + set PrefixLen(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -8719,7 +8719,7 @@ export interface MSV1_0_NTLM3_RESPONSE { /** u32 */ MsgWord: number; /** u64 */ - TimeStamp: Deno.PointerValue; + TimeStamp: bigint | number; /** array */ ChallengeFromClient: Deno.PointerValue; /** u32 */ @@ -8792,7 +8792,7 @@ export class MSV1_0_NTLM3_RESPONSEView { } // 0x10: u64 - get TimeStamp(): Deno.PointerValue { + get TimeStamp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8841,7 +8841,7 @@ export class MSV1_0_NTLM3_RESPONSEView { } // 0x10: u64 - set TimeStamp(value: Deno.PointerValue) { + set TimeStamp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12430,9 +12430,9 @@ export class KERB_EXTERNAL_TICKETView { */ export interface SecHandle { /** usize */ - dwLower: Deno.PointerValue; + dwLower: bigint | number; /** usize */ - dwUpper: Deno.PointerValue; + dwUpper: bigint | number; } export const sizeofSecHandle = 16; @@ -12458,22 +12458,22 @@ export class SecHandleView { } // 0x00: usize - get dwLower(): Deno.PointerValue { + get dwLower(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwUpper(): Deno.PointerValue { + get dwUpper(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set dwLower(value: Deno.PointerValue) { + set dwLower(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwUpper(value: Deno.PointerValue) { + set dwUpper(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13030,7 +13030,7 @@ export class KERB_QUERY_KDC_PROXY_CACHE_REQUESTView { */ export interface KDC_PROXY_CACHE_ENTRY_DATA { /** u64 */ - SinceLastUsed: Deno.PointerValue; + SinceLastUsed: bigint | number; /** Windows.Win32.Foundation.UNICODE_STRING */ DomainName: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.UNICODE_STRING */ @@ -13087,7 +13087,7 @@ export class KDC_PROXY_CACHE_ENTRY_DATAView { } // 0x00: u64 - get SinceLastUsed(): Deno.PointerValue { + get SinceLastUsed(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -13141,7 +13141,7 @@ export class KDC_PROXY_CACHE_ENTRY_DATAView { } // 0x00: u64 - set SinceLastUsed(value: Deno.PointerValue) { + set SinceLastUsed(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15437,7 +15437,7 @@ export class KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUESTView { */ export interface KERB_BINDING_CACHE_ENTRY_DATA { /** u64 */ - DiscoveryTime: Deno.PointerValue; + DiscoveryTime: bigint | number; /** Windows.Win32.Foundation.UNICODE_STRING */ RealmName: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.UNICODE_STRING */ @@ -15489,7 +15489,7 @@ export class KERB_BINDING_CACHE_ENTRY_DATAView { } // 0x00: u64 - get DiscoveryTime(): Deno.PointerValue { + get DiscoveryTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15532,7 +15532,7 @@ export class KERB_BINDING_CACHE_ENTRY_DATAView { } // 0x00: u64 - set DiscoveryTime(value: Deno.PointerValue) { + set DiscoveryTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -16286,7 +16286,7 @@ export class PKU2U_CERT_BLOBView { */ export interface PKU2U_CREDUI_CONTEXT { /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** u16 */ cbHeaderLength: number; /** u32 */ @@ -16327,7 +16327,7 @@ export class PKU2U_CREDUI_CONTEXTView { } // 0x00: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -16354,7 +16354,7 @@ export class PKU2U_CREDUI_CONTEXTView { // 0x14: pad4 // 0x00: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17590,7 +17590,7 @@ export class SEC_DTLS_MTUView { */ export interface SEC_FLAGS { /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofSEC_FLAGS = 8; @@ -17614,12 +17614,12 @@ export class SEC_FLAGSView { } // 0x00: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -20473,9 +20473,9 @@ export interface SECPKG_APP_MODE_INFO { /** u32 */ UserFunction: number; /** usize */ - Argument1: Deno.PointerValue; + Argument1: bigint | number; /** usize */ - Argument2: Deno.PointerValue; + Argument2: bigint | number; /** Windows.Win32.Security.Authentication.Identity.SecBuffer */ UserData: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BOOLEAN */ @@ -20519,12 +20519,12 @@ export class SECPKG_APP_MODE_INFOView { // 0x04: pad4 // 0x08: usize - get Argument1(): Deno.PointerValue { + get Argument1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get Argument2(): Deno.PointerValue { + get Argument2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -20548,12 +20548,12 @@ export class SECPKG_APP_MODE_INFOView { // 0x04: pad4 // 0x08: usize - set Argument1(value: Deno.PointerValue) { + set Argument1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set Argument2(value: Deno.PointerValue) { + set Argument2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -23693,7 +23693,7 @@ export class SAM_REGISTER_MAPPING_TABLEView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Security.Authentication.Identity.SECPKG_CLIENT_INFO (size: 56) @@ -24269,7 +24269,7 @@ export class SECPKG_SUPPLIED_CREDENTIALView { */ export interface SECPKG_CREDENTIAL { /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** u16 */ cbHeaderLength: number; /** u32 */ @@ -24347,7 +24347,7 @@ export class SECPKG_CREDENTIALView { } // 0x00: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -24427,7 +24427,7 @@ export class SECPKG_CREDENTIALView { } // 0x00: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -24980,7 +24980,7 @@ export interface SECPKG_PRIMARY_CRED_EX { /** Windows.Win32.Foundation.UNICODE_STRING */ Spare4: Uint8Array | Deno.PointerValue; /** usize */ - PackageId: Deno.PointerValue; + PackageId: bigint | number; /** Windows.Win32.Foundation.LUID */ PrevLogonId: Uint8Array | Deno.PointerValue; /** u32 */ @@ -25127,7 +25127,7 @@ export class SECPKG_PRIMARY_CRED_EXView { } // 0x70: usize - get PackageId(): Deno.PointerValue { + get PackageId(): bigint | number { return Number(this.view.getBigUint64(112, true)); } @@ -25217,7 +25217,7 @@ export class SECPKG_PRIMARY_CRED_EXView { } // 0x70: usize - set PackageId(value: Deno.PointerValue) { + set PackageId(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } @@ -29383,7 +29383,7 @@ export interface SECPKG_EVENT_PACKAGE_CHANGE { /** Windows.Win32.Security.Authentication.Identity.SECPKG_PACKAGE_CHANGE_TYPE */ ChangeType: SECPKG_PACKAGE_CHANGE_TYPE; /** usize */ - PackageId: Deno.PointerValue; + PackageId: bigint | number; /** Windows.Win32.Foundation.UNICODE_STRING */ PackageName: Uint8Array | Deno.PointerValue; } @@ -29421,7 +29421,7 @@ export class SECPKG_EVENT_PACKAGE_CHANGEView { // 0x04: pad4 // 0x08: usize - get PackageId(): Deno.PointerValue { + get PackageId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -29439,7 +29439,7 @@ export class SECPKG_EVENT_PACKAGE_CHANGEView { // 0x04: pad4 // 0x08: usize - set PackageId(value: Deno.PointerValue) { + set PackageId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -34687,7 +34687,7 @@ export class SecPkgContext_CertInfoView { // 0x24: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Security.Authentication.Identity.SecPkgContext_UiInfo (size: 8) @@ -35771,7 +35771,7 @@ export interface SCHANNEL_CERT_HASH { /** u32 */ dwFlags: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** array */ ShaHash: Deno.PointerValue; } @@ -35813,7 +35813,7 @@ export class SCHANNEL_CERT_HASHView { } // 0x08: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -35834,7 +35834,7 @@ export class SCHANNEL_CERT_HASHView { } // 0x08: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -35853,7 +35853,7 @@ export interface SCHANNEL_CERT_HASH_STORE { /** u32 */ dwFlags: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** array */ ShaHash: Deno.PointerValue; /** array */ @@ -35899,7 +35899,7 @@ export class SCHANNEL_CERT_HASH_STOREView { } // 0x08: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -35926,7 +35926,7 @@ export class SCHANNEL_CERT_HASH_STOREView { } // 0x08: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -36404,7 +36404,7 @@ export interface SCH_CRED_SECRET_CAPI { /** u32 */ dwType: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; } export const sizeofSCH_CRED_SECRET_CAPI = 16; @@ -36438,7 +36438,7 @@ export class SCH_CRED_SECRET_CAPIView { // 0x04: pad4 // 0x08: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -36450,7 +36450,7 @@ export class SCH_CRED_SECRET_CAPIView { // 0x04: pad4 // 0x08: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -38545,7 +38545,7 @@ export interface SL_LICENSING_STATUS { /** Windows.Win32.Foundation.HRESULT */ hrReason: Uint8Array | Deno.PointerValue; /** u64 */ - qwValidityExpiration: Deno.PointerValue; + qwValidityExpiration: bigint | number; } export const sizeofSL_LICENSING_STATUS = 40; @@ -38609,7 +38609,7 @@ export class SL_LICENSING_STATUSView { } // 0x20: u64 - get qwValidityExpiration(): Deno.PointerValue { + get qwValidityExpiration(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -38641,7 +38641,7 @@ export class SL_LICENSING_STATUSView { } // 0x20: u64 - set qwValidityExpiration(value: Deno.PointerValue) { + set qwValidityExpiration(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } diff --git a/api/Security/Authorization.ts b/api/Security/Authorization.ts index 2b14159..63ceafe 100644 --- a/api/Security/Authorization.ts +++ b/api/Security/Authorization.ts @@ -5314,9 +5314,9 @@ export class TRUSTEE_ACCESSWView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -5342,22 +5342,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5417,7 +5417,7 @@ export class _Anonymous_e__UnionView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Security.Authorization.ACTRL_OVERLAPPED (size: 24) @@ -6115,11 +6115,11 @@ export class AUDIT_IP_ADDRESSView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -6171,7 +6171,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6182,7 +6182,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6218,7 +6218,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6229,7 +6229,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -6266,7 +6266,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -6295,7 +6295,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6307,7 +6307,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6684,7 +6684,7 @@ export interface AUTHZ_AUDIT_EVENT_TYPE_OLD { /** i32 */ RefCount: number; /** usize */ - hAudit: Deno.PointerValue; + hAudit: bigint | number; /** Windows.Win32.Foundation.LUID */ LinkId: Uint8Array | Deno.PointerValue; /** Windows.Win32.Security.Authorization.AUTHZ_AUDIT_EVENT_TYPE_UNION */ @@ -6740,7 +6740,7 @@ export class AUTHZ_AUDIT_EVENT_TYPE_OLDView { // 0x0c: pad4 // 0x10: usize - get hAudit(): Deno.PointerValue { + get hAudit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6774,7 +6774,7 @@ export class AUTHZ_AUDIT_EVENT_TYPE_OLDView { // 0x0c: pad4 // 0x10: usize - set hAudit(value: Deno.PointerValue) { + set hAudit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7037,7 +7037,7 @@ export class AUTHZ_ACCESS_REPLYView { */ export interface AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE { /** u64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pName: string | null | Uint8Array | Uint16Array; } @@ -7068,7 +7068,7 @@ export class AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUEView { } // 0x00: u64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7079,7 +7079,7 @@ export class AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUEView { } // 0x00: u64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8038,7 +8038,7 @@ export class AUTHZ_SOURCE_SCHEMA_REGISTRATIONView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.Security.Authorization.UI.SI_OBJECT_INFO (size: 48) @@ -8729,17 +8729,17 @@ export class EFFPERM_RESULT_LISTView { } } -export type AUTHZ_ACCESS_CHECK_RESULTS_HANDLE = Deno.PointerValue; +export type AUTHZ_ACCESS_CHECK_RESULTS_HANDLE = bigint | number; -export type AUTHZ_CLIENT_CONTEXT_HANDLE = Deno.PointerValue; +export type AUTHZ_CLIENT_CONTEXT_HANDLE = bigint | number; -export type AUTHZ_RESOURCE_MANAGER_HANDLE = Deno.PointerValue; +export type AUTHZ_RESOURCE_MANAGER_HANDLE = bigint | number; -export type AUTHZ_AUDIT_EVENT_HANDLE = Deno.PointerValue; +export type AUTHZ_AUDIT_EVENT_HANDLE = bigint | number; -export type AUTHZ_AUDIT_EVENT_TYPE_HANDLE = Deno.PointerValue; +export type AUTHZ_AUDIT_EVENT_TYPE_HANDLE = bigint | number; -export type AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE = Deno.PointerValue; +export type AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; diff --git a/api/Security/Authorization/UI.ts b/api/Security/Authorization/UI.ts index 325f625..cf9273b 100644 --- a/api/Security/Authorization/UI.ts +++ b/api/Security/Authorization/UI.ts @@ -85,7 +85,7 @@ export const SI_SHOW_CENTRAL_POLICY_ACTIVATED = 6; // Structs -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -780,9 +780,9 @@ export class EFFPERM_RESULT_LISTView { } } -export type HPROPSHEETPAGE = Deno.PointerValue; +export type HPROPSHEETPAGE = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; export type BOOL = number; diff --git a/api/Security/Credentials.ts b/api/Security/Credentials.ts index 60ebdaf..fe5378f 100644 --- a/api/Security/Credentials.ts +++ b/api/Security/Credentials.ts @@ -332,9 +332,9 @@ export class KeyCredentialManagerInfoView { */ export interface SecHandle { /** usize */ - dwLower: Deno.PointerValue; + dwLower: bigint | number; /** usize */ - dwUpper: Deno.PointerValue; + dwUpper: bigint | number; } export const sizeofSecHandle = 16; @@ -360,22 +360,22 @@ export class SecHandleView { } // 0x00: usize - get dwLower(): Deno.PointerValue { + get dwLower(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get dwUpper(): Deno.PointerValue { + get dwUpper(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set dwLower(value: Deno.PointerValue) { + set dwLower(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set dwUpper(value: Deno.PointerValue) { + set dwUpper(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1617,9 +1617,9 @@ export class BINARY_BLOB_CREDENTIAL_INFOView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.Security.Credentials.CREDUI_INFOA (size: 40) @@ -2003,9 +2003,9 @@ export class SCARD_T0_COMMANDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2031,22 +2031,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3034,7 +3034,7 @@ export class OPENCARD_SEARCH_CRITERIAWView { } } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.Security.Credentials.OPENCARDNAME_EXA (size: 128) @@ -3043,7 +3043,7 @@ export interface OPENCARDNAME_EXA { /** u32 */ dwStructSize: number; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** u32 */ @@ -3075,7 +3075,7 @@ export interface OPENCARDNAME_EXA { /** u32 */ dwActiveProtocol: number; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAME_EXA = 128; @@ -3155,7 +3155,7 @@ export class OPENCARDNAME_EXAView { // 0x04: pad4 // 0x08: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3248,7 +3248,7 @@ export class OPENCARDNAME_EXAView { } // 0x78: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -3260,7 +3260,7 @@ export class OPENCARDNAME_EXAView { // 0x04: pad4 // 0x08: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -3348,7 +3348,7 @@ export class OPENCARDNAME_EXAView { } // 0x78: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } } @@ -3360,7 +3360,7 @@ export interface OPENCARDNAME_EXW { /** u32 */ dwStructSize: number; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** u32 */ @@ -3392,7 +3392,7 @@ export interface OPENCARDNAME_EXW { /** u32 */ dwActiveProtocol: number; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAME_EXW = 128; @@ -3472,7 +3472,7 @@ export class OPENCARDNAME_EXWView { // 0x04: pad4 // 0x08: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3565,7 +3565,7 @@ export class OPENCARDNAME_EXWView { } // 0x78: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -3577,7 +3577,7 @@ export class OPENCARDNAME_EXWView { // 0x04: pad4 // 0x08: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -3665,7 +3665,7 @@ export class OPENCARDNAME_EXWView { } // 0x78: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } } @@ -3847,7 +3847,7 @@ export interface OPENCARDNAMEA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpstrGroupNames: string | null | Uint8Array; /** u32 */ @@ -3887,7 +3887,7 @@ export interface OPENCARDNAMEA { /** Windows.Win32.Security.Credentials.LPOCNDSCPROC */ lpfnDisconnect: Uint8Array | Deno.PointerValue; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAMEA = 176; @@ -3991,7 +3991,7 @@ export class OPENCARDNAMEAView { } // 0x10: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4115,7 +4115,7 @@ export class OPENCARDNAMEAView { } // 0xa8: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(168, true)); } @@ -4132,7 +4132,7 @@ export class OPENCARDNAMEAView { } // 0x10: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4251,7 +4251,7 @@ export class OPENCARDNAMEAView { } // 0xa8: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } } @@ -4265,7 +4265,7 @@ export interface OPENCARDNAMEW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** usize */ - hSCardContext: Deno.PointerValue; + hSCardContext: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpstrGroupNames: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -4305,7 +4305,7 @@ export interface OPENCARDNAMEW { /** Windows.Win32.Security.Credentials.LPOCNDSCPROC */ lpfnDisconnect: Uint8Array | Deno.PointerValue; /** usize */ - hCardHandle: Deno.PointerValue; + hCardHandle: bigint | number; } export const sizeofOPENCARDNAMEW = 176; @@ -4409,7 +4409,7 @@ export class OPENCARDNAMEWView { } // 0x10: usize - get hSCardContext(): Deno.PointerValue { + get hSCardContext(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4533,7 +4533,7 @@ export class OPENCARDNAMEWView { } // 0xa8: usize - get hCardHandle(): Deno.PointerValue { + get hCardHandle(): bigint | number { return Number(this.view.getBigUint64(168, true)); } @@ -4550,7 +4550,7 @@ export class OPENCARDNAMEWView { } // 0x10: usize - set hSCardContext(value: Deno.PointerValue) { + set hSCardContext(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4669,7 +4669,7 @@ export class OPENCARDNAMEWView { } // 0xa8: usize - set hCardHandle(value: Deno.PointerValue) { + set hCardHandle(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } } @@ -4907,7 +4907,7 @@ export type HRESULT = number; export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -5932,19 +5932,19 @@ export function SCardEstablishContext( } export function SCardReleaseContext( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, ): number /* i32 */ { return libWinSCard_dll.SCardReleaseContext(hContext); } export function SCardIsValidContext( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, ): number /* i32 */ { return libWinSCard_dll.SCardIsValidContext(hContext); } export function SCardListReaderGroupsA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, mszGroups: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchGroups: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -5952,7 +5952,7 @@ export function SCardListReaderGroupsA( } export function SCardListReaderGroupsW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, mszGroups: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchGroups: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -5960,7 +5960,7 @@ export function SCardListReaderGroupsW( } export function SCardListReadersA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, mszGroups: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, mszReaders: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchReaders: Deno.PointerValue | Uint8Array /* ptr */, @@ -5969,7 +5969,7 @@ export function SCardListReadersA( } export function SCardListReadersW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, mszGroups: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, mszReaders: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchReaders: Deno.PointerValue | Uint8Array /* ptr */, @@ -5978,7 +5978,7 @@ export function SCardListReadersW( } export function SCardListCardsA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, pbAtr: Deno.PointerValue | Uint8Array /* ptr */, rgquidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, cguidInterfaceCount: number /* u32 */, @@ -5989,7 +5989,7 @@ export function SCardListCardsA( } export function SCardListCardsW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, pbAtr: Deno.PointerValue | Uint8Array /* ptr */, rgquidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, cguidInterfaceCount: number /* u32 */, @@ -6000,7 +6000,7 @@ export function SCardListCardsW( } export function SCardListInterfacesA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCard: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pguidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, pcguidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, @@ -6009,7 +6009,7 @@ export function SCardListInterfacesA( } export function SCardListInterfacesW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCard: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pguidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, pcguidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, @@ -6018,7 +6018,7 @@ export function SCardListInterfacesW( } export function SCardGetProviderIdA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCard: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pguidProviderId: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -6026,7 +6026,7 @@ export function SCardGetProviderIdA( } export function SCardGetProviderIdW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCard: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pguidProviderId: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -6034,7 +6034,7 @@ export function SCardGetProviderIdW( } export function SCardGetCardTypeProviderNameA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwProviderId: number /* u32 */, szProvider: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6044,7 +6044,7 @@ export function SCardGetCardTypeProviderNameA( } export function SCardGetCardTypeProviderNameW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwProviderId: number /* u32 */, szProvider: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -6054,35 +6054,35 @@ export function SCardGetCardTypeProviderNameW( } export function SCardIntroduceReaderGroupA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szGroupName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardIntroduceReaderGroupA(hContext, util.pstrToFfi(szGroupName)); } export function SCardIntroduceReaderGroupW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szGroupName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardIntroduceReaderGroupW(hContext, util.pwstrToFfi(szGroupName)); } export function SCardForgetReaderGroupA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szGroupName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardForgetReaderGroupA(hContext, util.pstrToFfi(szGroupName)); } export function SCardForgetReaderGroupW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szGroupName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardForgetReaderGroupW(hContext, util.pwstrToFfi(szGroupName)); } export function SCardIntroduceReaderA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szDeviceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { @@ -6090,7 +6090,7 @@ export function SCardIntroduceReaderA( } export function SCardIntroduceReaderW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szDeviceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { @@ -6098,21 +6098,21 @@ export function SCardIntroduceReaderW( } export function SCardForgetReaderA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardForgetReaderA(hContext, util.pstrToFfi(szReaderName)); } export function SCardForgetReaderW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardForgetReaderW(hContext, util.pwstrToFfi(szReaderName)); } export function SCardAddReaderToGroupA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szGroupName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { @@ -6120,7 +6120,7 @@ export function SCardAddReaderToGroupA( } export function SCardAddReaderToGroupW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szGroupName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { @@ -6128,7 +6128,7 @@ export function SCardAddReaderToGroupW( } export function SCardRemoveReaderFromGroupA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szGroupName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { @@ -6136,7 +6136,7 @@ export function SCardRemoveReaderFromGroupA( } export function SCardRemoveReaderFromGroupW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szGroupName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { @@ -6144,7 +6144,7 @@ export function SCardRemoveReaderFromGroupW( } export function SCardIntroduceCardTypeA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pguidPrimaryProvider: Deno.PointerValue | Uint8Array /* ptr */, rgguidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, @@ -6157,7 +6157,7 @@ export function SCardIntroduceCardTypeA( } export function SCardIntroduceCardTypeW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pguidPrimaryProvider: Deno.PointerValue | Uint8Array /* ptr */, rgguidInterfaces: Deno.PointerValue | Uint8Array /* ptr */, @@ -6170,7 +6170,7 @@ export function SCardIntroduceCardTypeW( } export function SCardSetCardTypeProviderNameA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwProviderId: number /* u32 */, szProvider: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6179,7 +6179,7 @@ export function SCardSetCardTypeProviderNameA( } export function SCardSetCardTypeProviderNameW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwProviderId: number /* u32 */, szProvider: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -6188,21 +6188,21 @@ export function SCardSetCardTypeProviderNameW( } export function SCardForgetCardTypeA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardForgetCardTypeA(hContext, util.pstrToFfi(szCardName)); } export function SCardForgetCardTypeW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szCardName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { return libWinSCard_dll.SCardForgetCardTypeW(hContext, util.pwstrToFfi(szCardName)); } export function SCardFreeMemory( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, pvMem: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libWinSCard_dll.SCardFreeMemory(hContext, util.toPointer(pvMem)); @@ -6217,7 +6217,7 @@ export function SCardReleaseStartedEvent(): void /* void */ { } export function SCardLocateCardsA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, mszCards: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, rgReaderStates: Deno.PointerValue | Uint8Array /* ptr */, cReaders: number /* u32 */, @@ -6226,7 +6226,7 @@ export function SCardLocateCardsA( } export function SCardLocateCardsW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, mszCards: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, rgReaderStates: Deno.PointerValue | Uint8Array /* ptr */, cReaders: number /* u32 */, @@ -6235,7 +6235,7 @@ export function SCardLocateCardsW( } export function SCardLocateCardsByATRA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, rgAtrMasks: Deno.PointerValue | Uint8Array /* ptr */, cAtrs: number /* u32 */, rgReaderStates: Deno.PointerValue | Uint8Array /* ptr */, @@ -6245,7 +6245,7 @@ export function SCardLocateCardsByATRA( } export function SCardLocateCardsByATRW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, rgAtrMasks: Deno.PointerValue | Uint8Array /* ptr */, cAtrs: number /* u32 */, rgReaderStates: Deno.PointerValue | Uint8Array /* ptr */, @@ -6255,7 +6255,7 @@ export function SCardLocateCardsByATRW( } export function SCardGetStatusChangeA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, dwTimeout: number /* u32 */, rgReaderStates: Deno.PointerValue | Uint8Array /* ptr */, cReaders: number /* u32 */, @@ -6264,7 +6264,7 @@ export function SCardGetStatusChangeA( } export function SCardGetStatusChangeW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, dwTimeout: number /* u32 */, rgReaderStates: Deno.PointerValue | Uint8Array /* ptr */, cReaders: number /* u32 */, @@ -6273,13 +6273,13 @@ export function SCardGetStatusChangeW( } export function SCardCancel( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, ): number /* i32 */ { return libWinSCard_dll.SCardCancel(hContext); } export function SCardConnectA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReader: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwShareMode: number /* u32 */, dwPreferredProtocols: number /* u32 */, @@ -6290,7 +6290,7 @@ export function SCardConnectA( } export function SCardConnectW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReader: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwShareMode: number /* u32 */, dwPreferredProtocols: number /* u32 */, @@ -6301,7 +6301,7 @@ export function SCardConnectW( } export function SCardReconnect( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, dwShareMode: number /* u32 */, dwPreferredProtocols: number /* u32 */, dwInitialization: number /* u32 */, @@ -6311,27 +6311,27 @@ export function SCardReconnect( } export function SCardDisconnect( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, dwDisposition: number /* u32 */, ): number /* i32 */ { return libWinSCard_dll.SCardDisconnect(hCard, dwDisposition); } export function SCardBeginTransaction( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, ): number /* i32 */ { return libWinSCard_dll.SCardBeginTransaction(hCard); } export function SCardEndTransaction( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, dwDisposition: number /* u32 */, ): number /* i32 */ { return libWinSCard_dll.SCardEndTransaction(hCard, dwDisposition); } export function SCardState( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, pdwState: Deno.PointerValue | Uint8Array /* ptr */, pdwProtocol: Deno.PointerValue | Uint8Array /* ptr */, pbAtr: Deno.PointerValue | Uint8Array /* ptr */, @@ -6341,7 +6341,7 @@ export function SCardState( } export function SCardStatusA( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, mszReaderNames: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchReaderLen: Deno.PointerValue | Uint8Array /* ptr */, pdwState: Deno.PointerValue | Uint8Array /* ptr */, @@ -6353,7 +6353,7 @@ export function SCardStatusA( } export function SCardStatusW( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, mszReaderNames: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchReaderLen: Deno.PointerValue | Uint8Array /* ptr */, pdwState: Deno.PointerValue | Uint8Array /* ptr */, @@ -6365,7 +6365,7 @@ export function SCardStatusW( } export function SCardTransmit( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, pioSendPci: Deno.PointerValue | Uint8Array /* ptr */, pbSendBuffer: Deno.PointerValue | Uint8Array /* ptr */, cbSendLength: number /* u32 */, @@ -6377,14 +6377,14 @@ export function SCardTransmit( } export function SCardGetTransmitCount( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, pcTransmitCount: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libWinSCard_dll.SCardGetTransmitCount(hCard, util.toPointer(pcTransmitCount)); } export function SCardControl( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, dwControlCode: number /* u32 */, lpInBuffer: Deno.PointerValue | Uint8Array /* ptr */, cbInBufferSize: number /* u32 */, @@ -6396,7 +6396,7 @@ export function SCardControl( } export function SCardGetAttrib( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, dwAttrId: number /* u32 */, pbAttr: Deno.PointerValue | Uint8Array /* ptr */, pcbAttrLen: Deno.PointerValue | Uint8Array /* ptr */, @@ -6405,7 +6405,7 @@ export function SCardGetAttrib( } export function SCardSetAttrib( - hCard: Deno.PointerValue /* usize */, + hCard: bigint | number /* usize */, dwAttrId: number /* u32 */, pbAttr: Deno.PointerValue | Uint8Array /* ptr */, cbAttrLen: number /* u32 */, @@ -6442,7 +6442,7 @@ export function SCardDlgExtendedError(): number /* i32 */ { } export function SCardReadCacheA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, CardIdentifier: Deno.PointerValue | Uint8Array /* ptr */, FreshnessCounter: number /* u32 */, LookupName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6453,7 +6453,7 @@ export function SCardReadCacheA( } export function SCardReadCacheW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, CardIdentifier: Deno.PointerValue | Uint8Array /* ptr */, FreshnessCounter: number /* u32 */, LookupName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -6464,7 +6464,7 @@ export function SCardReadCacheW( } export function SCardWriteCacheA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, CardIdentifier: Deno.PointerValue | Uint8Array /* ptr */, FreshnessCounter: number /* u32 */, LookupName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -6475,7 +6475,7 @@ export function SCardWriteCacheA( } export function SCardWriteCacheW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, CardIdentifier: Deno.PointerValue | Uint8Array /* ptr */, FreshnessCounter: number /* u32 */, LookupName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -6486,7 +6486,7 @@ export function SCardWriteCacheW( } export function SCardGetReaderIconA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pbIcon: Deno.PointerValue | Uint8Array /* ptr */, pcbIcon: Deno.PointerValue | Uint8Array /* ptr */, @@ -6495,7 +6495,7 @@ export function SCardGetReaderIconA( } export function SCardGetReaderIconW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pbIcon: Deno.PointerValue | Uint8Array /* ptr */, pcbIcon: Deno.PointerValue | Uint8Array /* ptr */, @@ -6504,7 +6504,7 @@ export function SCardGetReaderIconW( } export function SCardGetDeviceTypeIdA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pdwDeviceTypeId: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -6512,7 +6512,7 @@ export function SCardGetDeviceTypeIdA( } export function SCardGetDeviceTypeIdW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pdwDeviceTypeId: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -6520,7 +6520,7 @@ export function SCardGetDeviceTypeIdW( } export function SCardGetReaderDeviceInstanceIdA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szDeviceInstanceId: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchDeviceInstanceId: Deno.PointerValue | Uint8Array /* ptr */, @@ -6529,7 +6529,7 @@ export function SCardGetReaderDeviceInstanceIdA( } export function SCardGetReaderDeviceInstanceIdW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szReaderName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szDeviceInstanceId: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchDeviceInstanceId: Deno.PointerValue | Uint8Array /* ptr */, @@ -6538,7 +6538,7 @@ export function SCardGetReaderDeviceInstanceIdW( } export function SCardListReadersWithDeviceInstanceIdA( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szDeviceInstanceId: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, mszReaders: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchReaders: Deno.PointerValue | Uint8Array /* ptr */, @@ -6547,7 +6547,7 @@ export function SCardListReadersWithDeviceInstanceIdA( } export function SCardListReadersWithDeviceInstanceIdW( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, szDeviceInstanceId: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, mszReaders: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchReaders: Deno.PointerValue | Uint8Array /* ptr */, @@ -6556,7 +6556,7 @@ export function SCardListReadersWithDeviceInstanceIdW( } export function SCardAudit( - hContext: Deno.PointerValue /* usize */, + hContext: bigint | number /* usize */, dwEvent: number /* u32 */, ): number /* i32 */ { return libWinSCard_dll.SCardAudit(hContext, dwEvent); diff --git a/api/Security/Cryptography.ts b/api/Security/Cryptography.ts index ccd2a5b..bc7f1fe 100644 --- a/api/Security/Cryptography.ts +++ b/api/Security/Cryptography.ts @@ -5856,33 +5856,33 @@ export const REG_QWORD_LITTLE_ENDIAN = 11; // Structs -export type HCRYPTASYNC = Deno.PointerValue; +export type HCRYPTASYNC = bigint | number; -export type HCERTCHAINENGINE = Deno.PointerValue; +export type HCERTCHAINENGINE = bigint | number; -export type BCRYPT_ALG_HANDLE = Deno.PointerValue; +export type BCRYPT_ALG_HANDLE = bigint | number; -export type BCRYPT_KEY_HANDLE = Deno.PointerValue; +export type BCRYPT_KEY_HANDLE = bigint | number; -export type BCRYPT_HASH_HANDLE = Deno.PointerValue; +export type BCRYPT_HASH_HANDLE = bigint | number; -export type BCRYPT_SECRET_HANDLE = Deno.PointerValue; +export type BCRYPT_SECRET_HANDLE = bigint | number; -export type BCRYPT_HANDLE = Deno.PointerValue; +export type BCRYPT_HANDLE = bigint | number; -export type NCRYPT_HANDLE = Deno.PointerValue; +export type NCRYPT_HANDLE = bigint | number; -export type NCRYPT_PROV_HANDLE = Deno.PointerValue; +export type NCRYPT_PROV_HANDLE = bigint | number; -export type NCRYPT_KEY_HANDLE = Deno.PointerValue; +export type NCRYPT_KEY_HANDLE = bigint | number; -export type NCRYPT_HASH_HANDLE = Deno.PointerValue; +export type NCRYPT_HASH_HANDLE = bigint | number; -export type NCRYPT_SECRET_HANDLE = Deno.PointerValue; +export type NCRYPT_SECRET_HANDLE = bigint | number; -export type HCRYPTPROV_LEGACY = Deno.PointerValue; +export type HCRYPTPROV_LEGACY = bigint | number; -export type HCRYPTPROV_OR_NCRYPT_KEY_HANDLE = Deno.PointerValue; +export type HCRYPTPROV_OR_NCRYPT_KEY_HANDLE = bigint | number; export type HCERTSTORE = Deno.PointerValue | Uint8Array; @@ -6283,7 +6283,7 @@ export class CAINFOView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Security.Cryptography.Catalog.CRYPTCATSTORE (size: 64) @@ -6296,7 +6296,7 @@ export interface CRYPTCATSTORE { /** Windows.Win32.Foundation.PWSTR */ pwszP7File: string | null | Uint8Array | Uint16Array; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** u32 */ dwEncodingType: number; /** Windows.Win32.Security.Cryptography.Catalog.CRYPTCAT_OPEN_FLAGS */ @@ -6369,7 +6369,7 @@ export class CRYPTCATSTOREView { } // 0x10: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6424,7 +6424,7 @@ export class CRYPTCATSTOREView { } // 0x10: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -9150,7 +9150,7 @@ export interface BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO { /** u32 */ cbAAD: number; /** u64 */ - cbData: Deno.PointerValue; + cbData: bigint | number; /** u32 */ dwFlags: number; } @@ -9269,7 +9269,7 @@ export class BCRYPT_AUTHENTICATED_CIPHER_MODE_INFOView { } // 0x48: u64 - get cbData(): Deno.PointerValue { + get cbData(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -9342,7 +9342,7 @@ export class BCRYPT_AUTHENTICATED_CIPHER_MODE_INFOView { } // 0x48: u64 - set cbData(value: Deno.PointerValue) { + set cbData(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -12419,7 +12419,7 @@ export interface NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS { /** u32 */ Version: number; /** u64 */ - TrustletId: Deno.PointerValue; + TrustletId: bigint | number; /** u32 */ MinSvn: number; /** u32 */ @@ -12469,7 +12469,7 @@ export class NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONSView { // 0x04: pad4 // 0x08: u64 - get TrustletId(): Deno.PointerValue { + get TrustletId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -12501,7 +12501,7 @@ export class NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONSView { // 0x04: pad4 // 0x08: u64 - set TrustletId(value: Deno.PointerValue) { + set TrustletId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -15032,7 +15032,7 @@ export class CRYPT_PKCS8_IMPORT_PARAMSView { */ export interface CRYPT_PKCS8_EXPORT_PARAMS { /** usize */ - hCryptProv: Deno.PointerValue; + hCryptProv: bigint | number; /** u32 */ dwKeySpec: number; /** Windows.Win32.Foundation.PSTR */ @@ -15076,7 +15076,7 @@ export class CRYPT_PKCS8_EXPORT_PARAMSView { } // 0x00: usize - get hCryptProv(): Deno.PointerValue { + get hCryptProv(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15106,7 +15106,7 @@ export class CRYPT_PKCS8_EXPORT_PARAMSView { } // 0x00: usize - set hCryptProv(value: Deno.PointerValue) { + set hCryptProv(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -17231,9 +17231,9 @@ export class CERT_OTHER_NAMEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -17259,22 +17259,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -24899,7 +24899,7 @@ export interface CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO { /** ptr */ pvKeyEncryptionAuxInfo: Deno.PointerValue | Uint8Array; /** usize */ - hCryptProv: Deno.PointerValue; + hCryptProv: bigint | number; /** u32 */ dwKeyChoice: number; /** _Anonymous_e__Union */ @@ -24970,7 +24970,7 @@ export class CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFOView { } // 0x18: usize - get hCryptProv(): Deno.PointerValue { + get hCryptProv(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -25023,7 +25023,7 @@ export class CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFOView { } // 0x18: usize - set hCryptProv(value: Deno.PointerValue) { + set hCryptProv(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -26795,7 +26795,7 @@ export interface CMSG_CTRL_MAIL_LIST_DECRYPT_PARA { /** u32 */ cbSize: number; /** usize */ - hCryptProv: Deno.PointerValue; + hCryptProv: bigint | number; /** ptr */ pMailList: Deno.PointerValue | Uint8Array; /** u32 */ @@ -26845,7 +26845,7 @@ export class CMSG_CTRL_MAIL_LIST_DECRYPT_PARAView { // 0x04: pad4 // 0x08: usize - get hCryptProv(): Deno.PointerValue { + get hCryptProv(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -26879,7 +26879,7 @@ export class CMSG_CTRL_MAIL_LIST_DECRYPT_PARAView { // 0x04: pad4 // 0x08: usize - set hCryptProv(value: Deno.PointerValue) { + set hCryptProv(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -28704,11 +28704,11 @@ export class CRYPT_SMART_CARD_ROOT_INFOView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -28760,7 +28760,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -28771,7 +28771,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -28807,7 +28807,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -28818,7 +28818,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -28855,7 +28855,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -28884,7 +28884,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -28896,7 +28896,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -28963,7 +28963,7 @@ export class CERT_SYSTEM_STORE_RELOCATE_PARAView { } } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; /** * Windows.Win32.Security.Cryptography.CERT_REGISTRY_STORE_CLIENT_GPT_PARA (size: 16) @@ -36644,7 +36644,7 @@ export class CRYPT_OBJECT_LOCATOR_PROVIDER_TABLEView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Security.Cryptography.CRYPTPROTECT_PROMPTSTRUCT (size: 24) @@ -39765,7 +39765,7 @@ export interface INFORMATIONCARD_CRYPTO_HANDLE { /** Windows.Win32.Security.Cryptography.HandleType */ type: HandleType; /** i64 */ - expiration: Deno.PointerValue; + expiration: bigint | number; /** ptr */ cryptoParameters: Deno.PointerValue | Uint8Array; } @@ -39803,7 +39803,7 @@ export class INFORMATIONCARD_CRYPTO_HANDLEView { // 0x04: pad4 // 0x08: i64 - get expiration(): Deno.PointerValue { + get expiration(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -39821,7 +39821,7 @@ export class INFORMATIONCARD_CRYPTO_HANDLEView { // 0x04: pad4 // 0x08: i64 - set expiration(value: Deno.PointerValue) { + set expiration(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -40668,7 +40668,7 @@ export interface SIP_SUBJECTINFO { /** u32 */ dwIntVersion: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** Windows.Win32.Security.Cryptography.CRYPT_ALGORITHM_IDENTIFIER */ DigestAlgorithm: Uint8Array | Deno.PointerValue; /** u32 */ @@ -40795,7 +40795,7 @@ export class SIP_SUBJECTINFOView { } // 0x30: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -40894,7 +40894,7 @@ export class SIP_SUBJECTINFOView { } // 0x30: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -41807,9 +41807,9 @@ export class MS_ADDINFO_CATALOGMEMBERView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Security.Cryptography.UI.CERT_SELECT_STRUCT_A (size: 136) @@ -41848,7 +41848,7 @@ export interface CERT_SELECT_STRUCT_A { /** u32 */ dwHelpId: number; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; } export const sizeofCERT_SELECT_STRUCT_A = 136; @@ -42022,7 +42022,7 @@ export class CERT_SELECT_STRUCT_AView { // 0x7c: pad4 // 0x80: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(128, true)); } @@ -42121,7 +42121,7 @@ export class CERT_SELECT_STRUCT_AView { // 0x7c: pad4 // 0x80: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } } @@ -42163,7 +42163,7 @@ export interface CERT_SELECT_STRUCT_W { /** u32 */ dwHelpId: number; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; } export const sizeofCERT_SELECT_STRUCT_W = 136; @@ -42337,7 +42337,7 @@ export class CERT_SELECT_STRUCT_WView { // 0x7c: pad4 // 0x80: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(128, true)); } @@ -42436,7 +42436,7 @@ export class CERT_SELECT_STRUCT_WView { // 0x7c: pad4 // 0x80: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } } @@ -42474,7 +42474,7 @@ export interface CERT_VIEWPROPERTIES_STRUCT_A { /** ptr */ rghstoreTrust: Deno.PointerValue | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lCustData: Uint8Array | Deno.PointerValue; /** u32 */ @@ -42652,7 +42652,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_AView { } // 0x68: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -42778,7 +42778,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_AView { } // 0x68: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -42856,7 +42856,7 @@ export interface CERT_VIEWPROPERTIES_STRUCT_W { /** ptr */ rghstoreTrust: Deno.PointerValue | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lCustData: Uint8Array | Deno.PointerValue; /** u32 */ @@ -43034,7 +43034,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_WView { } // 0x68: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -43160,7 +43160,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_WView { } // 0x68: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -43406,7 +43406,7 @@ export interface CERT_VERIFY_CERTIFICATE_TRUST { /** Windows.Win32.Foundation.PSTR */ pszUsageOid: string | null | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** u32 */ cRootStores: number; /** ptr */ @@ -43532,7 +43532,7 @@ export class CERT_VERIFY_CERTIFICATE_TRUSTView { } // 0x28: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -43645,7 +43645,7 @@ export class CERT_VERIFY_CERTIFICATE_TRUSTView { } // 0x28: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -45822,9 +45822,9 @@ export type HRESULT = number; export type PSID = Deno.PointerValue | Uint8Array; -export type NCRYPT_DESCRIPTOR_HANDLE = Deno.PointerValue; +export type NCRYPT_DESCRIPTOR_HANDLE = bigint | number; -export type NCRYPT_STREAM_HANDLE = Deno.PointerValue; +export type NCRYPT_STREAM_HANDLE = bigint | number; // Native Libraries @@ -47479,14 +47479,14 @@ export function CryptAcquireContextW( } export function CryptReleaseContext( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libADVAPI32_dll.CryptReleaseContext(hProv, dwFlags)); } export function CryptGenKey( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, Algid: number /* u32 */, dwFlags: CRYPT_KEY_FLAGS /* Windows.Win32.Security.Cryptography.CRYPT_KEY_FLAGS */, phKey: Deno.PointerValue | Uint8Array /* ptr */, @@ -47495,9 +47495,9 @@ export function CryptGenKey( } export function CryptDeriveKey( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, Algid: number /* u32 */, - hBaseData: Deno.PointerValue /* usize */, + hBaseData: bigint | number /* usize */, dwFlags: number /* u32 */, phKey: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47505,13 +47505,13 @@ export function CryptDeriveKey( } export function CryptDestroyKey( - hKey: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libADVAPI32_dll.CryptDestroyKey(hKey)); } export function CryptSetKeyParam( - hKey: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, dwParam: CRYPT_KEY_PARAM_ID /* Windows.Win32.Security.Cryptography.CRYPT_KEY_PARAM_ID */, pbData: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, @@ -47520,7 +47520,7 @@ export function CryptSetKeyParam( } export function CryptGetKeyParam( - hKey: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, dwParam: CRYPT_KEY_PARAM_ID /* Windows.Win32.Security.Cryptography.CRYPT_KEY_PARAM_ID */, pbData: Deno.PointerValue | Uint8Array /* ptr */, pdwDataLen: Deno.PointerValue | Uint8Array /* ptr */, @@ -47530,7 +47530,7 @@ export function CryptGetKeyParam( } export function CryptSetHashParam( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, dwParam: CRYPT_SET_HASH_PARAM /* Windows.Win32.Security.Cryptography.CRYPT_SET_HASH_PARAM */, pbData: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, @@ -47539,7 +47539,7 @@ export function CryptSetHashParam( } export function CryptGetHashParam( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, dwParam: number /* u32 */, pbData: Deno.PointerValue | Uint8Array /* ptr */, pdwDataLen: Deno.PointerValue | Uint8Array /* ptr */, @@ -47549,7 +47549,7 @@ export function CryptGetHashParam( } export function CryptSetProvParam( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, dwParam: CRYPT_SET_PROV_PARAM_ID /* Windows.Win32.Security.Cryptography.CRYPT_SET_PROV_PARAM_ID */, pbData: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, @@ -47558,7 +47558,7 @@ export function CryptSetProvParam( } export function CryptGetProvParam( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, dwParam: number /* u32 */, pbData: Deno.PointerValue | Uint8Array /* ptr */, pdwDataLen: Deno.PointerValue | Uint8Array /* ptr */, @@ -47568,7 +47568,7 @@ export function CryptGetProvParam( } export function CryptGenRandom( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, dwLen: number /* u32 */, pbBuffer: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47576,7 +47576,7 @@ export function CryptGenRandom( } export function CryptGetUserKey( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, dwKeySpec: number /* u32 */, phUserKey: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47584,8 +47584,8 @@ export function CryptGetUserKey( } export function CryptExportKey( - hKey: Deno.PointerValue /* usize */, - hExpKey: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, + hExpKey: bigint | number /* usize */, dwBlobType: number /* u32 */, dwFlags: CRYPT_KEY_FLAGS /* Windows.Win32.Security.Cryptography.CRYPT_KEY_FLAGS */, pbData: Deno.PointerValue | Uint8Array /* ptr */, @@ -47595,10 +47595,10 @@ export function CryptExportKey( } export function CryptImportKey( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, pbData: Deno.PointerValue | Uint8Array /* ptr */, dwDataLen: number /* u32 */, - hPubKey: Deno.PointerValue /* usize */, + hPubKey: bigint | number /* usize */, dwFlags: CRYPT_KEY_FLAGS /* Windows.Win32.Security.Cryptography.CRYPT_KEY_FLAGS */, phKey: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47606,8 +47606,8 @@ export function CryptImportKey( } export function CryptEncrypt( - hKey: Deno.PointerValue /* usize */, - hHash: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, + hHash: bigint | number /* usize */, Final: boolean /* Windows.Win32.Foundation.BOOL */, dwFlags: number /* u32 */, pbData: Deno.PointerValue | Uint8Array /* ptr */, @@ -47618,8 +47618,8 @@ export function CryptEncrypt( } export function CryptDecrypt( - hKey: Deno.PointerValue /* usize */, - hHash: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, + hHash: bigint | number /* usize */, Final: boolean /* Windows.Win32.Foundation.BOOL */, dwFlags: number /* u32 */, pbData: Deno.PointerValue | Uint8Array /* ptr */, @@ -47629,9 +47629,9 @@ export function CryptDecrypt( } export function CryptCreateHash( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, Algid: number /* u32 */, - hKey: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, dwFlags: number /* u32 */, phHash: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47639,7 +47639,7 @@ export function CryptCreateHash( } export function CryptHashData( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, pbData: Deno.PointerValue | Uint8Array /* ptr */, dwDataLen: number /* u32 */, dwFlags: number /* u32 */, @@ -47648,21 +47648,21 @@ export function CryptHashData( } export function CryptHashSessionKey( - hHash: Deno.PointerValue /* usize */, - hKey: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, + hKey: bigint | number /* usize */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libADVAPI32_dll.CryptHashSessionKey(hHash, hKey, dwFlags)); } export function CryptDestroyHash( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libADVAPI32_dll.CryptDestroyHash(hHash)); } export function CryptSignHashA( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, dwKeySpec: number /* u32 */, szDescription: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, @@ -47673,7 +47673,7 @@ export function CryptSignHashA( } export function CryptSignHashW( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, dwKeySpec: number /* u32 */, szDescription: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, @@ -47684,10 +47684,10 @@ export function CryptSignHashW( } export function CryptVerifySignatureA( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, pbSignature: Deno.PointerValue | Uint8Array /* ptr */, dwSigLen: number /* u32 */, - hPubKey: Deno.PointerValue /* usize */, + hPubKey: bigint | number /* usize */, szDescription: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47695,10 +47695,10 @@ export function CryptVerifySignatureA( } export function CryptVerifySignatureW( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, pbSignature: Deno.PointerValue | Uint8Array /* ptr */, dwSigLen: number /* u32 */, - hPubKey: Deno.PointerValue /* usize */, + hPubKey: bigint | number /* usize */, szDescription: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47802,7 +47802,7 @@ export function CryptEnumProvidersW( } export function CryptContextAddRef( - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, pdwReserved: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -47810,7 +47810,7 @@ export function CryptContextAddRef( } export function CryptDuplicateKey( - hKey: Deno.PointerValue /* usize */, + hKey: bigint | number /* usize */, pdwReserved: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, phKey: Deno.PointerValue | Uint8Array /* ptr */, @@ -47819,7 +47819,7 @@ export function CryptDuplicateKey( } export function CryptDuplicateHash( - hHash: Deno.PointerValue /* usize */, + hHash: bigint | number /* usize */, pdwReserved: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, phHash: Deno.PointerValue | Uint8Array /* ptr */, @@ -48169,7 +48169,7 @@ export function BCryptDeriveKeyPBKDF2( cbPassword: number /* u32 */, pbSalt: Deno.PointerValue | Uint8Array /* ptr */, cbSalt: number /* u32 */, - cIterations: Deno.PointerValue /* u64 */, + cIterations: bigint | number /* u64 */, pbDerivedKey: Deno.PointerValue | Uint8Array /* ptr */, cbDerivedKey: number /* u32 */, dwFlags: number /* u32 */, @@ -48548,8 +48548,8 @@ export function NCryptIsKeyHandle( export function NCryptTranslateHandle( phProvider: Deno.PointerValue | Uint8Array /* ptr */, phKey: Deno.PointerValue | Uint8Array /* ptr */, - hLegacyProv: Deno.PointerValue /* usize */, - hLegacyKey: Deno.PointerValue /* usize */, + hLegacyProv: bigint | number /* usize */, + hLegacyKey: bigint | number /* usize */, dwLegacyKeySpec: CERT_KEY_SPEC /* Windows.Win32.Security.Cryptography.CERT_KEY_SPEC */, dwFlags: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -49864,7 +49864,7 @@ export function CertGetIntendedKeyUsage( } export function CryptInstallDefaultContext( - hCryptProv: Deno.PointerValue /* usize */, + hCryptProv: bigint | number /* usize */, dwDefaultType: CRYPT_DEFAULT_CONTEXT_TYPE /* Windows.Win32.Security.Cryptography.CRYPT_DEFAULT_CONTEXT_TYPE */, pvDefaultPara: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: CRYPT_DEFAULT_CONTEXT_FLAGS /* Windows.Win32.Security.Cryptography.CRYPT_DEFAULT_CONTEXT_FLAGS */, @@ -49918,7 +49918,7 @@ export function CryptExportPublicKeyInfoFromBCryptKeyHandle( } export function CryptImportPublicKeyInfo( - hCryptProv: Deno.PointerValue /* usize */, + hCryptProv: bigint | number /* usize */, dwCertEncodingType: number /* u32 */, pInfo: Deno.PointerValue | Uint8Array /* ptr */, phKey: Deno.PointerValue | Uint8Array /* ptr */, @@ -49927,7 +49927,7 @@ export function CryptImportPublicKeyInfo( } export function CryptImportPublicKeyInfoEx( - hCryptProv: Deno.PointerValue /* usize */, + hCryptProv: bigint | number /* usize */, dwCertEncodingType: number /* u32 */, pInfo: Deno.PointerValue | Uint8Array /* ptr */, aiKeyAlg: number /* u32 */, @@ -49977,7 +49977,7 @@ export function CryptImportPKCS8( } export function CryptExportPKCS8( - hCryptProv: Deno.PointerValue /* usize */, + hCryptProv: bigint | number /* usize */, dwKeySpec: number /* u32 */, pszPrivateKeyObjId: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwFlags: number /* u32 */, @@ -50902,7 +50902,7 @@ export function NCryptStreamOpenToUnprotectEx( export function NCryptStreamUpdate( hStream: Uint8Array | Deno.PointerValue /* Windows.Win32.Security.NCRYPT_STREAM_HANDLE */, pbData: Deno.PointerValue | Uint8Array /* ptr */, - cbData: Deno.PointerValue /* usize */, + cbData: bigint | number /* usize */, fFinal: boolean /* Windows.Win32.Foundation.BOOL */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libncrypt_dll.NCryptStreamUpdate(util.toPointer(hStream), util.toPointer(pbData), cbData, util.boolToFfi(fFinal)); diff --git a/api/Security/Cryptography/Catalog.ts b/api/Security/Cryptography/Catalog.ts index 875575d..76e20c1 100644 --- a/api/Security/Cryptography/Catalog.ts +++ b/api/Security/Cryptography/Catalog.ts @@ -51,7 +51,7 @@ export const CRYPTCAT_ADDCATALOG_HARDLINK = 1; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Security.Cryptography.Catalog.CRYPTCATSTORE (size: 64) @@ -64,7 +64,7 @@ export interface CRYPTCATSTORE { /** Windows.Win32.Foundation.PWSTR */ pwszP7File: string | null | Uint8Array | Uint16Array; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** u32 */ dwEncodingType: number; /** Windows.Win32.Security.Cryptography.Catalog.CRYPTCAT_OPEN_FLAGS */ @@ -137,7 +137,7 @@ export class CRYPTCATSTOREView { } // 0x10: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -192,7 +192,7 @@ export class CRYPTCATSTOREView { } // 0x10: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1038,7 +1038,7 @@ try { export function CryptCATOpen( pwszFileName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, fdwOpenFlags: CRYPTCAT_OPEN_FLAGS /* Windows.Win32.Security.Cryptography.Catalog.CRYPTCAT_OPEN_FLAGS */, - hProv: Deno.PointerValue /* usize */, + hProv: bigint | number /* usize */, dwPublicVersion: CRYPTCAT_VERSION /* Windows.Win32.Security.Cryptography.Catalog.CRYPTCAT_VERSION */, dwEncodingType: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */ { @@ -1224,27 +1224,27 @@ export function CryptCATAdminAcquireContext2( } export function CryptCATAdminReleaseContext( - hCatAdmin: Deno.PointerValue /* isize */, + hCatAdmin: bigint | number /* isize */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWINTRUST_dll.CryptCATAdminReleaseContext(hCatAdmin, dwFlags)); } export function CryptCATAdminReleaseCatalogContext( - hCatAdmin: Deno.PointerValue /* isize */, - hCatInfo: Deno.PointerValue /* isize */, + hCatAdmin: bigint | number /* isize */, + hCatInfo: bigint | number /* isize */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWINTRUST_dll.CryptCATAdminReleaseCatalogContext(hCatAdmin, hCatInfo, dwFlags)); } export function CryptCATAdminEnumCatalogFromHash( - hCatAdmin: Deno.PointerValue /* isize */, + hCatAdmin: bigint | number /* isize */, pbHash: Deno.PointerValue | Uint8Array /* ptr */, cbHash: number /* u32 */, dwFlags: number /* u32 */, phPrevCatInfo: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libWINTRUST_dll.CryptCATAdminEnumCatalogFromHash(hCatAdmin, util.toPointer(pbHash), cbHash, dwFlags, util.toPointer(phPrevCatInfo)); } @@ -1258,7 +1258,7 @@ export function CryptCATAdminCalcHashFromFileHandle( } export function CryptCATAdminCalcHashFromFileHandle2( - hCatAdmin: Deno.PointerValue /* isize */, + hCatAdmin: bigint | number /* isize */, hFile: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, pcbHash: Deno.PointerValue | Uint8Array /* ptr */, pbHash: Deno.PointerValue | Uint8Array /* ptr */, @@ -1268,16 +1268,16 @@ export function CryptCATAdminCalcHashFromFileHandle2( } export function CryptCATAdminAddCatalog( - hCatAdmin: Deno.PointerValue /* isize */, + hCatAdmin: bigint | number /* isize */, pwszCatalogFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pwszSelectBaseName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libWINTRUST_dll.CryptCATAdminAddCatalog(hCatAdmin, util.pwstrToFfi(pwszCatalogFile), util.pwstrToFfi(pwszSelectBaseName), dwFlags); } export function CryptCATAdminRemoveCatalog( - hCatAdmin: Deno.PointerValue /* isize */, + hCatAdmin: bigint | number /* isize */, pwszCatalogFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -1285,7 +1285,7 @@ export function CryptCATAdminRemoveCatalog( } export function CryptCATCatalogInfoFromContext( - hCatInfo: Deno.PointerValue /* isize */, + hCatInfo: bigint | number /* isize */, psCatInfo: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -1293,7 +1293,7 @@ export function CryptCATCatalogInfoFromContext( } export function CryptCATAdminResolveCatalogPath( - hCatAdmin: Deno.PointerValue /* isize */, + hCatAdmin: bigint | number /* isize */, pwszCatalogFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, psCatInfo: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, diff --git a/api/Security/Cryptography/Sip.ts b/api/Security/Cryptography/Sip.ts index 4f40251..d22a078 100644 --- a/api/Security/Cryptography/Sip.ts +++ b/api/Security/Cryptography/Sip.ts @@ -35,7 +35,7 @@ export const PKCS_7_ASN_ENCODING = 65536; // Structs -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -164,9 +164,9 @@ export class CRYPT_ALGORITHM_IDENTIFIERView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -192,22 +192,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -286,7 +286,7 @@ export interface SIP_SUBJECTINFO { /** u32 */ dwIntVersion: number; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** Windows.Win32.Security.Cryptography.CRYPT_ALGORITHM_IDENTIFIER */ DigestAlgorithm: Uint8Array | Deno.PointerValue; /** u32 */ @@ -413,7 +413,7 @@ export class SIP_SUBJECTINFOView { } // 0x30: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -512,7 +512,7 @@ export class SIP_SUBJECTINFOView { } // 0x30: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } diff --git a/api/Security/Cryptography/UI.ts b/api/Security/Cryptography/UI.ts index 6b00b85..f5a7e98 100644 --- a/api/Security/Cryptography/UI.ts +++ b/api/Security/Cryptography/UI.ts @@ -213,13 +213,13 @@ export const CERT_SET_KEY_CONTEXT_PROP_ID = 1; // Structs -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.Security.Cryptography.UI.CERT_SELECT_STRUCT_A (size: 136) @@ -258,7 +258,7 @@ export interface CERT_SELECT_STRUCT_A { /** u32 */ dwHelpId: number; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; } export const sizeofCERT_SELECT_STRUCT_A = 136; @@ -432,7 +432,7 @@ export class CERT_SELECT_STRUCT_AView { // 0x7c: pad4 // 0x80: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(128, true)); } @@ -531,7 +531,7 @@ export class CERT_SELECT_STRUCT_AView { // 0x7c: pad4 // 0x80: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } } @@ -575,7 +575,7 @@ export interface CERT_SELECT_STRUCT_W { /** u32 */ dwHelpId: number; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; } export const sizeofCERT_SELECT_STRUCT_W = 136; @@ -749,7 +749,7 @@ export class CERT_SELECT_STRUCT_WView { // 0x7c: pad4 // 0x80: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(128, true)); } @@ -848,7 +848,7 @@ export class CERT_SELECT_STRUCT_WView { // 0x7c: pad4 // 0x80: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } } @@ -886,7 +886,7 @@ export interface CERT_VIEWPROPERTIES_STRUCT_A { /** ptr */ rghstoreTrust: Deno.PointerValue | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lCustData: Uint8Array | Deno.PointerValue; /** u32 */ @@ -1064,7 +1064,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_AView { } // 0x68: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -1190,7 +1190,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_AView { } // 0x68: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -1268,7 +1268,7 @@ export interface CERT_VIEWPROPERTIES_STRUCT_W { /** ptr */ rghstoreTrust: Deno.PointerValue | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lCustData: Uint8Array | Deno.PointerValue; /** u32 */ @@ -1446,7 +1446,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_WView { } // 0x68: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -1572,7 +1572,7 @@ export class CERT_VIEWPROPERTIES_STRUCT_WView { } // 0x68: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -1818,7 +1818,7 @@ export interface CERT_VERIFY_CERTIFICATE_TRUST { /** Windows.Win32.Foundation.PSTR */ pszUsageOid: string | null | Uint8Array; /** usize */ - hprov: Deno.PointerValue; + hprov: bigint | number; /** u32 */ cRootStores: number; /** ptr */ @@ -1944,7 +1944,7 @@ export class CERT_VERIFY_CERTIFICATE_TRUSTView { } // 0x28: usize - get hprov(): Deno.PointerValue { + get hprov(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -2057,7 +2057,7 @@ export class CERT_VERIFY_CERTIFICATE_TRUSTView { } // 0x28: usize - set hprov(value: Deno.PointerValue) { + set hprov(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -2704,9 +2704,9 @@ export class CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2732,22 +2732,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3083,11 +3083,11 @@ export class CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFOView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -3139,7 +3139,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3150,7 +3150,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3186,7 +3186,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3197,7 +3197,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3234,7 +3234,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -3263,7 +3263,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3275,7 +3275,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } diff --git a/api/Security/DiagnosticDataQuery.ts b/api/Security/DiagnosticDataQuery.ts index f2d4ee5..3e76908 100644 --- a/api/Security/DiagnosticDataQuery.ts +++ b/api/Security/DiagnosticDataQuery.ts @@ -21,11 +21,11 @@ export type BOOL = number; */ export interface DIAGNOSTIC_DATA_RECORD { /** i64 */ - rowId: Deno.PointerValue; + rowId: bigint | number; /** u64 */ - timestamp: Deno.PointerValue; + timestamp: bigint | number; /** u64 */ - eventKeywords: Deno.PointerValue; + eventKeywords: bigint | number; /** Windows.Win32.Foundation.PWSTR */ fullEventName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -116,17 +116,17 @@ export class DIAGNOSTIC_DATA_RECORDView { } // 0x00: i64 - get rowId(): Deno.PointerValue { + get rowId(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: u64 - get timestamp(): Deno.PointerValue { + get timestamp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get eventKeywords(): Deno.PointerValue { + get eventKeywords(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -196,17 +196,17 @@ export class DIAGNOSTIC_DATA_RECORDView { } // 0x00: i64 - set rowId(value: Deno.PointerValue) { + set rowId(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: u64 - set timestamp(value: Deno.PointerValue) { + set timestamp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set eventKeywords(value: Deno.PointerValue) { + set eventKeywords(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -682,7 +682,7 @@ export interface DIAGNOSTIC_DATA_EVENT_BINARY_STATS { /** u32 */ eventCount: number; /** u64 */ - uploadSizeBytes: Deno.PointerValue; + uploadSizeBytes: bigint | number; } export const sizeofDIAGNOSTIC_DATA_EVENT_BINARY_STATS = 32; @@ -738,7 +738,7 @@ export class DIAGNOSTIC_DATA_EVENT_BINARY_STATSView { // 0x14: pad4 // 0x18: u64 - get uploadSizeBytes(): Deno.PointerValue { + get uploadSizeBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -762,7 +762,7 @@ export class DIAGNOSTIC_DATA_EVENT_BINARY_STATSView { // 0x14: pad4 // 0x18: u64 - set uploadSizeBytes(value: Deno.PointerValue) { + set uploadSizeBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -774,9 +774,9 @@ export interface DIAGNOSTIC_DATA_GENERAL_STATS { /** u32 */ optInLevel: number; /** u64 */ - transcriptSizeBytes: Deno.PointerValue; + transcriptSizeBytes: bigint | number; /** u64 */ - oldestEventTimestamp: Deno.PointerValue; + oldestEventTimestamp: bigint | number; /** u32 */ totalEventCountLast24Hours: number; /** f32 */ @@ -820,12 +820,12 @@ export class DIAGNOSTIC_DATA_GENERAL_STATSView { // 0x04: pad4 // 0x08: u64 - get transcriptSizeBytes(): Deno.PointerValue { + get transcriptSizeBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get oldestEventTimestamp(): Deno.PointerValue { + get oldestEventTimestamp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -847,12 +847,12 @@ export class DIAGNOSTIC_DATA_GENERAL_STATSView { // 0x04: pad4 // 0x08: u64 - set transcriptSizeBytes(value: Deno.PointerValue) { + set transcriptSizeBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set oldestEventTimestamp(value: Deno.PointerValue) { + set oldestEventTimestamp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1115,7 +1115,7 @@ export interface DIAGNOSTIC_REPORT_DATA { /** Windows.Win32.Foundation.FILETIME */ creationTime: Uint8Array | Deno.PointerValue; /** u64 */ - sizeInBytes: Deno.PointerValue; + sizeInBytes: bigint | number; /** Windows.Win32.Foundation.PWSTR */ cabId: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -1137,7 +1137,7 @@ export interface DIAGNOSTIC_REPORT_DATA { /** Windows.Win32.Foundation.PWSTR */ bucketIdString: string | null | Uint8Array | Uint16Array; /** u64 */ - legacyBucketId: Deno.PointerValue; + legacyBucketId: bigint | number; /** Windows.Win32.Foundation.PWSTR */ reportKey: string | null | Uint8Array | Uint16Array; } @@ -1242,7 +1242,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x20: u64 - get sizeInBytes(): Deno.PointerValue { + get sizeInBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1309,7 +1309,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x78: u64 - get legacyBucketId(): Deno.PointerValue { + get legacyBucketId(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -1340,7 +1340,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x20: u64 - set sizeInBytes(value: Deno.PointerValue) { + set sizeInBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -1405,7 +1405,7 @@ export class DIAGNOSTIC_REPORT_DATAView { } // 0x78: u64 - set legacyBucketId(value: Deno.PointerValue) { + set legacyBucketId(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -1418,17 +1418,17 @@ export class DIAGNOSTIC_REPORT_DATAView { export type HRESULT = number; -export type HDIAGNOSTIC_DATA_QUERY_SESSION = Deno.PointerValue; +export type HDIAGNOSTIC_DATA_QUERY_SESSION = bigint | number; -export type HDIAGNOSTIC_EVENT_TAG_DESCRIPTION = Deno.PointerValue; +export type HDIAGNOSTIC_EVENT_TAG_DESCRIPTION = bigint | number; -export type HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION = Deno.PointerValue; +export type HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION = bigint | number; -export type HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION = Deno.PointerValue; +export type HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION = bigint | number; -export type HDIAGNOSTIC_RECORD = Deno.PointerValue; +export type HDIAGNOSTIC_RECORD = bigint | number; -export type HDIAGNOSTIC_REPORT = Deno.PointerValue; +export type HDIAGNOSTIC_REPORT = bigint | number; // Native Libraries @@ -1617,7 +1617,7 @@ export function DdqGetDiagnosticRecordStats( export function DdqGetDiagnosticRecordPayload( hSession: Uint8Array | Deno.PointerValue /* Windows.Win32.Security.HDIAGNOSTIC_DATA_QUERY_SESSION */, - rowId: Deno.PointerValue /* i64 */, + rowId: bigint | number /* i64 */, payload: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libDiagnosticDataQuery_dll.DdqGetDiagnosticRecordPayload(util.toPointer(hSession), rowId, util.toPointer(payload)); @@ -1728,7 +1728,7 @@ export function DdqGetDiagnosticRecordPage( searchCriteria: Deno.PointerValue | Uint8Array /* ptr */, offset: number /* u32 */, pageRecordCount: number /* u32 */, - baseRowId: Deno.PointerValue /* i64 */, + baseRowId: bigint | number /* i64 */, hRecord: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libDiagnosticDataQuery_dll.DdqGetDiagnosticRecordPage(util.toPointer(hSession), util.toPointer(searchCriteria), offset, pageRecordCount, baseRowId, util.toPointer(hRecord)); diff --git a/api/Security/DirectoryServices.ts b/api/Security/DirectoryServices.ts index 3476321..172176d 100644 --- a/api/Security/DirectoryServices.ts +++ b/api/Security/DirectoryServices.ts @@ -15,11 +15,11 @@ export const DSSI_NO_READONLY_MESSAGE = 64; export type PWSTR = Deno.PointerValue | Uint8Array; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/Security/EnterpriseData.ts b/api/Security/EnterpriseData.ts index 4188149..3fd89e3 100644 --- a/api/Security/EnterpriseData.ts +++ b/api/Security/EnterpriseData.ts @@ -19,7 +19,7 @@ export const SRPHOSTING_VERSION1 = 1; // Structs -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Security.EnterpriseData.HTHREAD_NETWORK_CONTEXT (size: 16) diff --git a/api/Security/ExtensibleAuthenticationProtocol.ts b/api/Security/ExtensibleAuthenticationProtocol.ts index c4751b8..cec5f52 100644 --- a/api/Security/ExtensibleAuthenticationProtocol.ts +++ b/api/Security/ExtensibleAuthenticationProtocol.ts @@ -520,9 +520,9 @@ export const EAP_AUTHENTICATOR_SEND_TIMEOUT_INTERACTIVE = 2; // Structs -export type NCRYPT_KEY_HANDLE = Deno.PointerValue; +export type NCRYPT_KEY_HANDLE = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Security.ExtensibleAuthenticationProtocol.NgcTicketContext (size: 24) @@ -1389,13 +1389,13 @@ export interface PPP_EAP_INFO { /** u32 */ dwEapTypeId: number; /** isize */ - RasEapInitialize: Deno.PointerValue; + RasEapInitialize: bigint | number; /** isize */ - RasEapBegin: Deno.PointerValue; + RasEapBegin: bigint | number; /** isize */ - RasEapEnd: Deno.PointerValue; + RasEapEnd: bigint | number; /** isize */ - RasEapMakeMessage: Deno.PointerValue; + RasEapMakeMessage: bigint | number; } export const sizeofPPP_EAP_INFO = 40; @@ -1439,22 +1439,22 @@ export class PPP_EAP_INFOView { } // 0x08: isize - get RasEapInitialize(): Deno.PointerValue { + get RasEapInitialize(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get RasEapBegin(): Deno.PointerValue { + get RasEapBegin(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get RasEapEnd(): Deno.PointerValue { + get RasEapEnd(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get RasEapMakeMessage(): Deno.PointerValue { + get RasEapMakeMessage(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -1469,22 +1469,22 @@ export class PPP_EAP_INFOView { } // 0x08: isize - set RasEapInitialize(value: Deno.PointerValue) { + set RasEapInitialize(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set RasEapBegin(value: Deno.PointerValue) { + set RasEapBegin(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set RasEapEnd(value: Deno.PointerValue) { + set RasEapEnd(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set RasEapMakeMessage(value: Deno.PointerValue) { + set RasEapMakeMessage(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } } @@ -4675,31 +4675,31 @@ export interface EAP_PEER_METHOD_ROUTINES { /** ptr */ pEapType: Deno.PointerValue | Uint8Array; /** isize */ - EapPeerInitialize: Deno.PointerValue; + EapPeerInitialize: bigint | number; /** isize */ - EapPeerGetIdentity: Deno.PointerValue; + EapPeerGetIdentity: bigint | number; /** isize */ - EapPeerBeginSession: Deno.PointerValue; + EapPeerBeginSession: bigint | number; /** isize */ - EapPeerSetCredentials: Deno.PointerValue; + EapPeerSetCredentials: bigint | number; /** isize */ - EapPeerProcessRequestPacket: Deno.PointerValue; + EapPeerProcessRequestPacket: bigint | number; /** isize */ - EapPeerGetResponsePacket: Deno.PointerValue; + EapPeerGetResponsePacket: bigint | number; /** isize */ - EapPeerGetResult: Deno.PointerValue; + EapPeerGetResult: bigint | number; /** isize */ - EapPeerGetUIContext: Deno.PointerValue; + EapPeerGetUIContext: bigint | number; /** isize */ - EapPeerSetUIContext: Deno.PointerValue; + EapPeerSetUIContext: bigint | number; /** isize */ - EapPeerGetResponseAttributes: Deno.PointerValue; + EapPeerGetResponseAttributes: bigint | number; /** isize */ - EapPeerSetResponseAttributes: Deno.PointerValue; + EapPeerSetResponseAttributes: bigint | number; /** isize */ - EapPeerEndSession: Deno.PointerValue; + EapPeerEndSession: bigint | number; /** isize */ - EapPeerShutdown: Deno.PointerValue; + EapPeerShutdown: bigint | number; } export const sizeofEAP_PEER_METHOD_ROUTINES = 120; @@ -4765,67 +4765,67 @@ export class EAP_PEER_METHOD_ROUTINESView { } // 0x10: isize - get EapPeerInitialize(): Deno.PointerValue { + get EapPeerInitialize(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get EapPeerGetIdentity(): Deno.PointerValue { + get EapPeerGetIdentity(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get EapPeerBeginSession(): Deno.PointerValue { + get EapPeerBeginSession(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get EapPeerSetCredentials(): Deno.PointerValue { + get EapPeerSetCredentials(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get EapPeerProcessRequestPacket(): Deno.PointerValue { + get EapPeerProcessRequestPacket(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get EapPeerGetResponsePacket(): Deno.PointerValue { + get EapPeerGetResponsePacket(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get EapPeerGetResult(): Deno.PointerValue { + get EapPeerGetResult(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get EapPeerGetUIContext(): Deno.PointerValue { + get EapPeerGetUIContext(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get EapPeerSetUIContext(): Deno.PointerValue { + get EapPeerSetUIContext(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get EapPeerGetResponseAttributes(): Deno.PointerValue { + get EapPeerGetResponseAttributes(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get EapPeerSetResponseAttributes(): Deno.PointerValue { + get EapPeerSetResponseAttributes(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get EapPeerEndSession(): Deno.PointerValue { + get EapPeerEndSession(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get EapPeerShutdown(): Deno.PointerValue { + get EapPeerShutdown(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -4842,67 +4842,67 @@ export class EAP_PEER_METHOD_ROUTINESView { } // 0x10: isize - set EapPeerInitialize(value: Deno.PointerValue) { + set EapPeerInitialize(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set EapPeerGetIdentity(value: Deno.PointerValue) { + set EapPeerGetIdentity(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set EapPeerBeginSession(value: Deno.PointerValue) { + set EapPeerBeginSession(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set EapPeerSetCredentials(value: Deno.PointerValue) { + set EapPeerSetCredentials(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set EapPeerProcessRequestPacket(value: Deno.PointerValue) { + set EapPeerProcessRequestPacket(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set EapPeerGetResponsePacket(value: Deno.PointerValue) { + set EapPeerGetResponsePacket(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set EapPeerGetResult(value: Deno.PointerValue) { + set EapPeerGetResult(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set EapPeerGetUIContext(value: Deno.PointerValue) { + set EapPeerGetUIContext(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set EapPeerSetUIContext(value: Deno.PointerValue) { + set EapPeerSetUIContext(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set EapPeerGetResponseAttributes(value: Deno.PointerValue) { + set EapPeerGetResponseAttributes(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set EapPeerSetResponseAttributes(value: Deno.PointerValue) { + set EapPeerSetResponseAttributes(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set EapPeerEndSession(value: Deno.PointerValue) { + set EapPeerEndSession(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set EapPeerShutdown(value: Deno.PointerValue) { + set EapPeerShutdown(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -4916,25 +4916,25 @@ export interface EAP_AUTHENTICATOR_METHOD_ROUTINES { /** ptr */ pEapType: Deno.PointerValue | Uint8Array; /** isize */ - EapMethodAuthenticatorInitialize: Deno.PointerValue; + EapMethodAuthenticatorInitialize: bigint | number; /** isize */ - EapMethodAuthenticatorBeginSession: Deno.PointerValue; + EapMethodAuthenticatorBeginSession: bigint | number; /** isize */ - EapMethodAuthenticatorUpdateInnerMethodParams: Deno.PointerValue; + EapMethodAuthenticatorUpdateInnerMethodParams: bigint | number; /** isize */ - EapMethodAuthenticatorReceivePacket: Deno.PointerValue; + EapMethodAuthenticatorReceivePacket: bigint | number; /** isize */ - EapMethodAuthenticatorSendPacket: Deno.PointerValue; + EapMethodAuthenticatorSendPacket: bigint | number; /** isize */ - EapMethodAuthenticatorGetAttributes: Deno.PointerValue; + EapMethodAuthenticatorGetAttributes: bigint | number; /** isize */ - EapMethodAuthenticatorSetAttributes: Deno.PointerValue; + EapMethodAuthenticatorSetAttributes: bigint | number; /** isize */ - EapMethodAuthenticatorGetResult: Deno.PointerValue; + EapMethodAuthenticatorGetResult: bigint | number; /** isize */ - EapMethodAuthenticatorEndSession: Deno.PointerValue; + EapMethodAuthenticatorEndSession: bigint | number; /** isize */ - EapMethodAuthenticatorShutdown: Deno.PointerValue; + EapMethodAuthenticatorShutdown: bigint | number; } export const sizeofEAP_AUTHENTICATOR_METHOD_ROUTINES = 96; @@ -4994,52 +4994,52 @@ export class EAP_AUTHENTICATOR_METHOD_ROUTINESView { } // 0x10: isize - get EapMethodAuthenticatorInitialize(): Deno.PointerValue { + get EapMethodAuthenticatorInitialize(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get EapMethodAuthenticatorBeginSession(): Deno.PointerValue { + get EapMethodAuthenticatorBeginSession(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get EapMethodAuthenticatorUpdateInnerMethodParams(): Deno.PointerValue { + get EapMethodAuthenticatorUpdateInnerMethodParams(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get EapMethodAuthenticatorReceivePacket(): Deno.PointerValue { + get EapMethodAuthenticatorReceivePacket(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get EapMethodAuthenticatorSendPacket(): Deno.PointerValue { + get EapMethodAuthenticatorSendPacket(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get EapMethodAuthenticatorGetAttributes(): Deno.PointerValue { + get EapMethodAuthenticatorGetAttributes(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get EapMethodAuthenticatorSetAttributes(): Deno.PointerValue { + get EapMethodAuthenticatorSetAttributes(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get EapMethodAuthenticatorGetResult(): Deno.PointerValue { + get EapMethodAuthenticatorGetResult(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get EapMethodAuthenticatorEndSession(): Deno.PointerValue { + get EapMethodAuthenticatorEndSession(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get EapMethodAuthenticatorShutdown(): Deno.PointerValue { + get EapMethodAuthenticatorShutdown(): bigint | number { return Number(this.view.getBigInt64(88, true)); } @@ -5056,57 +5056,57 @@ export class EAP_AUTHENTICATOR_METHOD_ROUTINESView { } // 0x10: isize - set EapMethodAuthenticatorInitialize(value: Deno.PointerValue) { + set EapMethodAuthenticatorInitialize(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set EapMethodAuthenticatorBeginSession(value: Deno.PointerValue) { + set EapMethodAuthenticatorBeginSession(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set EapMethodAuthenticatorUpdateInnerMethodParams(value: Deno.PointerValue) { + set EapMethodAuthenticatorUpdateInnerMethodParams(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set EapMethodAuthenticatorReceivePacket(value: Deno.PointerValue) { + set EapMethodAuthenticatorReceivePacket(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set EapMethodAuthenticatorSendPacket(value: Deno.PointerValue) { + set EapMethodAuthenticatorSendPacket(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set EapMethodAuthenticatorGetAttributes(value: Deno.PointerValue) { + set EapMethodAuthenticatorGetAttributes(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set EapMethodAuthenticatorSetAttributes(value: Deno.PointerValue) { + set EapMethodAuthenticatorSetAttributes(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set EapMethodAuthenticatorGetResult(value: Deno.PointerValue) { + set EapMethodAuthenticatorGetResult(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set EapMethodAuthenticatorEndSession(value: Deno.PointerValue) { + set EapMethodAuthenticatorEndSession(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set EapMethodAuthenticatorShutdown(value: Deno.PointerValue) { + set EapMethodAuthenticatorShutdown(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/Security/Isolation.ts b/api/Security/Isolation.ts index 6f617fb..2adf989 100644 --- a/api/Security/Isolation.ts +++ b/api/Security/Isolation.ts @@ -65,7 +65,7 @@ export class IsolatedAppLauncherTelemetryParametersView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSID = Deno.PointerValue | Uint8Array; diff --git a/api/Security/WinTrust.ts b/api/Security/WinTrust.ts index ea234aa..9ed83ee 100644 --- a/api/Security/WinTrust.ts +++ b/api/Security/WinTrust.ts @@ -228,9 +228,9 @@ export const CCPI_RESULT_AUDIT = 3; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -256,22 +256,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -331,7 +331,7 @@ export class _Anonymous_e__UnionView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -798,7 +798,7 @@ export interface WINTRUST_CATALOG_INFO { /** ptr */ pcCatalogContext: Deno.PointerValue | Uint8Array; /** isize */ - hCatAdmin: Deno.PointerValue; + hCatAdmin: bigint | number; } export const sizeofWINTRUST_CATALOG_INFO = 72; @@ -903,7 +903,7 @@ export class WINTRUST_CATALOG_INFOView { } // 0x40: isize - get hCatAdmin(): Deno.PointerValue { + get hCatAdmin(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -958,7 +958,7 @@ export class WINTRUST_CATALOG_INFOView { } // 0x40: isize - set hCatAdmin(value: Deno.PointerValue) { + set hCatAdmin(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } } @@ -1369,7 +1369,7 @@ export class WINTRUST_CERT_INFOView { export type BOOL = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -1441,7 +1441,7 @@ export interface CRYPT_PROVIDER_DATA { /** ptr */ pgActionID: Deno.PointerValue | Uint8Array; /** usize */ - hProv: Deno.PointerValue; + hProv: bigint | number; /** u32 */ dwError: number; /** u32 */ @@ -1631,7 +1631,7 @@ export class CRYPT_PROVIDER_DATAView { } // 0x28: usize - get hProv(): Deno.PointerValue { + get hProv(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -1829,7 +1829,7 @@ export class CRYPT_PROVIDER_DATAView { } // 0x28: usize - set hProv(value: Deno.PointerValue) { + set hProv(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -5825,7 +5825,7 @@ export class WTD_GENERIC_CHAIN_POLICY_SIGNER_INFOView { } } -export type HCERTCHAINENGINE = Deno.PointerValue; +export type HCERTCHAINENGINE = bigint | number; /** * Windows.Win32.Security.WinTrust.WTD_GENERIC_CHAIN_POLICY_CREATE_INFO (size: 40) @@ -6091,9 +6091,9 @@ export interface DRIVER_VER_INFO { /** u32 */ cbStruct: number; /** usize */ - dwReserved1: Deno.PointerValue; + dwReserved1: bigint | number; /** usize */ - dwReserved2: Deno.PointerValue; + dwReserved2: bigint | number; /** u32 */ dwPlatform: number; /** u32 */ @@ -6165,12 +6165,12 @@ export class DRIVER_VER_INFOView { // 0x04: pad4 // 0x08: usize - get dwReserved1(): Deno.PointerValue { + get dwReserved1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwReserved2(): Deno.PointerValue { + get dwReserved2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6232,12 +6232,12 @@ export class DRIVER_VER_INFOView { // 0x04: pad4 // 0x08: usize - set dwReserved1(value: Deno.PointerValue) { + set dwReserved1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwReserved2(value: Deno.PointerValue) { + set dwReserved2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } diff --git a/api/Security/WinWlx.ts b/api/Security/WinWlx.ts index 790a117..f7bc7be 100644 --- a/api/Security/WinWlx.ts +++ b/api/Security/WinWlx.ts @@ -798,7 +798,7 @@ export class WLX_CLIENT_CREDENTIALS_INFO_V2_0View { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Foundation.LUID (size: 8) @@ -858,9 +858,9 @@ export class LUIDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -886,22 +886,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -978,7 +978,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -1018,7 +1018,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1033,7 +1033,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -1043,15 +1043,15 @@ export class LARGE_INTEGERView { */ export interface QUOTA_LIMITS { /** usize */ - PagedPoolLimit: Deno.PointerValue; + PagedPoolLimit: bigint | number; /** usize */ - NonPagedPoolLimit: Deno.PointerValue; + NonPagedPoolLimit: bigint | number; /** usize */ - MinimumWorkingSetSize: Deno.PointerValue; + MinimumWorkingSetSize: bigint | number; /** usize */ - MaximumWorkingSetSize: Deno.PointerValue; + MaximumWorkingSetSize: bigint | number; /** usize */ - PagefileLimit: Deno.PointerValue; + PagefileLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ TimeLimit: Uint8Array | Deno.PointerValue; } @@ -1087,27 +1087,27 @@ export class QUOTA_LIMITSView { } // 0x00: usize - get PagedPoolLimit(): Deno.PointerValue { + get PagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get NonPagedPoolLimit(): Deno.PointerValue { + get NonPagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get MinimumWorkingSetSize(): Deno.PointerValue { + get MinimumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get MaximumWorkingSetSize(): Deno.PointerValue { + get MaximumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get PagefileLimit(): Deno.PointerValue { + get PagefileLimit(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1118,27 +1118,27 @@ export class QUOTA_LIMITSView { } // 0x00: usize - set PagedPoolLimit(value: Deno.PointerValue) { + set PagedPoolLimit(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set NonPagedPoolLimit(value: Deno.PointerValue) { + set NonPagedPoolLimit(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set MinimumWorkingSetSize(value: Deno.PointerValue) { + set MinimumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set MaximumWorkingSetSize(value: Deno.PointerValue) { + set MaximumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set PagefileLimit(value: Deno.PointerValue) { + set PagefileLimit(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -1607,7 +1607,7 @@ export class WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0View { } } -export type HDESK = Deno.PointerValue; +export type HDESK = bigint | number; /** * Windows.Win32.Security.WinWlx.WLX_DESKTOP (size: 24) diff --git a/api/Storage/Cabinets.ts b/api/Storage/Cabinets.ts index 4b8257c..3114f9e 100644 --- a/api/Storage/Cabinets.ts +++ b/api/Storage/Cabinets.ts @@ -556,9 +556,9 @@ export class FDICABINETINFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -584,22 +584,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -750,7 +750,7 @@ export interface FDINOTIFICATION { /** ptr */ pv: Deno.PointerValue | Uint8Array; /** isize */ - hf: Deno.PointerValue; + hf: bigint | number; /** u16 */ date: number; /** u16 */ @@ -853,7 +853,7 @@ export class FDINOTIFICATIONView { } // 0x28: isize - get hf(): Deno.PointerValue { + get hf(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -923,7 +923,7 @@ export class FDINOTIFICATIONView { } // 0x28: isize - set hf(value: Deno.PointerValue) { + set hf(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } @@ -1082,7 +1082,7 @@ export function FDICreate( export function FDIIsCabinet( hfdi: Deno.PointerValue | Uint8Array /* ptr */, - hf: Deno.PointerValue /* isize */, + hf: bigint | number /* isize */, pfdici: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.FDIIsCabinet(util.toPointer(hfdi), hf, util.toPointer(pfdici))); diff --git a/api/Storage/CloudFilters.ts b/api/Storage/CloudFilters.ts index c1041fd..2a8fb5a 100644 --- a/api/Storage/CloudFilters.ts +++ b/api/Storage/CloudFilters.ts @@ -270,16 +270,16 @@ export const MaximumFileInfoByHandleClass = 25; // Structs -export type CF_CONNECTION_KEY = Deno.PointerValue; +export type CF_CONNECTION_KEY = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -305,22 +305,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -399,7 +399,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -439,7 +439,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -454,7 +454,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -637,7 +637,7 @@ export interface CF_PLACEHOLDER_CREATE_INFO { /** Windows.Win32.Foundation.HRESULT */ Result: Uint8Array | Deno.PointerValue; /** i64 */ - CreateUsn: Deno.PointerValue; + CreateUsn: bigint | number; } export const sizeofCF_PLACEHOLDER_CREATE_INFO = 48; @@ -710,7 +710,7 @@ export class CF_PLACEHOLDER_CREATE_INFOView { } // 0x28: i64 - get CreateUsn(): Deno.PointerValue { + get CreateUsn(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -746,7 +746,7 @@ export class CF_PLACEHOLDER_CREATE_INFOView { } // 0x28: i64 - set CreateUsn(value: Deno.PointerValue) { + set CreateUsn(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } } @@ -2998,7 +2998,7 @@ export class CF_SYNC_ROOT_STANDARD_INFOView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type BOOLEAN = number; diff --git a/api/Storage/Compression.ts b/api/Storage/Compression.ts index 345d6b4..df933c0 100644 --- a/api/Storage/Compression.ts +++ b/api/Storage/Compression.ts @@ -21,7 +21,7 @@ export const COMPRESS_INFORMATION_CLASS_LEVEL = 2; // Structs -export type COMPRESSOR_HANDLE = Deno.PointerValue; +export type COMPRESSOR_HANDLE = bigint | number; /** * Windows.Win32.Storage.Compression.COMPRESS_ALLOCATION_ROUTINES (size: 24) @@ -164,7 +164,7 @@ export function SetCompressorInformation( CompressorHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.Compression.COMPRESSOR_HANDLE */, CompressInformationClass: COMPRESS_INFORMATION_CLASS /* Windows.Win32.Storage.Compression.COMPRESS_INFORMATION_CLASS */, CompressInformation: Deno.PointerValue | Uint8Array /* ptr */, - CompressInformationSize: Deno.PointerValue /* usize */, + CompressInformationSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.SetCompressorInformation(util.toPointer(CompressorHandle), CompressInformationClass, util.toPointer(CompressInformation), CompressInformationSize)); } @@ -173,7 +173,7 @@ export function QueryCompressorInformation( CompressorHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.Compression.COMPRESSOR_HANDLE */, CompressInformationClass: COMPRESS_INFORMATION_CLASS /* Windows.Win32.Storage.Compression.COMPRESS_INFORMATION_CLASS */, CompressInformation: Deno.PointerValue | Uint8Array /* ptr */, - CompressInformationSize: Deno.PointerValue /* usize */, + CompressInformationSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.QueryCompressorInformation(util.toPointer(CompressorHandle), CompressInformationClass, util.toPointer(CompressInformation), CompressInformationSize)); } @@ -181,9 +181,9 @@ export function QueryCompressorInformation( export function Compress( CompressorHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.Compression.COMPRESSOR_HANDLE */, UncompressedData: Deno.PointerValue | Uint8Array /* ptr */, - UncompressedDataSize: Deno.PointerValue /* usize */, + UncompressedDataSize: bigint | number /* usize */, CompressedBuffer: Deno.PointerValue | Uint8Array /* ptr */, - CompressedBufferSize: Deno.PointerValue /* usize */, + CompressedBufferSize: bigint | number /* usize */, CompressedDataSize: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.Compress(util.toPointer(CompressorHandle), util.toPointer(UncompressedData), UncompressedDataSize, util.toPointer(CompressedBuffer), CompressedBufferSize, util.toPointer(CompressedDataSize))); @@ -210,42 +210,42 @@ export function CreateDecompressor( } export function SetDecompressorInformation( - DecompressorHandle: Deno.PointerValue /* isize */, + DecompressorHandle: bigint | number /* isize */, CompressInformationClass: COMPRESS_INFORMATION_CLASS /* Windows.Win32.Storage.Compression.COMPRESS_INFORMATION_CLASS */, CompressInformation: Deno.PointerValue | Uint8Array /* ptr */, - CompressInformationSize: Deno.PointerValue /* usize */, + CompressInformationSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.SetDecompressorInformation(DecompressorHandle, CompressInformationClass, util.toPointer(CompressInformation), CompressInformationSize)); } export function QueryDecompressorInformation( - DecompressorHandle: Deno.PointerValue /* isize */, + DecompressorHandle: bigint | number /* isize */, CompressInformationClass: COMPRESS_INFORMATION_CLASS /* Windows.Win32.Storage.Compression.COMPRESS_INFORMATION_CLASS */, CompressInformation: Deno.PointerValue | Uint8Array /* ptr */, - CompressInformationSize: Deno.PointerValue /* usize */, + CompressInformationSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.QueryDecompressorInformation(DecompressorHandle, CompressInformationClass, util.toPointer(CompressInformation), CompressInformationSize)); } export function Decompress( - DecompressorHandle: Deno.PointerValue /* isize */, + DecompressorHandle: bigint | number /* isize */, CompressedData: Deno.PointerValue | Uint8Array /* ptr */, - CompressedDataSize: Deno.PointerValue /* usize */, + CompressedDataSize: bigint | number /* usize */, UncompressedBuffer: Deno.PointerValue | Uint8Array /* ptr */, - UncompressedBufferSize: Deno.PointerValue /* usize */, + UncompressedBufferSize: bigint | number /* usize */, UncompressedDataSize: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.Decompress(DecompressorHandle, util.toPointer(CompressedData), CompressedDataSize, util.toPointer(UncompressedBuffer), UncompressedBufferSize, util.toPointer(UncompressedDataSize))); } export function ResetDecompressor( - DecompressorHandle: Deno.PointerValue /* isize */, + DecompressorHandle: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.ResetDecompressor(DecompressorHandle)); } export function CloseDecompressor( - DecompressorHandle: Deno.PointerValue /* isize */, + DecompressorHandle: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCabinet_dll.CloseDecompressor(DecompressorHandle)); } diff --git a/api/Storage/DataDeduplication.ts b/api/Storage/DataDeduplication.ts index fedf1ec..2a1f628 100644 --- a/api/Storage/DataDeduplication.ts +++ b/api/Storage/DataDeduplication.ts @@ -56,9 +56,9 @@ export interface DEDUP_CONTAINER_EXTENT { /** u32 */ ContainerIndex: number; /** i64 */ - StartOffset: Deno.PointerValue; + StartOffset: bigint | number; /** i64 */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofDEDUP_CONTAINER_EXTENT = 24; @@ -94,12 +94,12 @@ export class DEDUP_CONTAINER_EXTENTView { // 0x04: pad4 // 0x08: i64 - get StartOffset(): Deno.PointerValue { + get StartOffset(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -111,12 +111,12 @@ export class DEDUP_CONTAINER_EXTENTView { // 0x04: pad4 // 0x08: i64 - set StartOffset(value: Deno.PointerValue) { + set StartOffset(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -126,9 +126,9 @@ export class DEDUP_CONTAINER_EXTENTView { */ export interface DDP_FILE_EXTENT { /** i64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** i64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofDDP_FILE_EXTENT = 16; @@ -154,22 +154,22 @@ export class DDP_FILE_EXTENTView { } // 0x00: i64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -181,9 +181,9 @@ export interface DEDUP_CHUNK_INFO_HASH32 { /** u32 */ ChunkFlags: number; /** u64 */ - ChunkOffsetInStream: Deno.PointerValue; + ChunkOffsetInStream: bigint | number; /** u64 */ - ChunkSize: Deno.PointerValue; + ChunkSize: bigint | number; /** array */ HashVal: Deno.PointerValue; } @@ -223,12 +223,12 @@ export class DEDUP_CHUNK_INFO_HASH32View { // 0x04: pad4 // 0x08: u64 - get ChunkOffsetInStream(): Deno.PointerValue { + get ChunkOffsetInStream(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ChunkSize(): Deno.PointerValue { + get ChunkSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -246,12 +246,12 @@ export class DEDUP_CHUNK_INFO_HASH32View { // 0x04: pad4 // 0x08: u64 - set ChunkOffsetInStream(value: Deno.PointerValue) { + set ChunkOffsetInStream(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ChunkSize(value: Deno.PointerValue) { + set ChunkSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -397,7 +397,7 @@ export interface DedupStreamEntry { /** u32 */ LogicalSize: number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofDedupStreamEntry = 24; @@ -439,7 +439,7 @@ export class DedupStreamEntryView { // 0x0c: pad4 // 0x10: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -456,7 +456,7 @@ export class DedupStreamEntryView { // 0x0c: pad4 // 0x10: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -470,9 +470,9 @@ export interface DedupStream { /** Windows.Win32.Foundation.BSTR */ Path: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** u32 */ ChunkCount: number; } @@ -511,12 +511,12 @@ export class DedupStreamView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -533,12 +533,12 @@ export class DedupStreamView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } diff --git a/api/Storage/DistributedFileSystem.ts b/api/Storage/DistributedFileSystem.ts index 1071047..7957dcc 100644 --- a/api/Storage/DistributedFileSystem.ts +++ b/api/Storage/DistributedFileSystem.ts @@ -1863,7 +1863,7 @@ export interface DFS_INFO_50 { /** u32 */ NamespaceMinorVersion: number; /** u64 */ - NamespaceCapabilities: Deno.PointerValue; + NamespaceCapabilities: bigint | number; } export const sizeofDFS_INFO_50 = 16; @@ -1901,7 +1901,7 @@ export class DFS_INFO_50View { } // 0x08: u64 - get NamespaceCapabilities(): Deno.PointerValue { + get NamespaceCapabilities(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1916,7 +1916,7 @@ export class DFS_INFO_50View { } // 0x08: u64 - set NamespaceCapabilities(value: Deno.PointerValue) { + set NamespaceCapabilities(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2736,13 +2736,13 @@ export interface DFS_SUPPORTED_NAMESPACE_VERSION_INFO { /** u32 */ DomainDfsMinorVersion: number; /** u64 */ - DomainDfsCapabilities: Deno.PointerValue; + DomainDfsCapabilities: bigint | number; /** u32 */ StandaloneDfsMajorVersion: number; /** u32 */ StandaloneDfsMinorVersion: number; /** u64 */ - StandaloneDfsCapabilities: Deno.PointerValue; + StandaloneDfsCapabilities: bigint | number; } export const sizeofDFS_SUPPORTED_NAMESPACE_VERSION_INFO = 32; @@ -2786,7 +2786,7 @@ export class DFS_SUPPORTED_NAMESPACE_VERSION_INFOView { } // 0x08: u64 - get DomainDfsCapabilities(): Deno.PointerValue { + get DomainDfsCapabilities(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -2801,7 +2801,7 @@ export class DFS_SUPPORTED_NAMESPACE_VERSION_INFOView { } // 0x18: u64 - get StandaloneDfsCapabilities(): Deno.PointerValue { + get StandaloneDfsCapabilities(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2816,7 +2816,7 @@ export class DFS_SUPPORTED_NAMESPACE_VERSION_INFOView { } // 0x08: u64 - set DomainDfsCapabilities(value: Deno.PointerValue) { + set DomainDfsCapabilities(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2831,7 +2831,7 @@ export class DFS_SUPPORTED_NAMESPACE_VERSION_INFOView { } // 0x18: u64 - set StandaloneDfsCapabilities(value: Deno.PointerValue) { + set StandaloneDfsCapabilities(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } diff --git a/api/Storage/FileHistory.ts b/api/Storage/FileHistory.ts index c38fc0a..f0d93df 100644 --- a/api/Storage/FileHistory.ts +++ b/api/Storage/FileHistory.ts @@ -99,7 +99,7 @@ export type BOOL = number; export type HRESULT = number; -export type FH_SERVICE_PIPE_HANDLE = Deno.PointerValue; +export type FH_SERVICE_PIPE_HANDLE = bigint | number; // Native Libraries diff --git a/api/Storage/FileSystem.ts b/api/Storage/FileSystem.ts index 04865b2..d9fbe9a 100644 --- a/api/Storage/FileSystem.ts +++ b/api/Storage/FileSystem.ts @@ -1069,17 +1069,17 @@ export class FILE_DISPOSITION_INFOView { } } -export type FindFileHandle = Deno.PointerValue; +export type FindFileHandle = bigint | number; -export type FindFileNameHandle = Deno.PointerValue; +export type FindFileNameHandle = bigint | number; -export type FindStreamHandle = Deno.PointerValue; +export type FindStreamHandle = bigint | number; -export type FindChangeNotificationHandle = Deno.PointerValue; +export type FindChangeNotificationHandle = bigint | number; -export type FindVolumeHandle = Deno.PointerValue; +export type FindVolumeHandle = bigint | number; -export type FindVolumeMointPointHandle = Deno.PointerValue; +export type FindVolumeMointPointHandle = bigint | number; /** * Windows.Win32.Foundation.FILETIME (size: 8) @@ -1489,9 +1489,9 @@ export class WIN32_FIND_DATAWView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1517,22 +1517,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1611,7 +1611,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -1651,7 +1651,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1666,7 +1666,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -2373,27 +2373,27 @@ export class KCRM_PROTOCOL_BLOBView { */ export interface DISK_SPACE_INFORMATION { /** u64 */ - ActualTotalAllocationUnits: Deno.PointerValue; + ActualTotalAllocationUnits: bigint | number; /** u64 */ - ActualAvailableAllocationUnits: Deno.PointerValue; + ActualAvailableAllocationUnits: bigint | number; /** u64 */ - ActualPoolUnavailableAllocationUnits: Deno.PointerValue; + ActualPoolUnavailableAllocationUnits: bigint | number; /** u64 */ - CallerTotalAllocationUnits: Deno.PointerValue; + CallerTotalAllocationUnits: bigint | number; /** u64 */ - CallerAvailableAllocationUnits: Deno.PointerValue; + CallerAvailableAllocationUnits: bigint | number; /** u64 */ - CallerPoolUnavailableAllocationUnits: Deno.PointerValue; + CallerPoolUnavailableAllocationUnits: bigint | number; /** u64 */ - UsedAllocationUnits: Deno.PointerValue; + UsedAllocationUnits: bigint | number; /** u64 */ - TotalReservedAllocationUnits: Deno.PointerValue; + TotalReservedAllocationUnits: bigint | number; /** u64 */ - VolumeStorageReserveAllocationUnits: Deno.PointerValue; + VolumeStorageReserveAllocationUnits: bigint | number; /** u64 */ - AvailableCommittedAllocationUnits: Deno.PointerValue; + AvailableCommittedAllocationUnits: bigint | number; /** u64 */ - PoolAvailableAllocationUnits: Deno.PointerValue; + PoolAvailableAllocationUnits: bigint | number; /** u32 */ SectorsPerAllocationUnit: number; /** u32 */ @@ -2445,57 +2445,57 @@ export class DISK_SPACE_INFORMATIONView { } // 0x00: u64 - get ActualTotalAllocationUnits(): Deno.PointerValue { + get ActualTotalAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ActualAvailableAllocationUnits(): Deno.PointerValue { + get ActualAvailableAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ActualPoolUnavailableAllocationUnits(): Deno.PointerValue { + get ActualPoolUnavailableAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get CallerTotalAllocationUnits(): Deno.PointerValue { + get CallerTotalAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get CallerAvailableAllocationUnits(): Deno.PointerValue { + get CallerAvailableAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CallerPoolUnavailableAllocationUnits(): Deno.PointerValue { + get CallerPoolUnavailableAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get UsedAllocationUnits(): Deno.PointerValue { + get UsedAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get TotalReservedAllocationUnits(): Deno.PointerValue { + get TotalReservedAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get VolumeStorageReserveAllocationUnits(): Deno.PointerValue { + get VolumeStorageReserveAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get AvailableCommittedAllocationUnits(): Deno.PointerValue { + get AvailableCommittedAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get PoolAvailableAllocationUnits(): Deno.PointerValue { + get PoolAvailableAllocationUnits(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -2510,57 +2510,57 @@ export class DISK_SPACE_INFORMATIONView { } // 0x00: u64 - set ActualTotalAllocationUnits(value: Deno.PointerValue) { + set ActualTotalAllocationUnits(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ActualAvailableAllocationUnits(value: Deno.PointerValue) { + set ActualAvailableAllocationUnits(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ActualPoolUnavailableAllocationUnits(value: Deno.PointerValue) { + set ActualPoolUnavailableAllocationUnits(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set CallerTotalAllocationUnits(value: Deno.PointerValue) { + set CallerTotalAllocationUnits(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set CallerAvailableAllocationUnits(value: Deno.PointerValue) { + set CallerAvailableAllocationUnits(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CallerPoolUnavailableAllocationUnits(value: Deno.PointerValue) { + set CallerPoolUnavailableAllocationUnits(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set UsedAllocationUnits(value: Deno.PointerValue) { + set UsedAllocationUnits(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set TotalReservedAllocationUnits(value: Deno.PointerValue) { + set TotalReservedAllocationUnits(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set VolumeStorageReserveAllocationUnits(value: Deno.PointerValue) { + set VolumeStorageReserveAllocationUnits(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set AvailableCommittedAllocationUnits(value: Deno.PointerValue) { + set AvailableCommittedAllocationUnits(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set PoolAvailableAllocationUnits(value: Deno.PointerValue) { + set PoolAvailableAllocationUnits(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -2865,7 +2865,7 @@ export class BY_HANDLE_FILE_INFORMATIONView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.Storage.FileSystem.CREATEFILE2_EXTENDED_PARAMETERS (size: 32) @@ -10791,7 +10791,7 @@ export class MediaLabelInfoView { */ export interface CLS_LSN { /** u64 */ - Internal: Deno.PointerValue; + Internal: bigint | number; } export const sizeofCLS_LSN = 8; @@ -10815,12 +10815,12 @@ export class CLS_LSNView { } // 0x00: u64 - get Internal(): Deno.PointerValue { + get Internal(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Internal(value: Deno.PointerValue) { + set Internal(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -10942,15 +10942,15 @@ export class CLS_WRITE_ENTRYView { */ export interface CLS_INFORMATION { /** i64 */ - TotalAvailable: Deno.PointerValue; + TotalAvailable: bigint | number; /** i64 */ - CurrentAvailable: Deno.PointerValue; + CurrentAvailable: bigint | number; /** i64 */ - TotalReservation: Deno.PointerValue; + TotalReservation: bigint | number; /** u64 */ - BaseFileSize: Deno.PointerValue; + BaseFileSize: bigint | number; /** u64 */ - ContainerSize: Deno.PointerValue; + ContainerSize: bigint | number; /** u32 */ TotalContainers: number; /** u32 */ @@ -11030,27 +11030,27 @@ export class CLS_INFORMATIONView { } // 0x00: i64 - get TotalAvailable(): Deno.PointerValue { + get TotalAvailable(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get CurrentAvailable(): Deno.PointerValue { + get CurrentAvailable(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get TotalReservation(): Deno.PointerValue { + get TotalReservation(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: u64 - get BaseFileSize(): Deno.PointerValue { + get BaseFileSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ContainerSize(): Deno.PointerValue { + get ContainerSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -11121,27 +11121,27 @@ export class CLS_INFORMATIONView { } // 0x00: i64 - set TotalAvailable(value: Deno.PointerValue) { + set TotalAvailable(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set CurrentAvailable(value: Deno.PointerValue) { + set CurrentAvailable(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set TotalReservation(value: Deno.PointerValue) { + set TotalReservation(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: u64 - set BaseFileSize(value: Deno.PointerValue) { + set BaseFileSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ContainerSize(value: Deno.PointerValue) { + set ContainerSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -11390,13 +11390,13 @@ export interface CLS_CONTAINER_INFORMATION { /** u32 */ FileAttributes: number; /** u64 */ - CreationTime: Deno.PointerValue; + CreationTime: bigint | number; /** u64 */ - LastAccessTime: Deno.PointerValue; + LastAccessTime: bigint | number; /** u64 */ - LastWriteTime: Deno.PointerValue; + LastWriteTime: bigint | number; /** i64 */ - ContainerSize: Deno.PointerValue; + ContainerSize: bigint | number; /** u32 */ FileNameActualLength: number; /** u32 */ @@ -11461,22 +11461,22 @@ export class CLS_CONTAINER_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - get CreationTime(): Deno.PointerValue { + get CreationTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get LastAccessTime(): Deno.PointerValue { + get LastAccessTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get LastWriteTime(): Deno.PointerValue { + get LastWriteTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: i64 - get ContainerSize(): Deno.PointerValue { + get ContainerSize(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -11521,22 +11521,22 @@ export class CLS_CONTAINER_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - set CreationTime(value: Deno.PointerValue) { + set CreationTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set LastAccessTime(value: Deno.PointerValue) { + set LastAccessTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set LastWriteTime(value: Deno.PointerValue) { + set LastWriteTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: i64 - set ContainerSize(value: Deno.PointerValue) { + set ContainerSize(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -11680,13 +11680,13 @@ export interface CLS_IO_STATISTICS { /** Windows.Win32.Storage.FileSystem.CLS_IO_STATISTICS_HEADER */ hdrIoStats: Uint8Array | Deno.PointerValue; /** u64 */ - cFlush: Deno.PointerValue; + cFlush: bigint | number; /** u64 */ - cbFlush: Deno.PointerValue; + cbFlush: bigint | number; /** u64 */ - cMetaFlush: Deno.PointerValue; + cMetaFlush: bigint | number; /** u64 */ - cbMetaFlush: Deno.PointerValue; + cbMetaFlush: bigint | number; } export const sizeofCLS_IO_STATISTICS = 40; @@ -11724,22 +11724,22 @@ export class CLS_IO_STATISTICSView { } // 0x08: u64 - get cFlush(): Deno.PointerValue { + get cFlush(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get cbFlush(): Deno.PointerValue { + get cbFlush(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get cMetaFlush(): Deno.PointerValue { + get cMetaFlush(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cbMetaFlush(): Deno.PointerValue { + get cbMetaFlush(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -11749,22 +11749,22 @@ export class CLS_IO_STATISTICSView { } // 0x08: u64 - set cFlush(value: Deno.PointerValue) { + set cFlush(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set cbFlush(value: Deno.PointerValue) { + set cbFlush(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set cMetaFlush(value: Deno.PointerValue) { + set cMetaFlush(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cbMetaFlush(value: Deno.PointerValue) { + set cbMetaFlush(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -11905,9 +11905,9 @@ export class CLS_SCAN_CONTEXTView { */ export interface CLS_ARCHIVE_DESCRIPTOR { /** u64 */ - coffLow: Deno.PointerValue; + coffLow: bigint | number; /** u64 */ - coffHigh: Deno.PointerValue; + coffHigh: bigint | number; /** Windows.Win32.Storage.FileSystem.CLS_CONTAINER_INFORMATION */ infoContainer: Uint8Array | Deno.PointerValue; } @@ -11937,12 +11937,12 @@ export class CLS_ARCHIVE_DESCRIPTORView { } // 0x00: u64 - get coffLow(): Deno.PointerValue { + get coffLow(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get coffHigh(): Deno.PointerValue { + get coffHigh(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11953,12 +11953,12 @@ export class CLS_ARCHIVE_DESCRIPTORView { } // 0x00: u64 - set coffLow(value: Deno.PointerValue) { + set coffLow(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set coffHigh(value: Deno.PointerValue) { + set coffHigh(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -12358,7 +12358,7 @@ export class _NewContainerPrefix_e__StructView { */ export interface _NewContainerSuffix_e__Struct { /** u64 */ - NextContainerSuffix: Deno.PointerValue; + NextContainerSuffix: bigint | number; } export const sizeof_NewContainerSuffix_e__Struct = 8; @@ -12382,12 +12382,12 @@ export class _NewContainerSuffix_e__StructView { } // 0x00: u64 - get NextContainerSuffix(): Deno.PointerValue { + get NextContainerSuffix(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set NextContainerSuffix(value: Deno.PointerValue) { + set NextContainerSuffix(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -12890,11 +12890,11 @@ export class LOG_MANAGEMENT_CALLBACKSView { */ export interface DISKQUOTA_USER_INFORMATION { /** i64 */ - QuotaUsed: Deno.PointerValue; + QuotaUsed: bigint | number; /** i64 */ - QuotaThreshold: Deno.PointerValue; + QuotaThreshold: bigint | number; /** i64 */ - QuotaLimit: Deno.PointerValue; + QuotaLimit: bigint | number; } export const sizeofDISKQUOTA_USER_INFORMATION = 24; @@ -12922,32 +12922,32 @@ export class DISKQUOTA_USER_INFORMATIONView { } // 0x00: i64 - get QuotaUsed(): Deno.PointerValue { + get QuotaUsed(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get QuotaThreshold(): Deno.PointerValue { + get QuotaThreshold(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get QuotaLimit(): Deno.PointerValue { + get QuotaLimit(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x00: i64 - set QuotaUsed(value: Deno.PointerValue) { + set QuotaUsed(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set QuotaThreshold(value: Deno.PointerValue) { + set QuotaThreshold(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set QuotaLimit(value: Deno.PointerValue) { + set QuotaLimit(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -14445,7 +14445,7 @@ export interface TXF_LOG_RECORD_WRITE { /** System.Guid */ KtmGuid: Uint8Array | Deno.PointerValue; /** i64 */ - ByteOffsetInFile: Deno.PointerValue; + ByteOffsetInFile: bigint | number; /** u32 */ NumBytesWritten: number; /** u32 */ @@ -14532,7 +14532,7 @@ export class TXF_LOG_RECORD_WRITEView { } // 0x20: i64 - get ByteOffsetInFile(): Deno.PointerValue { + get ByteOffsetInFile(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -14589,7 +14589,7 @@ export class TXF_LOG_RECORD_WRITEView { } // 0x20: i64 - set ByteOffsetInFile(value: Deno.PointerValue) { + set ByteOffsetInFile(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -14631,7 +14631,7 @@ export interface TXF_LOG_RECORD_TRUNCATE { /** System.Guid */ KtmGuid: Uint8Array | Deno.PointerValue; /** i64 */ - NewFileSize: Deno.PointerValue; + NewFileSize: bigint | number; /** u32 */ FileNameLength: number; /** u32 */ @@ -14710,7 +14710,7 @@ export class TXF_LOG_RECORD_TRUNCATEView { } // 0x20: i64 - get NewFileSize(): Deno.PointerValue { + get NewFileSize(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -14757,7 +14757,7 @@ export class TXF_LOG_RECORD_TRUNCATEView { } // 0x20: i64 - set NewFileSize(value: Deno.PointerValue) { + set NewFileSize(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -15025,7 +15025,7 @@ export class VOLUME_NUMBERView { */ export interface VOLUME_LOGICAL_OFFSET { /** i64 */ - LogicalOffset: Deno.PointerValue; + LogicalOffset: bigint | number; } export const sizeofVOLUME_LOGICAL_OFFSET = 8; @@ -15049,12 +15049,12 @@ export class VOLUME_LOGICAL_OFFSETView { } // 0x00: i64 - get LogicalOffset(): Deno.PointerValue { + get LogicalOffset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set LogicalOffset(value: Deno.PointerValue) { + set LogicalOffset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -15066,7 +15066,7 @@ export interface VOLUME_PHYSICAL_OFFSET { /** u32 */ DiskNumber: number; /** i64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofVOLUME_PHYSICAL_OFFSET = 16; @@ -15100,7 +15100,7 @@ export class VOLUME_PHYSICAL_OFFSETView { // 0x04: pad4 // 0x08: i64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15112,7 +15112,7 @@ export class VOLUME_PHYSICAL_OFFSETView { // 0x04: pad4 // 0x08: i64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -15249,7 +15249,7 @@ export class VOLUME_READ_PLEX_INPUTView { */ export interface VOLUME_SET_GPT_ATTRIBUTES_INFORMATION { /** u64 */ - GptAttributes: Deno.PointerValue; + GptAttributes: bigint | number; /** Windows.Win32.Foundation.BOOLEAN */ RevertOnClose: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BOOLEAN */ @@ -15290,7 +15290,7 @@ export class VOLUME_SET_GPT_ATTRIBUTES_INFORMATIONView { } // 0x00: u64 - get GptAttributes(): Deno.PointerValue { + get GptAttributes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15319,7 +15319,7 @@ export class VOLUME_SET_GPT_ATTRIBUTES_INFORMATIONView { // 0x1e: pad2 // 0x00: u64 - set GptAttributes(value: Deno.PointerValue) { + set GptAttributes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15355,9 +15355,9 @@ export interface VOLUME_GET_BC_PROPERTIES_INPUT { /** u32 */ Reserved1: number; /** u64 */ - LowestByteOffset: Deno.PointerValue; + LowestByteOffset: bigint | number; /** u64 */ - HighestByteOffset: Deno.PointerValue; + HighestByteOffset: bigint | number; /** u32 */ AccessType: number; /** u32 */ @@ -15405,12 +15405,12 @@ export class VOLUME_GET_BC_PROPERTIES_INPUTView { } // 0x08: u64 - get LowestByteOffset(): Deno.PointerValue { + get LowestByteOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get HighestByteOffset(): Deno.PointerValue { + get HighestByteOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -15435,12 +15435,12 @@ export class VOLUME_GET_BC_PROPERTIES_INPUTView { } // 0x08: u64 - set LowestByteOffset(value: Deno.PointerValue) { + set LowestByteOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set HighestByteOffset(value: Deno.PointerValue) { + set HighestByteOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -15464,13 +15464,13 @@ export interface VOLUME_GET_BC_PROPERTIES_OUTPUT { /** u32 */ MinimumPeriod: number; /** u64 */ - MaximumRequestSize: Deno.PointerValue; + MaximumRequestSize: bigint | number; /** u32 */ EstimatedTimePerRequest: number; /** u32 */ NumOutStandingRequests: number; /** u64 */ - RequestSize: Deno.PointerValue; + RequestSize: bigint | number; } export const sizeofVOLUME_GET_BC_PROPERTIES_OUTPUT = 32; @@ -15514,7 +15514,7 @@ export class VOLUME_GET_BC_PROPERTIES_OUTPUTView { } // 0x08: u64 - get MaximumRequestSize(): Deno.PointerValue { + get MaximumRequestSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -15529,7 +15529,7 @@ export class VOLUME_GET_BC_PROPERTIES_OUTPUTView { } // 0x18: u64 - get RequestSize(): Deno.PointerValue { + get RequestSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -15544,7 +15544,7 @@ export class VOLUME_GET_BC_PROPERTIES_OUTPUTView { } // 0x08: u64 - set MaximumRequestSize(value: Deno.PointerValue) { + set MaximumRequestSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -15559,7 +15559,7 @@ export class VOLUME_GET_BC_PROPERTIES_OUTPUTView { } // 0x18: u64 - set RequestSize(value: Deno.PointerValue) { + set RequestSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -15581,9 +15581,9 @@ export interface VOLUME_ALLOCATE_BC_STREAM_INPUT { /** array */ Reserved1: Deno.PointerValue; /** u64 */ - LowestByteOffset: Deno.PointerValue; + LowestByteOffset: bigint | number; /** u64 */ - HighestByteOffset: Deno.PointerValue; + HighestByteOffset: bigint | number; /** u32 */ AccessType: number; /** u32 */ @@ -15665,12 +15665,12 @@ export class VOLUME_ALLOCATE_BC_STREAM_INPUTView { } // 0x28: u64 - get LowestByteOffset(): Deno.PointerValue { + get LowestByteOffset(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get HighestByteOffset(): Deno.PointerValue { + get HighestByteOffset(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -15717,12 +15717,12 @@ export class VOLUME_ALLOCATE_BC_STREAM_INPUTView { } // 0x28: u64 - set LowestByteOffset(value: Deno.PointerValue) { + set LowestByteOffset(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set HighestByteOffset(value: Deno.PointerValue) { + set HighestByteOffset(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -15742,7 +15742,7 @@ export class VOLUME_ALLOCATE_BC_STREAM_INPUTView { */ export interface VOLUME_ALLOCATE_BC_STREAM_OUTPUT { /** u64 */ - RequestSize: Deno.PointerValue; + RequestSize: bigint | number; /** u32 */ NumOutStandingRequests: number; } @@ -15771,7 +15771,7 @@ export class VOLUME_ALLOCATE_BC_STREAM_OUTPUTView { } // 0x00: u64 - get RequestSize(): Deno.PointerValue { + get RequestSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -15783,7 +15783,7 @@ export class VOLUME_ALLOCATE_BC_STREAM_OUTPUTView { // 0x0c: pad4 // 0x00: u64 - set RequestSize(value: Deno.PointerValue) { + set RequestSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -15800,9 +15800,9 @@ export class VOLUME_ALLOCATE_BC_STREAM_OUTPUTView { */ export interface FILE_EXTENT { /** u64 */ - VolumeOffset: Deno.PointerValue; + VolumeOffset: bigint | number; /** u64 */ - ExtentLength: Deno.PointerValue; + ExtentLength: bigint | number; } export const sizeofFILE_EXTENT = 16; @@ -15828,22 +15828,22 @@ export class FILE_EXTENTView { } // 0x00: u64 - get VolumeOffset(): Deno.PointerValue { + get VolumeOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ExtentLength(): Deno.PointerValue { + get ExtentLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set VolumeOffset(value: Deno.PointerValue) { + set VolumeOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ExtentLength(value: Deno.PointerValue) { + set ExtentLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -15925,7 +15925,7 @@ export interface VOLUME_ALLOCATION_HINT_INPUT { /** u32 */ NumberOfClusters: number; /** i64 */ - StartingClusterNumber: Deno.PointerValue; + StartingClusterNumber: bigint | number; } export const sizeofVOLUME_ALLOCATION_HINT_INPUT = 16; @@ -15963,7 +15963,7 @@ export class VOLUME_ALLOCATION_HINT_INPUTView { } // 0x08: i64 - get StartingClusterNumber(): Deno.PointerValue { + get StartingClusterNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15978,7 +15978,7 @@ export class VOLUME_ALLOCATION_HINT_INPUTView { } // 0x08: i64 - set StartingClusterNumber(value: Deno.PointerValue) { + set StartingClusterNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -16028,7 +16028,7 @@ export class VOLUME_ALLOCATION_HINT_OUTPUTView { */ export interface VOLUME_SHRINK_INFO { /** u64 */ - VolumeSize: Deno.PointerValue; + VolumeSize: bigint | number; } export const sizeofVOLUME_SHRINK_INFO = 8; @@ -16052,12 +16052,12 @@ export class VOLUME_SHRINK_INFOView { } // 0x00: u64 - get VolumeSize(): Deno.PointerValue { + get VolumeSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set VolumeSize(value: Deno.PointerValue) { + set VolumeSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -19211,9 +19211,9 @@ export class STAT_SERVER_0View { */ export interface FH_OVERLAPPED { /** usize */ - Internal: Deno.PointerValue; + Internal: bigint | number; /** usize */ - InternalHigh: Deno.PointerValue; + InternalHigh: bigint | number; /** u32 */ Offset: number; /** u32 */ @@ -19223,13 +19223,13 @@ export interface FH_OVERLAPPED { /** Windows.Win32.Storage.FileSystem.PFN_IO_COMPLETION */ pfnCompletion: Uint8Array | Deno.PointerValue; /** usize */ - Reserved1: Deno.PointerValue; + Reserved1: bigint | number; /** usize */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** usize */ - Reserved3: Deno.PointerValue; + Reserved3: bigint | number; /** usize */ - Reserved4: Deno.PointerValue; + Reserved4: bigint | number; } export const sizeofFH_OVERLAPPED = 72; @@ -19271,12 +19271,12 @@ export class FH_OVERLAPPEDView { } // 0x00: usize - get Internal(): Deno.PointerValue { + get Internal(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get InternalHigh(): Deno.PointerValue { + get InternalHigh(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -19303,32 +19303,32 @@ export class FH_OVERLAPPEDView { } // 0x28: usize - get Reserved1(): Deno.PointerValue { + get Reserved1(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get Reserved3(): Deno.PointerValue { + get Reserved3(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get Reserved4(): Deno.PointerValue { + get Reserved4(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x00: usize - set Internal(value: Deno.PointerValue) { + set Internal(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set InternalHigh(value: Deno.PointerValue) { + set InternalHigh(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -19353,22 +19353,22 @@ export class FH_OVERLAPPEDView { } // 0x28: usize - set Reserved1(value: Deno.PointerValue) { + set Reserved1(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set Reserved3(value: Deno.PointerValue) { + set Reserved3(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set Reserved4(value: Deno.PointerValue) { + set Reserved4(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -20129,11 +20129,11 @@ export type HRESULT = number; */ export interface IORING_CQE { /** usize */ - UserData: Deno.PointerValue; + UserData: bigint | number; /** Windows.Win32.Foundation.HRESULT */ ResultCode: Uint8Array | Deno.PointerValue; /** usize */ - Information: Deno.PointerValue; + Information: bigint | number; } export const sizeofIORING_CQE = 24; @@ -20161,7 +20161,7 @@ export class IORING_CQEView { } // 0x00: usize - get UserData(): Deno.PointerValue { + get UserData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -20172,12 +20172,12 @@ export class IORING_CQEView { } // 0x10: usize - get Information(): Deno.PointerValue { + get Information(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: usize - set UserData(value: Deno.PointerValue) { + set UserData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -20187,7 +20187,7 @@ export class IORING_CQEView { } // 0x10: usize - set Information(value: Deno.PointerValue) { + set Information(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -20561,7 +20561,7 @@ export interface FILE_SEGMENT_ELEMENT { /** ptr */ Buffer: Deno.PointerValue | Uint8Array; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; } export const sizeofFILE_SEGMENT_ELEMENT = 16; @@ -20593,7 +20593,7 @@ export class FILE_SEGMENT_ELEMENTView { } // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -20603,7 +20603,7 @@ export class FILE_SEGMENT_ELEMENTView { } // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -23053,7 +23053,7 @@ export class FILE_STORAGE_INFOView { */ export interface FILE_ID_INFO { /** u64 */ - VolumeSerialNumber: Deno.PointerValue; + VolumeSerialNumber: bigint | number; /** Windows.Win32.Storage.FileSystem.FILE_ID_128 */ FileId: Uint8Array | Deno.PointerValue; } @@ -23081,7 +23081,7 @@ export class FILE_ID_INFOView { } // 0x00: u64 - get VolumeSerialNumber(): Deno.PointerValue { + get VolumeSerialNumber(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -23092,7 +23092,7 @@ export class FILE_ID_INFOView { } // 0x00: u64 - set VolumeSerialNumber(value: Deno.PointerValue) { + set VolumeSerialNumber(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -26157,7 +26157,7 @@ export function SetFileTime( export function SetFileValidData( hFile: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ValidDataLength: Deno.PointerValue /* i64 */, + ValidDataLength: bigint | number /* i64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetFileValidData(util.toPointer(hFile), ValidDataLength)); } @@ -27637,7 +27637,7 @@ export function GetNotificationResourceManagerAsync( export function SetResourceManagerCompletionPort( ResourceManagerHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, IoCompletionPortHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - CompletionKey: Deno.PointerValue /* usize */, + CompletionKey: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libktmw32_dll.SetResourceManagerCompletionPort(util.toPointer(ResourceManagerHandle), util.toPointer(IoCompletionPortHandle), CompletionKey)); } @@ -28021,8 +28021,8 @@ export function SetIoRingCompletionEvent( export function BuildIoRingCancelRequest( ioRing: Deno.PointerValue | Uint8Array /* ptr */, file: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.FileSystem.IORING_HANDLE_REF */, - opToCancel: Deno.PointerValue /* usize */, - userData: Deno.PointerValue /* usize */, + opToCancel: bigint | number /* usize */, + userData: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_ioring_l1_1_0_dll.BuildIoRingCancelRequest(util.toPointer(ioRing), util.toPointer(file), opToCancel, userData); } @@ -28032,8 +28032,8 @@ export function BuildIoRingReadFile( fileRef: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.FileSystem.IORING_HANDLE_REF */, dataRef: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.FileSystem.IORING_BUFFER_REF */, numberOfBytesToRead: number /* u32 */, - fileOffset: Deno.PointerValue /* u64 */, - userData: Deno.PointerValue /* usize */, + fileOffset: bigint | number /* u64 */, + userData: bigint | number /* usize */, flags: IORING_SQE_FLAGS /* Windows.Win32.Storage.FileSystem.IORING_SQE_FLAGS */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_ioring_l1_1_0_dll.BuildIoRingReadFile(util.toPointer(ioRing), util.toPointer(fileRef), util.toPointer(dataRef), numberOfBytesToRead, fileOffset, userData, flags); @@ -28043,7 +28043,7 @@ export function BuildIoRingRegisterFileHandles( ioRing: Deno.PointerValue | Uint8Array /* ptr */, count: number /* u32 */, handles: Deno.PointerValue | Uint8Array /* ptr */, - userData: Deno.PointerValue /* usize */, + userData: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_ioring_l1_1_0_dll.BuildIoRingRegisterFileHandles(util.toPointer(ioRing), count, util.toPointer(handles), userData); } @@ -28052,7 +28052,7 @@ export function BuildIoRingRegisterBuffers( ioRing: Deno.PointerValue | Uint8Array /* ptr */, count: number /* u32 */, buffers: Deno.PointerValue | Uint8Array /* ptr */, - userData: Deno.PointerValue /* usize */, + userData: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_ioring_l1_1_0_dll.BuildIoRingRegisterBuffers(util.toPointer(ioRing), count, util.toPointer(buffers), userData); } diff --git a/api/Storage/IndexServer.ts b/api/Storage/IndexServer.ts index 6bfcd16..9675bb2 100644 --- a/api/Storage/IndexServer.ts +++ b/api/Storage/IndexServer.ts @@ -434,9 +434,9 @@ export class CI_STATEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -462,22 +462,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/Storage/InstallableFileSystems.ts b/api/Storage/InstallableFileSystems.ts index 7589ca5..dd6de47 100644 --- a/api/Storage/InstallableFileSystems.ts +++ b/api/Storage/InstallableFileSystems.ts @@ -138,17 +138,17 @@ export const InstanceAggregateStandardInformation = 3; // Structs -export type HFILTER = Deno.PointerValue; +export type HFILTER = bigint | number; -export type HFILTER_INSTANCE = Deno.PointerValue; +export type HFILTER_INSTANCE = bigint | number; -export type FilterFindHandle = Deno.PointerValue; +export type FilterFindHandle = bigint | number; -export type FilterVolumeFindHandle = Deno.PointerValue; +export type FilterVolumeFindHandle = bigint | number; -export type FilterInstanceFindHandle = Deno.PointerValue; +export type FilterInstanceFindHandle = bigint | number; -export type FilterVolumeInstanceFindHandle = Deno.PointerValue; +export type FilterVolumeInstanceFindHandle = bigint | number; /** * Windows.Win32.Storage.InstallableFileSystems.FILTER_FULL_INFORMATION (size: 24) @@ -1181,7 +1181,7 @@ export interface FILTER_MESSAGE_HEADER { /** u32 */ ReplyLength: number; /** u64 */ - MessageId: Deno.PointerValue; + MessageId: bigint | number; } export const sizeofFILTER_MESSAGE_HEADER = 16; @@ -1215,7 +1215,7 @@ export class FILTER_MESSAGE_HEADERView { // 0x04: pad4 // 0x08: u64 - get MessageId(): Deno.PointerValue { + get MessageId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1227,7 +1227,7 @@ export class FILTER_MESSAGE_HEADERView { // 0x04: pad4 // 0x08: u64 - set MessageId(value: Deno.PointerValue) { + set MessageId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1241,7 +1241,7 @@ export interface FILTER_REPLY_HEADER { /** Windows.Win32.Foundation.NTSTATUS */ Status: Uint8Array | Deno.PointerValue; /** u64 */ - MessageId: Deno.PointerValue; + MessageId: bigint | number; } export const sizeofFILTER_REPLY_HEADER = 16; @@ -1273,7 +1273,7 @@ export class FILTER_REPLY_HEADERView { } // 0x08: u64 - get MessageId(): Deno.PointerValue { + get MessageId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1283,7 +1283,7 @@ export class FILTER_REPLY_HEADERView { } // 0x08: u64 - set MessageId(value: Deno.PointerValue) { + set MessageId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1292,7 +1292,7 @@ export type PWSTR = Deno.PointerValue | Uint8Array; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/Storage/IscsiDisc.ts b/api/Storage/IscsiDisc.ts index 9087580..beaf127 100644 --- a/api/Storage/IscsiDisc.ts +++ b/api/Storage/IscsiDisc.ts @@ -1575,7 +1575,7 @@ export interface MPIO_PASS_THROUGH_PATH32 { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH32 = 24; @@ -1635,7 +1635,7 @@ export class MPIO_PASS_THROUGH_PATH32View { } // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1665,7 +1665,7 @@ export class MPIO_PASS_THROUGH_PATH32View { } // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -1685,7 +1685,7 @@ export interface MPIO_PASS_THROUGH_PATH_DIRECT32 { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH_DIRECT32 = 24; @@ -1745,7 +1745,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECT32View { } // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1775,7 +1775,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECT32View { } // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -1795,7 +1795,7 @@ export interface MPIO_PASS_THROUGH_PATH32_EX { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH32_EX = 24; @@ -1857,7 +1857,7 @@ export class MPIO_PASS_THROUGH_PATH32_EXView { // 0x0c: pad4 // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1889,7 +1889,7 @@ export class MPIO_PASS_THROUGH_PATH32_EXView { // 0x0c: pad4 // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -1909,7 +1909,7 @@ export interface MPIO_PASS_THROUGH_PATH_DIRECT32_EX { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH_DIRECT32_EX = 24; @@ -1971,7 +1971,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECT32_EXView { // 0x0c: pad4 // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2003,7 +2003,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECT32_EXView { // 0x0c: pad4 // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -2033,7 +2033,7 @@ export interface SCSI_PASS_THROUGH { /** u32 */ TimeOutValue: number; /** usize */ - DataBufferOffset: Deno.PointerValue; + DataBufferOffset: bigint | number; /** u32 */ SenseInfoOffset: number; /** array */ @@ -2139,7 +2139,7 @@ export class SCSI_PASS_THROUGHView { // 0x11: pad7 // 0x18: usize - get DataBufferOffset(): Deno.PointerValue { + get DataBufferOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2209,7 +2209,7 @@ export class SCSI_PASS_THROUGHView { // 0x11: pad7 // 0x18: usize - set DataBufferOffset(value: Deno.PointerValue) { + set DataBufferOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -2476,9 +2476,9 @@ export interface SCSI_PASS_THROUGH_EX { /** u32 */ DataInTransferLength: number; /** usize */ - DataOutBufferOffset: Deno.PointerValue; + DataOutBufferOffset: bigint | number; /** usize */ - DataInBufferOffset: Deno.PointerValue; + DataInBufferOffset: bigint | number; /** array */ Cdb: Deno.PointerValue; } @@ -2599,12 +2599,12 @@ export class SCSI_PASS_THROUGH_EXView { } // 0x28: usize - get DataOutBufferOffset(): Deno.PointerValue { + get DataOutBufferOffset(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get DataInBufferOffset(): Deno.PointerValue { + get DataInBufferOffset(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -2680,12 +2680,12 @@ export class SCSI_PASS_THROUGH_EXView { } // 0x28: usize - set DataOutBufferOffset(value: Deno.PointerValue) { + set DataOutBufferOffset(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set DataInBufferOffset(value: Deno.PointerValue) { + set DataInBufferOffset(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -2970,7 +2970,7 @@ export interface ATA_PASS_THROUGH_EX { /** u32 */ ReservedAsUlong: number; /** usize */ - DataBufferOffset: Deno.PointerValue; + DataBufferOffset: bigint | number; /** array */ PreviousTaskFile: Deno.PointerValue; /** array */ @@ -3068,7 +3068,7 @@ export class ATA_PASS_THROUGH_EXView { // 0x14: pad4 // 0x18: usize - get DataBufferOffset(): Deno.PointerValue { + get DataBufferOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3132,7 +3132,7 @@ export class ATA_PASS_THROUGH_EXView { // 0x14: pad4 // 0x18: usize - set DataBufferOffset(value: Deno.PointerValue) { + set DataBufferOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -3478,7 +3478,7 @@ export interface MPIO_PASS_THROUGH_PATH { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH = 24; @@ -3538,7 +3538,7 @@ export class MPIO_PASS_THROUGH_PATHView { } // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3568,7 +3568,7 @@ export class MPIO_PASS_THROUGH_PATHView { } // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -3588,7 +3588,7 @@ export interface MPIO_PASS_THROUGH_PATH_DIRECT { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH_DIRECT = 24; @@ -3648,7 +3648,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECTView { } // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3678,7 +3678,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECTView { } // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -3698,7 +3698,7 @@ export interface MPIO_PASS_THROUGH_PATH_EX { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH_EX = 24; @@ -3760,7 +3760,7 @@ export class MPIO_PASS_THROUGH_PATH_EXView { // 0x0c: pad4 // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3792,7 +3792,7 @@ export class MPIO_PASS_THROUGH_PATH_EXView { // 0x0c: pad4 // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -3812,7 +3812,7 @@ export interface MPIO_PASS_THROUGH_PATH_DIRECT_EX { /** u8 */ PortNumber: number; /** u64 */ - MpioPathId: Deno.PointerValue; + MpioPathId: bigint | number; } export const sizeofMPIO_PASS_THROUGH_PATH_DIRECT_EX = 24; @@ -3874,7 +3874,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECT_EXView { // 0x0c: pad4 // 0x10: u64 - get MpioPathId(): Deno.PointerValue { + get MpioPathId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3906,7 +3906,7 @@ export class MPIO_PASS_THROUGH_PATH_DIRECT_EXView { // 0x0c: pad4 // 0x10: u64 - set MpioPathId(value: Deno.PointerValue) { + set MpioPathId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -4304,7 +4304,7 @@ export interface NVCACHE_REQUEST_BLOCK { /** u32 */ Count: number; /** u64 */ - LBA: Deno.PointerValue; + LBA: bigint | number; /** u32 */ DataBufSize: number; /** u32 */ @@ -4379,7 +4379,7 @@ export class NVCACHE_REQUEST_BLOCKView { // 0x12: pad6 // 0x18: u64 - get LBA(): Deno.PointerValue { + get LBA(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4428,7 +4428,7 @@ export class NVCACHE_REQUEST_BLOCKView { // 0x12: pad6 // 0x18: u64 - set LBA(value: Deno.PointerValue) { + set LBA(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -4833,9 +4833,9 @@ export class NVCACHE_HINT_PAYLOADView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4861,22 +4861,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5200,9 +5200,9 @@ export class STORAGE_DIAGNOSTIC_MP_REQUESTView { */ export interface MP_DEVICE_DATA_SET_RANGE { /** i64 */ - StartingOffset: Deno.PointerValue; + StartingOffset: bigint | number; /** u64 */ - LengthInBytes: Deno.PointerValue; + LengthInBytes: bigint | number; } export const sizeofMP_DEVICE_DATA_SET_RANGE = 16; @@ -5228,22 +5228,22 @@ export class MP_DEVICE_DATA_SET_RANGEView { } // 0x00: i64 - get StartingOffset(): Deno.PointerValue { + get StartingOffset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: u64 - get LengthInBytes(): Deno.PointerValue { + get LengthInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: i64 - set StartingOffset(value: Deno.PointerValue) { + set StartingOffset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: u64 - set LengthInBytes(value: Deno.PointerValue) { + set LengthInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5915,7 +5915,7 @@ export interface HYBRID_INFORMATION { /** u32 */ FractionBase: number; /** u64 */ - CacheSize: Deno.PointerValue; + CacheSize: bigint | number; /** _Attributes_e__Struct */ Attributes: Uint8Array | Deno.PointerValue; /** _Priorities_e__Struct */ @@ -5997,7 +5997,7 @@ export class HYBRID_INFORMATIONView { } // 0x20: u64 - get CacheSize(): Deno.PointerValue { + get CacheSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -6049,7 +6049,7 @@ export class HYBRID_INFORMATIONView { } // 0x20: u64 - set CacheSize(value: Deno.PointerValue) { + set CacheSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -6162,7 +6162,7 @@ export interface HYBRID_DEMOTE_BY_SIZE { /** u32 */ Reserved1: number; /** u64 */ - LbaCount: Deno.PointerValue; + LbaCount: bigint | number; } export const sizeofHYBRID_DEMOTE_BY_SIZE = 24; @@ -6228,7 +6228,7 @@ export class HYBRID_DEMOTE_BY_SIZEView { } // 0x10: u64 - get LbaCount(): Deno.PointerValue { + get LbaCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6263,7 +6263,7 @@ export class HYBRID_DEMOTE_BY_SIZEView { } // 0x10: u64 - set LbaCount(value: Deno.PointerValue) { + set LbaCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -6384,7 +6384,7 @@ export interface _Revision_e__Union { /** array */ Info: Deno.PointerValue; /** u64 */ - AsUlonglong: Deno.PointerValue; + AsUlonglong: bigint | number; } export const sizeof_Revision_e__Union = 16; @@ -6416,7 +6416,7 @@ export class _Revision_e__UnionView { } // 0x08: u64 - get AsUlonglong(): Deno.PointerValue { + get AsUlonglong(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6426,7 +6426,7 @@ export class _Revision_e__UnionView { } // 0x08: u64 - set AsUlonglong(value: Deno.PointerValue) { + set AsUlonglong(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6950,9 +6950,9 @@ export interface STORAGE_FIRMWARE_DOWNLOAD { /** u32 */ Size: number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - BufferSize: Deno.PointerValue; + BufferSize: bigint | number; /** array */ ImageBuffer: Deno.PointerValue; } @@ -6996,12 +6996,12 @@ export class STORAGE_FIRMWARE_DOWNLOADView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BufferSize(): Deno.PointerValue { + get BufferSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7022,12 +7022,12 @@ export class STORAGE_FIRMWARE_DOWNLOADView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BufferSize(value: Deno.PointerValue) { + set BufferSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7046,9 +7046,9 @@ export interface STORAGE_FIRMWARE_DOWNLOAD_V2 { /** u32 */ Size: number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - BufferSize: Deno.PointerValue; + BufferSize: bigint | number; /** u8 */ Slot: number; /** array */ @@ -7106,12 +7106,12 @@ export class STORAGE_FIRMWARE_DOWNLOAD_V2View { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BufferSize(): Deno.PointerValue { + get BufferSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7152,12 +7152,12 @@ export class STORAGE_FIRMWARE_DOWNLOAD_V2View { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BufferSize(value: Deno.PointerValue) { + set BufferSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7640,7 +7640,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -7680,7 +7680,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -7695,7 +7695,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -8824,7 +8824,7 @@ export class ISCSI_LOGIN_OPTIONSView { */ export interface IKE_AUTHENTICATION_PRESHARED_KEY { /** u64 */ - SecurityFlags: Deno.PointerValue; + SecurityFlags: bigint | number; /** u8 */ IdType: number; /** u32 */ @@ -8870,7 +8870,7 @@ export class IKE_AUTHENTICATION_PRESHARED_KEYView { } // 0x00: u64 - get SecurityFlags(): Deno.PointerValue { + get SecurityFlags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8906,7 +8906,7 @@ export class IKE_AUTHENTICATION_PRESHARED_KEYView { } // 0x00: u64 - set SecurityFlags(value: Deno.PointerValue) { + set SecurityFlags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9059,9 +9059,9 @@ export class IKE_AUTHENTICATION_INFORMATIONView { */ export interface ISCSI_UNIQUE_SESSION_ID { /** u64 */ - AdapterUnique: Deno.PointerValue; + AdapterUnique: bigint | number; /** u64 */ - AdapterSpecific: Deno.PointerValue; + AdapterSpecific: bigint | number; } export const sizeofISCSI_UNIQUE_SESSION_ID = 16; @@ -9087,22 +9087,22 @@ export class ISCSI_UNIQUE_SESSION_IDView { } // 0x00: u64 - get AdapterUnique(): Deno.PointerValue { + get AdapterUnique(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get AdapterSpecific(): Deno.PointerValue { + get AdapterSpecific(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set AdapterUnique(value: Deno.PointerValue) { + set AdapterUnique(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set AdapterSpecific(value: Deno.PointerValue) { + set AdapterSpecific(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9114,7 +9114,7 @@ export interface SCSI_LUN_LIST { /** u32 */ OSLUN: number; /** u64 */ - TargetLUN: Deno.PointerValue; + TargetLUN: bigint | number; } export const sizeofSCSI_LUN_LIST = 16; @@ -9148,7 +9148,7 @@ export class SCSI_LUN_LISTView { // 0x04: pad4 // 0x08: u64 - get TargetLUN(): Deno.PointerValue { + get TargetLUN(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9160,7 +9160,7 @@ export class SCSI_LUN_LISTView { // 0x04: pad4 // 0x08: u64 - set TargetLUN(value: Deno.PointerValue) { + set TargetLUN(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9838,7 +9838,7 @@ export interface ISCSI_TARGET_PORTAL_INFO_EXW { /** u16 */ Socket: number; /** u64 */ - SecurityFlags: Deno.PointerValue; + SecurityFlags: bigint | number; /** Windows.Win32.Storage.IscsiDisc.ISCSI_LOGIN_OPTIONS */ LoginOptions: Uint8Array | Deno.PointerValue; } @@ -9910,7 +9910,7 @@ export class ISCSI_TARGET_PORTAL_INFO_EXWView { // 0x22: pad6 // 0x28: u64 - get SecurityFlags(): Deno.PointerValue { + get SecurityFlags(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -9950,7 +9950,7 @@ export class ISCSI_TARGET_PORTAL_INFO_EXWView { // 0x22: pad6 // 0x28: u64 - set SecurityFlags(value: Deno.PointerValue) { + set SecurityFlags(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -9975,7 +9975,7 @@ export interface ISCSI_TARGET_PORTAL_INFO_EXA { /** u16 */ Socket: number; /** u64 */ - SecurityFlags: Deno.PointerValue; + SecurityFlags: bigint | number; /** Windows.Win32.Storage.IscsiDisc.ISCSI_LOGIN_OPTIONS */ LoginOptions: Uint8Array | Deno.PointerValue; } @@ -10047,7 +10047,7 @@ export class ISCSI_TARGET_PORTAL_INFO_EXAView { // 0x22: pad6 // 0x28: u64 - get SecurityFlags(): Deno.PointerValue { + get SecurityFlags(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -10087,7 +10087,7 @@ export class ISCSI_TARGET_PORTAL_INFO_EXAView { // 0x22: pad6 // 0x28: u64 - set SecurityFlags(value: Deno.PointerValue) { + set SecurityFlags(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -10810,7 +10810,7 @@ export interface ISCSI_CONNECTION_INFO_EX { /** Windows.Win32.Storage.IscsiDisc.ISCSI_AUTH_TYPES */ AuthType: ISCSI_AUTH_TYPES; /** u64 */ - EstimatedThroughput: Deno.PointerValue; + EstimatedThroughput: bigint | number; /** u32 */ MaxDatagramSize: number; } @@ -10892,7 +10892,7 @@ export class ISCSI_CONNECTION_INFO_EXView { // 0x14: pad4 // 0x18: u64 - get EstimatedThroughput(): Deno.PointerValue { + get EstimatedThroughput(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -10941,7 +10941,7 @@ export class ISCSI_CONNECTION_INFO_EXView { // 0x14: pad4 // 0x18: u64 - set EstimatedThroughput(value: Deno.PointerValue) { + set EstimatedThroughput(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -11561,7 +11561,7 @@ export interface PERSISTENT_ISCSI_LOGIN_INFOW { /** Windows.Win32.Storage.IscsiDisc.ISCSI_TARGET_PORTALW */ TargetPortal: Uint8Array | Deno.PointerValue; /** u64 */ - SecurityFlags: Deno.PointerValue; + SecurityFlags: bigint | number; /** ptr */ Mappings: Deno.PointerValue | Uint8Array; /** Windows.Win32.Storage.IscsiDisc.ISCSI_LOGIN_OPTIONS */ @@ -11635,7 +11635,7 @@ export class PERSISTENT_ISCSI_LOGIN_INFOWView { } // 0x28: u64 - get SecurityFlags(): Deno.PointerValue { + get SecurityFlags(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -11679,7 +11679,7 @@ export class PERSISTENT_ISCSI_LOGIN_INFOWView { } // 0x28: u64 - set SecurityFlags(value: Deno.PointerValue) { + set SecurityFlags(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -11709,7 +11709,7 @@ export interface PERSISTENT_ISCSI_LOGIN_INFOA { /** Windows.Win32.Storage.IscsiDisc.ISCSI_TARGET_PORTALA */ TargetPortal: Uint8Array | Deno.PointerValue; /** u64 */ - SecurityFlags: Deno.PointerValue; + SecurityFlags: bigint | number; /** ptr */ Mappings: Deno.PointerValue | Uint8Array; /** Windows.Win32.Storage.IscsiDisc.ISCSI_LOGIN_OPTIONS */ @@ -11783,7 +11783,7 @@ export class PERSISTENT_ISCSI_LOGIN_INFOAView { } // 0x28: u64 - get SecurityFlags(): Deno.PointerValue { + get SecurityFlags(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -11827,7 +11827,7 @@ export class PERSISTENT_ISCSI_LOGIN_INFOAView { } // 0x28: u64 - set SecurityFlags(value: Deno.PointerValue) { + set SecurityFlags(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -12270,7 +12270,7 @@ export function AddIScsiConnectionW( Reserved: Deno.PointerValue | Uint8Array /* ptr */, InitiatorPortNumber: number /* u32 */, TargetPortal: Deno.PointerValue | Uint8Array /* ptr */, - SecurityFlags: Deno.PointerValue /* u64 */, + SecurityFlags: bigint | number /* u64 */, LoginOptions: Deno.PointerValue | Uint8Array /* ptr */, KeySize: number /* u32 */, Key: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -12284,7 +12284,7 @@ export function AddIScsiConnectionA( Reserved: Deno.PointerValue | Uint8Array /* ptr */, InitiatorPortNumber: number /* u32 */, TargetPortal: Deno.PointerValue | Uint8Array /* ptr */, - SecurityFlags: Deno.PointerValue /* u64 */, + SecurityFlags: bigint | number /* u64 */, LoginOptions: Deno.PointerValue | Uint8Array /* ptr */, KeySize: number /* u32 */, Key: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -12356,7 +12356,7 @@ export function AddIScsiSendTargetPortalW( InitiatorInstance: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, InitiatorPortNumber: number /* u32 */, LoginOptions: Deno.PointerValue | Uint8Array /* ptr */, - SecurityFlags: Deno.PointerValue /* u64 */, + SecurityFlags: bigint | number /* u64 */, Portal: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libISCSIDSC_dll.AddIScsiSendTargetPortalW(util.pwstrToFfi(InitiatorInstance), InitiatorPortNumber, util.toPointer(LoginOptions), SecurityFlags, util.toPointer(Portal)); @@ -12366,7 +12366,7 @@ export function AddIScsiSendTargetPortalA( InitiatorInstance: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, InitiatorPortNumber: number /* u32 */, LoginOptions: Deno.PointerValue | Uint8Array /* ptr */, - SecurityFlags: Deno.PointerValue /* u64 */, + SecurityFlags: bigint | number /* u64 */, Portal: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libISCSIDSC_dll.AddIScsiSendTargetPortalA(util.pstrToFfi(InitiatorInstance), InitiatorPortNumber, util.toPointer(LoginOptions), SecurityFlags, util.toPointer(Portal)); @@ -12440,7 +12440,7 @@ export function LoginIScsiTargetW( InitiatorInstance: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, InitiatorPortNumber: number /* u32 */, TargetPortal: Deno.PointerValue | Uint8Array /* ptr */, - SecurityFlags: Deno.PointerValue /* u64 */, + SecurityFlags: bigint | number /* u64 */, Mappings: Deno.PointerValue | Uint8Array /* ptr */, LoginOptions: Deno.PointerValue | Uint8Array /* ptr */, KeySize: number /* u32 */, @@ -12458,7 +12458,7 @@ export function LoginIScsiTargetA( InitiatorInstance: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, InitiatorPortNumber: number /* u32 */, TargetPortal: Deno.PointerValue | Uint8Array /* ptr */, - SecurityFlags: Deno.PointerValue /* u64 */, + SecurityFlags: bigint | number /* u64 */, Mappings: Deno.PointerValue | Uint8Array /* ptr */, LoginOptions: Deno.PointerValue | Uint8Array /* ptr */, KeySize: number /* u32 */, @@ -12512,7 +12512,7 @@ export function RemoveIScsiPersistentTargetA( export function SendScsiInquiry( UniqueSessionId: Deno.PointerValue | Uint8Array /* ptr */, - Lun: Deno.PointerValue /* u64 */, + Lun: bigint | number /* u64 */, EvpdCmddt: number /* u8 */, PageCode: number /* u8 */, ScsiStatus: Deno.PointerValue | Uint8Array /* ptr */, @@ -12526,7 +12526,7 @@ export function SendScsiInquiry( export function SendScsiReadCapacity( UniqueSessionId: Deno.PointerValue | Uint8Array /* ptr */, - Lun: Deno.PointerValue /* u64 */, + Lun: bigint | number /* u64 */, ScsiStatus: Deno.PointerValue | Uint8Array /* ptr */, ResponseSize: Deno.PointerValue | Uint8Array /* ptr */, ResponseBuffer: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/Storage/Jet.ts b/api/Storage/Jet.ts index 4e12378..bd205a6 100644 --- a/api/Storage/Jet.ts +++ b/api/Storage/Jet.ts @@ -991,9 +991,9 @@ export const JET_IndexCheckingMax = 3; // Structs -export type JET_OSSNAPID = Deno.PointerValue; +export type JET_OSSNAPID = bigint | number; -export type JET_LS = Deno.PointerValue; +export type JET_LS = bigint | number; /** * Windows.Win32.Storage.Jet.JET_INDEXID (size: 16) @@ -1212,7 +1212,7 @@ export interface JET_THREADSTATS2 { /** u32 */ cbLogRecord: number; /** u64 */ - cusecPageCacheMiss: Deno.PointerValue; + cusecPageCacheMiss: bigint | number; /** u32 */ cPageCacheMiss: number; } @@ -1297,7 +1297,7 @@ export class JET_THREADSTATS2View { } // 0x20: u64 - get cusecPageCacheMiss(): Deno.PointerValue { + get cusecPageCacheMiss(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1349,7 +1349,7 @@ export class JET_THREADSTATS2View { } // 0x20: u64 - set cusecPageCacheMiss(value: Deno.PointerValue) { + set cusecPageCacheMiss(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -1370,11 +1370,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -1426,7 +1426,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1437,7 +1437,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1473,7 +1473,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1484,7 +1484,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1521,7 +1521,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -1550,7 +1550,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1562,7 +1562,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1801,7 +1801,7 @@ export interface JET_COMMIT_ID { /** i32 */ reserved: number; /** i64 */ - commitId: Deno.PointerValue; + commitId: bigint | number; } export const sizeofJET_COMMIT_ID = 24; @@ -1843,7 +1843,7 @@ export class JET_COMMIT_IDView { // 0x0c: pad4 // 0x10: i64 - get commitId(): Deno.PointerValue { + get commitId(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1860,7 +1860,7 @@ export class JET_COMMIT_IDView { // 0x0c: pad4 // 0x10: i64 - set commitId(value: Deno.PointerValue) { + set commitId(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -1880,7 +1880,7 @@ export interface JET_RBSINFOMISC { /** u32 */ ulMinor: number; /** u64 */ - cbLogicalFileSize: Deno.PointerValue; + cbLogicalFileSize: bigint | number; } export const sizeofJET_RBSINFOMISC = 40; @@ -1944,7 +1944,7 @@ export class JET_RBSINFOMISCView { } // 0x20: u64 - get cbLogicalFileSize(): Deno.PointerValue { + get cbLogicalFileSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -1976,7 +1976,7 @@ export class JET_RBSINFOMISCView { } // 0x20: u64 - set cbLogicalFileSize(value: Deno.PointerValue) { + set cbLogicalFileSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -1996,9 +1996,9 @@ export interface JET_RBSREVERTINFOMISC { /** Windows.Win32.Storage.Jet.JET_LOGTIME */ logtimeRevertFrom: Uint8Array | Deno.PointerValue; /** u64 */ - cSecRevert: Deno.PointerValue; + cSecRevert: bigint | number; /** u64 */ - cPagesReverted: Deno.PointerValue; + cPagesReverted: bigint | number; } export const sizeofJET_RBSREVERTINFOMISC = 40; @@ -2060,12 +2060,12 @@ export class JET_RBSREVERTINFOMISCView { } // 0x18: u64 - get cSecRevert(): Deno.PointerValue { + get cSecRevert(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cPagesReverted(): Deno.PointerValue { + get cPagesReverted(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -2095,12 +2095,12 @@ export class JET_RBSREVERTINFOMISCView { } // 0x18: u64 - set cSecRevert(value: Deno.PointerValue) { + set cSecRevert(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cPagesReverted(value: Deno.PointerValue) { + set cPagesReverted(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -2110,21 +2110,21 @@ export class JET_RBSREVERTINFOMISCView { */ export interface JET_RECSIZE { /** u64 */ - cbData: Deno.PointerValue; + cbData: bigint | number; /** u64 */ - cbLongValueData: Deno.PointerValue; + cbLongValueData: bigint | number; /** u64 */ - cbOverhead: Deno.PointerValue; + cbOverhead: bigint | number; /** u64 */ - cbLongValueOverhead: Deno.PointerValue; + cbLongValueOverhead: bigint | number; /** u64 */ - cNonTaggedColumns: Deno.PointerValue; + cNonTaggedColumns: bigint | number; /** u64 */ - cTaggedColumns: Deno.PointerValue; + cTaggedColumns: bigint | number; /** u64 */ - cLongValues: Deno.PointerValue; + cLongValues: bigint | number; /** u64 */ - cMultiValues: Deno.PointerValue; + cMultiValues: bigint | number; } export const sizeofJET_RECSIZE = 64; @@ -2162,82 +2162,82 @@ export class JET_RECSIZEView { } // 0x00: u64 - get cbData(): Deno.PointerValue { + get cbData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get cbLongValueData(): Deno.PointerValue { + get cbLongValueData(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get cbOverhead(): Deno.PointerValue { + get cbOverhead(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get cbLongValueOverhead(): Deno.PointerValue { + get cbLongValueOverhead(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cNonTaggedColumns(): Deno.PointerValue { + get cNonTaggedColumns(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get cTaggedColumns(): Deno.PointerValue { + get cTaggedColumns(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get cLongValues(): Deno.PointerValue { + get cLongValues(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get cMultiValues(): Deno.PointerValue { + get cMultiValues(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x00: u64 - set cbData(value: Deno.PointerValue) { + set cbData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set cbLongValueData(value: Deno.PointerValue) { + set cbLongValueData(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set cbOverhead(value: Deno.PointerValue) { + set cbOverhead(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set cbLongValueOverhead(value: Deno.PointerValue) { + set cbLongValueOverhead(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cNonTaggedColumns(value: Deno.PointerValue) { + set cNonTaggedColumns(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set cTaggedColumns(value: Deno.PointerValue) { + set cTaggedColumns(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set cLongValues(value: Deno.PointerValue) { + set cLongValues(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set cMultiValues(value: Deno.PointerValue) { + set cMultiValues(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -2247,27 +2247,27 @@ export class JET_RECSIZEView { */ export interface JET_RECSIZE2 { /** u64 */ - cbData: Deno.PointerValue; + cbData: bigint | number; /** u64 */ - cbLongValueData: Deno.PointerValue; + cbLongValueData: bigint | number; /** u64 */ - cbOverhead: Deno.PointerValue; + cbOverhead: bigint | number; /** u64 */ - cbLongValueOverhead: Deno.PointerValue; + cbLongValueOverhead: bigint | number; /** u64 */ - cNonTaggedColumns: Deno.PointerValue; + cNonTaggedColumns: bigint | number; /** u64 */ - cTaggedColumns: Deno.PointerValue; + cTaggedColumns: bigint | number; /** u64 */ - cLongValues: Deno.PointerValue; + cLongValues: bigint | number; /** u64 */ - cMultiValues: Deno.PointerValue; + cMultiValues: bigint | number; /** u64 */ - cCompressedColumns: Deno.PointerValue; + cCompressedColumns: bigint | number; /** u64 */ - cbDataCompressed: Deno.PointerValue; + cbDataCompressed: bigint | number; /** u64 */ - cbLongValueDataCompressed: Deno.PointerValue; + cbLongValueDataCompressed: bigint | number; } export const sizeofJET_RECSIZE2 = 88; @@ -2311,112 +2311,112 @@ export class JET_RECSIZE2View { } // 0x00: u64 - get cbData(): Deno.PointerValue { + get cbData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get cbLongValueData(): Deno.PointerValue { + get cbLongValueData(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get cbOverhead(): Deno.PointerValue { + get cbOverhead(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get cbLongValueOverhead(): Deno.PointerValue { + get cbLongValueOverhead(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get cNonTaggedColumns(): Deno.PointerValue { + get cNonTaggedColumns(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get cTaggedColumns(): Deno.PointerValue { + get cTaggedColumns(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get cLongValues(): Deno.PointerValue { + get cLongValues(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get cMultiValues(): Deno.PointerValue { + get cMultiValues(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get cCompressedColumns(): Deno.PointerValue { + get cCompressedColumns(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get cbDataCompressed(): Deno.PointerValue { + get cbDataCompressed(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get cbLongValueDataCompressed(): Deno.PointerValue { + get cbLongValueDataCompressed(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x00: u64 - set cbData(value: Deno.PointerValue) { + set cbData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set cbLongValueData(value: Deno.PointerValue) { + set cbLongValueData(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set cbOverhead(value: Deno.PointerValue) { + set cbOverhead(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set cbLongValueOverhead(value: Deno.PointerValue) { + set cbLongValueOverhead(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set cNonTaggedColumns(value: Deno.PointerValue) { + set cNonTaggedColumns(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set cTaggedColumns(value: Deno.PointerValue) { + set cTaggedColumns(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set cLongValues(value: Deno.PointerValue) { + set cLongValues(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set cMultiValues(value: Deno.PointerValue) { + set cMultiValues(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set cCompressedColumns(value: Deno.PointerValue) { + set cCompressedColumns(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set cbDataCompressed(value: Deno.PointerValue) { + set cbDataCompressed(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set cbLongValueDataCompressed(value: Deno.PointerValue) { + set cbLongValueDataCompressed(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } } @@ -2554,9 +2554,9 @@ export class JET_RSTMAP_WView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2582,22 +2582,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2971,7 +2971,7 @@ export class JET_DBINFOUPGRADEView { } } -export type JET_TABLEID = Deno.PointerValue; +export type JET_TABLEID = bigint | number; /** * Windows.Win32.Storage.Jet.JET_OBJECTLIST (size: 56) @@ -12965,7 +12965,7 @@ export class JET_SETCOLUMNView { // 0x24: pad4 } -export type JET_API_PTR = Deno.PointerValue; +export type JET_API_PTR = bigint | number; /** * Windows.Win32.Storage.Jet.JET_SETSYSPARAM_A (size: 32) @@ -13720,7 +13720,7 @@ export class JET_LOGINFO_WView { } } -export type JET_INSTANCE = Deno.PointerValue; +export type JET_INSTANCE = bigint | number; /** * Windows.Win32.Storage.Jet.JET_INSTANCE_INFO_A (size: 48) @@ -13960,9 +13960,9 @@ export class JET_INSTANCE_INFO_WView { } } -export type JET_SESID = Deno.PointerValue; +export type JET_SESID = bigint | number; -export type JET_HANDLE = Deno.PointerValue; +export type JET_HANDLE = bigint | number; // Native Libraries @@ -15683,7 +15683,7 @@ export function JetBeginTransaction2( export function JetBeginTransaction3( sesid: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.StructuredStorage.JET_SESID */, - trxid: Deno.PointerValue /* i64 */, + trxid: bigint | number /* i64 */, grbit: number /* u32 */, ): number /* i32 */ { return libESENT_dll.JetBeginTransaction3(util.toPointer(sesid), trxid, grbit); diff --git a/api/Storage/Packaging/Appx.ts b/api/Storage/Packaging/Appx.ts index 7f3b99a..3e0f48d 100644 --- a/api/Storage/Packaging/Appx.ts +++ b/api/Storage/Packaging/Appx.ts @@ -3869,9 +3869,9 @@ export class APPX_ENCRYPTED_EXEMPTIONSView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3897,22 +3897,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4409,7 +4409,7 @@ export class PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__View { // 0x04: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSID = Deno.PointerValue | Uint8Array; @@ -5159,7 +5159,7 @@ export function ReleasePackageVirtualizationContext( } export function DeactivatePackageVirtualizationContext( - cookie: Deno.PointerValue /* usize */, + cookie: bigint | number /* usize */, ): void /* void */ { return libKERNEL32_dll.DeactivatePackageVirtualizationContext(cookie); } diff --git a/api/Storage/ProjectedFileSystem.ts b/api/Storage/ProjectedFileSystem.ts index 8088778..19af5eb 100644 --- a/api/Storage/ProjectedFileSystem.ts +++ b/api/Storage/ProjectedFileSystem.ts @@ -71,18 +71,18 @@ export const PRJ_COMPLETE_COMMAND_TYPE_ENUMERATION = 2; // Structs -export type PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT = Deno.PointerValue; +export type PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT = bigint | number; -export type PRJ_DIR_ENTRY_BUFFER_HANDLE = Deno.PointerValue; +export type PRJ_DIR_ENTRY_BUFFER_HANDLE = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -108,22 +108,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -610,7 +610,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -650,7 +650,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -665,7 +665,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -677,7 +677,7 @@ export interface PRJ_FILE_BASIC_INFO { /** Windows.Win32.Foundation.BOOLEAN */ IsDirectory: Uint8Array | Deno.PointerValue; /** i64 */ - FileSize: Deno.PointerValue; + FileSize: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ CreationTime: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LARGE_INTEGER */ @@ -730,7 +730,7 @@ export class PRJ_FILE_BASIC_INFOView { } // 0x08: i64 - get FileSize(): Deno.PointerValue { + get FileSize(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -771,7 +771,7 @@ export class PRJ_FILE_BASIC_INFOView { } // 0x08: i64 - set FileSize(value: Deno.PointerValue) { + set FileSize(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -1852,7 +1852,7 @@ export function PrjWriteFileData( namespaceVirtualizationContext: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.ProjectedFileSystem.PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT */, dataStreamId: Deno.PointerValue | Uint8Array /* ptr */, buffer: Deno.PointerValue | Uint8Array /* ptr */, - byteOffset: Deno.PointerValue /* u64 */, + byteOffset: bigint | number /* u64 */, length: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libPROJECTEDFSLIB_dll.PrjWriteFileData(util.toPointer(namespaceVirtualizationContext), util.toPointer(dataStreamId), util.toPointer(buffer), byteOffset, length); @@ -1867,7 +1867,7 @@ export function PrjGetOnDiskFileState( export function PrjAllocateAlignedBuffer( namespaceVirtualizationContext: Uint8Array | Deno.PointerValue /* Windows.Win32.Storage.ProjectedFileSystem.PRJ_NAMESPACE_VIRTUALIZATION_CONTEXT */, - size: Deno.PointerValue /* usize */, + size: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libPROJECTEDFSLIB_dll.PrjAllocateAlignedBuffer(util.toPointer(namespaceVirtualizationContext), size); } diff --git a/api/Storage/Vhd.ts b/api/Storage/Vhd.ts index f545406..7630179 100644 --- a/api/Storage/Vhd.ts +++ b/api/Storage/Vhd.ts @@ -3474,9 +3474,9 @@ export class VIRTUAL_STORAGE_TYPEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3502,22 +3502,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4180,9 +4180,9 @@ export interface VIRTUAL_DISK_PROGRESS { /** u32 */ OperationStatus: number; /** u64 */ - CurrentValue: Deno.PointerValue; + CurrentValue: bigint | number; /** u64 */ - CompletionValue: Deno.PointerValue; + CompletionValue: bigint | number; } export const sizeofVIRTUAL_DISK_PROGRESS = 24; @@ -4218,12 +4218,12 @@ export class VIRTUAL_DISK_PROGRESSView { // 0x04: pad4 // 0x08: u64 - get CurrentValue(): Deno.PointerValue { + get CurrentValue(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CompletionValue(): Deno.PointerValue { + get CompletionValue(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4235,12 +4235,12 @@ export class VIRTUAL_DISK_PROGRESSView { // 0x04: pad4 // 0x08: u64 - set CurrentValue(value: Deno.PointerValue) { + set CurrentValue(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CompletionValue(value: Deno.PointerValue) { + set CompletionValue(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -4545,11 +4545,11 @@ export class MIRROR_VIRTUAL_DISK_PARAMETERSView { */ export interface QUERY_CHANGES_VIRTUAL_DISK_RANGE { /** u64 */ - ByteOffset: Deno.PointerValue; + ByteOffset: bigint | number; /** u64 */ - ByteLength: Deno.PointerValue; + ByteLength: bigint | number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofQUERY_CHANGES_VIRTUAL_DISK_RANGE = 24; @@ -4577,32 +4577,32 @@ export class QUERY_CHANGES_VIRTUAL_DISK_RANGEView { } // 0x00: u64 - get ByteOffset(): Deno.PointerValue { + get ByteOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ByteLength(): Deno.PointerValue { + get ByteLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set ByteOffset(value: Deno.PointerValue) { + set ByteOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ByteLength(value: Deno.PointerValue) { + set ByteLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -5022,7 +5022,7 @@ export class FORK_VIRTUAL_DISK_PARAMETERSView { export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -5336,8 +5336,8 @@ export function AddVirtualDiskParent( export function QueryChangesVirtualDisk( VirtualDiskHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ChangeTrackingId: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - ByteOffset: Deno.PointerValue /* u64 */, - ByteLength: Deno.PointerValue /* u64 */, + ByteOffset: bigint | number /* u64 */, + ByteLength: bigint | number /* u64 */, Flags: QUERY_CHANGES_VIRTUAL_DISK_FLAG /* Windows.Win32.Storage.Vhd.QUERY_CHANGES_VIRTUAL_DISK_FLAG */, Ranges: Deno.PointerValue | Uint8Array /* ptr */, RangeCount: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/Storage/VirtualDiskService.ts b/api/Storage/VirtualDiskService.ts index e791ceb..09f6fa4 100644 --- a/api/Storage/VirtualDiskService.ts +++ b/api/Storage/VirtualDiskService.ts @@ -1650,7 +1650,7 @@ export interface VDS_PARTITION_NOTIFICATION { /** System.Guid */ diskId: Uint8Array | Deno.PointerValue; /** u64 */ - ullOffset: Deno.PointerValue; + ullOffset: bigint | number; } export const sizeofVDS_PARTITION_NOTIFICATION = 24; @@ -1692,7 +1692,7 @@ export class VDS_PARTITION_NOTIFICATIONView { } // 0x10: u64 - get ullOffset(): Deno.PointerValue { + get ullOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1709,7 +1709,7 @@ export class VDS_PARTITION_NOTIFICATIONView { } // 0x10: u64 - set ullOffset(value: Deno.PointerValue) { + set ullOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -2455,9 +2455,9 @@ export class VDS_PORTAL_GROUP_NOTIFICATIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2483,22 +2483,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2681,9 +2681,9 @@ export class VDS_ASYNC_OUTPUTView { */ export interface VDS_PATH_ID { /** u64 */ - ullSourceId: Deno.PointerValue; + ullSourceId: bigint | number; /** u64 */ - ullPathId: Deno.PointerValue; + ullPathId: bigint | number; } export const sizeofVDS_PATH_ID = 16; @@ -2709,22 +2709,22 @@ export class VDS_PATH_IDView { } // 0x00: u64 - get ullSourceId(): Deno.PointerValue { + get ullSourceId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullPathId(): Deno.PointerValue { + get ullPathId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set ullSourceId(value: Deno.PointerValue) { + set ullSourceId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullPathId(value: Deno.PointerValue) { + set ullPathId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3437,11 +3437,11 @@ export class VDS_PROVIDER_PROPView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -3493,7 +3493,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3504,7 +3504,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3540,7 +3540,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3551,7 +3551,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3588,7 +3588,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -3617,7 +3617,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3629,7 +3629,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3886,9 +3886,9 @@ export class VDS_PATH_POLICYView { */ export interface VDS_HINTS { /** u64 */ - ullHintMask: Deno.PointerValue; + ullHintMask: bigint | number; /** u64 */ - ullExpectedMaximumSize: Deno.PointerValue; + ullExpectedMaximumSize: bigint | number; /** u32 */ ulOptimalReadSize: number; /** u32 */ @@ -3979,12 +3979,12 @@ export class VDS_HINTSView { } // 0x00: u64 - get ullHintMask(): Deno.PointerValue { + get ullHintMask(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullExpectedMaximumSize(): Deno.PointerValue { + get ullExpectedMaximumSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4071,12 +4071,12 @@ export class VDS_HINTSView { // 0x4e: pad2 // 0x00: u64 - set ullHintMask(value: Deno.PointerValue) { + set ullHintMask(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullExpectedMaximumSize(value: Deno.PointerValue) { + set ullExpectedMaximumSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -4168,9 +4168,9 @@ export class VDS_HINTSView { */ export interface VDS_HINTS2 { /** u64 */ - ullHintMask: Deno.PointerValue; + ullHintMask: bigint | number; /** u64 */ - ullExpectedMaximumSize: Deno.PointerValue; + ullExpectedMaximumSize: bigint | number; /** u32 */ ulOptimalReadSize: number; /** u32 */ @@ -4313,12 +4313,12 @@ export class VDS_HINTS2View { } // 0x00: u64 - get ullHintMask(): Deno.PointerValue { + get ullHintMask(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ullExpectedMaximumSize(): Deno.PointerValue { + get ullExpectedMaximumSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4470,12 +4470,12 @@ export class VDS_HINTS2View { // 0x82: pad6 // 0x00: u64 - set ullHintMask(value: Deno.PointerValue) { + set ullHintMask(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ullExpectedMaximumSize(value: Deno.PointerValue) { + set ullExpectedMaximumSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5167,7 +5167,7 @@ export interface VDS_DRIVE_PROP { /** System.Guid */ id: Uint8Array | Deno.PointerValue; /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pwszFriendlyName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -5233,7 +5233,7 @@ export class VDS_DRIVE_PROPView { } // 0x08: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5280,7 +5280,7 @@ export class VDS_DRIVE_PROPView { } // 0x08: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5329,7 +5329,7 @@ export interface VDS_DRIVE_PROP2 { /** System.Guid */ id: Uint8Array | Deno.PointerValue; /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pwszFriendlyName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -5408,7 +5408,7 @@ export class VDS_DRIVE_PROP2View { } // 0x08: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5472,7 +5472,7 @@ export class VDS_DRIVE_PROP2View { } // 0x08: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5540,7 +5540,7 @@ export interface VDS_DRIVE_EXTENT { /** System.Guid */ LunId: Uint8Array | Deno.PointerValue; /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; /** Windows.Win32.Foundation.BOOL */ bUsed: boolean; } @@ -5585,7 +5585,7 @@ export class VDS_DRIVE_EXTENTView { } // 0x10: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5607,7 +5607,7 @@ export class VDS_DRIVE_EXTENTView { } // 0x10: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5626,7 +5626,7 @@ export interface VDS_LUN_PROP { /** System.Guid */ id: Uint8Array | Deno.PointerValue; /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pwszFriendlyName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -5704,7 +5704,7 @@ export class VDS_LUN_PROPView { } // 0x08: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5764,7 +5764,7 @@ export class VDS_LUN_PROPView { } // 0x08: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5826,7 +5826,7 @@ export interface VDS_LUN_PLEX_PROP { /** System.Guid */ id: Uint8Array | Deno.PointerValue; /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; /** Windows.Win32.Storage.VirtualDiskService.VDS_LUN_PLEX_TYPE */ type: VDS_LUN_PLEX_TYPE; /** Windows.Win32.Storage.VirtualDiskService.VDS_LUN_PLEX_STATUS */ @@ -5887,7 +5887,7 @@ export class VDS_LUN_PLEX_PROPView { } // 0x08: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5934,7 +5934,7 @@ export class VDS_LUN_PLEX_PROPView { } // 0x08: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6371,7 +6371,7 @@ export class VDS_POOL_CUSTOM_ATTRIBUTESView { */ export interface VDS_POOL_ATTRIBUTES { /** u64 */ - ullAttributeMask: Deno.PointerValue; + ullAttributeMask: bigint | number; /** Windows.Win32.Storage.VirtualDiskService.VDS_RAID_TYPE */ raidType: VDS_RAID_TYPE; /** Windows.Win32.Storage.VirtualDiskService.VDS_STORAGE_BUS_TYPE */ @@ -6383,7 +6383,7 @@ export interface VDS_POOL_ATTRIBUTES { /** Windows.Win32.Foundation.BOOL */ bIsThinProvisioned: boolean; /** u64 */ - ullProvisionedSpace: Deno.PointerValue; + ullProvisionedSpace: bigint | number; /** Windows.Win32.Foundation.BOOL */ bNoSinglePointOfFailure: boolean; /** u32 */ @@ -6443,9 +6443,9 @@ export interface VDS_POOL_ATTRIBUTES { /** u32 */ ulReserved2: number; /** u64 */ - ullReserved1: Deno.PointerValue; + ullReserved1: bigint | number; /** u64 */ - ullReserved2: Deno.PointerValue; + ullReserved2: bigint | number; } export const sizeofVDS_POOL_ATTRIBUTES = 176; @@ -6546,7 +6546,7 @@ export class VDS_POOL_ATTRIBUTESView { } // 0x00: u64 - get ullAttributeMask(): Deno.PointerValue { + get ullAttributeMask(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6577,7 +6577,7 @@ export class VDS_POOL_ATTRIBUTESView { } // 0x20: u64 - get ullProvisionedSpace(): Deno.PointerValue { + get ullProvisionedSpace(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -6728,17 +6728,17 @@ export class VDS_POOL_ATTRIBUTESView { } // 0xa0: u64 - get ullReserved1(): Deno.PointerValue { + get ullReserved1(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: u64 - get ullReserved2(): Deno.PointerValue { + get ullReserved2(): bigint | number { return Number(this.view.getBigUint64(168, true)); } // 0x00: u64 - set ullAttributeMask(value: Deno.PointerValue) { + set ullAttributeMask(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6769,7 +6769,7 @@ export class VDS_POOL_ATTRIBUTESView { } // 0x20: u64 - set ullProvisionedSpace(value: Deno.PointerValue) { + set ullProvisionedSpace(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -6919,12 +6919,12 @@ export class VDS_POOL_ATTRIBUTESView { } // 0xa0: u64 - set ullReserved1(value: Deno.PointerValue) { + set ullReserved1(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: u64 - set ullReserved2(value: Deno.PointerValue) { + set ullReserved2(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } } @@ -6946,11 +6946,11 @@ export interface VDS_STORAGE_POOL_PROP { /** Windows.Win32.Foundation.PWSTR */ pwszDescription: string | null | Uint8Array | Uint16Array; /** u64 */ - ullTotalConsumedSpace: Deno.PointerValue; + ullTotalConsumedSpace: bigint | number; /** u64 */ - ullTotalManagedSpace: Deno.PointerValue; + ullTotalManagedSpace: bigint | number; /** u64 */ - ullRemainingFreeSpace: Deno.PointerValue; + ullRemainingFreeSpace: bigint | number; } export const sizeofVDS_STORAGE_POOL_PROP = 64; @@ -7032,17 +7032,17 @@ export class VDS_STORAGE_POOL_PROPView { } // 0x28: u64 - get ullTotalConsumedSpace(): Deno.PointerValue { + get ullTotalConsumedSpace(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ullTotalManagedSpace(): Deno.PointerValue { + get ullTotalManagedSpace(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ullRemainingFreeSpace(): Deno.PointerValue { + get ullRemainingFreeSpace(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -7081,17 +7081,17 @@ export class VDS_STORAGE_POOL_PROPView { } // 0x28: u64 - set ullTotalConsumedSpace(value: Deno.PointerValue) { + set ullTotalConsumedSpace(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ullTotalManagedSpace(value: Deno.PointerValue) { + set ullTotalManagedSpace(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ullRemainingFreeSpace(value: Deno.PointerValue) { + set ullRemainingFreeSpace(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -7103,7 +7103,7 @@ export interface VDS_STORAGE_POOL_DRIVE_EXTENT { /** System.Guid */ id: Uint8Array | Deno.PointerValue; /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; /** Windows.Win32.Foundation.BOOL */ bUsed: boolean; } @@ -7140,7 +7140,7 @@ export class VDS_STORAGE_POOL_DRIVE_EXTENTView { } // 0x08: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7157,7 +7157,7 @@ export class VDS_STORAGE_POOL_DRIVE_EXTENTView { } // 0x08: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } diff --git a/api/Storage/Vss.ts b/api/Storage/Vss.ts index 90dca0e..64b5d6f 100644 --- a/api/Storage/Vss.ts +++ b/api/Storage/Vss.ts @@ -372,7 +372,7 @@ export interface VSS_SNAPSHOT_PROP { /** i32 */ m_lSnapshotAttributes: number; /** i64 */ - m_tsCreationTimestamp: Deno.PointerValue; + m_tsCreationTimestamp: bigint | number; /** Windows.Win32.Storage.Vss.VSS_SNAPSHOT_STATE */ m_eStatus: VSS_SNAPSHOT_STATE; } @@ -493,7 +493,7 @@ export class VSS_SNAPSHOT_PROPView { // 0x54: pad4 // 0x58: i64 - get m_tsCreationTimestamp(): Deno.PointerValue { + get m_tsCreationTimestamp(): bigint | number { return Number(this.view.getBigInt64(88, true)); } @@ -564,7 +564,7 @@ export class VSS_SNAPSHOT_PROPView { // 0x54: pad4 // 0x58: i64 - set m_tsCreationTimestamp(value: Deno.PointerValue) { + set m_tsCreationTimestamp(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } @@ -873,9 +873,9 @@ export interface VSS_DIFF_VOLUME_PROP { /** ptr */ m_pwszVolumeDisplayName: Deno.PointerValue | Uint8Array; /** i64 */ - m_llVolumeFreeSpace: Deno.PointerValue; + m_llVolumeFreeSpace: bigint | number; /** i64 */ - m_llVolumeTotalSpace: Deno.PointerValue; + m_llVolumeTotalSpace: bigint | number; } export const sizeofVSS_DIFF_VOLUME_PROP = 32; @@ -917,12 +917,12 @@ export class VSS_DIFF_VOLUME_PROPView { } // 0x10: i64 - get m_llVolumeFreeSpace(): Deno.PointerValue { + get m_llVolumeFreeSpace(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get m_llVolumeTotalSpace(): Deno.PointerValue { + get m_llVolumeTotalSpace(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -937,12 +937,12 @@ export class VSS_DIFF_VOLUME_PROPView { } // 0x10: i64 - set m_llVolumeFreeSpace(value: Deno.PointerValue) { + set m_llVolumeFreeSpace(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set m_llVolumeTotalSpace(value: Deno.PointerValue) { + set m_llVolumeTotalSpace(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -956,11 +956,11 @@ export interface VSS_DIFF_AREA_PROP { /** ptr */ m_pwszDiffAreaVolumeName: Deno.PointerValue | Uint8Array; /** i64 */ - m_llMaximumDiffSpace: Deno.PointerValue; + m_llMaximumDiffSpace: bigint | number; /** i64 */ - m_llAllocatedDiffSpace: Deno.PointerValue; + m_llAllocatedDiffSpace: bigint | number; /** i64 */ - m_llUsedDiffSpace: Deno.PointerValue; + m_llUsedDiffSpace: bigint | number; } export const sizeofVSS_DIFF_AREA_PROP = 40; @@ -1004,17 +1004,17 @@ export class VSS_DIFF_AREA_PROPView { } // 0x10: i64 - get m_llMaximumDiffSpace(): Deno.PointerValue { + get m_llMaximumDiffSpace(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get m_llAllocatedDiffSpace(): Deno.PointerValue { + get m_llAllocatedDiffSpace(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get m_llUsedDiffSpace(): Deno.PointerValue { + get m_llUsedDiffSpace(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -1029,17 +1029,17 @@ export class VSS_DIFF_AREA_PROPView { } // 0x10: i64 - set m_llMaximumDiffSpace(value: Deno.PointerValue) { + set m_llMaximumDiffSpace(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set m_llAllocatedDiffSpace(value: Deno.PointerValue) { + set m_llAllocatedDiffSpace(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set m_llUsedDiffSpace(value: Deno.PointerValue) { + set m_llUsedDiffSpace(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } } diff --git a/api/Storage/Xps.ts b/api/Storage/Xps.ts index c484b08..9a76616 100644 --- a/api/Storage/Xps.ts +++ b/api/Storage/Xps.ts @@ -269,7 +269,7 @@ export const PrintDocumentPackageCompletion_Failed = 3; // Structs -export type HPTPROVIDER = Deno.PointerValue; +export type HPTPROVIDER = bigint | number; /** * Windows.Win32.Foundation.POINT (size: 8) @@ -1981,9 +1981,9 @@ export class PrintDocumentPackageStatusView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/Storage/Xps/Printing.ts b/api/Storage/Xps/Printing.ts index 75d7d27..1648424 100644 --- a/api/Storage/Xps/Printing.ts +++ b/api/Storage/Xps/Printing.ts @@ -252,7 +252,7 @@ export class PrintDocumentPackageStatusView { export type PWSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/System/AddressBook.ts b/api/System/AddressBook.ts index 51145b5..4b2b6e8 100644 --- a/api/System/AddressBook.ts +++ b/api/System/AddressBook.ts @@ -1156,9 +1156,9 @@ export class SLPSTRArrayView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1184,22 +1184,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1211,7 +1211,7 @@ export interface CY { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** i64 */ - int64: Deno.PointerValue; + int64: bigint | number; } export const sizeofCY = 16; @@ -1243,7 +1243,7 @@ export class CYView { } // 0x08: i64 - get int64(): Deno.PointerValue { + get int64(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -1253,7 +1253,7 @@ export class CYView { } // 0x08: i64 - set int64(value: Deno.PointerValue) { + set int64(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -1387,7 +1387,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -1427,7 +1427,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1442,7 +1442,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -6607,7 +6607,7 @@ export class DTPAGEView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.System.AddressBook.WAB_PARAM (size: 40) @@ -7060,7 +7060,7 @@ export class NOTIFKEYView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; // Native Libraries @@ -7448,7 +7448,7 @@ export function HrAddColumnsEx( lpproptagColumnsNew: Deno.PointerValue | Uint8Array /* ptr */, lpAllocateBuffer: Uint8Array | Deno.PointerValue /* Windows.Win32.System.AddressBook.LPALLOCATEBUFFER */, lpFreeBuffer: Uint8Array | Deno.PointerValue /* Windows.Win32.System.AddressBook.LPFREEBUFFER */, - lpfnFilterColumns: Deno.PointerValue /* isize */, + lpfnFilterColumns: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMAPI32_dll.HrAddColumnsEx(util.toPointer(lptbl), util.toPointer(lpproptagColumnsNew), util.toPointer(lpAllocateBuffer), util.toPointer(lpFreeBuffer), lpfnFilterColumns); } diff --git a/api/System/Antimalware.ts b/api/System/Antimalware.ts index 6e83ad2..96556af 100644 --- a/api/System/Antimalware.ts +++ b/api/System/Antimalware.ts @@ -878,13 +878,13 @@ export class AMSI_UAC_REQUEST_CONTEXTView { // 0x1c: pad4 } -export type HAMSICONTEXT = Deno.PointerValue; +export type HAMSICONTEXT = bigint | number; -export type HAMSISESSION = Deno.PointerValue; +export type HAMSISESSION = bigint | number; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/System/ApplicationInstallationAndServicing.ts b/api/System/ApplicationInstallationAndServicing.ts index 1afeb62..0668ab4 100644 --- a/api/System/ApplicationInstallationAndServicing.ts +++ b/api/System/ApplicationInstallationAndServicing.ts @@ -1727,9 +1727,9 @@ export class MSIFILEHASHINFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1755,22 +1755,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1847,7 +1847,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -1887,7 +1887,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1902,7 +1902,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -4031,7 +4031,7 @@ export class PATCH_OLD_FILE_INFO_WView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.ApplicationInstallationAndServicing.PATCH_OLD_FILE_INFO_H (size: 48) @@ -4578,7 +4578,7 @@ export interface DELTA_INPUT { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** usize */ - uSize: Deno.PointerValue; + uSize: bigint | number; /** Windows.Win32.Foundation.BOOL */ Editable: boolean; } @@ -4615,7 +4615,7 @@ export class DELTA_INPUTView { } // 0x08: usize - get uSize(): Deno.PointerValue { + get uSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4632,7 +4632,7 @@ export class DELTA_INPUTView { } // 0x08: usize - set uSize(value: Deno.PointerValue) { + set uSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -4651,7 +4651,7 @@ export interface DELTA_OUTPUT { /** ptr */ lpStart: Deno.PointerValue | Uint8Array; /** usize */ - uSize: Deno.PointerValue; + uSize: bigint | number; } export const sizeofDELTA_OUTPUT = 16; @@ -4683,7 +4683,7 @@ export class DELTA_OUTPUTView { } // 0x08: usize - get uSize(): Deno.PointerValue { + get uSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4693,7 +4693,7 @@ export class DELTA_OUTPUTView { } // 0x08: usize - set uSize(value: Deno.PointerValue) { + set uSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4815,13 +4815,13 @@ export class FILETIMEView { */ export interface DELTA_HEADER_INFO { /** i64 */ - FileTypeSet: Deno.PointerValue; + FileTypeSet: bigint | number; /** i64 */ - FileType: Deno.PointerValue; + FileType: bigint | number; /** i64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** usize */ - TargetSize: Deno.PointerValue; + TargetSize: bigint | number; /** Windows.Win32.Foundation.FILETIME */ TargetFileTime: Uint8Array | Deno.PointerValue; /** u32 */ @@ -4864,22 +4864,22 @@ export class DELTA_HEADER_INFOView { } // 0x00: i64 - get FileTypeSet(): Deno.PointerValue { + get FileTypeSet(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get FileType(): Deno.PointerValue { + get FileType(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: usize - get TargetSize(): Deno.PointerValue { + get TargetSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4903,22 +4903,22 @@ export class DELTA_HEADER_INFOView { } // 0x00: i64 - set FileTypeSet(value: Deno.PointerValue) { + set FileTypeSet(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set FileType(value: Deno.PointerValue) { + set FileType(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: usize - set TargetSize(value: Deno.PointerValue) { + set TargetSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -5112,7 +5112,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -5152,7 +5152,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -5167,7 +5167,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -5571,7 +5571,7 @@ export interface COMPATIBILITY_CONTEXT_ELEMENT { /** Windows.Win32.System.ApplicationInstallationAndServicing.ACTCTX_COMPATIBILITY_ELEMENT_TYPE */ Type: ACTCTX_COMPATIBILITY_ELEMENT_TYPE; /** u64 */ - MaxVersionTested: Deno.PointerValue; + MaxVersionTested: bigint | number; } export const sizeofCOMPATIBILITY_CONTEXT_ELEMENT = 24; @@ -5613,7 +5613,7 @@ export class COMPATIBILITY_CONTEXT_ELEMENTView { // 0x0c: pad4 // 0x10: u64 - get MaxVersionTested(): Deno.PointerValue { + get MaxVersionTested(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5630,7 +5630,7 @@ export class COMPATIBILITY_CONTEXT_ELEMENTView { // 0x0c: pad4 // 0x10: u64 - set MaxVersionTested(value: Deno.PointerValue) { + set MaxVersionTested(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -5848,7 +5848,7 @@ export class ACTIVATION_CONTEXT_DETAILED_INFORMATIONView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.System.ApplicationInstallationAndServicing.ACTCTXA (size: 56) @@ -6525,7 +6525,7 @@ export class ACTCTX_SECTION_KEYED_DATAView { } } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; export type HRESULT = number; @@ -10510,7 +10510,7 @@ export function GetDeltaInfoW( } export function ApplyDeltaGetReverseB( - ApplyFlags: Deno.PointerValue /* i64 */, + ApplyFlags: bigint | number /* i64 */, Source: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, Delta: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, lpReverseFileTime: Deno.PointerValue | Uint8Array /* ptr */, @@ -10521,7 +10521,7 @@ export function ApplyDeltaGetReverseB( } export function ApplyDeltaB( - ApplyFlags: Deno.PointerValue /* i64 */, + ApplyFlags: bigint | number /* i64 */, Source: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, Delta: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, lpTarget: Deno.PointerValue | Uint8Array /* ptr */, @@ -10530,17 +10530,17 @@ export function ApplyDeltaB( } export function ApplyDeltaProvidedB( - ApplyFlags: Deno.PointerValue /* i64 */, + ApplyFlags: bigint | number /* i64 */, Source: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, Delta: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, lpTarget: Deno.PointerValue | Uint8Array /* ptr */, - uTargetSize: Deno.PointerValue /* usize */, + uTargetSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmsdelta_dll.ApplyDeltaProvidedB(ApplyFlags, util.toPointer(Source), util.toPointer(Delta), util.toPointer(lpTarget), uTargetSize)); } export function ApplyDeltaA( - ApplyFlags: Deno.PointerValue /* i64 */, + ApplyFlags: bigint | number /* i64 */, lpSourceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpDeltaName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpTargetName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -10549,7 +10549,7 @@ export function ApplyDeltaA( } export function ApplyDeltaW( - ApplyFlags: Deno.PointerValue /* i64 */, + ApplyFlags: bigint | number /* i64 */, lpSourceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpDeltaName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpTargetName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -10558,9 +10558,9 @@ export function ApplyDeltaW( } export function CreateDeltaB( - FileTypeSet: Deno.PointerValue /* i64 */, - SetFlags: Deno.PointerValue /* i64 */, - ResetFlags: Deno.PointerValue /* i64 */, + FileTypeSet: bigint | number /* i64 */, + SetFlags: bigint | number /* i64 */, + ResetFlags: bigint | number /* i64 */, Source: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, Target: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, SourceOptions: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, @@ -10574,9 +10574,9 @@ export function CreateDeltaB( } export function CreateDeltaA( - FileTypeSet: Deno.PointerValue /* i64 */, - SetFlags: Deno.PointerValue /* i64 */, - ResetFlags: Deno.PointerValue /* i64 */, + FileTypeSet: bigint | number /* i64 */, + SetFlags: bigint | number /* i64 */, + ResetFlags: bigint | number /* i64 */, lpSourceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpTargetName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpSourceOptionsName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -10590,9 +10590,9 @@ export function CreateDeltaA( } export function CreateDeltaW( - FileTypeSet: Deno.PointerValue /* i64 */, - SetFlags: Deno.PointerValue /* i64 */, - ResetFlags: Deno.PointerValue /* i64 */, + FileTypeSet: bigint | number /* i64 */, + SetFlags: bigint | number /* i64 */, + ResetFlags: bigint | number /* i64 */, lpSourceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpTargetName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpSourceOptionsName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -10606,7 +10606,7 @@ export function CreateDeltaW( } export function GetDeltaSignatureB( - FileTypeSet: Deno.PointerValue /* i64 */, + FileTypeSet: bigint | number /* i64 */, HashAlgId: number /* u32 */, Source: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, lpHash: Deno.PointerValue | Uint8Array /* ptr */, @@ -10615,7 +10615,7 @@ export function GetDeltaSignatureB( } export function GetDeltaSignatureA( - FileTypeSet: Deno.PointerValue /* i64 */, + FileTypeSet: bigint | number /* i64 */, HashAlgId: number /* u32 */, lpSourceName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpHash: Deno.PointerValue | Uint8Array /* ptr */, @@ -10624,7 +10624,7 @@ export function GetDeltaSignatureA( } export function GetDeltaSignatureW( - FileTypeSet: Deno.PointerValue /* i64 */, + FileTypeSet: bigint | number /* i64 */, HashAlgId: number /* u32 */, lpSourceName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpHash: Deno.PointerValue | Uint8Array /* ptr */, @@ -10633,11 +10633,11 @@ export function GetDeltaSignatureW( } export function DeltaNormalizeProvidedB( - FileTypeSet: Deno.PointerValue /* i64 */, - NormalizeFlags: Deno.PointerValue /* i64 */, + FileTypeSet: bigint | number /* i64 */, + NormalizeFlags: bigint | number /* i64 */, NormalizeOptions: Uint8Array | Deno.PointerValue /* Windows.Win32.System.ApplicationInstallationAndServicing.DELTA_INPUT */, lpSource: Deno.PointerValue | Uint8Array /* ptr */, - uSourceSize: Deno.PointerValue /* usize */, + uSourceSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmsdelta_dll.DeltaNormalizeProvidedB(FileTypeSet, NormalizeFlags, util.toPointer(NormalizeOptions), util.toPointer(lpSource), uSourceSize)); } @@ -10687,7 +10687,7 @@ export function ActivateActCtx( export function DeactivateActCtx( dwFlags: number /* u32 */, - ulCookie: Deno.PointerValue /* usize */, + ulCookie: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.DeactivateActCtx(dwFlags, ulCookie)); } @@ -10734,7 +10734,7 @@ export function QueryActCtxW( pvSubInstance: Deno.PointerValue | Uint8Array /* ptr */, ulInfoClass: number /* u32 */, pvBuffer: Deno.PointerValue | Uint8Array /* ptr */, - cbBuffer: Deno.PointerValue /* usize */, + cbBuffer: bigint | number /* usize */, pcbWrittenOrRequired: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.QueryActCtxW(dwFlags, util.toPointer(hActCtx), util.toPointer(pvSubInstance), ulInfoClass, util.toPointer(pvBuffer), cbBuffer, util.toPointer(pcbWrittenOrRequired))); @@ -10746,7 +10746,7 @@ export function QueryActCtxSettingsW( settingsNameSpace: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, settingName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pvBuffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwBuffer: Deno.PointerValue /* usize */, + dwBuffer: bigint | number /* usize */, pdwWrittenOrRequired: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.QueryActCtxSettingsW(dwFlags, util.toPointer(hActCtx), util.pwstrToFfi(settingsNameSpace), util.pwstrToFfi(settingName), util.pwstrToFfi(pvBuffer), dwBuffer, util.toPointer(pdwWrittenOrRequired))); diff --git a/api/System/ApplicationVerifier.ts b/api/System/ApplicationVerifier.ts index ca48ee7..cf201c2 100644 --- a/api/System/ApplicationVerifier.ts +++ b/api/System/ApplicationVerifier.ts @@ -105,21 +105,21 @@ export class AVRF_BACKTRACE_INFORMATIONView { */ export interface AVRF_HEAP_ALLOCATION { /** u64 */ - HeapHandle: Deno.PointerValue; + HeapHandle: bigint | number; /** u64 */ - UserAllocation: Deno.PointerValue; + UserAllocation: bigint | number; /** u64 */ - UserAllocationSize: Deno.PointerValue; + UserAllocationSize: bigint | number; /** u64 */ - Allocation: Deno.PointerValue; + Allocation: bigint | number; /** u64 */ - AllocationSize: Deno.PointerValue; + AllocationSize: bigint | number; /** u32 */ UserAllocationState: number; /** u32 */ HeapState: number; /** u64 */ - HeapContext: Deno.PointerValue; + HeapContext: bigint | number; /** ptr */ BackTraceInformation: Deno.PointerValue | Uint8Array; } @@ -161,27 +161,27 @@ export class AVRF_HEAP_ALLOCATIONView { } // 0x00: u64 - get HeapHandle(): Deno.PointerValue { + get HeapHandle(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get UserAllocation(): Deno.PointerValue { + get UserAllocation(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get UserAllocationSize(): Deno.PointerValue { + get UserAllocationSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Allocation(): Deno.PointerValue { + get Allocation(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get AllocationSize(): Deno.PointerValue { + get AllocationSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -196,7 +196,7 @@ export class AVRF_HEAP_ALLOCATIONView { } // 0x30: u64 - get HeapContext(): Deno.PointerValue { + get HeapContext(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -207,27 +207,27 @@ export class AVRF_HEAP_ALLOCATIONView { } // 0x00: u64 - set HeapHandle(value: Deno.PointerValue) { + set HeapHandle(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set UserAllocation(value: Deno.PointerValue) { + set UserAllocation(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set UserAllocationSize(value: Deno.PointerValue) { + set UserAllocationSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Allocation(value: Deno.PointerValue) { + set Allocation(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set AllocationSize(value: Deno.PointerValue) { + set AllocationSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -242,7 +242,7 @@ export class AVRF_HEAP_ALLOCATIONView { } // 0x30: u64 - set HeapContext(value: Deno.PointerValue) { + set HeapContext(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -257,7 +257,7 @@ export class AVRF_HEAP_ALLOCATIONView { */ export interface AVRF_HANDLE_OPERATION { /** u64 */ - Handle: Deno.PointerValue; + Handle: bigint | number; /** u32 */ ProcessId: number; /** u32 */ @@ -301,7 +301,7 @@ export class AVRF_HANDLE_OPERATIONView { } // 0x00: u64 - get Handle(): Deno.PointerValue { + get Handle(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -332,7 +332,7 @@ export class AVRF_HANDLE_OPERATIONView { } // 0x00: u64 - set Handle(value: Deno.PointerValue) { + set Handle(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -362,7 +362,7 @@ export class AVRF_HANDLE_OPERATIONView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/System/Com.ts b/api/System/Com.ts index 532e235..a663db3 100644 --- a/api/System/Com.ts +++ b/api/System/Com.ts @@ -1760,18 +1760,18 @@ export const CRMREGFLAG_FAILIFINDOUBTSREMAIN = 16; // Structs -export type CO_MTA_USAGE_COOKIE = Deno.PointerValue; +export type CO_MTA_USAGE_COOKIE = bigint | number; -export type CO_DEVICE_CATALOG_COOKIE = Deno.PointerValue; +export type CO_DEVICE_CATALOG_COOKIE = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1797,22 +1797,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1824,7 +1824,7 @@ export interface CY { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** i64 */ - int64: Deno.PointerValue; + int64: bigint | number; } export const sizeofCY = 16; @@ -1856,7 +1856,7 @@ export class CYView { } // 0x08: i64 - get int64(): Deno.PointerValue { + get int64(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -1866,7 +1866,7 @@ export class CYView { } // 0x08: i64 - set int64(value: Deno.PointerValue) { + set int64(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -4015,7 +4015,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -4055,7 +4055,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4070,7 +4070,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -5016,7 +5016,7 @@ export class BIND_OPTS2View { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.System.Com.BIND_OPTS3 (size: 16) @@ -5949,7 +5949,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -5989,7 +5989,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6004,7 +6004,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -10534,7 +10534,7 @@ export class TYPEDESCView { */ export interface IDLDESC { /** usize */ - dwReserved: Deno.PointerValue; + dwReserved: bigint | number; /** Windows.Win32.System.Com.IDLFLAGS */ wIDLFlags: IDLFLAGS; } @@ -10563,7 +10563,7 @@ export class IDLDESCView { } // 0x00: usize - get dwReserved(): Deno.PointerValue { + get dwReserved(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10575,7 +10575,7 @@ export class IDLDESCView { // 0x0a: pad6 // 0x00: usize - set dwReserved(value: Deno.PointerValue) { + set dwReserved(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11881,9 +11881,9 @@ export class CONNECTDATAView { */ export interface OLESTREAMVTBL { /** isize */ - Get: Deno.PointerValue; + Get: bigint | number; /** isize */ - Put: Deno.PointerValue; + Put: bigint | number; } export const sizeofOLESTREAMVTBL = 16; @@ -11909,22 +11909,22 @@ export class OLESTREAMVTBLView { } // 0x00: isize - get Get(): Deno.PointerValue { + get Get(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get Put(): Deno.PointerValue { + get Put(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: isize - set Get(value: Deno.PointerValue) { + set Get(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set Put(value: Deno.PointerValue) { + set Put(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -12098,11 +12098,11 @@ export interface COMSVCSEVENTINFO { /** u32 */ dwPid: number; /** i64 */ - lTime: Deno.PointerValue; + lTime: bigint | number; /** i32 */ lMicroTime: number; /** i64 */ - perfCount: Deno.PointerValue; + perfCount: bigint | number; /** System.Guid */ guidApp: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.PWSTR */ @@ -12156,7 +12156,7 @@ export class COMSVCSEVENTINFOView { } // 0x08: i64 - get lTime(): Deno.PointerValue { + get lTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -12168,7 +12168,7 @@ export class COMSVCSEVENTINFOView { // 0x14: pad4 // 0x18: i64 - get perfCount(): Deno.PointerValue { + get perfCount(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -12195,7 +12195,7 @@ export class COMSVCSEVENTINFOView { } // 0x08: i64 - set lTime(value: Deno.PointerValue) { + set lTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -12207,7 +12207,7 @@ export class COMSVCSEVENTINFOView { // 0x14: pad4 // 0x18: i64 - set perfCount(value: Deno.PointerValue) { + set perfCount(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -12230,7 +12230,7 @@ export interface RECYCLE_INFO { /** System.Guid */ guidCombaseProcessIdentifier: Uint8Array | Deno.PointerValue; /** i64 */ - ProcessStartTime: Deno.PointerValue; + ProcessStartTime: bigint | number; /** u32 */ dwRecycleLifetimeLimit: number; /** u32 */ @@ -12275,7 +12275,7 @@ export class RECYCLE_INFOView { } // 0x08: i64 - get ProcessStartTime(): Deno.PointerValue { + get ProcessStartTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -12302,7 +12302,7 @@ export class RECYCLE_INFOView { } // 0x08: i64 - set ProcessStartTime(value: Deno.PointerValue) { + set ProcessStartTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -14111,7 +14111,7 @@ export class CrmLogRecordReadView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; @@ -15286,14 +15286,14 @@ export function CoInvalidateRemoteMachineBindings( } export function CoTaskMemAlloc( - cb: Deno.PointerValue /* usize */, + cb: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libOLE32_dll.CoTaskMemAlloc(cb); } export function CoTaskMemRealloc( pv: Deno.PointerValue | Uint8Array /* ptr */, - cb: Deno.PointerValue /* usize */, + cb: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libOLE32_dll.CoTaskMemRealloc(util.toPointer(pv), cb); } @@ -15320,7 +15320,7 @@ export function CoRevokeDeviceCatalog( export function CreateUri( pwzURI: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: URI_CREATE_FLAGS /* Windows.Win32.System.Com.URI_CREATE_FLAGS */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ppURI: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libURLMON_dll.CreateUri(util.pwstrToFfi(pwzURI), dwFlags, dwReserved, util.toPointer(ppURI)); @@ -15330,7 +15330,7 @@ export function CreateUriWithFragment( pwzURI: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pwzFragment: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: number /* u32 */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ppURI: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libURLMON_dll.CreateUriWithFragment(util.pwstrToFfi(pwzURI), util.pwstrToFfi(pwzFragment), dwFlags, dwReserved, util.toPointer(ppURI)); @@ -15341,7 +15341,7 @@ export function CreateUriFromMultiByteString( dwEncodingFlags: number /* u32 */, dwCodePage: number /* u32 */, dwCreateFlags: number /* u32 */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ppUri: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return liburlmon_dll.CreateUriFromMultiByteString(util.pstrToFfi(pszANSIInputUri), dwEncodingFlags, dwCodePage, dwCreateFlags, dwReserved, util.toPointer(ppUri)); @@ -15350,7 +15350,7 @@ export function CreateUriFromMultiByteString( export function CreateIUriBuilder( pIUri: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Com.IUri */, dwFlags: number /* u32 */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ppIUriBuilder: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libURLMON_dll.CreateIUriBuilder(util.toPointer(pIUri), dwFlags, dwReserved, util.toPointer(ppIUriBuilder)); diff --git a/api/System/Com/StructuredStorage.ts b/api/System/Com/StructuredStorage.ts index 24d5923..7cfcac1 100644 --- a/api/System/Com/StructuredStorage.ts +++ b/api/System/Com/StructuredStorage.ts @@ -1760,9 +1760,9 @@ export class CACLSIDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1788,22 +1788,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2382,9 +2382,9 @@ export class SERIALIZEDPROPERTYVALUEView { */ export interface OLESTREAMVTBL { /** isize */ - Get: Deno.PointerValue; + Get: bigint | number; /** isize */ - Put: Deno.PointerValue; + Put: bigint | number; } export const sizeofOLESTREAMVTBL = 16; @@ -2410,22 +2410,22 @@ export class OLESTREAMVTBLView { } // 0x00: isize - get Get(): Deno.PointerValue { + get Get(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get Put(): Deno.PointerValue { + get Put(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: isize - set Get(value: Deno.PointerValue) { + set Get(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set Put(value: Deno.PointerValue) { + set Put(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -2860,7 +2860,7 @@ export function StgOpenLayoutDocfile( } export function CreateStreamOnHGlobal( - hGlobal: Deno.PointerValue /* isize */, + hGlobal: bigint | number /* isize */, fDeleteOnRelease: boolean /* Windows.Win32.Foundation.BOOL */, ppstm: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -3068,7 +3068,7 @@ export function GetHGlobalFromILockBytes( } export function CreateILockBytesOnHGlobal( - hGlobal: Deno.PointerValue /* isize */, + hGlobal: bigint | number /* isize */, fDeleteOnRelease: boolean /* Windows.Win32.Foundation.BOOL */, pplkbyt: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { diff --git a/api/System/Com/Urlmon.ts b/api/System/Com/Urlmon.ts index 949d85f..9ffadd9 100644 --- a/api/System/Com/Urlmon.ts +++ b/api/System/Com/Urlmon.ts @@ -2389,9 +2389,9 @@ export class PROTOCOL_ARGUMENTView { export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -3127,7 +3127,7 @@ export function CoInternetParseIUri( pwzResult: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cchResult: number /* u32 */, pcchResult: Deno.PointerValue | Uint8Array /* ptr */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return liburlmon_dll.CoInternetParseIUri(util.toPointer(pIUri), ParseAction, dwFlags, util.pwstrToFfi(pwzResult), cchResult, util.toPointer(pcchResult), dwReserved); } @@ -3149,7 +3149,7 @@ export function CoInternetCombineUrlEx( pwzRelativeUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwCombineFlags: number /* u32 */, ppCombinedUri: Deno.PointerValue | Uint8Array /* ptr */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return liburlmon_dll.CoInternetCombineUrlEx(util.toPointer(pBaseUri), util.pwstrToFfi(pwzRelativeUrl), dwCombineFlags, util.toPointer(ppCombinedUri), dwReserved); } @@ -3159,7 +3159,7 @@ export function CoInternetCombineIUri( pRelativeUri: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Com.IUri */, dwCombineFlags: number /* u32 */, ppCombinedUri: Deno.PointerValue | Uint8Array /* ptr */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return liburlmon_dll.CoInternetCombineIUri(util.toPointer(pBaseUri), util.toPointer(pRelativeUri), dwCombineFlags, util.toPointer(ppCombinedUri), dwReserved); } @@ -3213,7 +3213,7 @@ export function CoInternetGetSecurityUrlEx( pUri: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Com.IUri */, ppSecUri: Deno.PointerValue | Uint8Array /* ptr */, psuAction: PSUACTION /* Windows.Win32.System.Com.Urlmon.PSUACTION */, - dwReserved: Deno.PointerValue /* usize */, + dwReserved: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return liburlmon_dll.CoInternetGetSecurityUrlEx(util.toPointer(pUri), util.toPointer(ppSecUri), psuAction, dwReserved); } diff --git a/api/System/ComponentServices.ts b/api/System/ComponentServices.ts index ddb1cd1..11e7d4e 100644 --- a/api/System/ComponentServices.ts +++ b/api/System/ComponentServices.ts @@ -386,11 +386,11 @@ export interface COMSVCSEVENTINFO { /** u32 */ dwPid: number; /** i64 */ - lTime: Deno.PointerValue; + lTime: bigint | number; /** i32 */ lMicroTime: number; /** i64 */ - perfCount: Deno.PointerValue; + perfCount: bigint | number; /** System.Guid */ guidApp: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.PWSTR */ @@ -444,7 +444,7 @@ export class COMSVCSEVENTINFOView { } // 0x08: i64 - get lTime(): Deno.PointerValue { + get lTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -456,7 +456,7 @@ export class COMSVCSEVENTINFOView { // 0x14: pad4 // 0x18: i64 - get perfCount(): Deno.PointerValue { + get perfCount(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -483,7 +483,7 @@ export class COMSVCSEVENTINFOView { } // 0x08: i64 - set lTime(value: Deno.PointerValue) { + set lTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -495,7 +495,7 @@ export class COMSVCSEVENTINFOView { // 0x14: pad4 // 0x18: i64 - set perfCount(value: Deno.PointerValue) { + set perfCount(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -518,7 +518,7 @@ export interface RECYCLE_INFO { /** System.Guid */ guidCombaseProcessIdentifier: Uint8Array | Deno.PointerValue; /** i64 */ - ProcessStartTime: Deno.PointerValue; + ProcessStartTime: bigint | number; /** u32 */ dwRecycleLifetimeLimit: number; /** u32 */ @@ -563,7 +563,7 @@ export class RECYCLE_INFOView { } // 0x08: i64 - get ProcessStartTime(): Deno.PointerValue { + get ProcessStartTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -590,7 +590,7 @@ export class RECYCLE_INFOView { } // 0x08: i64 - set ProcessStartTime(value: Deno.PointerValue) { + set ProcessStartTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } diff --git a/api/System/Console.ts b/api/System/Console.ts index c6c8670..bc64de0 100644 --- a/api/System/Console.ts +++ b/api/System/Console.ts @@ -94,7 +94,7 @@ export const FOCUS_EVENT = 16; // Structs -export type HPCON = Deno.PointerValue; +export type HPCON = bigint | number; /** * Windows.Win32.System.Console.COORD (size: 8) @@ -1644,7 +1644,7 @@ export class CONSOLE_HISTORY_INFOView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type HRESULT = number; @@ -1652,7 +1652,7 @@ export type PSTR = Deno.PointerValue | Uint8Array; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/System/DataExchange.ts b/api/System/DataExchange.ts index 4416236..8489dbb 100644 --- a/api/System/DataExchange.ts +++ b/api/System/DataExchange.ts @@ -165,13 +165,13 @@ export const SecurityDelegation = 3; // Structs -export type HSZ = Deno.PointerValue; +export type HSZ = bigint | number; -export type HCONV = Deno.PointerValue; +export type HCONV = bigint | number; -export type HCONVLIST = Deno.PointerValue; +export type HCONVLIST = bigint | number; -export type HDDEDATA = Deno.PointerValue; +export type HDDEDATA = bigint | number; /** * Windows.Win32.System.DataExchange.DDEACK (size: 8) @@ -820,7 +820,7 @@ export class CONVCONTEXTView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.System.DataExchange.CONVINFO (size: 112) @@ -829,7 +829,7 @@ export interface CONVINFO { /** u32 */ cb: number; /** usize */ - hUser: Deno.PointerValue; + hUser: bigint | number; /** Windows.Win32.System.DataExchange.HCONV */ hConvPartner: Uint8Array | Deno.PointerValue; /** Windows.Win32.System.DataExchange.HSZ */ @@ -920,7 +920,7 @@ export class CONVINFOView { // 0x04: pad4 // 0x08: usize - get hUser(): Deno.PointerValue { + get hUser(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1013,7 +1013,7 @@ export class CONVINFOView { // 0x04: pad4 // 0x08: usize - set hUser(value: Deno.PointerValue) { + set hUser(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1095,9 +1095,9 @@ export class CONVINFOView { */ export interface DDEML_MSG_HOOK_DATA { /** usize */ - uiLo: Deno.PointerValue; + uiLo: bigint | number; /** usize */ - uiHi: Deno.PointerValue; + uiHi: bigint | number; /** u32 */ cbData: number; /** array */ @@ -1132,12 +1132,12 @@ export class DDEML_MSG_HOOK_DATAView { } // 0x00: usize - get uiLo(): Deno.PointerValue { + get uiLo(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get uiHi(): Deno.PointerValue { + get uiHi(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1155,12 +1155,12 @@ export class DDEML_MSG_HOOK_DATAView { } // 0x00: usize - set uiLo(value: Deno.PointerValue) { + set uiLo(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set uiHi(value: Deno.PointerValue) { + set uiHi(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1177,11 +1177,11 @@ export class DDEML_MSG_HOOK_DATAView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.System.DataExchange.MONMSGSTRUCT (size: 64) @@ -1365,9 +1365,9 @@ export interface MONCBSTRUCT { /** Windows.Win32.System.DataExchange.HDDEDATA */ hData: Uint8Array | Deno.PointerValue; /** usize */ - dwData1: Deno.PointerValue; + dwData1: bigint | number; /** usize */ - dwData2: Deno.PointerValue; + dwData2: bigint | number; /** Windows.Win32.System.DataExchange.CONVCONTEXT */ cc: Uint8Array | Deno.PointerValue; /** u32 */ @@ -1484,12 +1484,12 @@ export class MONCBSTRUCTView { } // 0x40: usize - get dwData1(): Deno.PointerValue { + get dwData1(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get dwData2(): Deno.PointerValue { + get dwData2(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -1565,12 +1565,12 @@ export class MONCBSTRUCTView { } // 0x40: usize - set dwData1(value: Deno.PointerValue) { + set dwData1(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set dwData2(value: Deno.PointerValue) { + set dwData2(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -2261,7 +2261,7 @@ export class MONCONVSTRUCTView { } } -export type HMETAFILE = Deno.PointerValue; +export type HMETAFILE = bigint | number; /** * Windows.Win32.System.DataExchange.METAFILEPICT (size: 24) @@ -2355,7 +2355,7 @@ export class METAFILEPICTView { */ export interface COPYDATASTRUCT { /** usize */ - dwData: Deno.PointerValue; + dwData: bigint | number; /** u32 */ cbData: number; /** ptr */ @@ -2388,7 +2388,7 @@ export class COPYDATASTRUCTView { } // 0x00: usize - get dwData(): Deno.PointerValue { + get dwData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2406,7 +2406,7 @@ export class COPYDATASTRUCTView { } // 0x00: usize - set dwData(value: Deno.PointerValue) { + set dwData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2427,9 +2427,9 @@ export type PSTR = Deno.PointerValue | Uint8Array; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; -export type HENHMETAFILE = Deno.PointerValue; +export type HENHMETAFILE = bigint | number; // Native Libraries @@ -2775,8 +2775,8 @@ export function ImpersonateDdeClientWindow( export function PackDDElParam( msg: number /* u32 */, - uiLo: Deno.PointerValue /* usize */, - uiHi: Deno.PointerValue /* usize */, + uiLo: bigint | number /* usize */, + uiHi: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */ { return libUSER32_dll.PackDDElParam(msg, uiLo, uiHi); } @@ -2801,8 +2801,8 @@ export function ReuseDDElParam( lParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, msgIn: number /* u32 */, msgOut: number /* u32 */, - uiLo: Deno.PointerValue /* usize */, - uiHi: Deno.PointerValue /* usize */, + uiLo: bigint | number /* usize */, + uiHi: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */ { return libUSER32_dll.ReuseDDElParam(util.toPointer(lParam), msgIn, msgOut, uiLo, uiHi); } @@ -2886,7 +2886,7 @@ export function DdeQueryConvInfo( export function DdeSetUserHandle( hConv: Uint8Array | Deno.PointerValue /* Windows.Win32.System.DataExchange.HCONV */, id: number /* u32 */, - hUser: Deno.PointerValue /* usize */, + hUser: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.DdeSetUserHandle(util.toPointer(hConv), id, hUser)); } diff --git a/api/System/DeploymentServices.ts b/api/System/DeploymentServices.ts index cd143be..0567f08 100644 --- a/api/System/DeploymentServices.ts +++ b/api/System/DeploymentServices.ts @@ -463,9 +463,9 @@ export class PXE_DHCP_OPTIONView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -491,22 +491,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1458,9 +1458,9 @@ export class PXE_DHCPV6_NESTED_RELAY_MESSAGEView { // 0x1a: pad6 } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.DeploymentServices.WDS_TRANSPORTPROVIDER_INIT_PARAMS (size: 24) @@ -1670,7 +1670,7 @@ export interface ULARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** u64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofULARGE_INTEGER = 24; @@ -1710,7 +1710,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1725,7 +1725,7 @@ export class ULARGE_INTEGERView { } // 0x10: u64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } diff --git a/api/System/DeveloperLicensing.ts b/api/System/DeveloperLicensing.ts index 51907bf..da56b57 100644 --- a/api/System/DeveloperLicensing.ts +++ b/api/System/DeveloperLicensing.ts @@ -6,7 +6,7 @@ import * as util from "../../util.ts"; export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/System/Diagnostics/Debug.ts b/api/System/Diagnostics/Debug.ts index 112a105..da27f5e 100644 --- a/api/System/Diagnostics/Debug.ts +++ b/api/System/Diagnostics/Debug.ts @@ -3208,9 +3208,9 @@ export const MB_MISCMASK = 49152; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3236,22 +3236,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3322,9 +3322,9 @@ export interface CONTEXT { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - Sp: Deno.PointerValue; + Sp: bigint | number; /** u64 */ - Pc: Deno.PointerValue; + Pc: bigint | number; /** array */ V: Deno.PointerValue; /** u32 */ @@ -3400,12 +3400,12 @@ export class CONTEXTView { } // 0x10: u64 - get Sp(): Deno.PointerValue { + get Sp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Pc(): Deno.PointerValue { + get Pc(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3465,12 +3465,12 @@ export class CONTEXTView { } // 0x10: u64 - set Sp(value: Deno.PointerValue) { + set Sp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Pc(value: Deno.PointerValue) { + set Pc(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -3517,15 +3517,15 @@ export type BOOLEAN = number; */ export interface DISPATCHER_CONTEXT { /** usize */ - ControlPc: Deno.PointerValue; + ControlPc: bigint | number; /** usize */ - ImageBase: Deno.PointerValue; + ImageBase: bigint | number; /** ptr */ FunctionEntry: Deno.PointerValue | Uint8Array; /** usize */ - EstablisherFrame: Deno.PointerValue; + EstablisherFrame: bigint | number; /** usize */ - TargetPc: Deno.PointerValue; + TargetPc: bigint | number; /** ptr */ ContextRecord: Deno.PointerValue | Uint8Array; /** Windows.Win32.System.Kernel.EXCEPTION_ROUTINE */ @@ -3586,12 +3586,12 @@ export class DISPATCHER_CONTEXTView { } // 0x00: usize - get ControlPc(): Deno.PointerValue { + get ControlPc(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get ImageBase(): Deno.PointerValue { + get ImageBase(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3602,12 +3602,12 @@ export class DISPATCHER_CONTEXTView { } // 0x18: usize - get EstablisherFrame(): Deno.PointerValue { + get EstablisherFrame(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get TargetPc(): Deno.PointerValue { + get TargetPc(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -3655,12 +3655,12 @@ export class DISPATCHER_CONTEXTView { } // 0x00: usize - set ControlPc(value: Deno.PointerValue) { + set ControlPc(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set ImageBase(value: Deno.PointerValue) { + set ImageBase(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -3670,12 +3670,12 @@ export class DISPATCHER_CONTEXTView { } // 0x18: usize - set EstablisherFrame(value: Deno.PointerValue) { + set EstablisherFrame(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set TargetPc(value: Deno.PointerValue) { + set TargetPc(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -4047,7 +4047,7 @@ export class KNONVOLATILE_CONTEXT_POINTERS_ARM64View { */ export interface UNWIND_HISTORY_TABLE_ENTRY { /** usize */ - ImageBase: Deno.PointerValue; + ImageBase: bigint | number; /** ptr */ FunctionEntry: Deno.PointerValue | Uint8Array; } @@ -4075,7 +4075,7 @@ export class UNWIND_HISTORY_TABLE_ENTRYView { } // 0x00: usize - get ImageBase(): Deno.PointerValue { + get ImageBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4086,7 +4086,7 @@ export class UNWIND_HISTORY_TABLE_ENTRYView { } // 0x00: usize - set ImageBase(value: Deno.PointerValue) { + set ImageBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4096,7 +4096,7 @@ export class UNWIND_HISTORY_TABLE_ENTRYView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.MINIDUMP_THREAD_CALLBACK (size: 56) @@ -4113,9 +4113,9 @@ export interface MINIDUMP_THREAD_CALLBACK { /** u32 */ SizeOfContext: number; /** u64 */ - StackBase: Deno.PointerValue; + StackBase: bigint | number; /** u64 */ - StackEnd: Deno.PointerValue; + StackEnd: bigint | number; } export const sizeofMINIDUMP_THREAD_CALLBACK = 56; @@ -4187,12 +4187,12 @@ export class MINIDUMP_THREAD_CALLBACKView { // 0x24: pad4 // 0x28: u64 - get StackBase(): Deno.PointerValue { + get StackBase(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get StackEnd(): Deno.PointerValue { + get StackEnd(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -4228,12 +4228,12 @@ export class MINIDUMP_THREAD_CALLBACKView { // 0x24: pad4 // 0x28: u64 - set StackBase(value: Deno.PointerValue) { + set StackBase(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set StackEnd(value: Deno.PointerValue) { + set StackEnd(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -4253,13 +4253,13 @@ export interface MINIDUMP_THREAD_EX_CALLBACK { /** u32 */ SizeOfContext: number; /** u64 */ - StackBase: Deno.PointerValue; + StackBase: bigint | number; /** u64 */ - StackEnd: Deno.PointerValue; + StackEnd: bigint | number; /** u64 */ - BackingStoreBase: Deno.PointerValue; + BackingStoreBase: bigint | number; /** u64 */ - BackingStoreEnd: Deno.PointerValue; + BackingStoreEnd: bigint | number; } export const sizeofMINIDUMP_THREAD_EX_CALLBACK = 72; @@ -4335,22 +4335,22 @@ export class MINIDUMP_THREAD_EX_CALLBACKView { // 0x24: pad4 // 0x28: u64 - get StackBase(): Deno.PointerValue { + get StackBase(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get StackEnd(): Deno.PointerValue { + get StackEnd(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get BackingStoreBase(): Deno.PointerValue { + get BackingStoreBase(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get BackingStoreEnd(): Deno.PointerValue { + get BackingStoreEnd(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -4386,22 +4386,22 @@ export class MINIDUMP_THREAD_EX_CALLBACKView { // 0x24: pad4 // 0x28: u64 - set StackBase(value: Deno.PointerValue) { + set StackBase(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set StackEnd(value: Deno.PointerValue) { + set StackEnd(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set BackingStoreBase(value: Deno.PointerValue) { + set BackingStoreBase(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set BackingStoreEnd(value: Deno.PointerValue) { + set BackingStoreEnd(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -5466,9 +5466,9 @@ export class DEBUG_EVENTView { */ export interface DEBUG_OFFSET_REGION { /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; /** u64 */ - Size: Deno.PointerValue; + Size: bigint | number; } export const sizeofDEBUG_OFFSET_REGION = 16; @@ -5494,22 +5494,22 @@ export class DEBUG_OFFSET_REGIONView { } // 0x00: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5523,7 +5523,7 @@ export interface DEBUG_READ_USER_MINIDUMP_STREAM { /** u32 */ Flags: number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** ptr */ Buffer: Deno.PointerValue | Uint8Array; /** u32 */ @@ -5573,7 +5573,7 @@ export class DEBUG_READ_USER_MINIDUMP_STREAMView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5604,7 +5604,7 @@ export class DEBUG_READ_USER_MINIDUMP_STREAMView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5793,11 +5793,11 @@ export class DEBUG_GET_TEXT_COMPLETIONS_OUTView { */ export interface DEBUG_CACHED_SYMBOL_INFO { /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** u64 */ - Arg1: Deno.PointerValue; + Arg1: bigint | number; /** u64 */ - Arg2: Deno.PointerValue; + Arg2: bigint | number; /** u32 */ Id: number; /** u32 */ @@ -5833,17 +5833,17 @@ export class DEBUG_CACHED_SYMBOL_INFOView { } // 0x00: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Arg1(): Deno.PointerValue { + get Arg1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Arg2(): Deno.PointerValue { + get Arg2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5858,17 +5858,17 @@ export class DEBUG_CACHED_SYMBOL_INFOView { } // 0x00: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Arg1(value: Deno.PointerValue) { + set Arg1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Arg2(value: Deno.PointerValue) { + set Arg2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5977,17 +5977,17 @@ export interface DEBUG_THREAD_BASIC_INFORMATION { /** u32 */ Priority: number; /** u64 */ - CreateTime: Deno.PointerValue; + CreateTime: bigint | number; /** u64 */ - ExitTime: Deno.PointerValue; + ExitTime: bigint | number; /** u64 */ - KernelTime: Deno.PointerValue; + KernelTime: bigint | number; /** u64 */ - UserTime: Deno.PointerValue; + UserTime: bigint | number; /** u64 */ - StartOffset: Deno.PointerValue; + StartOffset: bigint | number; /** u64 */ - Affinity: Deno.PointerValue; + Affinity: bigint | number; } export const sizeofDEBUG_THREAD_BASIC_INFORMATION = 64; @@ -6049,32 +6049,32 @@ export class DEBUG_THREAD_BASIC_INFORMATIONView { } // 0x10: u64 - get CreateTime(): Deno.PointerValue { + get CreateTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExitTime(): Deno.PointerValue { + get ExitTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get KernelTime(): Deno.PointerValue { + get KernelTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get UserTime(): Deno.PointerValue { + get UserTime(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get StartOffset(): Deno.PointerValue { + get StartOffset(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Affinity(): Deno.PointerValue { + get Affinity(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -6099,32 +6099,32 @@ export class DEBUG_THREAD_BASIC_INFORMATIONView { } // 0x10: u64 - set CreateTime(value: Deno.PointerValue) { + set CreateTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExitTime(value: Deno.PointerValue) { + set ExitTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set KernelTime(value: Deno.PointerValue) { + set KernelTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set UserTime(value: Deno.PointerValue) { + set UserTime(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set StartOffset(value: Deno.PointerValue) { + set StartOffset(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Affinity(value: Deno.PointerValue) { + set Affinity(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -6138,7 +6138,7 @@ export interface SYMBOL_INFO_EX { /** u32 */ TypeOfInfo: number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ Line: number; /** u32 */ @@ -6188,7 +6188,7 @@ export class SYMBOL_INFO_EXView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6219,7 +6219,7 @@ export class SYMBOL_INFO_EXView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6244,7 +6244,7 @@ export class SYMBOL_INFO_EXView { */ export interface DEBUG_BREAKPOINT_PARAMETERS { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ Id: number; /** u32 */ @@ -6313,7 +6313,7 @@ export class DEBUG_BREAKPOINT_PARAMETERSView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6375,7 +6375,7 @@ export class DEBUG_BREAKPOINT_PARAMETERSView { // 0x34: pad4 // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6578,15 +6578,15 @@ export type BOOL = number; */ export interface DEBUG_STACK_FRAME { /** u64 */ - InstructionOffset: Deno.PointerValue; + InstructionOffset: bigint | number; /** u64 */ - ReturnOffset: Deno.PointerValue; + ReturnOffset: bigint | number; /** u64 */ - FrameOffset: Deno.PointerValue; + FrameOffset: bigint | number; /** u64 */ - StackOffset: Deno.PointerValue; + StackOffset: bigint | number; /** u64 */ - FuncTableEntry: Deno.PointerValue; + FuncTableEntry: bigint | number; /** array */ Params: Deno.PointerValue; /** array */ @@ -6634,27 +6634,27 @@ export class DEBUG_STACK_FRAMEView { } // 0x00: u64 - get InstructionOffset(): Deno.PointerValue { + get InstructionOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ReturnOffset(): Deno.PointerValue { + get ReturnOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get FrameOffset(): Deno.PointerValue { + get FrameOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get StackOffset(): Deno.PointerValue { + get StackOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get FuncTableEntry(): Deno.PointerValue { + get FuncTableEntry(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -6681,27 +6681,27 @@ export class DEBUG_STACK_FRAMEView { } // 0x00: u64 - set InstructionOffset(value: Deno.PointerValue) { + set InstructionOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ReturnOffset(value: Deno.PointerValue) { + set ReturnOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set FrameOffset(value: Deno.PointerValue) { + set FrameOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set StackOffset(value: Deno.PointerValue) { + set StackOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set FuncTableEntry(value: Deno.PointerValue) { + set FuncTableEntry(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -6731,15 +6731,15 @@ export class DEBUG_STACK_FRAMEView { */ export interface DEBUG_STACK_FRAME_EX { /** u64 */ - InstructionOffset: Deno.PointerValue; + InstructionOffset: bigint | number; /** u64 */ - ReturnOffset: Deno.PointerValue; + ReturnOffset: bigint | number; /** u64 */ - FrameOffset: Deno.PointerValue; + FrameOffset: bigint | number; /** u64 */ - StackOffset: Deno.PointerValue; + StackOffset: bigint | number; /** u64 */ - FuncTableEntry: Deno.PointerValue; + FuncTableEntry: bigint | number; /** array */ Params: Deno.PointerValue; /** array */ @@ -6795,27 +6795,27 @@ export class DEBUG_STACK_FRAME_EXView { } // 0x00: u64 - get InstructionOffset(): Deno.PointerValue { + get InstructionOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ReturnOffset(): Deno.PointerValue { + get ReturnOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get FrameOffset(): Deno.PointerValue { + get FrameOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get StackOffset(): Deno.PointerValue { + get StackOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get FuncTableEntry(): Deno.PointerValue { + get FuncTableEntry(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -6852,27 +6852,27 @@ export class DEBUG_STACK_FRAME_EXView { } // 0x00: u64 - set InstructionOffset(value: Deno.PointerValue) { + set InstructionOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ReturnOffset(value: Deno.PointerValue) { + set ReturnOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set FrameOffset(value: Deno.PointerValue) { + set FrameOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set StackOffset(value: Deno.PointerValue) { + set StackOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set FuncTableEntry(value: Deno.PointerValue) { + set FuncTableEntry(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -7414,9 +7414,9 @@ export interface EXCEPTION_RECORD64 { /** u32 */ ExceptionFlags: number; /** u64 */ - ExceptionRecord: Deno.PointerValue; + ExceptionRecord: bigint | number; /** u64 */ - ExceptionAddress: Deno.PointerValue; + ExceptionAddress: bigint | number; /** u32 */ NumberParameters: number; /** u32 */ @@ -7472,12 +7472,12 @@ export class EXCEPTION_RECORD64View { // 0x0c: pad4 // 0x10: u64 - get ExceptionRecord(): Deno.PointerValue { + get ExceptionRecord(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExceptionAddress(): Deno.PointerValue { + get ExceptionAddress(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -7510,12 +7510,12 @@ export class EXCEPTION_RECORD64View { // 0x0c: pad4 // 0x10: u64 - set ExceptionRecord(value: Deno.PointerValue) { + set ExceptionRecord(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExceptionAddress(value: Deno.PointerValue) { + set ExceptionAddress(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -7687,7 +7687,7 @@ export class DEBUG_LAST_EVENT_INFO_EXIT_PROCESSView { */ export interface DEBUG_LAST_EVENT_INFO_LOAD_MODULE { /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; } export const sizeofDEBUG_LAST_EVENT_INFO_LOAD_MODULE = 8; @@ -7711,12 +7711,12 @@ export class DEBUG_LAST_EVENT_INFO_LOAD_MODULEView { } // 0x00: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -7726,7 +7726,7 @@ export class DEBUG_LAST_EVENT_INFO_LOAD_MODULEView { */ export interface DEBUG_LAST_EVENT_INFO_UNLOAD_MODULE { /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; } export const sizeofDEBUG_LAST_EVENT_INFO_UNLOAD_MODULE = 8; @@ -7750,12 +7750,12 @@ export class DEBUG_LAST_EVENT_INFO_UNLOAD_MODULEView { } // 0x00: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -7822,7 +7822,7 @@ export interface DEBUG_LAST_EVENT_INFO_SERVICE_EXCEPTION { /** u32 */ DataSize: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofDEBUG_LAST_EVENT_INFO_SERVICE_EXCEPTION = 16; @@ -7860,7 +7860,7 @@ export class DEBUG_LAST_EVENT_INFO_SERVICE_EXCEPTIONView { } // 0x08: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7875,7 +7875,7 @@ export class DEBUG_LAST_EVENT_INFO_SERVICE_EXCEPTIONView { } // 0x08: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8725,7 +8725,7 @@ export interface DEBUG_REGISTER_DESCRIPTION { /** u32 */ SubregLength: number; /** u64 */ - SubregMask: Deno.PointerValue; + SubregMask: bigint | number; /** u32 */ SubregShift: number; /** u32 */ @@ -8785,7 +8785,7 @@ export class DEBUG_REGISTER_DESCRIPTIONView { } // 0x10: u64 - get SubregMask(): Deno.PointerValue { + get SubregMask(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8820,7 +8820,7 @@ export class DEBUG_REGISTER_DESCRIPTIONView { } // 0x10: u64 - set SubregMask(value: Deno.PointerValue) { + set SubregMask(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8840,7 +8840,7 @@ export class DEBUG_REGISTER_DESCRIPTIONView { */ export interface DEBUG_SYMBOL_PARAMETERS { /** u64 */ - Module: Deno.PointerValue; + Module: bigint | number; /** u32 */ TypeId: number; /** u32 */ @@ -8850,7 +8850,7 @@ export interface DEBUG_SYMBOL_PARAMETERS { /** u32 */ Flags: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofDEBUG_SYMBOL_PARAMETERS = 32; @@ -8884,7 +8884,7 @@ export class DEBUG_SYMBOL_PARAMETERSView { } // 0x00: u64 - get Module(): Deno.PointerValue { + get Module(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8909,12 +8909,12 @@ export class DEBUG_SYMBOL_PARAMETERSView { } // 0x18: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set Module(value: Deno.PointerValue) { + set Module(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8939,7 +8939,7 @@ export class DEBUG_SYMBOL_PARAMETERSView { } // 0x18: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -8949,13 +8949,13 @@ export class DEBUG_SYMBOL_PARAMETERSView { */ export interface DEBUG_SYMBOL_ENTRY { /** u64 */ - ModuleBase: Deno.PointerValue; + ModuleBase: bigint | number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Id: Deno.PointerValue; + Id: bigint | number; /** u64 */ - Arg64: Deno.PointerValue; + Arg64: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -9017,22 +9017,22 @@ export class DEBUG_SYMBOL_ENTRYView { } // 0x00: u64 - get ModuleBase(): Deno.PointerValue { + get ModuleBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Id(): Deno.PointerValue { + get Id(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Arg64(): Deno.PointerValue { + get Arg64(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9077,22 +9077,22 @@ export class DEBUG_SYMBOL_ENTRYView { } // 0x00: u64 - set ModuleBase(value: Deno.PointerValue) { + set ModuleBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Id(value: Deno.PointerValue) { + set Id(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Arg64(value: Deno.PointerValue) { + set Arg64(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -9142,7 +9142,7 @@ export class DEBUG_SYMBOL_ENTRYView { */ export interface DEBUG_MODULE_PARAMETERS { /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -9210,7 +9210,7 @@ export class DEBUG_MODULE_PARAMETERSView { } // 0x00: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9271,7 +9271,7 @@ export class DEBUG_MODULE_PARAMETERSView { } // 0x00: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9336,9 +9336,9 @@ export class DEBUG_MODULE_PARAMETERSView { */ export interface DEBUG_MODULE_AND_ID { /** u64 */ - ModuleBase: Deno.PointerValue; + ModuleBase: bigint | number; /** u64 */ - Id: Deno.PointerValue; + Id: bigint | number; } export const sizeofDEBUG_MODULE_AND_ID = 16; @@ -9364,22 +9364,22 @@ export class DEBUG_MODULE_AND_IDView { } // 0x00: u64 - get ModuleBase(): Deno.PointerValue { + get ModuleBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Id(): Deno.PointerValue { + get Id(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set ModuleBase(value: Deno.PointerValue) { + set ModuleBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Id(value: Deno.PointerValue) { + set Id(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9389,13 +9389,13 @@ export class DEBUG_MODULE_AND_IDView { */ export interface DEBUG_SYMBOL_SOURCE_ENTRY { /** u64 */ - ModuleBase: Deno.PointerValue; + ModuleBase: bigint | number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - FileNameId: Deno.PointerValue; + FileNameId: bigint | number; /** u64 */ - EngineInternal: Deno.PointerValue; + EngineInternal: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -9457,22 +9457,22 @@ export class DEBUG_SYMBOL_SOURCE_ENTRYView { } // 0x00: u64 - get ModuleBase(): Deno.PointerValue { + get ModuleBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get FileNameId(): Deno.PointerValue { + get FileNameId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get EngineInternal(): Deno.PointerValue { + get EngineInternal(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9517,22 +9517,22 @@ export class DEBUG_SYMBOL_SOURCE_ENTRYView { } // 0x00: u64 - set ModuleBase(value: Deno.PointerValue) { + set ModuleBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set FileNameId(value: Deno.PointerValue) { + set FileNameId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set EngineInternal(value: Deno.PointerValue) { + set EngineInternal(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -9582,9 +9582,9 @@ export class DEBUG_SYMBOL_SOURCE_ENTRYView { */ export interface Location { /** u64 */ - HostDefined: Deno.PointerValue; + HostDefined: bigint | number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofLocation = 16; @@ -9610,22 +9610,22 @@ export class LocationView { } // 0x00: u64 - get HostDefined(): Deno.PointerValue { + get HostDefined(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set HostDefined(value: Deno.PointerValue) { + set HostDefined(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9635,11 +9635,11 @@ export class LocationView { */ export interface ArrayDimension { /** i64 */ - LowerBound: Deno.PointerValue; + LowerBound: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** u64 */ - Stride: Deno.PointerValue; + Stride: bigint | number; } export const sizeofArrayDimension = 24; @@ -9667,32 +9667,32 @@ export class ArrayDimensionView { } // 0x00: i64 - get LowerBound(): Deno.PointerValue { + get LowerBound(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Stride(): Deno.PointerValue { + get Stride(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: i64 - set LowerBound(value: Deno.PointerValue) { + set LowerBound(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Stride(value: Deno.PointerValue) { + set Stride(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -10018,11 +10018,11 @@ export class EXTSTACKTRACE32View { */ export interface EXTSTACKTRACE64 { /** u64 */ - FramePointer: Deno.PointerValue; + FramePointer: bigint | number; /** u64 */ - ProgramCounter: Deno.PointerValue; + ProgramCounter: bigint | number; /** u64 */ - ReturnAddress: Deno.PointerValue; + ReturnAddress: bigint | number; /** array */ Args: Deno.PointerValue; } @@ -10054,17 +10054,17 @@ export class EXTSTACKTRACE64View { } // 0x00: u64 - get FramePointer(): Deno.PointerValue { + get FramePointer(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ProgramCounter(): Deno.PointerValue { + get ProgramCounter(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ReturnAddress(): Deno.PointerValue { + get ReturnAddress(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10075,17 +10075,17 @@ export class EXTSTACKTRACE64View { } // 0x00: u64 - set FramePointer(value: Deno.PointerValue) { + set FramePointer(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ProgramCounter(value: Deno.PointerValue) { + set ProgramCounter(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ReturnAddress(value: Deno.PointerValue) { + set ReturnAddress(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -11340,7 +11340,7 @@ export interface READCONTROLSPACE64 { /** u16 */ Processor: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ BufLen: number; /** array */ @@ -11383,7 +11383,7 @@ export class READCONTROLSPACE64View { // 0x02: pad6 // 0x08: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11408,7 +11408,7 @@ export class READCONTROLSPACE64View { // 0x02: pad6 // 0x08: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -11574,7 +11574,7 @@ export class IOSPACE32View { */ export interface IOSPACE64 { /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ Length: number; /** u32 */ @@ -11606,7 +11606,7 @@ export class IOSPACE64View { } // 0x00: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11621,7 +11621,7 @@ export class IOSPACE64View { } // 0x00: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11859,7 +11859,7 @@ export class IOSPACE_EX32View { */ export interface IOSPACE_EX64 { /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ Length: number; /** u32 */ @@ -11904,7 +11904,7 @@ export class IOSPACE_EX64View { } // 0x00: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11936,7 +11936,7 @@ export class IOSPACE_EX64View { // 0x1c: pad4 // 0x00: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12088,11 +12088,11 @@ export class BUSDATAView { */ export interface SEARCHMEMORY { /** u64 */ - SearchAddress: Deno.PointerValue; + SearchAddress: bigint | number; /** u64 */ - SearchLength: Deno.PointerValue; + SearchLength: bigint | number; /** u64 */ - FoundAddress: Deno.PointerValue; + FoundAddress: bigint | number; /** u32 */ PatternLength: number; /** ptr */ @@ -12129,17 +12129,17 @@ export class SEARCHMEMORYView { } // 0x00: u64 - get SearchAddress(): Deno.PointerValue { + get SearchAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SearchLength(): Deno.PointerValue { + get SearchLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get FoundAddress(): Deno.PointerValue { + get FoundAddress(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12157,17 +12157,17 @@ export class SEARCHMEMORYView { } // 0x00: u64 - set SearchAddress(value: Deno.PointerValue) { + set SearchAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SearchLength(value: Deno.PointerValue) { + set SearchLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set FoundAddress(value: Deno.PointerValue) { + set FoundAddress(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12189,7 +12189,7 @@ export class SEARCHMEMORYView { */ export interface PHYSICAL { /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ BufLen: number; /** array */ @@ -12222,7 +12222,7 @@ export class PHYSICALView { } // 0x00: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12240,7 +12240,7 @@ export class PHYSICALView { } // 0x00: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12262,7 +12262,7 @@ export class PHYSICALView { */ export interface PHYSICAL_WITH_FLAGS { /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ BufLen: number; /** u32 */ @@ -12298,7 +12298,7 @@ export class PHYSICAL_WITH_FLAGSView { } // 0x00: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12319,7 +12319,7 @@ export class PHYSICAL_WITH_FLAGSView { } // 0x00: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12346,7 +12346,7 @@ export interface READ_WRITE_MSR { /** u32 */ Msr: number; /** i64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofREAD_WRITE_MSR = 16; @@ -12380,7 +12380,7 @@ export class READ_WRITE_MSRView { // 0x04: pad4 // 0x08: i64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -12392,7 +12392,7 @@ export class READ_WRITE_MSRView { // 0x04: pad4 // 0x08: i64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -12484,7 +12484,7 @@ export class GET_SET_SYMPATHView { */ export interface GET_TEB_ADDRESS { /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofGET_TEB_ADDRESS = 8; @@ -12508,12 +12508,12 @@ export class GET_TEB_ADDRESSView { } // 0x00: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -12523,9 +12523,9 @@ export class GET_TEB_ADDRESSView { */ export interface GET_PEB_ADDRESS { /** u64 */ - CurrentThread: Deno.PointerValue; + CurrentThread: bigint | number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofGET_PEB_ADDRESS = 16; @@ -12551,22 +12551,22 @@ export class GET_PEB_ADDRESSView { } // 0x00: u64 - get CurrentThread(): Deno.PointerValue { + get CurrentThread(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set CurrentThread(value: Deno.PointerValue) { + set CurrentThread(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12578,7 +12578,7 @@ export interface GET_CURRENT_THREAD_ADDRESS { /** u32 */ Processor: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofGET_CURRENT_THREAD_ADDRESS = 16; @@ -12612,7 +12612,7 @@ export class GET_CURRENT_THREAD_ADDRESSView { // 0x04: pad4 // 0x08: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -12624,7 +12624,7 @@ export class GET_CURRENT_THREAD_ADDRESSView { // 0x04: pad4 // 0x08: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12636,9 +12636,9 @@ export interface GET_CURRENT_PROCESS_ADDRESS { /** u32 */ Processor: number; /** u64 */ - CurrentThread: Deno.PointerValue; + CurrentThread: bigint | number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofGET_CURRENT_PROCESS_ADDRESS = 24; @@ -12674,12 +12674,12 @@ export class GET_CURRENT_PROCESS_ADDRESSView { // 0x04: pad4 // 0x08: u64 - get CurrentThread(): Deno.PointerValue { + get CurrentThread(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12691,12 +12691,12 @@ export class GET_CURRENT_PROCESS_ADDRESSView { // 0x04: pad4 // 0x08: u64 - set CurrentThread(value: Deno.PointerValue) { + set CurrentThread(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -12801,7 +12801,7 @@ export interface GET_EXPRESSION_EX { /** Windows.Win32.Foundation.PSTR */ Remainder: string | null | Uint8Array; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofGET_EXPRESSION_EX = 24; @@ -12847,7 +12847,7 @@ export class GET_EXPRESSION_EXView { } // 0x10: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12864,7 +12864,7 @@ export class GET_EXPRESSION_EXView { } // 0x10: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -12874,9 +12874,9 @@ export class GET_EXPRESSION_EXView { */ export interface TRANSLATE_VIRTUAL_TO_PHYSICAL { /** u64 */ - Virtual: Deno.PointerValue; + Virtual: bigint | number; /** u64 */ - Physical: Deno.PointerValue; + Physical: bigint | number; } export const sizeofTRANSLATE_VIRTUAL_TO_PHYSICAL = 16; @@ -12902,22 +12902,22 @@ export class TRANSLATE_VIRTUAL_TO_PHYSICALView { } // 0x00: u64 - get Virtual(): Deno.PointerValue { + get Virtual(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Physical(): Deno.PointerValue { + get Physical(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Virtual(value: Deno.PointerValue) { + set Virtual(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Physical(value: Deno.PointerValue) { + set Physical(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12931,11 +12931,11 @@ export interface VIRTUAL_TO_PHYSICAL { /** u32 */ Size: number; /** u64 */ - PdeAddress: Deno.PointerValue; + PdeAddress: bigint | number; /** u64 */ - Virtual: Deno.PointerValue; + Virtual: bigint | number; /** u64 */ - Physical: Deno.PointerValue; + Physical: bigint | number; } export const sizeofVIRTUAL_TO_PHYSICAL = 32; @@ -12977,17 +12977,17 @@ export class VIRTUAL_TO_PHYSICALView { } // 0x08: u64 - get PdeAddress(): Deno.PointerValue { + get PdeAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Virtual(): Deno.PointerValue { + get Virtual(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Physical(): Deno.PointerValue { + get Physical(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -13002,17 +13002,17 @@ export class VIRTUAL_TO_PHYSICALView { } // 0x08: u64 - set PdeAddress(value: Deno.PointerValue) { + set PdeAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Virtual(value: Deno.PointerValue) { + set Virtual(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Physical(value: Deno.PointerValue) { + set Physical(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -13026,7 +13026,7 @@ export interface PHYSICAL_TO_VIRTUAL { /** u32 */ Size: number; /** u64 */ - PdeAddress: Deno.PointerValue; + PdeAddress: bigint | number; } export const sizeofPHYSICAL_TO_VIRTUAL = 16; @@ -13064,7 +13064,7 @@ export class PHYSICAL_TO_VIRTUALView { } // 0x08: u64 - get PdeAddress(): Deno.PointerValue { + get PdeAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13079,7 +13079,7 @@ export class PHYSICAL_TO_VIRTUALView { } // 0x08: u64 - set PdeAddress(value: Deno.PointerValue) { + set PdeAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13157,13 +13157,13 @@ export class GET_CONTEXT_EXView { */ export interface POINTER_SEARCH_PHYSICAL { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** u64 */ - PointerMin: Deno.PointerValue; + PointerMin: bigint | number; /** u64 */ - PointerMax: Deno.PointerValue; + PointerMax: bigint | number; /** u32 */ Flags: number; /** ptr */ @@ -13210,22 +13210,22 @@ export class POINTER_SEARCH_PHYSICALView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get PointerMin(): Deno.PointerValue { + get PointerMin(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get PointerMax(): Deno.PointerValue { + get PointerMax(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -13253,22 +13253,22 @@ export class POINTER_SEARCH_PHYSICALView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set PointerMin(value: Deno.PointerValue) { + set PointerMin(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set PointerMax(value: Deno.PointerValue) { + set PointerMax(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -13308,17 +13308,17 @@ export interface WDBGEXTS_THREAD_OS_INFO { /** u32 */ Priority: number; /** u64 */ - CreateTime: Deno.PointerValue; + CreateTime: bigint | number; /** u64 */ - ExitTime: Deno.PointerValue; + ExitTime: bigint | number; /** u64 */ - KernelTime: Deno.PointerValue; + KernelTime: bigint | number; /** u64 */ - UserTime: Deno.PointerValue; + UserTime: bigint | number; /** u64 */ - StartOffset: Deno.PointerValue; + StartOffset: bigint | number; /** u64 */ - Affinity: Deno.PointerValue; + Affinity: bigint | number; } export const sizeofWDBGEXTS_THREAD_OS_INFO = 64; @@ -13380,32 +13380,32 @@ export class WDBGEXTS_THREAD_OS_INFOView { } // 0x10: u64 - get CreateTime(): Deno.PointerValue { + get CreateTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExitTime(): Deno.PointerValue { + get ExitTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get KernelTime(): Deno.PointerValue { + get KernelTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get UserTime(): Deno.PointerValue { + get UserTime(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get StartOffset(): Deno.PointerValue { + get StartOffset(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Affinity(): Deno.PointerValue { + get Affinity(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -13430,32 +13430,32 @@ export class WDBGEXTS_THREAD_OS_INFOView { } // 0x10: u64 - set CreateTime(value: Deno.PointerValue) { + set CreateTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExitTime(value: Deno.PointerValue) { + set ExitTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set KernelTime(value: Deno.PointerValue) { + set KernelTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set UserTime(value: Deno.PointerValue) { + set UserTime(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set StartOffset(value: Deno.PointerValue) { + set StartOffset(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Affinity(value: Deno.PointerValue) { + set Affinity(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -13604,7 +13604,7 @@ export interface EXT_FIND_FILE { /** Windows.Win32.Foundation.PWSTR */ FileName: string | null | Uint8Array | Uint16Array; /** u64 */ - IndexedSize: Deno.PointerValue; + IndexedSize: bigint | number; /** u32 */ ImageTimeDateStamp: number; /** u32 */ @@ -13618,7 +13618,7 @@ export interface EXT_FIND_FILE { /** ptr */ FileMapping: Deno.PointerValue | Uint8Array; /** u64 */ - FileMappingSize: Deno.PointerValue; + FileMappingSize: bigint | number; /** Windows.Win32.Foundation.HANDLE */ FileHandle: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.PWSTR */ @@ -13683,7 +13683,7 @@ export class EXT_FIND_FILEView { } // 0x08: u64 - get IndexedSize(): Deno.PointerValue { + get IndexedSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13720,7 +13720,7 @@ export class EXT_FIND_FILEView { } // 0x30: u64 - get FileMappingSize(): Deno.PointerValue { + get FileMappingSize(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -13750,7 +13750,7 @@ export class EXT_FIND_FILEView { } // 0x08: u64 - set IndexedSize(value: Deno.PointerValue) { + set IndexedSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -13785,7 +13785,7 @@ export class EXT_FIND_FILEView { } // 0x30: u64 - set FileMappingSize(value: Deno.PointerValue) { + set FileMappingSize(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -13813,13 +13813,13 @@ export class EXT_FIND_FILEView { */ export interface DEBUG_TYPED_DATA { /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - EngineHandle: Deno.PointerValue; + EngineHandle: bigint | number; /** u64 */ - Data: Deno.PointerValue; + Data: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -13877,22 +13877,22 @@ export class DEBUG_TYPED_DATAView { } // 0x00: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get EngineHandle(): Deno.PointerValue { + get EngineHandle(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Data(): Deno.PointerValue { + get Data(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -13933,22 +13933,22 @@ export class DEBUG_TYPED_DATAView { } // 0x00: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set EngineHandle(value: Deno.PointerValue) { + set EngineHandle(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Data(value: Deno.PointerValue) { + set Data(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -14009,9 +14009,9 @@ export interface EXT_TYPED_DATA { /** u32 */ Out32: number; /** u64 */ - In64: Deno.PointerValue; + In64: bigint | number; /** u64 */ - Out64: Deno.PointerValue; + Out64: bigint | number; /** u32 */ StrBufferIndex: number; /** u32 */ @@ -14123,12 +14123,12 @@ export class EXT_TYPED_DATAView { // 0x24: pad4 // 0x28: u64 - get In64(): Deno.PointerValue { + get In64(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get Out64(): Deno.PointerValue { + get Out64(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -14212,12 +14212,12 @@ export class EXT_TYPED_DATAView { // 0x24: pad4 // 0x28: u64 - set In64(value: Deno.PointerValue) { + set In64(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set Out64(value: Deno.PointerValue) { + set Out64(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -14322,9 +14322,9 @@ export class WDBGEXTS_QUERY_INTERFACEView { */ export interface WDBGEXTS_DISASSEMBLE_BUFFER { /** u64 */ - InOffset: Deno.PointerValue; + InOffset: bigint | number; /** u64 */ - OutOffset: Deno.PointerValue; + OutOffset: bigint | number; /** u32 */ AddrFlags: number; /** u32 */ @@ -14381,12 +14381,12 @@ export class WDBGEXTS_DISASSEMBLE_BUFFERView { } // 0x00: u64 - get InOffset(): Deno.PointerValue { + get InOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get OutOffset(): Deno.PointerValue { + get OutOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -14429,12 +14429,12 @@ export class WDBGEXTS_DISASSEMBLE_BUFFERView { } // 0x00: u64 - set InOffset(value: Deno.PointerValue) { + set InOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set OutOffset(value: Deno.PointerValue) { + set OutOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -14480,11 +14480,11 @@ export class WDBGEXTS_DISASSEMBLE_BUFFERView { */ export interface WDBGEXTS_MODULE_IN_RANGE { /** u64 */ - Start: Deno.PointerValue; + Start: bigint | number; /** u64 */ - End: Deno.PointerValue; + End: bigint | number; /** u64 */ - FoundModBase: Deno.PointerValue; + FoundModBase: bigint | number; /** u32 */ FoundModSize: number; } @@ -14517,17 +14517,17 @@ export class WDBGEXTS_MODULE_IN_RANGEView { } // 0x00: u64 - get Start(): Deno.PointerValue { + get Start(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get End(): Deno.PointerValue { + get End(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get FoundModBase(): Deno.PointerValue { + get FoundModBase(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -14539,17 +14539,17 @@ export class WDBGEXTS_MODULE_IN_RANGEView { // 0x1c: pad4 // 0x00: u64 - set Start(value: Deno.PointerValue) { + set Start(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set End(value: Deno.PointerValue) { + set End(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set FoundModBase(value: Deno.PointerValue) { + set FoundModBase(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -15885,11 +15885,11 @@ export interface DBGKD_GET_VERSION64 { /** array */ Unused: Deno.PointerValue; /** u64 */ - KernBase: Deno.PointerValue; + KernBase: bigint | number; /** u64 */ - PsLoadedModuleList: Deno.PointerValue; + PsLoadedModuleList: bigint | number; /** u64 */ - DebuggerDataList: Deno.PointerValue; + DebuggerDataList: bigint | number; } export const sizeofDBGKD_GET_VERSION64 = 48; @@ -15998,17 +15998,17 @@ export class DBGKD_GET_VERSION64View { } // 0x18: u64 - get KernBase(): Deno.PointerValue { + get KernBase(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get PsLoadedModuleList(): Deno.PointerValue { + get PsLoadedModuleList(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get DebuggerDataList(): Deno.PointerValue { + get DebuggerDataList(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -16070,17 +16070,17 @@ export class DBGKD_GET_VERSION64View { } // 0x18: u64 - set KernBase(value: Deno.PointerValue) { + set KernBase(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set PsLoadedModuleList(value: Deno.PointerValue) { + set PsLoadedModuleList(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set DebuggerDataList(value: Deno.PointerValue) { + set DebuggerDataList(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -16090,9 +16090,9 @@ export class DBGKD_GET_VERSION64View { */ export interface LIST_ENTRY64 { /** u64 */ - Flink: Deno.PointerValue; + Flink: bigint | number; /** u64 */ - Blink: Deno.PointerValue; + Blink: bigint | number; } export const sizeofLIST_ENTRY64 = 16; @@ -16118,22 +16118,22 @@ export class LIST_ENTRY64View { } // 0x00: u64 - get Flink(): Deno.PointerValue { + get Flink(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Blink(): Deno.PointerValue { + get Blink(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Flink(value: Deno.PointerValue) { + set Flink(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Blink(value: Deno.PointerValue) { + set Blink(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -16213,11 +16213,11 @@ export interface KDDEBUGGER_DATA64 { /** Windows.Win32.System.Diagnostics.Debug.DBGKD_DEBUG_DATA_HEADER64 */ Header: Uint8Array | Deno.PointerValue; /** u64 */ - KernBase: Deno.PointerValue; + KernBase: bigint | number; /** u64 */ - BreakpointWithStatus: Deno.PointerValue; + BreakpointWithStatus: bigint | number; /** u64 */ - SavedContext: Deno.PointerValue; + SavedContext: bigint | number; /** u16 */ ThCallbackStack: number; /** u16 */ @@ -16227,157 +16227,157 @@ export interface KDDEBUGGER_DATA64 { /** u16 */ _bitfield: number; /** u64 */ - KiCallUserMode: Deno.PointerValue; + KiCallUserMode: bigint | number; /** u64 */ - KeUserCallbackDispatcher: Deno.PointerValue; + KeUserCallbackDispatcher: bigint | number; /** u64 */ - PsLoadedModuleList: Deno.PointerValue; + PsLoadedModuleList: bigint | number; /** u64 */ - PsActiveProcessHead: Deno.PointerValue; + PsActiveProcessHead: bigint | number; /** u64 */ - PspCidTable: Deno.PointerValue; + PspCidTable: bigint | number; /** u64 */ - ExpSystemResourcesList: Deno.PointerValue; + ExpSystemResourcesList: bigint | number; /** u64 */ - ExpPagedPoolDescriptor: Deno.PointerValue; + ExpPagedPoolDescriptor: bigint | number; /** u64 */ - ExpNumberOfPagedPools: Deno.PointerValue; + ExpNumberOfPagedPools: bigint | number; /** u64 */ - KeTimeIncrement: Deno.PointerValue; + KeTimeIncrement: bigint | number; /** u64 */ - KeBugCheckCallbackListHead: Deno.PointerValue; + KeBugCheckCallbackListHead: bigint | number; /** u64 */ - KiBugcheckData: Deno.PointerValue; + KiBugcheckData: bigint | number; /** u64 */ - IopErrorLogListHead: Deno.PointerValue; + IopErrorLogListHead: bigint | number; /** u64 */ - ObpRootDirectoryObject: Deno.PointerValue; + ObpRootDirectoryObject: bigint | number; /** u64 */ - ObpTypeObjectType: Deno.PointerValue; + ObpTypeObjectType: bigint | number; /** u64 */ - MmSystemCacheStart: Deno.PointerValue; + MmSystemCacheStart: bigint | number; /** u64 */ - MmSystemCacheEnd: Deno.PointerValue; + MmSystemCacheEnd: bigint | number; /** u64 */ - MmSystemCacheWs: Deno.PointerValue; + MmSystemCacheWs: bigint | number; /** u64 */ - MmPfnDatabase: Deno.PointerValue; + MmPfnDatabase: bigint | number; /** u64 */ - MmSystemPtesStart: Deno.PointerValue; + MmSystemPtesStart: bigint | number; /** u64 */ - MmSystemPtesEnd: Deno.PointerValue; + MmSystemPtesEnd: bigint | number; /** u64 */ - MmSubsectionBase: Deno.PointerValue; + MmSubsectionBase: bigint | number; /** u64 */ - MmNumberOfPagingFiles: Deno.PointerValue; + MmNumberOfPagingFiles: bigint | number; /** u64 */ - MmLowestPhysicalPage: Deno.PointerValue; + MmLowestPhysicalPage: bigint | number; /** u64 */ - MmHighestPhysicalPage: Deno.PointerValue; + MmHighestPhysicalPage: bigint | number; /** u64 */ - MmNumberOfPhysicalPages: Deno.PointerValue; + MmNumberOfPhysicalPages: bigint | number; /** u64 */ - MmMaximumNonPagedPoolInBytes: Deno.PointerValue; + MmMaximumNonPagedPoolInBytes: bigint | number; /** u64 */ - MmNonPagedSystemStart: Deno.PointerValue; + MmNonPagedSystemStart: bigint | number; /** u64 */ - MmNonPagedPoolStart: Deno.PointerValue; + MmNonPagedPoolStart: bigint | number; /** u64 */ - MmNonPagedPoolEnd: Deno.PointerValue; + MmNonPagedPoolEnd: bigint | number; /** u64 */ - MmPagedPoolStart: Deno.PointerValue; + MmPagedPoolStart: bigint | number; /** u64 */ - MmPagedPoolEnd: Deno.PointerValue; + MmPagedPoolEnd: bigint | number; /** u64 */ - MmPagedPoolInformation: Deno.PointerValue; + MmPagedPoolInformation: bigint | number; /** u64 */ - MmPageSize: Deno.PointerValue; + MmPageSize: bigint | number; /** u64 */ - MmSizeOfPagedPoolInBytes: Deno.PointerValue; + MmSizeOfPagedPoolInBytes: bigint | number; /** u64 */ - MmTotalCommitLimit: Deno.PointerValue; + MmTotalCommitLimit: bigint | number; /** u64 */ - MmTotalCommittedPages: Deno.PointerValue; + MmTotalCommittedPages: bigint | number; /** u64 */ - MmSharedCommit: Deno.PointerValue; + MmSharedCommit: bigint | number; /** u64 */ - MmDriverCommit: Deno.PointerValue; + MmDriverCommit: bigint | number; /** u64 */ - MmProcessCommit: Deno.PointerValue; + MmProcessCommit: bigint | number; /** u64 */ - MmPagedPoolCommit: Deno.PointerValue; + MmPagedPoolCommit: bigint | number; /** u64 */ - MmExtendedCommit: Deno.PointerValue; + MmExtendedCommit: bigint | number; /** u64 */ - MmZeroedPageListHead: Deno.PointerValue; + MmZeroedPageListHead: bigint | number; /** u64 */ - MmFreePageListHead: Deno.PointerValue; + MmFreePageListHead: bigint | number; /** u64 */ - MmStandbyPageListHead: Deno.PointerValue; + MmStandbyPageListHead: bigint | number; /** u64 */ - MmModifiedPageListHead: Deno.PointerValue; + MmModifiedPageListHead: bigint | number; /** u64 */ - MmModifiedNoWritePageListHead: Deno.PointerValue; + MmModifiedNoWritePageListHead: bigint | number; /** u64 */ - MmAvailablePages: Deno.PointerValue; + MmAvailablePages: bigint | number; /** u64 */ - MmResidentAvailablePages: Deno.PointerValue; + MmResidentAvailablePages: bigint | number; /** u64 */ - PoolTrackTable: Deno.PointerValue; + PoolTrackTable: bigint | number; /** u64 */ - NonPagedPoolDescriptor: Deno.PointerValue; + NonPagedPoolDescriptor: bigint | number; /** u64 */ - MmHighestUserAddress: Deno.PointerValue; + MmHighestUserAddress: bigint | number; /** u64 */ - MmSystemRangeStart: Deno.PointerValue; + MmSystemRangeStart: bigint | number; /** u64 */ - MmUserProbeAddress: Deno.PointerValue; + MmUserProbeAddress: bigint | number; /** u64 */ - KdPrintCircularBuffer: Deno.PointerValue; + KdPrintCircularBuffer: bigint | number; /** u64 */ - KdPrintCircularBufferEnd: Deno.PointerValue; + KdPrintCircularBufferEnd: bigint | number; /** u64 */ - KdPrintWritePointer: Deno.PointerValue; + KdPrintWritePointer: bigint | number; /** u64 */ - KdPrintRolloverCount: Deno.PointerValue; + KdPrintRolloverCount: bigint | number; /** u64 */ - MmLoadedUserImageList: Deno.PointerValue; + MmLoadedUserImageList: bigint | number; /** u64 */ - NtBuildLab: Deno.PointerValue; + NtBuildLab: bigint | number; /** u64 */ - KiNormalSystemCall: Deno.PointerValue; + KiNormalSystemCall: bigint | number; /** u64 */ - KiProcessorBlock: Deno.PointerValue; + KiProcessorBlock: bigint | number; /** u64 */ - MmUnloadedDrivers: Deno.PointerValue; + MmUnloadedDrivers: bigint | number; /** u64 */ - MmLastUnloadedDriver: Deno.PointerValue; + MmLastUnloadedDriver: bigint | number; /** u64 */ - MmTriageActionTaken: Deno.PointerValue; + MmTriageActionTaken: bigint | number; /** u64 */ - MmSpecialPoolTag: Deno.PointerValue; + MmSpecialPoolTag: bigint | number; /** u64 */ - KernelVerifier: Deno.PointerValue; + KernelVerifier: bigint | number; /** u64 */ - MmVerifierData: Deno.PointerValue; + MmVerifierData: bigint | number; /** u64 */ - MmAllocatedNonPagedPool: Deno.PointerValue; + MmAllocatedNonPagedPool: bigint | number; /** u64 */ - MmPeakCommitment: Deno.PointerValue; + MmPeakCommitment: bigint | number; /** u64 */ - MmTotalCommitLimitMaximum: Deno.PointerValue; + MmTotalCommitLimitMaximum: bigint | number; /** u64 */ - CmNtCSDVersion: Deno.PointerValue; + CmNtCSDVersion: bigint | number; /** u64 */ - MmPhysicalMemoryBlock: Deno.PointerValue; + MmPhysicalMemoryBlock: bigint | number; /** u64 */ - MmSessionBase: Deno.PointerValue; + MmSessionBase: bigint | number; /** u64 */ - MmSessionSize: Deno.PointerValue; + MmSessionSize: bigint | number; /** u64 */ - MmSystemParentTablePage: Deno.PointerValue; + MmSystemParentTablePage: bigint | number; /** u64 */ - MmVirtualTranslationBase: Deno.PointerValue; + MmVirtualTranslationBase: bigint | number; /** u16 */ OffsetKThreadNextProcessor: number; /** u16 */ @@ -16427,11 +16427,11 @@ export interface KDDEBUGGER_DATA64 { /** u32 */ Padding0: number; /** u64 */ - KdPrintCircularBufferPtr: Deno.PointerValue; + KdPrintCircularBufferPtr: bigint | number; /** u64 */ - KdPrintBufferSize: Deno.PointerValue; + KdPrintBufferSize: bigint | number; /** u64 */ - KeLoaderBlock: Deno.PointerValue; + KeLoaderBlock: bigint | number; /** u16 */ SizePcr: number; /** u16 */ @@ -16473,17 +16473,17 @@ export interface KDDEBUGGER_DATA64 { /** u16 */ Gdt64R3CmTeb: number; /** u64 */ - IopNumTriageDumpDataBlocks: Deno.PointerValue; + IopNumTriageDumpDataBlocks: bigint | number; /** u64 */ - IopTriageDumpDataBlocks: Deno.PointerValue; + IopTriageDumpDataBlocks: bigint | number; /** u64 */ - VfCrashDataBlock: Deno.PointerValue; + VfCrashDataBlock: bigint | number; /** u64 */ - MmBadPagesDetected: Deno.PointerValue; + MmBadPagesDetected: bigint | number; /** u64 */ - MmZeroedPageSingleBitErrorsDetected: Deno.PointerValue; + MmZeroedPageSingleBitErrorsDetected: bigint | number; /** u64 */ - EtwpDebuggerData: Deno.PointerValue; + EtwpDebuggerData: bigint | number; /** u16 */ OffsetPrcbContext: number; /** u16 */ @@ -16515,9 +16515,9 @@ export interface KDDEBUGGER_DATA64 { /** u16 */ Padding1: number; /** u64 */ - PteBase: Deno.PointerValue; + PteBase: bigint | number; /** u64 */ - RetpolineStubFunctionTable: Deno.PointerValue; + RetpolineStubFunctionTable: bigint | number; /** u32 */ RetpolineStubFunctionTableSize: number; /** u32 */ @@ -16871,17 +16871,17 @@ export class KDDEBUGGER_DATA64View { } // 0x08: u64 - get KernBase(): Deno.PointerValue { + get KernBase(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BreakpointWithStatus(): Deno.PointerValue { + get BreakpointWithStatus(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get SavedContext(): Deno.PointerValue { + get SavedContext(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -16906,382 +16906,382 @@ export class KDDEBUGGER_DATA64View { } // 0x28: u64 - get KiCallUserMode(): Deno.PointerValue { + get KiCallUserMode(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get KeUserCallbackDispatcher(): Deno.PointerValue { + get KeUserCallbackDispatcher(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PsLoadedModuleList(): Deno.PointerValue { + get PsLoadedModuleList(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get PsActiveProcessHead(): Deno.PointerValue { + get PsActiveProcessHead(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get PspCidTable(): Deno.PointerValue { + get PspCidTable(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ExpSystemResourcesList(): Deno.PointerValue { + get ExpSystemResourcesList(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ExpPagedPoolDescriptor(): Deno.PointerValue { + get ExpPagedPoolDescriptor(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get ExpNumberOfPagedPools(): Deno.PointerValue { + get ExpNumberOfPagedPools(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get KeTimeIncrement(): Deno.PointerValue { + get KeTimeIncrement(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get KeBugCheckCallbackListHead(): Deno.PointerValue { + get KeBugCheckCallbackListHead(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get KiBugcheckData(): Deno.PointerValue { + get KiBugcheckData(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get IopErrorLogListHead(): Deno.PointerValue { + get IopErrorLogListHead(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get ObpRootDirectoryObject(): Deno.PointerValue { + get ObpRootDirectoryObject(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get ObpTypeObjectType(): Deno.PointerValue { + get ObpTypeObjectType(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get MmSystemCacheStart(): Deno.PointerValue { + get MmSystemCacheStart(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get MmSystemCacheEnd(): Deno.PointerValue { + get MmSystemCacheEnd(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: u64 - get MmSystemCacheWs(): Deno.PointerValue { + get MmSystemCacheWs(): bigint | number { return Number(this.view.getBigUint64(168, true)); } // 0xb0: u64 - get MmPfnDatabase(): Deno.PointerValue { + get MmPfnDatabase(): bigint | number { return Number(this.view.getBigUint64(176, true)); } // 0xb8: u64 - get MmSystemPtesStart(): Deno.PointerValue { + get MmSystemPtesStart(): bigint | number { return Number(this.view.getBigUint64(184, true)); } // 0xc0: u64 - get MmSystemPtesEnd(): Deno.PointerValue { + get MmSystemPtesEnd(): bigint | number { return Number(this.view.getBigUint64(192, true)); } // 0xc8: u64 - get MmSubsectionBase(): Deno.PointerValue { + get MmSubsectionBase(): bigint | number { return Number(this.view.getBigUint64(200, true)); } // 0xd0: u64 - get MmNumberOfPagingFiles(): Deno.PointerValue { + get MmNumberOfPagingFiles(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: u64 - get MmLowestPhysicalPage(): Deno.PointerValue { + get MmLowestPhysicalPage(): bigint | number { return Number(this.view.getBigUint64(216, true)); } // 0xe0: u64 - get MmHighestPhysicalPage(): Deno.PointerValue { + get MmHighestPhysicalPage(): bigint | number { return Number(this.view.getBigUint64(224, true)); } // 0xe8: u64 - get MmNumberOfPhysicalPages(): Deno.PointerValue { + get MmNumberOfPhysicalPages(): bigint | number { return Number(this.view.getBigUint64(232, true)); } // 0xf0: u64 - get MmMaximumNonPagedPoolInBytes(): Deno.PointerValue { + get MmMaximumNonPagedPoolInBytes(): bigint | number { return Number(this.view.getBigUint64(240, true)); } // 0xf8: u64 - get MmNonPagedSystemStart(): Deno.PointerValue { + get MmNonPagedSystemStart(): bigint | number { return Number(this.view.getBigUint64(248, true)); } // 0x100: u64 - get MmNonPagedPoolStart(): Deno.PointerValue { + get MmNonPagedPoolStart(): bigint | number { return Number(this.view.getBigUint64(256, true)); } // 0x108: u64 - get MmNonPagedPoolEnd(): Deno.PointerValue { + get MmNonPagedPoolEnd(): bigint | number { return Number(this.view.getBigUint64(264, true)); } // 0x110: u64 - get MmPagedPoolStart(): Deno.PointerValue { + get MmPagedPoolStart(): bigint | number { return Number(this.view.getBigUint64(272, true)); } // 0x118: u64 - get MmPagedPoolEnd(): Deno.PointerValue { + get MmPagedPoolEnd(): bigint | number { return Number(this.view.getBigUint64(280, true)); } // 0x120: u64 - get MmPagedPoolInformation(): Deno.PointerValue { + get MmPagedPoolInformation(): bigint | number { return Number(this.view.getBigUint64(288, true)); } // 0x128: u64 - get MmPageSize(): Deno.PointerValue { + get MmPageSize(): bigint | number { return Number(this.view.getBigUint64(296, true)); } // 0x130: u64 - get MmSizeOfPagedPoolInBytes(): Deno.PointerValue { + get MmSizeOfPagedPoolInBytes(): bigint | number { return Number(this.view.getBigUint64(304, true)); } // 0x138: u64 - get MmTotalCommitLimit(): Deno.PointerValue { + get MmTotalCommitLimit(): bigint | number { return Number(this.view.getBigUint64(312, true)); } // 0x140: u64 - get MmTotalCommittedPages(): Deno.PointerValue { + get MmTotalCommittedPages(): bigint | number { return Number(this.view.getBigUint64(320, true)); } // 0x148: u64 - get MmSharedCommit(): Deno.PointerValue { + get MmSharedCommit(): bigint | number { return Number(this.view.getBigUint64(328, true)); } // 0x150: u64 - get MmDriverCommit(): Deno.PointerValue { + get MmDriverCommit(): bigint | number { return Number(this.view.getBigUint64(336, true)); } // 0x158: u64 - get MmProcessCommit(): Deno.PointerValue { + get MmProcessCommit(): bigint | number { return Number(this.view.getBigUint64(344, true)); } // 0x160: u64 - get MmPagedPoolCommit(): Deno.PointerValue { + get MmPagedPoolCommit(): bigint | number { return Number(this.view.getBigUint64(352, true)); } // 0x168: u64 - get MmExtendedCommit(): Deno.PointerValue { + get MmExtendedCommit(): bigint | number { return Number(this.view.getBigUint64(360, true)); } // 0x170: u64 - get MmZeroedPageListHead(): Deno.PointerValue { + get MmZeroedPageListHead(): bigint | number { return Number(this.view.getBigUint64(368, true)); } // 0x178: u64 - get MmFreePageListHead(): Deno.PointerValue { + get MmFreePageListHead(): bigint | number { return Number(this.view.getBigUint64(376, true)); } // 0x180: u64 - get MmStandbyPageListHead(): Deno.PointerValue { + get MmStandbyPageListHead(): bigint | number { return Number(this.view.getBigUint64(384, true)); } // 0x188: u64 - get MmModifiedPageListHead(): Deno.PointerValue { + get MmModifiedPageListHead(): bigint | number { return Number(this.view.getBigUint64(392, true)); } // 0x190: u64 - get MmModifiedNoWritePageListHead(): Deno.PointerValue { + get MmModifiedNoWritePageListHead(): bigint | number { return Number(this.view.getBigUint64(400, true)); } // 0x198: u64 - get MmAvailablePages(): Deno.PointerValue { + get MmAvailablePages(): bigint | number { return Number(this.view.getBigUint64(408, true)); } // 0x1a0: u64 - get MmResidentAvailablePages(): Deno.PointerValue { + get MmResidentAvailablePages(): bigint | number { return Number(this.view.getBigUint64(416, true)); } // 0x1a8: u64 - get PoolTrackTable(): Deno.PointerValue { + get PoolTrackTable(): bigint | number { return Number(this.view.getBigUint64(424, true)); } // 0x1b0: u64 - get NonPagedPoolDescriptor(): Deno.PointerValue { + get NonPagedPoolDescriptor(): bigint | number { return Number(this.view.getBigUint64(432, true)); } // 0x1b8: u64 - get MmHighestUserAddress(): Deno.PointerValue { + get MmHighestUserAddress(): bigint | number { return Number(this.view.getBigUint64(440, true)); } // 0x1c0: u64 - get MmSystemRangeStart(): Deno.PointerValue { + get MmSystemRangeStart(): bigint | number { return Number(this.view.getBigUint64(448, true)); } // 0x1c8: u64 - get MmUserProbeAddress(): Deno.PointerValue { + get MmUserProbeAddress(): bigint | number { return Number(this.view.getBigUint64(456, true)); } // 0x1d0: u64 - get KdPrintCircularBuffer(): Deno.PointerValue { + get KdPrintCircularBuffer(): bigint | number { return Number(this.view.getBigUint64(464, true)); } // 0x1d8: u64 - get KdPrintCircularBufferEnd(): Deno.PointerValue { + get KdPrintCircularBufferEnd(): bigint | number { return Number(this.view.getBigUint64(472, true)); } // 0x1e0: u64 - get KdPrintWritePointer(): Deno.PointerValue { + get KdPrintWritePointer(): bigint | number { return Number(this.view.getBigUint64(480, true)); } // 0x1e8: u64 - get KdPrintRolloverCount(): Deno.PointerValue { + get KdPrintRolloverCount(): bigint | number { return Number(this.view.getBigUint64(488, true)); } // 0x1f0: u64 - get MmLoadedUserImageList(): Deno.PointerValue { + get MmLoadedUserImageList(): bigint | number { return Number(this.view.getBigUint64(496, true)); } // 0x1f8: u64 - get NtBuildLab(): Deno.PointerValue { + get NtBuildLab(): bigint | number { return Number(this.view.getBigUint64(504, true)); } // 0x200: u64 - get KiNormalSystemCall(): Deno.PointerValue { + get KiNormalSystemCall(): bigint | number { return Number(this.view.getBigUint64(512, true)); } // 0x208: u64 - get KiProcessorBlock(): Deno.PointerValue { + get KiProcessorBlock(): bigint | number { return Number(this.view.getBigUint64(520, true)); } // 0x210: u64 - get MmUnloadedDrivers(): Deno.PointerValue { + get MmUnloadedDrivers(): bigint | number { return Number(this.view.getBigUint64(528, true)); } // 0x218: u64 - get MmLastUnloadedDriver(): Deno.PointerValue { + get MmLastUnloadedDriver(): bigint | number { return Number(this.view.getBigUint64(536, true)); } // 0x220: u64 - get MmTriageActionTaken(): Deno.PointerValue { + get MmTriageActionTaken(): bigint | number { return Number(this.view.getBigUint64(544, true)); } // 0x228: u64 - get MmSpecialPoolTag(): Deno.PointerValue { + get MmSpecialPoolTag(): bigint | number { return Number(this.view.getBigUint64(552, true)); } // 0x230: u64 - get KernelVerifier(): Deno.PointerValue { + get KernelVerifier(): bigint | number { return Number(this.view.getBigUint64(560, true)); } // 0x238: u64 - get MmVerifierData(): Deno.PointerValue { + get MmVerifierData(): bigint | number { return Number(this.view.getBigUint64(568, true)); } // 0x240: u64 - get MmAllocatedNonPagedPool(): Deno.PointerValue { + get MmAllocatedNonPagedPool(): bigint | number { return Number(this.view.getBigUint64(576, true)); } // 0x248: u64 - get MmPeakCommitment(): Deno.PointerValue { + get MmPeakCommitment(): bigint | number { return Number(this.view.getBigUint64(584, true)); } // 0x250: u64 - get MmTotalCommitLimitMaximum(): Deno.PointerValue { + get MmTotalCommitLimitMaximum(): bigint | number { return Number(this.view.getBigUint64(592, true)); } // 0x258: u64 - get CmNtCSDVersion(): Deno.PointerValue { + get CmNtCSDVersion(): bigint | number { return Number(this.view.getBigUint64(600, true)); } // 0x260: u64 - get MmPhysicalMemoryBlock(): Deno.PointerValue { + get MmPhysicalMemoryBlock(): bigint | number { return Number(this.view.getBigUint64(608, true)); } // 0x268: u64 - get MmSessionBase(): Deno.PointerValue { + get MmSessionBase(): bigint | number { return Number(this.view.getBigUint64(616, true)); } // 0x270: u64 - get MmSessionSize(): Deno.PointerValue { + get MmSessionSize(): bigint | number { return Number(this.view.getBigUint64(624, true)); } // 0x278: u64 - get MmSystemParentTablePage(): Deno.PointerValue { + get MmSystemParentTablePage(): bigint | number { return Number(this.view.getBigUint64(632, true)); } // 0x280: u64 - get MmVirtualTranslationBase(): Deno.PointerValue { + get MmVirtualTranslationBase(): bigint | number { return Number(this.view.getBigUint64(640, true)); } @@ -17406,17 +17406,17 @@ export class KDDEBUGGER_DATA64View { } // 0x2b8: u64 - get KdPrintCircularBufferPtr(): Deno.PointerValue { + get KdPrintCircularBufferPtr(): bigint | number { return Number(this.view.getBigUint64(696, true)); } // 0x2c0: u64 - get KdPrintBufferSize(): Deno.PointerValue { + get KdPrintBufferSize(): bigint | number { return Number(this.view.getBigUint64(704, true)); } // 0x2c8: u64 - get KeLoaderBlock(): Deno.PointerValue { + get KeLoaderBlock(): bigint | number { return Number(this.view.getBigUint64(712, true)); } @@ -17521,32 +17521,32 @@ export class KDDEBUGGER_DATA64View { } // 0x2f8: u64 - get IopNumTriageDumpDataBlocks(): Deno.PointerValue { + get IopNumTriageDumpDataBlocks(): bigint | number { return Number(this.view.getBigUint64(760, true)); } // 0x300: u64 - get IopTriageDumpDataBlocks(): Deno.PointerValue { + get IopTriageDumpDataBlocks(): bigint | number { return Number(this.view.getBigUint64(768, true)); } // 0x308: u64 - get VfCrashDataBlock(): Deno.PointerValue { + get VfCrashDataBlock(): bigint | number { return Number(this.view.getBigUint64(776, true)); } // 0x310: u64 - get MmBadPagesDetected(): Deno.PointerValue { + get MmBadPagesDetected(): bigint | number { return Number(this.view.getBigUint64(784, true)); } // 0x318: u64 - get MmZeroedPageSingleBitErrorsDetected(): Deno.PointerValue { + get MmZeroedPageSingleBitErrorsDetected(): bigint | number { return Number(this.view.getBigUint64(792, true)); } // 0x320: u64 - get EtwpDebuggerData(): Deno.PointerValue { + get EtwpDebuggerData(): bigint | number { return Number(this.view.getBigUint64(800, true)); } @@ -17628,12 +17628,12 @@ export class KDDEBUGGER_DATA64View { // 0x34e: pad2 // 0x350: u64 - get PteBase(): Deno.PointerValue { + get PteBase(): bigint | number { return Number(this.view.getBigUint64(848, true)); } // 0x358: u64 - get RetpolineStubFunctionTable(): Deno.PointerValue { + get RetpolineStubFunctionTable(): bigint | number { return Number(this.view.getBigUint64(856, true)); } @@ -17665,17 +17665,17 @@ export class KDDEBUGGER_DATA64View { } // 0x08: u64 - set KernBase(value: Deno.PointerValue) { + set KernBase(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BreakpointWithStatus(value: Deno.PointerValue) { + set BreakpointWithStatus(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set SavedContext(value: Deno.PointerValue) { + set SavedContext(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -17700,382 +17700,382 @@ export class KDDEBUGGER_DATA64View { } // 0x28: u64 - set KiCallUserMode(value: Deno.PointerValue) { + set KiCallUserMode(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set KeUserCallbackDispatcher(value: Deno.PointerValue) { + set KeUserCallbackDispatcher(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PsLoadedModuleList(value: Deno.PointerValue) { + set PsLoadedModuleList(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set PsActiveProcessHead(value: Deno.PointerValue) { + set PsActiveProcessHead(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set PspCidTable(value: Deno.PointerValue) { + set PspCidTable(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ExpSystemResourcesList(value: Deno.PointerValue) { + set ExpSystemResourcesList(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ExpPagedPoolDescriptor(value: Deno.PointerValue) { + set ExpPagedPoolDescriptor(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set ExpNumberOfPagedPools(value: Deno.PointerValue) { + set ExpNumberOfPagedPools(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set KeTimeIncrement(value: Deno.PointerValue) { + set KeTimeIncrement(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set KeBugCheckCallbackListHead(value: Deno.PointerValue) { + set KeBugCheckCallbackListHead(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set KiBugcheckData(value: Deno.PointerValue) { + set KiBugcheckData(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set IopErrorLogListHead(value: Deno.PointerValue) { + set IopErrorLogListHead(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set ObpRootDirectoryObject(value: Deno.PointerValue) { + set ObpRootDirectoryObject(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set ObpTypeObjectType(value: Deno.PointerValue) { + set ObpTypeObjectType(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set MmSystemCacheStart(value: Deno.PointerValue) { + set MmSystemCacheStart(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set MmSystemCacheEnd(value: Deno.PointerValue) { + set MmSystemCacheEnd(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: u64 - set MmSystemCacheWs(value: Deno.PointerValue) { + set MmSystemCacheWs(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } // 0xb0: u64 - set MmPfnDatabase(value: Deno.PointerValue) { + set MmPfnDatabase(value: bigint | number) { this.view.setBigUint64(176, BigInt(value), true); } // 0xb8: u64 - set MmSystemPtesStart(value: Deno.PointerValue) { + set MmSystemPtesStart(value: bigint | number) { this.view.setBigUint64(184, BigInt(value), true); } // 0xc0: u64 - set MmSystemPtesEnd(value: Deno.PointerValue) { + set MmSystemPtesEnd(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } // 0xc8: u64 - set MmSubsectionBase(value: Deno.PointerValue) { + set MmSubsectionBase(value: bigint | number) { this.view.setBigUint64(200, BigInt(value), true); } // 0xd0: u64 - set MmNumberOfPagingFiles(value: Deno.PointerValue) { + set MmNumberOfPagingFiles(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: u64 - set MmLowestPhysicalPage(value: Deno.PointerValue) { + set MmLowestPhysicalPage(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } // 0xe0: u64 - set MmHighestPhysicalPage(value: Deno.PointerValue) { + set MmHighestPhysicalPage(value: bigint | number) { this.view.setBigUint64(224, BigInt(value), true); } // 0xe8: u64 - set MmNumberOfPhysicalPages(value: Deno.PointerValue) { + set MmNumberOfPhysicalPages(value: bigint | number) { this.view.setBigUint64(232, BigInt(value), true); } // 0xf0: u64 - set MmMaximumNonPagedPoolInBytes(value: Deno.PointerValue) { + set MmMaximumNonPagedPoolInBytes(value: bigint | number) { this.view.setBigUint64(240, BigInt(value), true); } // 0xf8: u64 - set MmNonPagedSystemStart(value: Deno.PointerValue) { + set MmNonPagedSystemStart(value: bigint | number) { this.view.setBigUint64(248, BigInt(value), true); } // 0x100: u64 - set MmNonPagedPoolStart(value: Deno.PointerValue) { + set MmNonPagedPoolStart(value: bigint | number) { this.view.setBigUint64(256, BigInt(value), true); } // 0x108: u64 - set MmNonPagedPoolEnd(value: Deno.PointerValue) { + set MmNonPagedPoolEnd(value: bigint | number) { this.view.setBigUint64(264, BigInt(value), true); } // 0x110: u64 - set MmPagedPoolStart(value: Deno.PointerValue) { + set MmPagedPoolStart(value: bigint | number) { this.view.setBigUint64(272, BigInt(value), true); } // 0x118: u64 - set MmPagedPoolEnd(value: Deno.PointerValue) { + set MmPagedPoolEnd(value: bigint | number) { this.view.setBigUint64(280, BigInt(value), true); } // 0x120: u64 - set MmPagedPoolInformation(value: Deno.PointerValue) { + set MmPagedPoolInformation(value: bigint | number) { this.view.setBigUint64(288, BigInt(value), true); } // 0x128: u64 - set MmPageSize(value: Deno.PointerValue) { + set MmPageSize(value: bigint | number) { this.view.setBigUint64(296, BigInt(value), true); } // 0x130: u64 - set MmSizeOfPagedPoolInBytes(value: Deno.PointerValue) { + set MmSizeOfPagedPoolInBytes(value: bigint | number) { this.view.setBigUint64(304, BigInt(value), true); } // 0x138: u64 - set MmTotalCommitLimit(value: Deno.PointerValue) { + set MmTotalCommitLimit(value: bigint | number) { this.view.setBigUint64(312, BigInt(value), true); } // 0x140: u64 - set MmTotalCommittedPages(value: Deno.PointerValue) { + set MmTotalCommittedPages(value: bigint | number) { this.view.setBigUint64(320, BigInt(value), true); } // 0x148: u64 - set MmSharedCommit(value: Deno.PointerValue) { + set MmSharedCommit(value: bigint | number) { this.view.setBigUint64(328, BigInt(value), true); } // 0x150: u64 - set MmDriverCommit(value: Deno.PointerValue) { + set MmDriverCommit(value: bigint | number) { this.view.setBigUint64(336, BigInt(value), true); } // 0x158: u64 - set MmProcessCommit(value: Deno.PointerValue) { + set MmProcessCommit(value: bigint | number) { this.view.setBigUint64(344, BigInt(value), true); } // 0x160: u64 - set MmPagedPoolCommit(value: Deno.PointerValue) { + set MmPagedPoolCommit(value: bigint | number) { this.view.setBigUint64(352, BigInt(value), true); } // 0x168: u64 - set MmExtendedCommit(value: Deno.PointerValue) { + set MmExtendedCommit(value: bigint | number) { this.view.setBigUint64(360, BigInt(value), true); } // 0x170: u64 - set MmZeroedPageListHead(value: Deno.PointerValue) { + set MmZeroedPageListHead(value: bigint | number) { this.view.setBigUint64(368, BigInt(value), true); } // 0x178: u64 - set MmFreePageListHead(value: Deno.PointerValue) { + set MmFreePageListHead(value: bigint | number) { this.view.setBigUint64(376, BigInt(value), true); } // 0x180: u64 - set MmStandbyPageListHead(value: Deno.PointerValue) { + set MmStandbyPageListHead(value: bigint | number) { this.view.setBigUint64(384, BigInt(value), true); } // 0x188: u64 - set MmModifiedPageListHead(value: Deno.PointerValue) { + set MmModifiedPageListHead(value: bigint | number) { this.view.setBigUint64(392, BigInt(value), true); } // 0x190: u64 - set MmModifiedNoWritePageListHead(value: Deno.PointerValue) { + set MmModifiedNoWritePageListHead(value: bigint | number) { this.view.setBigUint64(400, BigInt(value), true); } // 0x198: u64 - set MmAvailablePages(value: Deno.PointerValue) { + set MmAvailablePages(value: bigint | number) { this.view.setBigUint64(408, BigInt(value), true); } // 0x1a0: u64 - set MmResidentAvailablePages(value: Deno.PointerValue) { + set MmResidentAvailablePages(value: bigint | number) { this.view.setBigUint64(416, BigInt(value), true); } // 0x1a8: u64 - set PoolTrackTable(value: Deno.PointerValue) { + set PoolTrackTable(value: bigint | number) { this.view.setBigUint64(424, BigInt(value), true); } // 0x1b0: u64 - set NonPagedPoolDescriptor(value: Deno.PointerValue) { + set NonPagedPoolDescriptor(value: bigint | number) { this.view.setBigUint64(432, BigInt(value), true); } // 0x1b8: u64 - set MmHighestUserAddress(value: Deno.PointerValue) { + set MmHighestUserAddress(value: bigint | number) { this.view.setBigUint64(440, BigInt(value), true); } // 0x1c0: u64 - set MmSystemRangeStart(value: Deno.PointerValue) { + set MmSystemRangeStart(value: bigint | number) { this.view.setBigUint64(448, BigInt(value), true); } // 0x1c8: u64 - set MmUserProbeAddress(value: Deno.PointerValue) { + set MmUserProbeAddress(value: bigint | number) { this.view.setBigUint64(456, BigInt(value), true); } // 0x1d0: u64 - set KdPrintCircularBuffer(value: Deno.PointerValue) { + set KdPrintCircularBuffer(value: bigint | number) { this.view.setBigUint64(464, BigInt(value), true); } // 0x1d8: u64 - set KdPrintCircularBufferEnd(value: Deno.PointerValue) { + set KdPrintCircularBufferEnd(value: bigint | number) { this.view.setBigUint64(472, BigInt(value), true); } // 0x1e0: u64 - set KdPrintWritePointer(value: Deno.PointerValue) { + set KdPrintWritePointer(value: bigint | number) { this.view.setBigUint64(480, BigInt(value), true); } // 0x1e8: u64 - set KdPrintRolloverCount(value: Deno.PointerValue) { + set KdPrintRolloverCount(value: bigint | number) { this.view.setBigUint64(488, BigInt(value), true); } // 0x1f0: u64 - set MmLoadedUserImageList(value: Deno.PointerValue) { + set MmLoadedUserImageList(value: bigint | number) { this.view.setBigUint64(496, BigInt(value), true); } // 0x1f8: u64 - set NtBuildLab(value: Deno.PointerValue) { + set NtBuildLab(value: bigint | number) { this.view.setBigUint64(504, BigInt(value), true); } // 0x200: u64 - set KiNormalSystemCall(value: Deno.PointerValue) { + set KiNormalSystemCall(value: bigint | number) { this.view.setBigUint64(512, BigInt(value), true); } // 0x208: u64 - set KiProcessorBlock(value: Deno.PointerValue) { + set KiProcessorBlock(value: bigint | number) { this.view.setBigUint64(520, BigInt(value), true); } // 0x210: u64 - set MmUnloadedDrivers(value: Deno.PointerValue) { + set MmUnloadedDrivers(value: bigint | number) { this.view.setBigUint64(528, BigInt(value), true); } // 0x218: u64 - set MmLastUnloadedDriver(value: Deno.PointerValue) { + set MmLastUnloadedDriver(value: bigint | number) { this.view.setBigUint64(536, BigInt(value), true); } // 0x220: u64 - set MmTriageActionTaken(value: Deno.PointerValue) { + set MmTriageActionTaken(value: bigint | number) { this.view.setBigUint64(544, BigInt(value), true); } // 0x228: u64 - set MmSpecialPoolTag(value: Deno.PointerValue) { + set MmSpecialPoolTag(value: bigint | number) { this.view.setBigUint64(552, BigInt(value), true); } // 0x230: u64 - set KernelVerifier(value: Deno.PointerValue) { + set KernelVerifier(value: bigint | number) { this.view.setBigUint64(560, BigInt(value), true); } // 0x238: u64 - set MmVerifierData(value: Deno.PointerValue) { + set MmVerifierData(value: bigint | number) { this.view.setBigUint64(568, BigInt(value), true); } // 0x240: u64 - set MmAllocatedNonPagedPool(value: Deno.PointerValue) { + set MmAllocatedNonPagedPool(value: bigint | number) { this.view.setBigUint64(576, BigInt(value), true); } // 0x248: u64 - set MmPeakCommitment(value: Deno.PointerValue) { + set MmPeakCommitment(value: bigint | number) { this.view.setBigUint64(584, BigInt(value), true); } // 0x250: u64 - set MmTotalCommitLimitMaximum(value: Deno.PointerValue) { + set MmTotalCommitLimitMaximum(value: bigint | number) { this.view.setBigUint64(592, BigInt(value), true); } // 0x258: u64 - set CmNtCSDVersion(value: Deno.PointerValue) { + set CmNtCSDVersion(value: bigint | number) { this.view.setBigUint64(600, BigInt(value), true); } // 0x260: u64 - set MmPhysicalMemoryBlock(value: Deno.PointerValue) { + set MmPhysicalMemoryBlock(value: bigint | number) { this.view.setBigUint64(608, BigInt(value), true); } // 0x268: u64 - set MmSessionBase(value: Deno.PointerValue) { + set MmSessionBase(value: bigint | number) { this.view.setBigUint64(616, BigInt(value), true); } // 0x270: u64 - set MmSessionSize(value: Deno.PointerValue) { + set MmSessionSize(value: bigint | number) { this.view.setBigUint64(624, BigInt(value), true); } // 0x278: u64 - set MmSystemParentTablePage(value: Deno.PointerValue) { + set MmSystemParentTablePage(value: bigint | number) { this.view.setBigUint64(632, BigInt(value), true); } // 0x280: u64 - set MmVirtualTranslationBase(value: Deno.PointerValue) { + set MmVirtualTranslationBase(value: bigint | number) { this.view.setBigUint64(640, BigInt(value), true); } @@ -18200,17 +18200,17 @@ export class KDDEBUGGER_DATA64View { } // 0x2b8: u64 - set KdPrintCircularBufferPtr(value: Deno.PointerValue) { + set KdPrintCircularBufferPtr(value: bigint | number) { this.view.setBigUint64(696, BigInt(value), true); } // 0x2c0: u64 - set KdPrintBufferSize(value: Deno.PointerValue) { + set KdPrintBufferSize(value: bigint | number) { this.view.setBigUint64(704, BigInt(value), true); } // 0x2c8: u64 - set KeLoaderBlock(value: Deno.PointerValue) { + set KeLoaderBlock(value: bigint | number) { this.view.setBigUint64(712, BigInt(value), true); } @@ -18315,32 +18315,32 @@ export class KDDEBUGGER_DATA64View { } // 0x2f8: u64 - set IopNumTriageDumpDataBlocks(value: Deno.PointerValue) { + set IopNumTriageDumpDataBlocks(value: bigint | number) { this.view.setBigUint64(760, BigInt(value), true); } // 0x300: u64 - set IopTriageDumpDataBlocks(value: Deno.PointerValue) { + set IopTriageDumpDataBlocks(value: bigint | number) { this.view.setBigUint64(768, BigInt(value), true); } // 0x308: u64 - set VfCrashDataBlock(value: Deno.PointerValue) { + set VfCrashDataBlock(value: bigint | number) { this.view.setBigUint64(776, BigInt(value), true); } // 0x310: u64 - set MmBadPagesDetected(value: Deno.PointerValue) { + set MmBadPagesDetected(value: bigint | number) { this.view.setBigUint64(784, BigInt(value), true); } // 0x318: u64 - set MmZeroedPageSingleBitErrorsDetected(value: Deno.PointerValue) { + set MmZeroedPageSingleBitErrorsDetected(value: bigint | number) { this.view.setBigUint64(792, BigInt(value), true); } // 0x320: u64 - set EtwpDebuggerData(value: Deno.PointerValue) { + set EtwpDebuggerData(value: bigint | number) { this.view.setBigUint64(800, BigInt(value), true); } @@ -18422,12 +18422,12 @@ export class KDDEBUGGER_DATA64View { // 0x34e: pad2 // 0x350: u64 - set PteBase(value: Deno.PointerValue) { + set PteBase(value: bigint | number) { this.view.setBigUint64(848, BigInt(value), true); } // 0x358: u64 - set RetpolineStubFunctionTable(value: Deno.PointerValue) { + set RetpolineStubFunctionTable(value: bigint | number) { this.view.setBigUint64(856, BigInt(value), true); } @@ -18525,7 +18525,7 @@ export interface FIELD_INFO { /** u32 */ fOptions: number; /** u64 */ - address: Deno.PointerValue; + address: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u32 */ @@ -18605,7 +18605,7 @@ export class FIELD_INFOView { } // 0x18: u64 - get address(): Deno.PointerValue { + get address(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -18666,7 +18666,7 @@ export class FIELD_INFOView { } // 0x18: u64 - set address(value: Deno.PointerValue) { + set address(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -18716,7 +18716,7 @@ export interface SYM_DUMP_PARAM { /** u32 */ Options: number; /** u64 */ - addr: Deno.PointerValue; + addr: bigint | number; /** ptr */ listLink: Deno.PointerValue | Uint8Array; /** _Anonymous_e__Union */ @@ -18728,7 +18728,7 @@ export interface SYM_DUMP_PARAM { /** ptr */ Fields: Deno.PointerValue | Uint8Array; /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** u32 */ TypeId: number; /** u32 */ @@ -18809,7 +18809,7 @@ export class SYM_DUMP_PARAMView { // 0x14: pad4 // 0x18: u64 - get addr(): Deno.PointerValue { + get addr(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -18845,7 +18845,7 @@ export class SYM_DUMP_PARAMView { } // 0x48: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -18889,7 +18889,7 @@ export class SYM_DUMP_PARAMView { // 0x14: pad4 // 0x18: u64 - set addr(value: Deno.PointerValue) { + set addr(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -18921,7 +18921,7 @@ export class SYM_DUMP_PARAMView { } // 0x48: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -19203,7 +19203,7 @@ export class XSAVE_FORMATView { */ export interface XSTATE_CONTEXT { /** u64 */ - Mask: Deno.PointerValue; + Mask: bigint | number; /** u32 */ Length: number; /** u32 */ @@ -19243,7 +19243,7 @@ export class XSTATE_CONTEXTView { } // 0x00: u64 - get Mask(): Deno.PointerValue { + get Mask(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19270,7 +19270,7 @@ export class XSTATE_CONTEXTView { } // 0x00: u64 - set Mask(value: Deno.PointerValue) { + set Mask(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19300,11 +19300,11 @@ export class XSTATE_CONTEXTView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -19356,7 +19356,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19367,7 +19367,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -19403,7 +19403,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19414,7 +19414,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -19451,7 +19451,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -19480,7 +19480,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19492,7 +19492,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19574,9 +19574,9 @@ export interface UNWIND_HISTORY_TABLE { /** u8 */ Once: number; /** usize */ - LowAddress: Deno.PointerValue; + LowAddress: bigint | number; /** usize */ - HighAddress: Deno.PointerValue; + HighAddress: bigint | number; /** array */ Entry: Deno.PointerValue; } @@ -19641,12 +19641,12 @@ export class UNWIND_HISTORY_TABLEView { } // 0x08: usize - get LowAddress(): Deno.PointerValue { + get LowAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get HighAddress(): Deno.PointerValue { + get HighAddress(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -19682,12 +19682,12 @@ export class UNWIND_HISTORY_TABLEView { } // 0x08: usize - set LowAddress(value: Deno.PointerValue) { + set LowAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set HighAddress(value: Deno.PointerValue) { + set HighAddress(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -20012,9 +20012,9 @@ export class LOADED_IMAGEView { */ export interface M128A { /** u64 */ - Low: Deno.PointerValue; + Low: bigint | number; /** i64 */ - High: Deno.PointerValue; + High: bigint | number; } export const sizeofM128A = 16; @@ -20040,22 +20040,22 @@ export class M128AView { } // 0x00: u64 - get Low(): Deno.PointerValue { + get Low(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get High(): Deno.PointerValue { + get High(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: u64 - set Low(value: Deno.PointerValue) { + set Low(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set High(value: Deno.PointerValue) { + set High(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -20065,9 +20065,9 @@ export class M128AView { */ export interface XSAVE_AREA_HEADER { /** u64 */ - Mask: Deno.PointerValue; + Mask: bigint | number; /** u64 */ - CompactionMask: Deno.PointerValue; + CompactionMask: bigint | number; /** array */ Reserved2: Deno.PointerValue; } @@ -20097,12 +20097,12 @@ export class XSAVE_AREA_HEADERView { } // 0x00: u64 - get Mask(): Deno.PointerValue { + get Mask(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get CompactionMask(): Deno.PointerValue { + get CompactionMask(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -20113,12 +20113,12 @@ export class XSAVE_AREA_HEADERView { } // 0x00: u64 - set Mask(value: Deno.PointerValue) { + set Mask(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set CompactionMask(value: Deno.PointerValue) { + set CompactionMask(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -20294,9 +20294,9 @@ export interface ARM64_NT_CONTEXT { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - Sp: Deno.PointerValue; + Sp: bigint | number; /** u64 */ - Pc: Deno.PointerValue; + Pc: bigint | number; /** array */ V: Deno.PointerValue; /** u32 */ @@ -20372,12 +20372,12 @@ export class ARM64_NT_CONTEXTView { } // 0x10: u64 - get Sp(): Deno.PointerValue { + get Sp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Pc(): Deno.PointerValue { + get Pc(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -20437,12 +20437,12 @@ export class ARM64_NT_CONTEXTView { } // 0x10: u64 - set Sp(value: Deno.PointerValue) { + set Sp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Pc(value: Deno.PointerValue) { + set Pc(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -21640,9 +21640,9 @@ export class XSTATE_FEATUREView { */ export interface XSTATE_CONFIGURATION { /** u64 */ - EnabledFeatures: Deno.PointerValue; + EnabledFeatures: bigint | number; /** u64 */ - EnabledVolatileFeatures: Deno.PointerValue; + EnabledVolatileFeatures: bigint | number; /** u32 */ Size: number; /** _Anonymous_e__Union */ @@ -21650,17 +21650,17 @@ export interface XSTATE_CONFIGURATION { /** array */ Features: Deno.PointerValue; /** u64 */ - EnabledSupervisorFeatures: Deno.PointerValue; + EnabledSupervisorFeatures: bigint | number; /** u64 */ - AlignedFeatures: Deno.PointerValue; + AlignedFeatures: bigint | number; /** u32 */ AllFeatureSize: number; /** array */ AllFeatures: Deno.PointerValue; /** u64 */ - EnabledUserVisibleSupervisorFeatures: Deno.PointerValue; + EnabledUserVisibleSupervisorFeatures: bigint | number; /** u64 */ - ExtendedFeatureDisableFeatures: Deno.PointerValue; + ExtendedFeatureDisableFeatures: bigint | number; /** u32 */ AllNonLargeFeatureSize: number; /** u32 */ @@ -21714,12 +21714,12 @@ export class XSTATE_CONFIGURATIONView { } // 0x00: u64 - get EnabledFeatures(): Deno.PointerValue { + get EnabledFeatures(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get EnabledVolatileFeatures(): Deno.PointerValue { + get EnabledVolatileFeatures(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -21743,12 +21743,12 @@ export class XSTATE_CONFIGURATIONView { } // 0x28: u64 - get EnabledSupervisorFeatures(): Deno.PointerValue { + get EnabledSupervisorFeatures(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get AlignedFeatures(): Deno.PointerValue { + get AlignedFeatures(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -21766,12 +21766,12 @@ export class XSTATE_CONFIGURATIONView { } // 0x48: u64 - get EnabledUserVisibleSupervisorFeatures(): Deno.PointerValue { + get EnabledUserVisibleSupervisorFeatures(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ExtendedFeatureDisableFeatures(): Deno.PointerValue { + get ExtendedFeatureDisableFeatures(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -21786,12 +21786,12 @@ export class XSTATE_CONFIGURATIONView { } // 0x00: u64 - set EnabledFeatures(value: Deno.PointerValue) { + set EnabledFeatures(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set EnabledVolatileFeatures(value: Deno.PointerValue) { + set EnabledVolatileFeatures(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -21813,12 +21813,12 @@ export class XSTATE_CONFIGURATIONView { } // 0x28: u64 - set EnabledSupervisorFeatures(value: Deno.PointerValue) { + set EnabledSupervisorFeatures(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set AlignedFeatures(value: Deno.PointerValue) { + set AlignedFeatures(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -21835,12 +21835,12 @@ export class XSTATE_CONFIGURATIONView { } // 0x48: u64 - set EnabledUserVisibleSupervisorFeatures(value: Deno.PointerValue) { + set EnabledUserVisibleSupervisorFeatures(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ExtendedFeatureDisableFeatures(value: Deno.PointerValue) { + set ExtendedFeatureDisableFeatures(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -22735,7 +22735,7 @@ export interface IMAGE_OPTIONAL_HEADER64 { /** u32 */ BaseOfCode: number; /** u64 */ - ImageBase: Deno.PointerValue; + ImageBase: bigint | number; /** u32 */ SectionAlignment: number; /** u32 */ @@ -22765,13 +22765,13 @@ export interface IMAGE_OPTIONAL_HEADER64 { /** Windows.Win32.System.Diagnostics.Debug.IMAGE_DLL_CHARACTERISTICS */ DllCharacteristics: IMAGE_DLL_CHARACTERISTICS; /** u64 */ - SizeOfStackReserve: Deno.PointerValue; + SizeOfStackReserve: bigint | number; /** u64 */ - SizeOfStackCommit: Deno.PointerValue; + SizeOfStackCommit: bigint | number; /** u64 */ - SizeOfHeapReserve: Deno.PointerValue; + SizeOfHeapReserve: bigint | number; /** u64 */ - SizeOfHeapCommit: Deno.PointerValue; + SizeOfHeapCommit: bigint | number; /** u32 */ LoaderFlags: number; /** u32 */ @@ -22899,7 +22899,7 @@ export class IMAGE_OPTIONAL_HEADER64View { } // 0x18: u64 - get ImageBase(): Deno.PointerValue { + get ImageBase(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -22974,22 +22974,22 @@ export class IMAGE_OPTIONAL_HEADER64View { } // 0x48: u64 - get SizeOfStackReserve(): Deno.PointerValue { + get SizeOfStackReserve(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get SizeOfStackCommit(): Deno.PointerValue { + get SizeOfStackCommit(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get SizeOfHeapReserve(): Deno.PointerValue { + get SizeOfHeapReserve(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get SizeOfHeapCommit(): Deno.PointerValue { + get SizeOfHeapCommit(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -23050,7 +23050,7 @@ export class IMAGE_OPTIONAL_HEADER64View { } // 0x18: u64 - set ImageBase(value: Deno.PointerValue) { + set ImageBase(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -23125,22 +23125,22 @@ export class IMAGE_OPTIONAL_HEADER64View { } // 0x48: u64 - set SizeOfStackReserve(value: Deno.PointerValue) { + set SizeOfStackReserve(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set SizeOfStackCommit(value: Deno.PointerValue) { + set SizeOfStackCommit(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set SizeOfHeapReserve(value: Deno.PointerValue) { + set SizeOfHeapReserve(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set SizeOfHeapCommit(value: Deno.PointerValue) { + set SizeOfHeapCommit(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } @@ -24465,17 +24465,17 @@ export interface IMAGE_LOAD_CONFIG_DIRECTORY64 { /** u32 */ CriticalSectionDefaultTimeout: number; /** u64 */ - DeCommitFreeBlockThreshold: Deno.PointerValue; + DeCommitFreeBlockThreshold: bigint | number; /** u64 */ - DeCommitTotalFreeThreshold: Deno.PointerValue; + DeCommitTotalFreeThreshold: bigint | number; /** u64 */ - LockPrefixTable: Deno.PointerValue; + LockPrefixTable: bigint | number; /** u64 */ - MaximumAllocationSize: Deno.PointerValue; + MaximumAllocationSize: bigint | number; /** u64 */ - VirtualMemoryThreshold: Deno.PointerValue; + VirtualMemoryThreshold: bigint | number; /** u64 */ - ProcessAffinityMask: Deno.PointerValue; + ProcessAffinityMask: bigint | number; /** u32 */ ProcessHeapFlags: number; /** u16 */ @@ -24483,41 +24483,41 @@ export interface IMAGE_LOAD_CONFIG_DIRECTORY64 { /** u16 */ DependentLoadFlags: number; /** u64 */ - EditList: Deno.PointerValue; + EditList: bigint | number; /** u64 */ - SecurityCookie: Deno.PointerValue; + SecurityCookie: bigint | number; /** u64 */ - SEHandlerTable: Deno.PointerValue; + SEHandlerTable: bigint | number; /** u64 */ - SEHandlerCount: Deno.PointerValue; + SEHandlerCount: bigint | number; /** u64 */ - GuardCFCheckFunctionPointer: Deno.PointerValue; + GuardCFCheckFunctionPointer: bigint | number; /** u64 */ - GuardCFDispatchFunctionPointer: Deno.PointerValue; + GuardCFDispatchFunctionPointer: bigint | number; /** u64 */ - GuardCFFunctionTable: Deno.PointerValue; + GuardCFFunctionTable: bigint | number; /** u64 */ - GuardCFFunctionCount: Deno.PointerValue; + GuardCFFunctionCount: bigint | number; /** u32 */ GuardFlags: number; /** Windows.Win32.System.Diagnostics.Debug.IMAGE_LOAD_CONFIG_CODE_INTEGRITY */ CodeIntegrity: Uint8Array | Deno.PointerValue; /** u64 */ - GuardAddressTakenIatEntryTable: Deno.PointerValue; + GuardAddressTakenIatEntryTable: bigint | number; /** u64 */ - GuardAddressTakenIatEntryCount: Deno.PointerValue; + GuardAddressTakenIatEntryCount: bigint | number; /** u64 */ - GuardLongJumpTargetTable: Deno.PointerValue; + GuardLongJumpTargetTable: bigint | number; /** u64 */ - GuardLongJumpTargetCount: Deno.PointerValue; + GuardLongJumpTargetCount: bigint | number; /** u64 */ - DynamicValueRelocTable: Deno.PointerValue; + DynamicValueRelocTable: bigint | number; /** u64 */ - CHPEMetadataPointer: Deno.PointerValue; + CHPEMetadataPointer: bigint | number; /** u64 */ - GuardRFFailureRoutine: Deno.PointerValue; + GuardRFFailureRoutine: bigint | number; /** u64 */ - GuardRFFailureRoutineFunctionPointer: Deno.PointerValue; + GuardRFFailureRoutineFunctionPointer: bigint | number; /** u32 */ DynamicValueRelocTableOffset: number; /** u16 */ @@ -24525,27 +24525,27 @@ export interface IMAGE_LOAD_CONFIG_DIRECTORY64 { /** u16 */ Reserved2: number; /** u64 */ - GuardRFVerifyStackPointerFunctionPointer: Deno.PointerValue; + GuardRFVerifyStackPointerFunctionPointer: bigint | number; /** u32 */ HotPatchTableOffset: number; /** u32 */ Reserved3: number; /** u64 */ - EnclaveConfigurationPointer: Deno.PointerValue; + EnclaveConfigurationPointer: bigint | number; /** u64 */ - VolatileMetadataPointer: Deno.PointerValue; + VolatileMetadataPointer: bigint | number; /** u64 */ - GuardEHContinuationTable: Deno.PointerValue; + GuardEHContinuationTable: bigint | number; /** u64 */ - GuardEHContinuationCount: Deno.PointerValue; + GuardEHContinuationCount: bigint | number; /** u64 */ - GuardXFGCheckFunctionPointer: Deno.PointerValue; + GuardXFGCheckFunctionPointer: bigint | number; /** u64 */ - GuardXFGDispatchFunctionPointer: Deno.PointerValue; + GuardXFGDispatchFunctionPointer: bigint | number; /** u64 */ - GuardXFGTableDispatchFunctionPointer: Deno.PointerValue; + GuardXFGTableDispatchFunctionPointer: bigint | number; /** u64 */ - CastGuardOsDeterminedFailureMode: Deno.PointerValue; + CastGuardOsDeterminedFailureMode: bigint | number; } export const sizeofIMAGE_LOAD_CONFIG_DIRECTORY64 = 312; @@ -24699,32 +24699,32 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0x18: u64 - get DeCommitFreeBlockThreshold(): Deno.PointerValue { + get DeCommitFreeBlockThreshold(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get DeCommitTotalFreeThreshold(): Deno.PointerValue { + get DeCommitTotalFreeThreshold(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get LockPrefixTable(): Deno.PointerValue { + get LockPrefixTable(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get MaximumAllocationSize(): Deno.PointerValue { + get MaximumAllocationSize(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get VirtualMemoryThreshold(): Deno.PointerValue { + get VirtualMemoryThreshold(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ProcessAffinityMask(): Deno.PointerValue { + get ProcessAffinityMask(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -24744,42 +24744,42 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0x50: u64 - get EditList(): Deno.PointerValue { + get EditList(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get SecurityCookie(): Deno.PointerValue { + get SecurityCookie(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get SEHandlerTable(): Deno.PointerValue { + get SEHandlerTable(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get SEHandlerCount(): Deno.PointerValue { + get SEHandlerCount(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get GuardCFCheckFunctionPointer(): Deno.PointerValue { + get GuardCFCheckFunctionPointer(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get GuardCFDispatchFunctionPointer(): Deno.PointerValue { + get GuardCFDispatchFunctionPointer(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get GuardCFFunctionTable(): Deno.PointerValue { + get GuardCFFunctionTable(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get GuardCFFunctionCount(): Deno.PointerValue { + get GuardCFFunctionCount(): bigint | number { return Number(this.view.getBigUint64(136, true)); } @@ -24797,42 +24797,42 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0xa0: u64 - get GuardAddressTakenIatEntryTable(): Deno.PointerValue { + get GuardAddressTakenIatEntryTable(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: u64 - get GuardAddressTakenIatEntryCount(): Deno.PointerValue { + get GuardAddressTakenIatEntryCount(): bigint | number { return Number(this.view.getBigUint64(168, true)); } // 0xb0: u64 - get GuardLongJumpTargetTable(): Deno.PointerValue { + get GuardLongJumpTargetTable(): bigint | number { return Number(this.view.getBigUint64(176, true)); } // 0xb8: u64 - get GuardLongJumpTargetCount(): Deno.PointerValue { + get GuardLongJumpTargetCount(): bigint | number { return Number(this.view.getBigUint64(184, true)); } // 0xc0: u64 - get DynamicValueRelocTable(): Deno.PointerValue { + get DynamicValueRelocTable(): bigint | number { return Number(this.view.getBigUint64(192, true)); } // 0xc8: u64 - get CHPEMetadataPointer(): Deno.PointerValue { + get CHPEMetadataPointer(): bigint | number { return Number(this.view.getBigUint64(200, true)); } // 0xd0: u64 - get GuardRFFailureRoutine(): Deno.PointerValue { + get GuardRFFailureRoutine(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: u64 - get GuardRFFailureRoutineFunctionPointer(): Deno.PointerValue { + get GuardRFFailureRoutineFunctionPointer(): bigint | number { return Number(this.view.getBigUint64(216, true)); } @@ -24852,7 +24852,7 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0xe8: u64 - get GuardRFVerifyStackPointerFunctionPointer(): Deno.PointerValue { + get GuardRFVerifyStackPointerFunctionPointer(): bigint | number { return Number(this.view.getBigUint64(232, true)); } @@ -24867,42 +24867,42 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0xf8: u64 - get EnclaveConfigurationPointer(): Deno.PointerValue { + get EnclaveConfigurationPointer(): bigint | number { return Number(this.view.getBigUint64(248, true)); } // 0x100: u64 - get VolatileMetadataPointer(): Deno.PointerValue { + get VolatileMetadataPointer(): bigint | number { return Number(this.view.getBigUint64(256, true)); } // 0x108: u64 - get GuardEHContinuationTable(): Deno.PointerValue { + get GuardEHContinuationTable(): bigint | number { return Number(this.view.getBigUint64(264, true)); } // 0x110: u64 - get GuardEHContinuationCount(): Deno.PointerValue { + get GuardEHContinuationCount(): bigint | number { return Number(this.view.getBigUint64(272, true)); } // 0x118: u64 - get GuardXFGCheckFunctionPointer(): Deno.PointerValue { + get GuardXFGCheckFunctionPointer(): bigint | number { return Number(this.view.getBigUint64(280, true)); } // 0x120: u64 - get GuardXFGDispatchFunctionPointer(): Deno.PointerValue { + get GuardXFGDispatchFunctionPointer(): bigint | number { return Number(this.view.getBigUint64(288, true)); } // 0x128: u64 - get GuardXFGTableDispatchFunctionPointer(): Deno.PointerValue { + get GuardXFGTableDispatchFunctionPointer(): bigint | number { return Number(this.view.getBigUint64(296, true)); } // 0x130: u64 - get CastGuardOsDeterminedFailureMode(): Deno.PointerValue { + get CastGuardOsDeterminedFailureMode(): bigint | number { return Number(this.view.getBigUint64(304, true)); } @@ -24942,32 +24942,32 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0x18: u64 - set DeCommitFreeBlockThreshold(value: Deno.PointerValue) { + set DeCommitFreeBlockThreshold(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set DeCommitTotalFreeThreshold(value: Deno.PointerValue) { + set DeCommitTotalFreeThreshold(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set LockPrefixTable(value: Deno.PointerValue) { + set LockPrefixTable(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set MaximumAllocationSize(value: Deno.PointerValue) { + set MaximumAllocationSize(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set VirtualMemoryThreshold(value: Deno.PointerValue) { + set VirtualMemoryThreshold(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ProcessAffinityMask(value: Deno.PointerValue) { + set ProcessAffinityMask(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -24987,42 +24987,42 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0x50: u64 - set EditList(value: Deno.PointerValue) { + set EditList(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set SecurityCookie(value: Deno.PointerValue) { + set SecurityCookie(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set SEHandlerTable(value: Deno.PointerValue) { + set SEHandlerTable(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set SEHandlerCount(value: Deno.PointerValue) { + set SEHandlerCount(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set GuardCFCheckFunctionPointer(value: Deno.PointerValue) { + set GuardCFCheckFunctionPointer(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set GuardCFDispatchFunctionPointer(value: Deno.PointerValue) { + set GuardCFDispatchFunctionPointer(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set GuardCFFunctionTable(value: Deno.PointerValue) { + set GuardCFFunctionTable(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set GuardCFFunctionCount(value: Deno.PointerValue) { + set GuardCFFunctionCount(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } @@ -25039,42 +25039,42 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0xa0: u64 - set GuardAddressTakenIatEntryTable(value: Deno.PointerValue) { + set GuardAddressTakenIatEntryTable(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: u64 - set GuardAddressTakenIatEntryCount(value: Deno.PointerValue) { + set GuardAddressTakenIatEntryCount(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } // 0xb0: u64 - set GuardLongJumpTargetTable(value: Deno.PointerValue) { + set GuardLongJumpTargetTable(value: bigint | number) { this.view.setBigUint64(176, BigInt(value), true); } // 0xb8: u64 - set GuardLongJumpTargetCount(value: Deno.PointerValue) { + set GuardLongJumpTargetCount(value: bigint | number) { this.view.setBigUint64(184, BigInt(value), true); } // 0xc0: u64 - set DynamicValueRelocTable(value: Deno.PointerValue) { + set DynamicValueRelocTable(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } // 0xc8: u64 - set CHPEMetadataPointer(value: Deno.PointerValue) { + set CHPEMetadataPointer(value: bigint | number) { this.view.setBigUint64(200, BigInt(value), true); } // 0xd0: u64 - set GuardRFFailureRoutine(value: Deno.PointerValue) { + set GuardRFFailureRoutine(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: u64 - set GuardRFFailureRoutineFunctionPointer(value: Deno.PointerValue) { + set GuardRFFailureRoutineFunctionPointer(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } @@ -25094,7 +25094,7 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0xe8: u64 - set GuardRFVerifyStackPointerFunctionPointer(value: Deno.PointerValue) { + set GuardRFVerifyStackPointerFunctionPointer(value: bigint | number) { this.view.setBigUint64(232, BigInt(value), true); } @@ -25109,42 +25109,42 @@ export class IMAGE_LOAD_CONFIG_DIRECTORY64View { } // 0xf8: u64 - set EnclaveConfigurationPointer(value: Deno.PointerValue) { + set EnclaveConfigurationPointer(value: bigint | number) { this.view.setBigUint64(248, BigInt(value), true); } // 0x100: u64 - set VolatileMetadataPointer(value: Deno.PointerValue) { + set VolatileMetadataPointer(value: bigint | number) { this.view.setBigUint64(256, BigInt(value), true); } // 0x108: u64 - set GuardEHContinuationTable(value: Deno.PointerValue) { + set GuardEHContinuationTable(value: bigint | number) { this.view.setBigUint64(264, BigInt(value), true); } // 0x110: u64 - set GuardEHContinuationCount(value: Deno.PointerValue) { + set GuardEHContinuationCount(value: bigint | number) { this.view.setBigUint64(272, BigInt(value), true); } // 0x118: u64 - set GuardXFGCheckFunctionPointer(value: Deno.PointerValue) { + set GuardXFGCheckFunctionPointer(value: bigint | number) { this.view.setBigUint64(280, BigInt(value), true); } // 0x120: u64 - set GuardXFGDispatchFunctionPointer(value: Deno.PointerValue) { + set GuardXFGDispatchFunctionPointer(value: bigint | number) { this.view.setBigUint64(288, BigInt(value), true); } // 0x128: u64 - set GuardXFGTableDispatchFunctionPointer(value: Deno.PointerValue) { + set GuardXFGTableDispatchFunctionPointer(value: bigint | number) { this.view.setBigUint64(296, BigInt(value), true); } // 0x130: u64 - set CastGuardOsDeterminedFailureMode(value: Deno.PointerValue) { + set CastGuardOsDeterminedFailureMode(value: bigint | number) { this.view.setBigUint64(304, BigInt(value), true); } } @@ -25727,9 +25727,9 @@ export class IMAGE_FUNCTION_ENTRYView { */ export interface IMAGE_FUNCTION_ENTRY64 { /** u64 */ - StartingAddress: Deno.PointerValue; + StartingAddress: bigint | number; /** u64 */ - EndingAddress: Deno.PointerValue; + EndingAddress: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -25759,12 +25759,12 @@ export class IMAGE_FUNCTION_ENTRY64View { } // 0x00: u64 - get StartingAddress(): Deno.PointerValue { + get StartingAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get EndingAddress(): Deno.PointerValue { + get EndingAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -25775,12 +25775,12 @@ export class IMAGE_FUNCTION_ENTRY64View { } // 0x00: u64 - set StartingAddress(value: Deno.PointerValue) { + set StartingAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set EndingAddress(value: Deno.PointerValue) { + set EndingAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -26122,9 +26122,9 @@ export class MINIDUMP_LOCATION_DESCRIPTORView { */ export interface MINIDUMP_LOCATION_DESCRIPTOR64 { /** u64 */ - DataSize: Deno.PointerValue; + DataSize: bigint | number; /** u64 */ - Rva: Deno.PointerValue; + Rva: bigint | number; } export const sizeofMINIDUMP_LOCATION_DESCRIPTOR64 = 16; @@ -26150,22 +26150,22 @@ export class MINIDUMP_LOCATION_DESCRIPTOR64View { } // 0x00: u64 - get DataSize(): Deno.PointerValue { + get DataSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Rva(): Deno.PointerValue { + get Rva(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set DataSize(value: Deno.PointerValue) { + set DataSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Rva(value: Deno.PointerValue) { + set Rva(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -26175,7 +26175,7 @@ export class MINIDUMP_LOCATION_DESCRIPTOR64View { */ export interface MINIDUMP_MEMORY_DESCRIPTOR { /** u64 */ - StartOfMemoryRange: Deno.PointerValue; + StartOfMemoryRange: bigint | number; /** Windows.Win32.System.Diagnostics.Debug.MINIDUMP_LOCATION_DESCRIPTOR */ Memory: Uint8Array | Deno.PointerValue; } @@ -26203,7 +26203,7 @@ export class MINIDUMP_MEMORY_DESCRIPTORView { } // 0x00: u64 - get StartOfMemoryRange(): Deno.PointerValue { + get StartOfMemoryRange(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -26214,7 +26214,7 @@ export class MINIDUMP_MEMORY_DESCRIPTORView { } // 0x00: u64 - set StartOfMemoryRange(value: Deno.PointerValue) { + set StartOfMemoryRange(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -26229,9 +26229,9 @@ export class MINIDUMP_MEMORY_DESCRIPTORView { */ export interface MINIDUMP_MEMORY_DESCRIPTOR64 { /** u64 */ - StartOfMemoryRange: Deno.PointerValue; + StartOfMemoryRange: bigint | number; /** u64 */ - DataSize: Deno.PointerValue; + DataSize: bigint | number; } export const sizeofMINIDUMP_MEMORY_DESCRIPTOR64 = 16; @@ -26257,22 +26257,22 @@ export class MINIDUMP_MEMORY_DESCRIPTOR64View { } // 0x00: u64 - get StartOfMemoryRange(): Deno.PointerValue { + get StartOfMemoryRange(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get DataSize(): Deno.PointerValue { + get DataSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartOfMemoryRange(value: Deno.PointerValue) { + set StartOfMemoryRange(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set DataSize(value: Deno.PointerValue) { + set DataSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -26294,7 +26294,7 @@ export interface MINIDUMP_HEADER { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofMINIDUMP_HEADER = 40; @@ -26364,7 +26364,7 @@ export class MINIDUMP_HEADERView { } // 0x20: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -26401,7 +26401,7 @@ export class MINIDUMP_HEADERView { } // 0x20: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -26911,7 +26911,7 @@ export interface MINIDUMP_THREAD { /** u32 */ Priority: number; /** u64 */ - Teb: Deno.PointerValue; + Teb: bigint | number; /** Windows.Win32.System.Diagnostics.Debug.MINIDUMP_MEMORY_DESCRIPTOR */ Stack: Uint8Array | Deno.PointerValue; /** Windows.Win32.System.Diagnostics.Debug.MINIDUMP_LOCATION_DESCRIPTOR */ @@ -26971,7 +26971,7 @@ export class MINIDUMP_THREADView { } // 0x10: u64 - get Teb(): Deno.PointerValue { + get Teb(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -27008,7 +27008,7 @@ export class MINIDUMP_THREADView { } // 0x10: u64 - set Teb(value: Deno.PointerValue) { + set Teb(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -27095,7 +27095,7 @@ export interface MINIDUMP_THREAD_EX { /** u32 */ Priority: number; /** u64 */ - Teb: Deno.PointerValue; + Teb: bigint | number; /** Windows.Win32.System.Diagnostics.Debug.MINIDUMP_MEMORY_DESCRIPTOR */ Stack: Uint8Array | Deno.PointerValue; /** Windows.Win32.System.Diagnostics.Debug.MINIDUMP_LOCATION_DESCRIPTOR */ @@ -27159,7 +27159,7 @@ export class MINIDUMP_THREAD_EXView { } // 0x10: u64 - get Teb(): Deno.PointerValue { + get Teb(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -27202,7 +27202,7 @@ export class MINIDUMP_THREAD_EXView { } // 0x10: u64 - set Teb(value: Deno.PointerValue) { + set Teb(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -27290,9 +27290,9 @@ export interface MINIDUMP_EXCEPTION { /** u32 */ ExceptionFlags: number; /** u64 */ - ExceptionRecord: Deno.PointerValue; + ExceptionRecord: bigint | number; /** u64 */ - ExceptionAddress: Deno.PointerValue; + ExceptionAddress: bigint | number; /** u32 */ NumberParameters: number; /** u32 */ @@ -27344,12 +27344,12 @@ export class MINIDUMP_EXCEPTIONView { } // 0x08: u64 - get ExceptionRecord(): Deno.PointerValue { + get ExceptionRecord(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ExceptionAddress(): Deno.PointerValue { + get ExceptionAddress(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -27380,12 +27380,12 @@ export class MINIDUMP_EXCEPTIONView { } // 0x08: u64 - set ExceptionRecord(value: Deno.PointerValue) { + set ExceptionRecord(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ExceptionAddress(value: Deno.PointerValue) { + set ExceptionAddress(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -27705,7 +27705,7 @@ export class VS_FIXEDFILEINFOView { */ export interface MINIDUMP_MODULE { /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; /** u32 */ SizeOfImage: number; /** u32 */ @@ -27721,9 +27721,9 @@ export interface MINIDUMP_MODULE { /** Windows.Win32.System.Diagnostics.Debug.MINIDUMP_LOCATION_DESCRIPTOR */ MiscRecord: Uint8Array | Deno.PointerValue; /** u64 */ - Reserved0: Deno.PointerValue; + Reserved0: bigint | number; /** u64 */ - Reserved1: Deno.PointerValue; + Reserved1: bigint | number; } export const sizeofMINIDUMP_MODULE = 64; @@ -27765,7 +27765,7 @@ export class MINIDUMP_MODULEView { } // 0x00: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -27808,17 +27808,17 @@ export class MINIDUMP_MODULEView { } // 0x30: u64 - get Reserved0(): Deno.PointerValue { + get Reserved0(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Reserved1(): Deno.PointerValue { + get Reserved1(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x00: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -27858,12 +27858,12 @@ export class MINIDUMP_MODULEView { } // 0x30: u64 - set Reserved0(value: Deno.PointerValue) { + set Reserved0(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Reserved1(value: Deno.PointerValue) { + set Reserved1(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -27991,9 +27991,9 @@ export class MINIDUMP_MEMORY_LISTView { */ export interface MINIDUMP_MEMORY64_LIST { /** u64 */ - NumberOfMemoryRanges: Deno.PointerValue; + NumberOfMemoryRanges: bigint | number; /** u64 */ - BaseRva: Deno.PointerValue; + BaseRva: bigint | number; /** array */ MemoryRanges: Deno.PointerValue; } @@ -28023,12 +28023,12 @@ export class MINIDUMP_MEMORY64_LISTView { } // 0x00: u64 - get NumberOfMemoryRanges(): Deno.PointerValue { + get NumberOfMemoryRanges(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get BaseRva(): Deno.PointerValue { + get BaseRva(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -28039,12 +28039,12 @@ export class MINIDUMP_MEMORY64_LISTView { } // 0x00: u64 - set NumberOfMemoryRanges(value: Deno.PointerValue) { + set NumberOfMemoryRanges(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set BaseRva(value: Deno.PointerValue) { + set BaseRva(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -28139,9 +28139,9 @@ export interface MINIDUMP_EXCEPTION_INFORMATION64 { /** u32 */ ThreadId: number; /** u64 */ - ExceptionRecord: Deno.PointerValue; + ExceptionRecord: bigint | number; /** u64 */ - ContextRecord: Deno.PointerValue; + ContextRecord: bigint | number; /** Windows.Win32.Foundation.BOOL */ ClientPointers: boolean; } @@ -28182,12 +28182,12 @@ export class MINIDUMP_EXCEPTION_INFORMATION64View { // 0x04: pad4 // 0x08: u64 - get ExceptionRecord(): Deno.PointerValue { + get ExceptionRecord(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ContextRecord(): Deno.PointerValue { + get ContextRecord(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -28206,12 +28206,12 @@ export class MINIDUMP_EXCEPTION_INFORMATION64View { // 0x04: pad4 // 0x08: u64 - set ExceptionRecord(value: Deno.PointerValue) { + set ExceptionRecord(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ContextRecord(value: Deno.PointerValue) { + set ContextRecord(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -28300,7 +28300,7 @@ export class MINIDUMP_HANDLE_OBJECT_INFORMATIONView { */ export interface MINIDUMP_HANDLE_DESCRIPTOR { /** u64 */ - Handle: Deno.PointerValue; + Handle: bigint | number; /** u32 */ TypeNameRva: number; /** u32 */ @@ -28348,7 +28348,7 @@ export class MINIDUMP_HANDLE_DESCRIPTORView { } // 0x00: u64 - get Handle(): Deno.PointerValue { + get Handle(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -28383,7 +28383,7 @@ export class MINIDUMP_HANDLE_DESCRIPTORView { } // 0x00: u64 - set Handle(value: Deno.PointerValue) { + set Handle(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -28423,7 +28423,7 @@ export class MINIDUMP_HANDLE_DESCRIPTORView { */ export interface MINIDUMP_HANDLE_DESCRIPTOR_2 { /** u64 */ - Handle: Deno.PointerValue; + Handle: bigint | number; /** u32 */ TypeNameRva: number; /** u32 */ @@ -28479,7 +28479,7 @@ export class MINIDUMP_HANDLE_DESCRIPTOR_2View { } // 0x00: u64 - get Handle(): Deno.PointerValue { + get Handle(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -28524,7 +28524,7 @@ export class MINIDUMP_HANDLE_DESCRIPTOR_2View { } // 0x00: u64 - set Handle(value: Deno.PointerValue) { + set Handle(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -28736,11 +28736,11 @@ export class MINIDUMP_HANDLE_OPERATION_LISTView { */ export interface MINIDUMP_FUNCTION_TABLE_DESCRIPTOR { /** u64 */ - MinimumAddress: Deno.PointerValue; + MinimumAddress: bigint | number; /** u64 */ - MaximumAddress: Deno.PointerValue; + MaximumAddress: bigint | number; /** u64 */ - BaseAddress: Deno.PointerValue; + BaseAddress: bigint | number; /** u32 */ EntryCount: number; /** u32 */ @@ -28776,17 +28776,17 @@ export class MINIDUMP_FUNCTION_TABLE_DESCRIPTORView { } // 0x00: u64 - get MinimumAddress(): Deno.PointerValue { + get MinimumAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get MaximumAddress(): Deno.PointerValue { + get MaximumAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BaseAddress(): Deno.PointerValue { + get BaseAddress(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -28801,17 +28801,17 @@ export class MINIDUMP_FUNCTION_TABLE_DESCRIPTORView { } // 0x00: u64 - set MinimumAddress(value: Deno.PointerValue) { + set MinimumAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set MaximumAddress(value: Deno.PointerValue) { + set MaximumAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BaseAddress(value: Deno.PointerValue) { + set BaseAddress(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -28940,7 +28940,7 @@ export class MINIDUMP_FUNCTION_TABLE_STREAMView { */ export interface MINIDUMP_UNLOADED_MODULE { /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; /** u32 */ SizeOfImage: number; /** u32 */ @@ -28980,7 +28980,7 @@ export class MINIDUMP_UNLOADED_MODULEView { } // 0x00: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -29005,7 +29005,7 @@ export class MINIDUMP_UNLOADED_MODULEView { } // 0x00: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -29111,7 +29111,7 @@ export interface XSTATE_CONFIG_FEATURE_MSC_INFO { /** u32 */ ContextSize: number; /** u64 */ - EnabledFeatures: Deno.PointerValue; + EnabledFeatures: bigint | number; /** array */ Features: Deno.PointerValue; } @@ -29153,7 +29153,7 @@ export class XSTATE_CONFIG_FEATURE_MSC_INFOView { } // 0x08: u64 - get EnabledFeatures(): Deno.PointerValue { + get EnabledFeatures(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -29174,7 +29174,7 @@ export class XSTATE_CONFIG_FEATURE_MSC_INFOView { } // 0x08: u64 - set EnabledFeatures(value: Deno.PointerValue) { + set EnabledFeatures(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -30620,15 +30620,15 @@ export class MINIDUMP_MISC_INFO_5View { */ export interface MINIDUMP_MEMORY_INFO { /** u64 */ - BaseAddress: Deno.PointerValue; + BaseAddress: bigint | number; /** u64 */ - AllocationBase: Deno.PointerValue; + AllocationBase: bigint | number; /** u32 */ AllocationProtect: number; /** u32 */ __alignment1: number; /** u64 */ - RegionSize: Deno.PointerValue; + RegionSize: bigint | number; /** Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */ State: VIRTUAL_ALLOCATION_TYPE; /** u32 */ @@ -30676,12 +30676,12 @@ export class MINIDUMP_MEMORY_INFOView { } // 0x00: u64 - get BaseAddress(): Deno.PointerValue { + get BaseAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get AllocationBase(): Deno.PointerValue { + get AllocationBase(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -30696,7 +30696,7 @@ export class MINIDUMP_MEMORY_INFOView { } // 0x18: u64 - get RegionSize(): Deno.PointerValue { + get RegionSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -30721,12 +30721,12 @@ export class MINIDUMP_MEMORY_INFOView { } // 0x00: u64 - set BaseAddress(value: Deno.PointerValue) { + set BaseAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set AllocationBase(value: Deno.PointerValue) { + set AllocationBase(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -30741,7 +30741,7 @@ export class MINIDUMP_MEMORY_INFOView { } // 0x18: u64 - set RegionSize(value: Deno.PointerValue) { + set RegionSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -30775,7 +30775,7 @@ export interface MINIDUMP_MEMORY_INFO_LIST { /** u32 */ SizeOfEntry: number; /** u64 */ - NumberOfEntries: Deno.PointerValue; + NumberOfEntries: bigint | number; } export const sizeofMINIDUMP_MEMORY_INFO_LIST = 16; @@ -30813,7 +30813,7 @@ export class MINIDUMP_MEMORY_INFO_LISTView { } // 0x08: u64 - get NumberOfEntries(): Deno.PointerValue { + get NumberOfEntries(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -30828,7 +30828,7 @@ export class MINIDUMP_MEMORY_INFO_LISTView { } // 0x08: u64 - set NumberOfEntries(value: Deno.PointerValue) { + set NumberOfEntries(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -30840,7 +30840,7 @@ export interface MINIDUMP_THREAD_NAME { /** u32 */ ThreadId: number; /** u64 */ - RvaOfThreadName: Deno.PointerValue; + RvaOfThreadName: bigint | number; } export const sizeofMINIDUMP_THREAD_NAME = 16; @@ -30874,7 +30874,7 @@ export class MINIDUMP_THREAD_NAMEView { // 0x04: pad4 // 0x08: u64 - get RvaOfThreadName(): Deno.PointerValue { + get RvaOfThreadName(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -30886,7 +30886,7 @@ export class MINIDUMP_THREAD_NAMEView { // 0x04: pad4 // 0x08: u64 - set RvaOfThreadName(value: Deno.PointerValue) { + set RvaOfThreadName(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -30963,17 +30963,17 @@ export interface MINIDUMP_THREAD_INFO { /** u32 */ ExitStatus: number; /** u64 */ - CreateTime: Deno.PointerValue; + CreateTime: bigint | number; /** u64 */ - ExitTime: Deno.PointerValue; + ExitTime: bigint | number; /** u64 */ - KernelTime: Deno.PointerValue; + KernelTime: bigint | number; /** u64 */ - UserTime: Deno.PointerValue; + UserTime: bigint | number; /** u64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - Affinity: Deno.PointerValue; + Affinity: bigint | number; } export const sizeofMINIDUMP_THREAD_INFO = 64; @@ -31035,32 +31035,32 @@ export class MINIDUMP_THREAD_INFOView { } // 0x10: u64 - get CreateTime(): Deno.PointerValue { + get CreateTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExitTime(): Deno.PointerValue { + get ExitTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get KernelTime(): Deno.PointerValue { + get KernelTime(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get UserTime(): Deno.PointerValue { + get UserTime(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Affinity(): Deno.PointerValue { + get Affinity(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -31085,32 +31085,32 @@ export class MINIDUMP_THREAD_INFOView { } // 0x10: u64 - set CreateTime(value: Deno.PointerValue) { + set CreateTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExitTime(value: Deno.PointerValue) { + set ExitTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set KernelTime(value: Deno.PointerValue) { + set KernelTime(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set UserTime(value: Deno.PointerValue) { + set UserTime(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Affinity(value: Deno.PointerValue) { + set Affinity(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -31196,7 +31196,7 @@ export interface MINIDUMP_TOKEN_INFO_HEADER { /** u32 */ TokenId: number; /** u64 */ - TokenHandle: Deno.PointerValue; + TokenHandle: bigint | number; } export const sizeofMINIDUMP_TOKEN_INFO_HEADER = 16; @@ -31234,7 +31234,7 @@ export class MINIDUMP_TOKEN_INFO_HEADERView { } // 0x08: u64 - get TokenHandle(): Deno.PointerValue { + get TokenHandle(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -31249,7 +31249,7 @@ export class MINIDUMP_TOKEN_INFO_HEADERView { } // 0x08: u64 - set TokenHandle(value: Deno.PointerValue) { + set TokenHandle(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -31352,11 +31352,11 @@ export interface MINIDUMP_SYSTEM_BASIC_INFORMATION { /** u32 */ AllocationGranularity: number; /** u64 */ - MinimumUserModeAddress: Deno.PointerValue; + MinimumUserModeAddress: bigint | number; /** u64 */ - MaximumUserModeAddress: Deno.PointerValue; + MaximumUserModeAddress: bigint | number; /** u64 */ - ActiveProcessorsAffinityMask: Deno.PointerValue; + ActiveProcessorsAffinityMask: bigint | number; /** u32 */ NumberOfProcessors: number; } @@ -31431,17 +31431,17 @@ export class MINIDUMP_SYSTEM_BASIC_INFORMATIONView { } // 0x18: u64 - get MinimumUserModeAddress(): Deno.PointerValue { + get MinimumUserModeAddress(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get MaximumUserModeAddress(): Deno.PointerValue { + get MaximumUserModeAddress(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ActiveProcessorsAffinityMask(): Deno.PointerValue { + get ActiveProcessorsAffinityMask(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -31483,17 +31483,17 @@ export class MINIDUMP_SYSTEM_BASIC_INFORMATIONView { } // 0x18: u64 - set MinimumUserModeAddress(value: Deno.PointerValue) { + set MinimumUserModeAddress(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set MaximumUserModeAddress(value: Deno.PointerValue) { + set MaximumUserModeAddress(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ActiveProcessorsAffinityMask(value: Deno.PointerValue) { + set ActiveProcessorsAffinityMask(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -31510,19 +31510,19 @@ export class MINIDUMP_SYSTEM_BASIC_INFORMATIONView { */ export interface MINIDUMP_SYSTEM_FILECACHE_INFORMATION { /** u64 */ - CurrentSize: Deno.PointerValue; + CurrentSize: bigint | number; /** u64 */ - PeakSize: Deno.PointerValue; + PeakSize: bigint | number; /** u32 */ PageFaultCount: number; /** u64 */ - MinimumWorkingSet: Deno.PointerValue; + MinimumWorkingSet: bigint | number; /** u64 */ - MaximumWorkingSet: Deno.PointerValue; + MaximumWorkingSet: bigint | number; /** u64 */ - CurrentSizeIncludingTransitionInPages: Deno.PointerValue; + CurrentSizeIncludingTransitionInPages: bigint | number; /** u64 */ - PeakSizeIncludingTransitionInPages: Deno.PointerValue; + PeakSizeIncludingTransitionInPages: bigint | number; /** u32 */ TransitionRePurposeCount: number; /** u32 */ @@ -31567,12 +31567,12 @@ export class MINIDUMP_SYSTEM_FILECACHE_INFORMATIONView { } // 0x00: u64 - get CurrentSize(): Deno.PointerValue { + get CurrentSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PeakSize(): Deno.PointerValue { + get PeakSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -31584,22 +31584,22 @@ export class MINIDUMP_SYSTEM_FILECACHE_INFORMATIONView { // 0x14: pad4 // 0x18: u64 - get MinimumWorkingSet(): Deno.PointerValue { + get MinimumWorkingSet(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get MaximumWorkingSet(): Deno.PointerValue { + get MaximumWorkingSet(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CurrentSizeIncludingTransitionInPages(): Deno.PointerValue { + get CurrentSizeIncludingTransitionInPages(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get PeakSizeIncludingTransitionInPages(): Deno.PointerValue { + get PeakSizeIncludingTransitionInPages(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -31614,12 +31614,12 @@ export class MINIDUMP_SYSTEM_FILECACHE_INFORMATIONView { } // 0x00: u64 - set CurrentSize(value: Deno.PointerValue) { + set CurrentSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PeakSize(value: Deno.PointerValue) { + set PeakSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -31631,22 +31631,22 @@ export class MINIDUMP_SYSTEM_FILECACHE_INFORMATIONView { // 0x14: pad4 // 0x18: u64 - set MinimumWorkingSet(value: Deno.PointerValue) { + set MinimumWorkingSet(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set MaximumWorkingSet(value: Deno.PointerValue) { + set MaximumWorkingSet(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CurrentSizeIncludingTransitionInPages(value: Deno.PointerValue) { + set CurrentSizeIncludingTransitionInPages(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set PeakSizeIncludingTransitionInPages(value: Deno.PointerValue) { + set PeakSizeIncludingTransitionInPages(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -31666,13 +31666,13 @@ export class MINIDUMP_SYSTEM_FILECACHE_INFORMATIONView { */ export interface MINIDUMP_SYSTEM_BASIC_PERFORMANCE_INFORMATION { /** u64 */ - AvailablePages: Deno.PointerValue; + AvailablePages: bigint | number; /** u64 */ - CommittedPages: Deno.PointerValue; + CommittedPages: bigint | number; /** u64 */ - CommitLimit: Deno.PointerValue; + CommitLimit: bigint | number; /** u64 */ - PeakCommitment: Deno.PointerValue; + PeakCommitment: bigint | number; } export const sizeofMINIDUMP_SYSTEM_BASIC_PERFORMANCE_INFORMATION = 32; @@ -31702,42 +31702,42 @@ export class MINIDUMP_SYSTEM_BASIC_PERFORMANCE_INFORMATIONView { } // 0x00: u64 - get AvailablePages(): Deno.PointerValue { + get AvailablePages(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get CommittedPages(): Deno.PointerValue { + get CommittedPages(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CommitLimit(): Deno.PointerValue { + get CommitLimit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get PeakCommitment(): Deno.PointerValue { + get PeakCommitment(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set AvailablePages(value: Deno.PointerValue) { + set AvailablePages(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set CommittedPages(value: Deno.PointerValue) { + set CommittedPages(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CommitLimit(value: Deno.PointerValue) { + set CommitLimit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set PeakCommitment(value: Deno.PointerValue) { + set PeakCommitment(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -31747,13 +31747,13 @@ export class MINIDUMP_SYSTEM_BASIC_PERFORMANCE_INFORMATIONView { */ export interface MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION { /** u64 */ - IdleProcessTime: Deno.PointerValue; + IdleProcessTime: bigint | number; /** u64 */ - IoReadTransferCount: Deno.PointerValue; + IoReadTransferCount: bigint | number; /** u64 */ - IoWriteTransferCount: Deno.PointerValue; + IoWriteTransferCount: bigint | number; /** u64 */ - IoOtherTransferCount: Deno.PointerValue; + IoOtherTransferCount: bigint | number; /** u32 */ IoReadOperationCount: number; /** u32 */ @@ -31895,13 +31895,13 @@ export interface MINIDUMP_SYSTEM_PERFORMANCE_INFORMATION { /** u32 */ SystemCalls: number; /** u64 */ - CcTotalDirtyPages: Deno.PointerValue; + CcTotalDirtyPages: bigint | number; /** u64 */ - CcDirtyPageThreshold: Deno.PointerValue; + CcDirtyPageThreshold: bigint | number; /** i64 */ - ResidentAvailablePages: Deno.PointerValue; + ResidentAvailablePages: bigint | number; /** u64 */ - SharedCommittedPages: Deno.PointerValue; + SharedCommittedPages: bigint | number; } export const sizeofMINIDUMP_SYSTEM_PERFORMANCE_INFORMATION = 344; @@ -32079,22 +32079,22 @@ export class MINIDUMP_SYSTEM_PERFORMANCE_INFORMATIONView { } // 0x00: u64 - get IdleProcessTime(): Deno.PointerValue { + get IdleProcessTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IoReadTransferCount(): Deno.PointerValue { + get IoReadTransferCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get IoWriteTransferCount(): Deno.PointerValue { + get IoWriteTransferCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get IoOtherTransferCount(): Deno.PointerValue { + get IoOtherTransferCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -32449,42 +32449,42 @@ export class MINIDUMP_SYSTEM_PERFORMANCE_INFORMATIONView { } // 0x138: u64 - get CcTotalDirtyPages(): Deno.PointerValue { + get CcTotalDirtyPages(): bigint | number { return Number(this.view.getBigUint64(312, true)); } // 0x140: u64 - get CcDirtyPageThreshold(): Deno.PointerValue { + get CcDirtyPageThreshold(): bigint | number { return Number(this.view.getBigUint64(320, true)); } // 0x148: i64 - get ResidentAvailablePages(): Deno.PointerValue { + get ResidentAvailablePages(): bigint | number { return Number(this.view.getBigInt64(328, true)); } // 0x150: u64 - get SharedCommittedPages(): Deno.PointerValue { + get SharedCommittedPages(): bigint | number { return Number(this.view.getBigUint64(336, true)); } // 0x00: u64 - set IdleProcessTime(value: Deno.PointerValue) { + set IdleProcessTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IoReadTransferCount(value: Deno.PointerValue) { + set IoReadTransferCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set IoWriteTransferCount(value: Deno.PointerValue) { + set IoWriteTransferCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set IoOtherTransferCount(value: Deno.PointerValue) { + set IoOtherTransferCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -32839,22 +32839,22 @@ export class MINIDUMP_SYSTEM_PERFORMANCE_INFORMATIONView { } // 0x138: u64 - set CcTotalDirtyPages(value: Deno.PointerValue) { + set CcTotalDirtyPages(value: bigint | number) { this.view.setBigUint64(312, BigInt(value), true); } // 0x140: u64 - set CcDirtyPageThreshold(value: Deno.PointerValue) { + set CcDirtyPageThreshold(value: bigint | number) { this.view.setBigUint64(320, BigInt(value), true); } // 0x148: i64 - set ResidentAvailablePages(value: Deno.PointerValue) { + set ResidentAvailablePages(value: bigint | number) { this.view.setBigInt64(328, BigInt(value), true); } // 0x150: u64 - set SharedCommittedPages(value: Deno.PointerValue) { + set SharedCommittedPages(value: bigint | number) { this.view.setBigUint64(336, BigInt(value), true); } } @@ -32986,23 +32986,23 @@ export interface MINIDUMP_PROCESS_VM_COUNTERS_1 { /** u32 */ PageFaultCount: number; /** u64 */ - PeakWorkingSetSize: Deno.PointerValue; + PeakWorkingSetSize: bigint | number; /** u64 */ - WorkingSetSize: Deno.PointerValue; + WorkingSetSize: bigint | number; /** u64 */ - QuotaPeakPagedPoolUsage: Deno.PointerValue; + QuotaPeakPagedPoolUsage: bigint | number; /** u64 */ - QuotaPagedPoolUsage: Deno.PointerValue; + QuotaPagedPoolUsage: bigint | number; /** u64 */ - QuotaPeakNonPagedPoolUsage: Deno.PointerValue; + QuotaPeakNonPagedPoolUsage: bigint | number; /** u64 */ - QuotaNonPagedPoolUsage: Deno.PointerValue; + QuotaNonPagedPoolUsage: bigint | number; /** u64 */ - PagefileUsage: Deno.PointerValue; + PagefileUsage: bigint | number; /** u64 */ - PeakPagefileUsage: Deno.PointerValue; + PeakPagefileUsage: bigint | number; /** u64 */ - PrivateUsage: Deno.PointerValue; + PrivateUsage: bigint | number; } export const sizeofMINIDUMP_PROCESS_VM_COUNTERS_1 = 80; @@ -33059,47 +33059,47 @@ export class MINIDUMP_PROCESS_VM_COUNTERS_1View { // 0x06: pad2 // 0x08: u64 - get PeakWorkingSetSize(): Deno.PointerValue { + get PeakWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get WorkingSetSize(): Deno.PointerValue { + get WorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get QuotaPeakPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get QuotaPagedPoolUsage(): Deno.PointerValue { + get QuotaPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get QuotaPeakNonPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get QuotaNonPagedPoolUsage(): Deno.PointerValue { + get QuotaNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PagefileUsage(): Deno.PointerValue { + get PagefileUsage(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get PeakPagefileUsage(): Deno.PointerValue { + get PeakPagefileUsage(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get PrivateUsage(): Deno.PointerValue { + get PrivateUsage(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -33116,47 +33116,47 @@ export class MINIDUMP_PROCESS_VM_COUNTERS_1View { // 0x06: pad2 // 0x08: u64 - set PeakWorkingSetSize(value: Deno.PointerValue) { + set PeakWorkingSetSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set WorkingSetSize(value: Deno.PointerValue) { + set WorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set QuotaPeakPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set QuotaPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set QuotaPeakNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set QuotaNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PagefileUsage(value: Deno.PointerValue) { + set PagefileUsage(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set PeakPagefileUsage(value: Deno.PointerValue) { + set PeakPagefileUsage(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set PrivateUsage(value: Deno.PointerValue) { + set PrivateUsage(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } } @@ -33172,41 +33172,41 @@ export interface MINIDUMP_PROCESS_VM_COUNTERS_2 { /** u32 */ PageFaultCount: number; /** u64 */ - PeakWorkingSetSize: Deno.PointerValue; + PeakWorkingSetSize: bigint | number; /** u64 */ - WorkingSetSize: Deno.PointerValue; + WorkingSetSize: bigint | number; /** u64 */ - QuotaPeakPagedPoolUsage: Deno.PointerValue; + QuotaPeakPagedPoolUsage: bigint | number; /** u64 */ - QuotaPagedPoolUsage: Deno.PointerValue; + QuotaPagedPoolUsage: bigint | number; /** u64 */ - QuotaPeakNonPagedPoolUsage: Deno.PointerValue; + QuotaPeakNonPagedPoolUsage: bigint | number; /** u64 */ - QuotaNonPagedPoolUsage: Deno.PointerValue; + QuotaNonPagedPoolUsage: bigint | number; /** u64 */ - PagefileUsage: Deno.PointerValue; + PagefileUsage: bigint | number; /** u64 */ - PeakPagefileUsage: Deno.PointerValue; + PeakPagefileUsage: bigint | number; /** u64 */ - PeakVirtualSize: Deno.PointerValue; + PeakVirtualSize: bigint | number; /** u64 */ - VirtualSize: Deno.PointerValue; + VirtualSize: bigint | number; /** u64 */ - PrivateUsage: Deno.PointerValue; + PrivateUsage: bigint | number; /** u64 */ - PrivateWorkingSetSize: Deno.PointerValue; + PrivateWorkingSetSize: bigint | number; /** u64 */ - SharedCommitUsage: Deno.PointerValue; + SharedCommitUsage: bigint | number; /** u64 */ - JobSharedCommitUsage: Deno.PointerValue; + JobSharedCommitUsage: bigint | number; /** u64 */ - JobPrivateCommitUsage: Deno.PointerValue; + JobPrivateCommitUsage: bigint | number; /** u64 */ - JobPeakPrivateCommitUsage: Deno.PointerValue; + JobPeakPrivateCommitUsage: bigint | number; /** u64 */ - JobPrivateCommitLimit: Deno.PointerValue; + JobPrivateCommitLimit: bigint | number; /** u64 */ - JobTotalCommitLimit: Deno.PointerValue; + JobTotalCommitLimit: bigint | number; } export const sizeofMINIDUMP_PROCESS_VM_COUNTERS_2 = 152; @@ -33285,92 +33285,92 @@ export class MINIDUMP_PROCESS_VM_COUNTERS_2View { } // 0x08: u64 - get PeakWorkingSetSize(): Deno.PointerValue { + get PeakWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get WorkingSetSize(): Deno.PointerValue { + get WorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get QuotaPeakPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get QuotaPagedPoolUsage(): Deno.PointerValue { + get QuotaPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get QuotaPeakNonPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get QuotaNonPagedPoolUsage(): Deno.PointerValue { + get QuotaNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PagefileUsage(): Deno.PointerValue { + get PagefileUsage(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get PeakPagefileUsage(): Deno.PointerValue { + get PeakPagefileUsage(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get PeakVirtualSize(): Deno.PointerValue { + get PeakVirtualSize(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get VirtualSize(): Deno.PointerValue { + get VirtualSize(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get PrivateUsage(): Deno.PointerValue { + get PrivateUsage(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get PrivateWorkingSetSize(): Deno.PointerValue { + get PrivateWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get SharedCommitUsage(): Deno.PointerValue { + get SharedCommitUsage(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get JobSharedCommitUsage(): Deno.PointerValue { + get JobSharedCommitUsage(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get JobPrivateCommitUsage(): Deno.PointerValue { + get JobPrivateCommitUsage(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get JobPeakPrivateCommitUsage(): Deno.PointerValue { + get JobPeakPrivateCommitUsage(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get JobPrivateCommitLimit(): Deno.PointerValue { + get JobPrivateCommitLimit(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get JobTotalCommitLimit(): Deno.PointerValue { + get JobTotalCommitLimit(): bigint | number { return Number(this.view.getBigUint64(144, true)); } @@ -33390,92 +33390,92 @@ export class MINIDUMP_PROCESS_VM_COUNTERS_2View { } // 0x08: u64 - set PeakWorkingSetSize(value: Deno.PointerValue) { + set PeakWorkingSetSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set WorkingSetSize(value: Deno.PointerValue) { + set WorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set QuotaPeakPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set QuotaPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set QuotaPeakNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set QuotaNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PagefileUsage(value: Deno.PointerValue) { + set PagefileUsage(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set PeakPagefileUsage(value: Deno.PointerValue) { + set PeakPagefileUsage(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set PeakVirtualSize(value: Deno.PointerValue) { + set PeakVirtualSize(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set VirtualSize(value: Deno.PointerValue) { + set VirtualSize(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set PrivateUsage(value: Deno.PointerValue) { + set PrivateUsage(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set PrivateWorkingSetSize(value: Deno.PointerValue) { + set PrivateWorkingSetSize(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set SharedCommitUsage(value: Deno.PointerValue) { + set SharedCommitUsage(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set JobSharedCommitUsage(value: Deno.PointerValue) { + set JobSharedCommitUsage(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set JobPrivateCommitUsage(value: Deno.PointerValue) { + set JobPrivateCommitUsage(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set JobPeakPrivateCommitUsage(value: Deno.PointerValue) { + set JobPeakPrivateCommitUsage(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set JobPrivateCommitLimit(value: Deno.PointerValue) { + set JobPrivateCommitLimit(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set JobTotalCommitLimit(value: Deno.PointerValue) { + set JobTotalCommitLimit(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } } @@ -33717,7 +33717,7 @@ export interface MINIDUMP_MODULE_CALLBACK { /** Windows.Win32.Foundation.PWSTR */ FullPath: string | null | Uint8Array | Uint16Array; /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; /** u32 */ SizeOfImage: number; /** u32 */ @@ -33787,7 +33787,7 @@ export class MINIDUMP_MODULE_CALLBACKView { } // 0x08: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -33847,7 +33847,7 @@ export class MINIDUMP_MODULE_CALLBACKView { } // 0x08: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -33903,7 +33903,7 @@ export class MINIDUMP_MODULE_CALLBACKView { */ export interface MINIDUMP_INCLUDE_MODULE_CALLBACK { /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; } export const sizeofMINIDUMP_INCLUDE_MODULE_CALLBACK = 8; @@ -33927,12 +33927,12 @@ export class MINIDUMP_INCLUDE_MODULE_CALLBACKView { } // 0x00: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -33944,7 +33944,7 @@ export interface MINIDUMP_IO_CALLBACK { /** Windows.Win32.Foundation.HANDLE */ Handle: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** ptr */ Buffer: Deno.PointerValue | Uint8Array; /** u32 */ @@ -33985,7 +33985,7 @@ export class MINIDUMP_IO_CALLBACKView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -34008,7 +34008,7 @@ export class MINIDUMP_IO_CALLBACKView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -34030,7 +34030,7 @@ export class MINIDUMP_IO_CALLBACKView { */ export interface MINIDUMP_READ_MEMORY_FAILURE_CALLBACK { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ Bytes: number; /** Windows.Win32.Foundation.HRESULT */ @@ -34063,7 +34063,7 @@ export class MINIDUMP_READ_MEMORY_FAILURE_CALLBACKView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -34081,7 +34081,7 @@ export class MINIDUMP_READ_MEMORY_FAILURE_CALLBACKView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -34103,7 +34103,7 @@ export class MINIDUMP_READ_MEMORY_FAILURE_CALLBACKView { */ export interface MINIDUMP_VM_QUERY_CALLBACK { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofMINIDUMP_VM_QUERY_CALLBACK = 8; @@ -34127,12 +34127,12 @@ export class MINIDUMP_VM_QUERY_CALLBACKView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -34142,7 +34142,7 @@ export class MINIDUMP_VM_QUERY_CALLBACKView { */ export interface MINIDUMP_VM_PRE_READ_CALLBACK { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** ptr */ Buffer: Deno.PointerValue | Uint8Array; /** u32 */ @@ -34175,7 +34175,7 @@ export class MINIDUMP_VM_PRE_READ_CALLBACKView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -34193,7 +34193,7 @@ export class MINIDUMP_VM_PRE_READ_CALLBACKView { // 0x14: pad4 // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -34215,7 +34215,7 @@ export class MINIDUMP_VM_PRE_READ_CALLBACKView { */ export interface MINIDUMP_VM_POST_READ_CALLBACK { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** ptr */ Buffer: Deno.PointerValue | Uint8Array; /** u32 */ @@ -34255,7 +34255,7 @@ export class MINIDUMP_VM_POST_READ_CALLBACKView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -34282,7 +34282,7 @@ export class MINIDUMP_VM_POST_READ_CALLBACKView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -35011,9 +35011,9 @@ export interface DebugStackFrameDescriptor64 { /** Windows.Win32.System.Diagnostics.Debug.IDebugStackFrame */ pdsf: Uint8Array | Deno.PointerValue; /** u64 */ - dwMin: Deno.PointerValue; + dwMin: bigint | number; /** u64 */ - dwLim: Deno.PointerValue; + dwLim: bigint | number; /** Windows.Win32.Foundation.BOOL */ fFinal: boolean; /** Windows.Win32.System.Com.IUnknown */ @@ -35056,12 +35056,12 @@ export class DebugStackFrameDescriptor64View { } // 0x08: u64 - get dwMin(): Deno.PointerValue { + get dwMin(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get dwLim(): Deno.PointerValue { + get dwLim(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -35084,12 +35084,12 @@ export class DebugStackFrameDescriptor64View { } // 0x08: u64 - set dwMin(value: Deno.PointerValue) { + set dwMin(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set dwLim(value: Deno.PointerValue) { + set dwLim(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -36213,11 +36213,11 @@ export interface MODLOAD_CVMISC { /** u32 */ oCV: number; /** usize */ - cCV: Deno.PointerValue; + cCV: bigint | number; /** u32 */ oMisc: number; /** usize */ - cMisc: Deno.PointerValue; + cMisc: bigint | number; /** u32 */ dtImage: number; /** u32 */ @@ -36264,7 +36264,7 @@ export class MODLOAD_CVMISCView { // 0x04: pad4 // 0x08: usize - get cCV(): Deno.PointerValue { + get cCV(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -36276,7 +36276,7 @@ export class MODLOAD_CVMISCView { // 0x14: pad4 // 0x18: usize - get cMisc(): Deno.PointerValue { + get cMisc(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -36298,7 +36298,7 @@ export class MODLOAD_CVMISCView { // 0x04: pad4 // 0x08: usize - set cCV(value: Deno.PointerValue) { + set cCV(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -36310,7 +36310,7 @@ export class MODLOAD_CVMISCView { // 0x14: pad4 // 0x18: usize - set cMisc(value: Deno.PointerValue) { + set cMisc(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -36389,7 +36389,7 @@ export class MODLOAD_PDBGUID_PDBAGEView { */ export interface ADDRESS64 { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u16 */ Segment: number; /** Windows.Win32.System.Diagnostics.Debug.ADDRESS_MODE */ @@ -36422,7 +36422,7 @@ export class ADDRESS64View { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -36439,7 +36439,7 @@ export class ADDRESS64View { // 0x0e: pad2 // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -36533,7 +36533,7 @@ export class ADDRESSView { */ export interface KDHELP64 { /** u64 */ - Thread: Deno.PointerValue; + Thread: bigint | number; /** u32 */ ThCallbackStack: number; /** u32 */ @@ -36543,23 +36543,23 @@ export interface KDHELP64 { /** u32 */ FramePointer: number; /** u64 */ - KiCallUserMode: Deno.PointerValue; + KiCallUserMode: bigint | number; /** u64 */ - KeUserCallbackDispatcher: Deno.PointerValue; + KeUserCallbackDispatcher: bigint | number; /** u64 */ - SystemRangeStart: Deno.PointerValue; + SystemRangeStart: bigint | number; /** u64 */ - KiUserExceptionDispatcher: Deno.PointerValue; + KiUserExceptionDispatcher: bigint | number; /** u64 */ - StackBase: Deno.PointerValue; + StackBase: bigint | number; /** u64 */ - StackLimit: Deno.PointerValue; + StackLimit: bigint | number; /** u32 */ BuildVersion: number; /** u32 */ RetpolineStubFunctionTableSize: number; /** u64 */ - RetpolineStubFunctionTable: Deno.PointerValue; + RetpolineStubFunctionTable: bigint | number; /** u32 */ RetpolineStubOffset: number; /** u32 */ @@ -36621,7 +36621,7 @@ export class KDHELP64View { } // 0x00: u64 - get Thread(): Deno.PointerValue { + get Thread(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -36646,32 +36646,32 @@ export class KDHELP64View { } // 0x18: u64 - get KiCallUserMode(): Deno.PointerValue { + get KiCallUserMode(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get KeUserCallbackDispatcher(): Deno.PointerValue { + get KeUserCallbackDispatcher(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get SystemRangeStart(): Deno.PointerValue { + get SystemRangeStart(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get KiUserExceptionDispatcher(): Deno.PointerValue { + get KiUserExceptionDispatcher(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get StackBase(): Deno.PointerValue { + get StackBase(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get StackLimit(): Deno.PointerValue { + get StackLimit(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -36686,7 +36686,7 @@ export class KDHELP64View { } // 0x50: u64 - get RetpolineStubFunctionTable(): Deno.PointerValue { + get RetpolineStubFunctionTable(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -36707,7 +36707,7 @@ export class KDHELP64View { } // 0x00: u64 - set Thread(value: Deno.PointerValue) { + set Thread(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -36732,32 +36732,32 @@ export class KDHELP64View { } // 0x18: u64 - set KiCallUserMode(value: Deno.PointerValue) { + set KiCallUserMode(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set KeUserCallbackDispatcher(value: Deno.PointerValue) { + set KeUserCallbackDispatcher(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set SystemRangeStart(value: Deno.PointerValue) { + set SystemRangeStart(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set KiUserExceptionDispatcher(value: Deno.PointerValue) { + set KiUserExceptionDispatcher(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set StackBase(value: Deno.PointerValue) { + set StackBase(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set StackLimit(value: Deno.PointerValue) { + set StackLimit(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -36772,7 +36772,7 @@ export class KDHELP64View { } // 0x50: u64 - set RetpolineStubFunctionTable(value: Deno.PointerValue) { + set RetpolineStubFunctionTable(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -37671,7 +37671,7 @@ export interface IMAGEHLP_SYMBOL64 { /** u32 */ SizeOfStruct: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -37722,7 +37722,7 @@ export class IMAGEHLP_SYMBOL64View { // 0x04: pad4 // 0x08: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -37757,7 +37757,7 @@ export class IMAGEHLP_SYMBOL64View { // 0x04: pad4 // 0x08: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -37846,7 +37846,7 @@ export interface IMAGEHLP_SYMBOLW64 { /** u32 */ SizeOfStruct: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -37897,7 +37897,7 @@ export class IMAGEHLP_SYMBOLW64View { // 0x04: pad4 // 0x08: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -37932,7 +37932,7 @@ export class IMAGEHLP_SYMBOLW64View { // 0x04: pad4 // 0x08: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -38361,7 +38361,7 @@ export interface IMAGEHLP_MODULE64 { /** u32 */ SizeOfStruct: number; /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; /** u32 */ ImageSize: number; /** u32 */ @@ -38490,7 +38490,7 @@ export class IMAGEHLP_MODULE64View { // 0x04: pad4 // 0x08: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -38629,7 +38629,7 @@ export class IMAGEHLP_MODULE64View { // 0x04: pad4 // 0x08: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -38821,7 +38821,7 @@ export interface IMAGEHLP_MODULEW64 { /** u32 */ SizeOfStruct: number; /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; /** u32 */ ImageSize: number; /** u32 */ @@ -38950,7 +38950,7 @@ export class IMAGEHLP_MODULEW64View { // 0x04: pad4 // 0x08: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -39089,7 +39089,7 @@ export class IMAGEHLP_MODULEW64View { // 0x04: pad4 // 0x08: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -39633,7 +39633,7 @@ export interface IMAGEHLP_LINE64 { /** Windows.Win32.Foundation.PSTR */ FileName: string | null | Uint8Array; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofIMAGEHLP_LINE64 = 40; @@ -39696,7 +39696,7 @@ export class IMAGEHLP_LINE64View { } // 0x20: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -39726,7 +39726,7 @@ export class IMAGEHLP_LINE64View { } // 0x20: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -39744,7 +39744,7 @@ export interface IMAGEHLP_LINEW64 { /** Windows.Win32.Foundation.PWSTR */ FileName: string | null | Uint8Array | Uint16Array; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofIMAGEHLP_LINEW64 = 40; @@ -39807,7 +39807,7 @@ export class IMAGEHLP_LINEW64View { } // 0x20: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -39837,7 +39837,7 @@ export class IMAGEHLP_LINEW64View { } // 0x20: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -39971,7 +39971,7 @@ export interface IMAGEHLP_LINEW { /** Windows.Win32.Foundation.PSTR */ FileName: string | null | Uint8Array; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofIMAGEHLP_LINEW = 40; @@ -40034,7 +40034,7 @@ export class IMAGEHLP_LINEWView { } // 0x20: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -40064,7 +40064,7 @@ export class IMAGEHLP_LINEWView { } // 0x20: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -40074,7 +40074,7 @@ export class IMAGEHLP_LINEWView { */ export interface SOURCEFILE { /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** Windows.Win32.Foundation.PSTR */ FileName: string | null | Uint8Array; } @@ -40105,7 +40105,7 @@ export class SOURCEFILEView { } // 0x00: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -40116,7 +40116,7 @@ export class SOURCEFILEView { } // 0x00: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -40132,7 +40132,7 @@ export class SOURCEFILEView { */ export interface SOURCEFILEW { /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** Windows.Win32.Foundation.PWSTR */ FileName: string | null | Uint8Array | Uint16Array; } @@ -40163,7 +40163,7 @@ export class SOURCEFILEWView { } // 0x00: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -40174,7 +40174,7 @@ export class SOURCEFILEWView { } // 0x00: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -40190,7 +40190,7 @@ export class SOURCEFILEWView { */ export interface IMAGEHLP_CBA_READ_MEMORY { /** u64 */ - addr: Deno.PointerValue; + addr: bigint | number; /** ptr */ buf: Deno.PointerValue | Uint8Array; /** u32 */ @@ -40227,7 +40227,7 @@ export class IMAGEHLP_CBA_READ_MEMORYView { } // 0x00: u64 - get addr(): Deno.PointerValue { + get addr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -40251,7 +40251,7 @@ export class IMAGEHLP_CBA_READ_MEMORYView { } // 0x00: u64 - set addr(value: Deno.PointerValue) { + set addr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -40454,7 +40454,7 @@ export interface IMAGEHLP_DEFERRED_SYMBOL_LOAD64 { /** u32 */ SizeOfStruct: number; /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; /** u32 */ CheckSum: number; /** u32 */ @@ -40513,7 +40513,7 @@ export class IMAGEHLP_DEFERRED_SYMBOL_LOAD64View { // 0x04: pad4 // 0x08: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -40560,7 +40560,7 @@ export class IMAGEHLP_DEFERRED_SYMBOL_LOAD64View { // 0x04: pad4 // 0x08: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -40604,7 +40604,7 @@ export interface IMAGEHLP_DEFERRED_SYMBOL_LOADW64 { /** u32 */ SizeOfStruct: number; /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; /** u32 */ CheckSum: number; /** u32 */ @@ -40663,7 +40663,7 @@ export class IMAGEHLP_DEFERRED_SYMBOL_LOADW64View { // 0x04: pad4 // 0x08: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -40710,7 +40710,7 @@ export class IMAGEHLP_DEFERRED_SYMBOL_LOADW64View { // 0x04: pad4 // 0x08: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -41054,9 +41054,9 @@ export interface IMAGEHLP_JIT_SYMBOLMAP { /** u32 */ SizeOfStruct: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u64 */ - BaseOfImage: Deno.PointerValue; + BaseOfImage: bigint | number; } export const sizeofIMAGEHLP_JIT_SYMBOLMAP = 24; @@ -41092,12 +41092,12 @@ export class IMAGEHLP_JIT_SYMBOLMAPView { // 0x04: pad4 // 0x08: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BaseOfImage(): Deno.PointerValue { + get BaseOfImage(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -41109,12 +41109,12 @@ export class IMAGEHLP_JIT_SYMBOLMAPView { // 0x04: pad4 // 0x08: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BaseOfImage(value: Deno.PointerValue) { + set BaseOfImage(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -41181,7 +41181,7 @@ export interface SRCCODEINFO { /** ptr */ Key: Deno.PointerValue | Uint8Array; /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** array */ Obj: Deno.PointerValue; /** array */ @@ -41189,7 +41189,7 @@ export interface SRCCODEINFO { /** u32 */ LineNumber: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofSRCCODEINFO = 56; @@ -41240,7 +41240,7 @@ export class SRCCODEINFOView { } // 0x10: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -41264,7 +41264,7 @@ export class SRCCODEINFOView { // 0x2c: pad4 // 0x30: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -41281,7 +41281,7 @@ export class SRCCODEINFOView { } // 0x10: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -41303,7 +41303,7 @@ export class SRCCODEINFOView { // 0x2c: pad4 // 0x30: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -41317,7 +41317,7 @@ export interface SRCCODEINFOW { /** ptr */ Key: Deno.PointerValue | Uint8Array; /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** array */ Obj: Deno.PointerValue; /** array */ @@ -41325,7 +41325,7 @@ export interface SRCCODEINFOW { /** u32 */ LineNumber: number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; } export const sizeofSRCCODEINFOW = 56; @@ -41376,7 +41376,7 @@ export class SRCCODEINFOWView { } // 0x10: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -41400,7 +41400,7 @@ export class SRCCODEINFOWView { // 0x2c: pad4 // 0x30: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -41417,7 +41417,7 @@ export class SRCCODEINFOWView { } // 0x10: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -41439,7 +41439,7 @@ export class SRCCODEINFOWView { // 0x2c: pad4 // 0x30: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -41600,13 +41600,13 @@ export interface SYMBOL_INFO { /** u32 */ Size: number; /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** Windows.Win32.System.Diagnostics.Debug.SYMBOL_INFO_FLAGS */ Flags: SYMBOL_INFO_FLAGS; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ Register: number; /** u32 */ @@ -41698,7 +41698,7 @@ export class SYMBOL_INFOView { } // 0x18: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -41710,12 +41710,12 @@ export class SYMBOL_INFOView { // 0x24: pad4 // 0x28: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -41778,7 +41778,7 @@ export class SYMBOL_INFOView { } // 0x18: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -41790,12 +41790,12 @@ export class SYMBOL_INFOView { // 0x24: pad4 // 0x28: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -41902,13 +41902,13 @@ export interface SYMBOL_INFOW { /** u32 */ Size: number; /** u64 */ - ModBase: Deno.PointerValue; + ModBase: bigint | number; /** Windows.Win32.System.Diagnostics.Debug.SYMBOL_INFO_FLAGS */ Flags: SYMBOL_INFO_FLAGS; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; /** u64 */ - Address: Deno.PointerValue; + Address: bigint | number; /** u32 */ Register: number; /** u32 */ @@ -42000,7 +42000,7 @@ export class SYMBOL_INFOWView { } // 0x18: u64 - get ModBase(): Deno.PointerValue { + get ModBase(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -42012,12 +42012,12 @@ export class SYMBOL_INFOWView { // 0x24: pad4 // 0x28: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get Address(): Deno.PointerValue { + get Address(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -42080,7 +42080,7 @@ export class SYMBOL_INFOWView { } // 0x18: u64 - set ModBase(value: Deno.PointerValue) { + set ModBase(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -42092,12 +42092,12 @@ export class SYMBOL_INFOWView { // 0x24: pad4 // 0x28: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set Address(value: Deno.PointerValue) { + set Address(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -42194,17 +42194,17 @@ export class SYMBOL_INFO_PACKAGEWView { */ export interface IMAGEHLP_STACK_FRAME { /** u64 */ - InstructionOffset: Deno.PointerValue; + InstructionOffset: bigint | number; /** u64 */ - ReturnOffset: Deno.PointerValue; + ReturnOffset: bigint | number; /** u64 */ - FrameOffset: Deno.PointerValue; + FrameOffset: bigint | number; /** u64 */ - StackOffset: Deno.PointerValue; + StackOffset: bigint | number; /** u64 */ - BackingStoreOffset: Deno.PointerValue; + BackingStoreOffset: bigint | number; /** u64 */ - FuncTableEntry: Deno.PointerValue; + FuncTableEntry: bigint | number; /** array */ Params: Deno.PointerValue; /** array */ @@ -42254,32 +42254,32 @@ export class IMAGEHLP_STACK_FRAMEView { } // 0x00: u64 - get InstructionOffset(): Deno.PointerValue { + get InstructionOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ReturnOffset(): Deno.PointerValue { + get ReturnOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get FrameOffset(): Deno.PointerValue { + get FrameOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get StackOffset(): Deno.PointerValue { + get StackOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get BackingStoreOffset(): Deno.PointerValue { + get BackingStoreOffset(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get FuncTableEntry(): Deno.PointerValue { + get FuncTableEntry(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -42306,32 +42306,32 @@ export class IMAGEHLP_STACK_FRAMEView { } // 0x00: u64 - set InstructionOffset(value: Deno.PointerValue) { + set InstructionOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ReturnOffset(value: Deno.PointerValue) { + set ReturnOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set FrameOffset(value: Deno.PointerValue) { + set FrameOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set StackOffset(value: Deno.PointerValue) { + set StackOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set BackingStoreOffset(value: Deno.PointerValue) { + set BackingStoreOffset(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set FuncTableEntry(value: Deno.PointerValue) { + set FuncTableEntry(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -42437,7 +42437,7 @@ export interface IMAGEHLP_GET_TYPE_INFO_PARAMS { /** ptr */ TypeIds: Deno.PointerValue | Uint8Array; /** u64 */ - TagFilter: Deno.PointerValue; + TagFilter: bigint | number; /** u32 */ NumReqs: number; /** ptr */ @@ -42447,9 +42447,9 @@ export interface IMAGEHLP_GET_TYPE_INFO_PARAMS { /** ptr */ ReqSizes: Deno.PointerValue | Uint8Array; /** usize */ - ReqStride: Deno.PointerValue; + ReqStride: bigint | number; /** usize */ - BufferSize: Deno.PointerValue; + BufferSize: bigint | number; /** ptr */ Buffer: Deno.PointerValue | Uint8Array; /** u32 */ @@ -42457,9 +42457,9 @@ export interface IMAGEHLP_GET_TYPE_INFO_PARAMS { /** u32 */ EntriesFilled: number; /** u64 */ - TagsFound: Deno.PointerValue; + TagsFound: bigint | number; /** u64 */ - AllReqsValid: Deno.PointerValue; + AllReqsValid: bigint | number; /** u32 */ NumReqsValid: number; /** ptr */ @@ -42547,7 +42547,7 @@ export class IMAGEHLP_GET_TYPE_INFO_PARAMSView { } // 0x18: u64 - get TagFilter(): Deno.PointerValue { + get TagFilter(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -42577,12 +42577,12 @@ export class IMAGEHLP_GET_TYPE_INFO_PARAMSView { } // 0x40: usize - get ReqStride(): Deno.PointerValue { + get ReqStride(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get BufferSize(): Deno.PointerValue { + get BufferSize(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -42603,12 +42603,12 @@ export class IMAGEHLP_GET_TYPE_INFO_PARAMSView { } // 0x60: u64 - get TagsFound(): Deno.PointerValue { + get TagsFound(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get AllReqsValid(): Deno.PointerValue { + get AllReqsValid(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -42648,7 +42648,7 @@ export class IMAGEHLP_GET_TYPE_INFO_PARAMSView { } // 0x18: u64 - set TagFilter(value: Deno.PointerValue) { + set TagFilter(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -42675,12 +42675,12 @@ export class IMAGEHLP_GET_TYPE_INFO_PARAMSView { } // 0x40: usize - set ReqStride(value: Deno.PointerValue) { + set ReqStride(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set BufferSize(value: Deno.PointerValue) { + set BufferSize(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -42700,12 +42700,12 @@ export class IMAGEHLP_GET_TYPE_INFO_PARAMSView { } // 0x60: u64 - set TagsFound(value: Deno.PointerValue) { + set TagsFound(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set AllReqsValid(value: Deno.PointerValue) { + set AllReqsValid(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -43379,13 +43379,13 @@ export class JsDebugPropertyInfoView { */ export interface JS_NATIVE_FRAME { /** u64 */ - InstructionOffset: Deno.PointerValue; + InstructionOffset: bigint | number; /** u64 */ - ReturnOffset: Deno.PointerValue; + ReturnOffset: bigint | number; /** u64 */ - FrameOffset: Deno.PointerValue; + FrameOffset: bigint | number; /** u64 */ - StackOffset: Deno.PointerValue; + StackOffset: bigint | number; } export const sizeofJS_NATIVE_FRAME = 32; @@ -43415,42 +43415,42 @@ export class JS_NATIVE_FRAMEView { } // 0x00: u64 - get InstructionOffset(): Deno.PointerValue { + get InstructionOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ReturnOffset(): Deno.PointerValue { + get ReturnOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get FrameOffset(): Deno.PointerValue { + get FrameOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get StackOffset(): Deno.PointerValue { + get StackOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set InstructionOffset(value: Deno.PointerValue) { + set InstructionOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ReturnOffset(value: Deno.PointerValue) { + set ReturnOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set FrameOffset(value: Deno.PointerValue) { + set FrameOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set StackOffset(value: Deno.PointerValue) { + set StackOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -43581,9 +43581,9 @@ export class PHYSICAL_MEMORY_DESCRIPTOR32View { */ export interface PHYSICAL_MEMORY_RUN64 { /** u64 */ - BasePage: Deno.PointerValue; + BasePage: bigint | number; /** u64 */ - PageCount: Deno.PointerValue; + PageCount: bigint | number; } export const sizeofPHYSICAL_MEMORY_RUN64 = 16; @@ -43609,22 +43609,22 @@ export class PHYSICAL_MEMORY_RUN64View { } // 0x00: u64 - get BasePage(): Deno.PointerValue { + get BasePage(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PageCount(): Deno.PointerValue { + get PageCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set BasePage(value: Deno.PointerValue) { + set BasePage(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PageCount(value: Deno.PointerValue) { + set PageCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -43636,7 +43636,7 @@ export interface PHYSICAL_MEMORY_DESCRIPTOR64 { /** u32 */ NumberOfRuns: number; /** u64 */ - NumberOfPages: Deno.PointerValue; + NumberOfPages: bigint | number; /** array */ Run: Deno.PointerValue; } @@ -43674,7 +43674,7 @@ export class PHYSICAL_MEMORY_DESCRIPTOR64View { // 0x04: pad4 // 0x08: u64 - get NumberOfPages(): Deno.PointerValue { + get NumberOfPages(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -43692,7 +43692,7 @@ export class PHYSICAL_MEMORY_DESCRIPTOR64View { // 0x04: pad4 // 0x08: u64 - set NumberOfPages(value: Deno.PointerValue) { + set NumberOfPages(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -43833,7 +43833,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -43873,7 +43873,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -43888,7 +43888,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -44496,13 +44496,13 @@ export interface DUMP_HEADER64 { /** u32 */ MinorVersion: number; /** u64 */ - DirectoryTableBase: Deno.PointerValue; + DirectoryTableBase: bigint | number; /** u64 */ - PfnDataBase: Deno.PointerValue; + PfnDataBase: bigint | number; /** u64 */ - PsLoadedModuleList: Deno.PointerValue; + PsLoadedModuleList: bigint | number; /** u64 */ - PsActiveProcessHead: Deno.PointerValue; + PsActiveProcessHead: bigint | number; /** u32 */ MachineImageType: number; /** u32 */ @@ -44510,17 +44510,17 @@ export interface DUMP_HEADER64 { /** u32 */ BugCheckCode: number; /** u64 */ - BugCheckParameter1: Deno.PointerValue; + BugCheckParameter1: bigint | number; /** u64 */ - BugCheckParameter2: Deno.PointerValue; + BugCheckParameter2: bigint | number; /** u64 */ - BugCheckParameter3: Deno.PointerValue; + BugCheckParameter3: bigint | number; /** u64 */ - BugCheckParameter4: Deno.PointerValue; + BugCheckParameter4: bigint | number; /** array */ VersionUser: Deno.PointerValue; /** u64 */ - KdDebuggerDataBlock: Deno.PointerValue; + KdDebuggerDataBlock: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** array */ @@ -44676,22 +44676,22 @@ export class DUMP_HEADER64View { } // 0x10: u64 - get DirectoryTableBase(): Deno.PointerValue { + get DirectoryTableBase(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get PfnDataBase(): Deno.PointerValue { + get PfnDataBase(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get PsLoadedModuleList(): Deno.PointerValue { + get PsLoadedModuleList(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get PsActiveProcessHead(): Deno.PointerValue { + get PsActiveProcessHead(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -44713,22 +44713,22 @@ export class DUMP_HEADER64View { // 0x3c: pad4 // 0x40: u64 - get BugCheckParameter1(): Deno.PointerValue { + get BugCheckParameter1(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get BugCheckParameter2(): Deno.PointerValue { + get BugCheckParameter2(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get BugCheckParameter3(): Deno.PointerValue { + get BugCheckParameter3(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get BugCheckParameter4(): Deno.PointerValue { + get BugCheckParameter4(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -44739,7 +44739,7 @@ export class DUMP_HEADER64View { } // 0x68: u64 - get KdDebuggerDataBlock(): Deno.PointerValue { + get KdDebuggerDataBlock(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -44875,22 +44875,22 @@ export class DUMP_HEADER64View { } // 0x10: u64 - set DirectoryTableBase(value: Deno.PointerValue) { + set DirectoryTableBase(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set PfnDataBase(value: Deno.PointerValue) { + set PfnDataBase(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set PsLoadedModuleList(value: Deno.PointerValue) { + set PsLoadedModuleList(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set PsActiveProcessHead(value: Deno.PointerValue) { + set PsActiveProcessHead(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -44912,22 +44912,22 @@ export class DUMP_HEADER64View { // 0x3c: pad4 // 0x40: u64 - set BugCheckParameter1(value: Deno.PointerValue) { + set BugCheckParameter1(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set BugCheckParameter2(value: Deno.PointerValue) { + set BugCheckParameter2(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set BugCheckParameter3(value: Deno.PointerValue) { + set BugCheckParameter3(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set BugCheckParameter4(value: Deno.PointerValue) { + set BugCheckParameter4(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -44937,7 +44937,7 @@ export class DUMP_HEADER64View { } // 0x68: u64 - set KdDebuggerDataBlock(value: Deno.PointerValue) { + set KdDebuggerDataBlock(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -46003,7 +46003,7 @@ export interface WHEA_XPF_MC_BANK_DESCRIPTOR { /** u32 */ MiscMsr: number; /** u64 */ - ControlData: Deno.PointerValue; + ControlData: bigint | number; } export const sizeofWHEA_XPF_MC_BANK_DESCRIPTOR = 56; @@ -46091,7 +46091,7 @@ export class WHEA_XPF_MC_BANK_DESCRIPTORView { } // 0x30: u64 - get ControlData(): Deno.PointerValue { + get ControlData(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -46140,7 +46140,7 @@ export class WHEA_XPF_MC_BANK_DESCRIPTORView { } // 0x30: u64 - set ControlData(value: Deno.PointerValue) { + set ControlData(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -46158,9 +46158,9 @@ export interface WHEA_XPF_MCE_DESCRIPTOR { /** Windows.Win32.System.Diagnostics.Debug.XPF_MCE_FLAGS */ Flags: Uint8Array | Deno.PointerValue; /** u64 */ - MCG_Capability: Deno.PointerValue; + MCG_Capability: bigint | number; /** u64 */ - MCG_GlobalControl: Deno.PointerValue; + MCG_GlobalControl: bigint | number; /** array */ Banks: Deno.PointerValue; } @@ -46222,12 +46222,12 @@ export class WHEA_XPF_MCE_DESCRIPTORView { } // 0x10: u64 - get MCG_Capability(): Deno.PointerValue { + get MCG_Capability(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MCG_GlobalControl(): Deno.PointerValue { + get MCG_GlobalControl(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -46260,12 +46260,12 @@ export class WHEA_XPF_MCE_DESCRIPTORView { } // 0x10: u64 - set MCG_Capability(value: Deno.PointerValue) { + set MCG_Capability(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MCG_GlobalControl(value: Deno.PointerValue) { + set MCG_GlobalControl(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -47371,9 +47371,9 @@ export interface WHEA_GENERIC_ERROR_DESCRIPTOR_V2 { /** Windows.Win32.Foundation.LARGE_INTEGER */ ReadAckAddress: Uint8Array | Deno.PointerValue; /** u64 */ - ReadAckPreserveMask: Deno.PointerValue; + ReadAckPreserveMask: bigint | number; /** u64 */ - ReadAckWriteMask: Deno.PointerValue; + ReadAckWriteMask: bigint | number; } export const sizeofWHEA_GENERIC_ERROR_DESCRIPTOR_V2 = 64; @@ -47517,12 +47517,12 @@ export class WHEA_GENERIC_ERROR_DESCRIPTOR_V2View { } // 0x30: u64 - get ReadAckPreserveMask(): Deno.PointerValue { + get ReadAckPreserveMask(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ReadAckWriteMask(): Deno.PointerValue { + get ReadAckWriteMask(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -47609,12 +47609,12 @@ export class WHEA_GENERIC_ERROR_DESCRIPTOR_V2View { } // 0x30: u64 - set ReadAckPreserveMask(value: Deno.PointerValue) { + set ReadAckPreserveMask(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ReadAckWriteMask(value: Deno.PointerValue) { + set ReadAckWriteMask(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -51194,9 +51194,9 @@ export class IPMI_OS_SEL_RECORDView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries @@ -52519,7 +52519,7 @@ try { export function RtlAddFunctionTable( FunctionTable: Deno.PointerValue | Uint8Array /* ptr */, EntryCount: number /* u32 */, - BaseAddress: Deno.PointerValue /* u64 */, + BaseAddress: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.BOOLEAN */ { return libKERNEL32_dll.RtlAddFunctionTable(util.toPointer(FunctionTable), EntryCount, BaseAddress); } @@ -52531,8 +52531,8 @@ export function RtlDeleteFunctionTable( } export function RtlInstallFunctionTableCallback( - TableIdentifier: Deno.PointerValue /* u64 */, - BaseAddress: Deno.PointerValue /* u64 */, + TableIdentifier: bigint | number /* u64 */, + BaseAddress: bigint | number /* u64 */, Length: number /* u32 */, Callback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PGET_RUNTIME_FUNCTION_CALLBACK */, Context: Deno.PointerValue | Uint8Array /* ptr */, @@ -52546,14 +52546,14 @@ export function RtlAddGrowableFunctionTable( FunctionTable: Deno.PointerValue | Uint8Array /* ptr */, EntryCount: number /* u32 */, MaximumEntryCount: number /* u32 */, - RangeBase: Deno.PointerValue /* usize */, - RangeEnd: Deno.PointerValue /* usize */, + RangeBase: bigint | number /* usize */, + RangeEnd: bigint | number /* usize */, ): number /* u32 */ { return libntdll_dll.RtlAddGrowableFunctionTable(util.toPointer(DynamicTable), util.toPointer(FunctionTable), EntryCount, MaximumEntryCount, RangeBase, RangeEnd); } export function RtlLookupFunctionEntry( - ControlPc: Deno.PointerValue /* u64 */, + ControlPc: bigint | number /* u64 */, ImageBase: Deno.PointerValue | Uint8Array /* ptr */, HistoryTable: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* ptr */ { @@ -52562,8 +52562,8 @@ export function RtlLookupFunctionEntry( export function RtlVirtualUnwind( HandlerType: RTL_VIRTUAL_UNWIND_HANDLER_TYPE /* Windows.Win32.System.Diagnostics.Debug.RTL_VIRTUAL_UNWIND_HANDLER_TYPE */, - ImageBase: Deno.PointerValue /* u64 */, - ControlPc: Deno.PointerValue /* u64 */, + ImageBase: bigint | number /* u64 */, + ControlPc: bigint | number /* u64 */, FunctionEntry: Deno.PointerValue | Uint8Array /* ptr */, ContextRecord: Deno.PointerValue | Uint8Array /* ptr */, HandlerData: Deno.PointerValue | Uint8Array /* ptr */, @@ -52615,7 +52615,7 @@ export function ReadProcessMemory( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - nSize: Deno.PointerValue /* usize */, + nSize: bigint | number /* usize */, lpNumberOfBytesRead: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.ReadProcessMemory(util.toPointer(hProcess), util.toPointer(lpBaseAddress), util.toPointer(lpBuffer), nSize, util.toPointer(lpNumberOfBytesRead))); @@ -52625,7 +52625,7 @@ export function WriteProcessMemory( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - nSize: Deno.PointerValue /* usize */, + nSize: bigint | number /* usize */, lpNumberOfBytesWritten: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.WriteProcessMemory(util.toPointer(hProcess), util.toPointer(lpBaseAddress), util.toPointer(lpBuffer), nSize, util.toPointer(lpNumberOfBytesWritten))); @@ -52648,7 +52648,7 @@ export function SetThreadContext( export function FlushInstructionCache( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.FlushInstructionCache(util.toPointer(hProcess), util.toPointer(lpBaseAddress), dwSize)); } @@ -52980,7 +52980,7 @@ export function SetThreadErrorMode( } export function TerminateProcessOnMemoryExhaustion( - FailedAllocationSize: Deno.PointerValue /* usize */, + FailedAllocationSize: bigint | number /* usize */, ): void /* void */ { return libapi_ms_win_core_errorhandling_l1_1_3_dll.TerminateProcessOnMemoryExhaustion(FailedAllocationSize); } @@ -53000,7 +53000,7 @@ export function CloseThreadWaitChainSession( export function GetThreadWaitChain( WctHandle: Deno.PointerValue | Uint8Array /* ptr */, - Context: Deno.PointerValue /* usize */, + Context: bigint | number /* usize */, Flags: WAIT_CHAIN_THREAD_OPTIONS /* Windows.Win32.System.Diagnostics.Debug.WAIT_CHAIN_THREAD_OPTIONS */, ThreadId: number /* u32 */, NodeCount: Deno.PointerValue | Uint8Array /* ptr */, @@ -53507,7 +53507,7 @@ export function SymSetHomeDirectoryW( export function SymGetHomeDirectory( type: IMAGEHLP_HD_TYPE /* Windows.Win32.System.Diagnostics.Debug.IMAGEHLP_HD_TYPE */, dir: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - size: Deno.PointerValue /* usize */, + size: bigint | number /* usize */, ): string | null /* Windows.Win32.Foundation.PSTR */ { return util.pstrFromFfi(libdbghelp_dll.SymGetHomeDirectory(type, util.pstrToFfi(dir), size)); } @@ -53515,14 +53515,14 @@ export function SymGetHomeDirectory( export function SymGetHomeDirectoryW( type: IMAGEHLP_HD_TYPE /* Windows.Win32.System.Diagnostics.Debug.IMAGEHLP_HD_TYPE */, dir: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - size: Deno.PointerValue /* usize */, + size: bigint | number /* usize */, ): string | null /* Windows.Win32.Foundation.PWSTR */ { return util.pwstrFromFfi(libdbghelp_dll.SymGetHomeDirectoryW(type, util.pwstrToFfi(dir), size)); } export function SymGetOmaps( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, OmapTo: Deno.PointerValue | Uint8Array /* ptr */, cOmapTo: Deno.PointerValue | Uint8Array /* ptr */, OmapFrom: Deno.PointerValue | Uint8Array /* ptr */, @@ -53586,7 +53586,7 @@ export function SymMatchStringW( export function SymEnumSourceFiles( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ModBase: Deno.PointerValue /* u64 */, + ModBase: bigint | number /* u64 */, Mask: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, cbSrcFiles: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMSOURCEFILES_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -53596,7 +53596,7 @@ export function SymEnumSourceFiles( export function SymEnumSourceFilesW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ModBase: Deno.PointerValue /* u64 */, + ModBase: bigint | number /* u64 */, Mask: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cbSrcFiles: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMSOURCEFILES_CALLBACKW */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -53670,14 +53670,14 @@ export function EnumerateLoadedModules( export function SymFunctionTableAccess64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - AddrBase: Deno.PointerValue /* u64 */, + AddrBase: bigint | number /* u64 */, ): Deno.PointerValue /* ptr */ { return libdbghelp_dll.SymFunctionTableAccess64(util.toPointer(hProcess), AddrBase); } export function SymFunctionTableAccess64AccessRoutines( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - AddrBase: Deno.PointerValue /* u64 */, + AddrBase: bigint | number /* u64 */, ReadMemoryRoutine: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PREAD_PROCESS_MEMORY_ROUTINE64 */, GetModuleBaseRoutine: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PGET_MODULE_BASE_ROUTINE64 */, ): Deno.PointerValue /* ptr */ { @@ -53693,7 +53693,7 @@ export function SymFunctionTableAccess( export function SymGetUnwindInfo( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, Size: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -53702,7 +53702,7 @@ export function SymGetUnwindInfo( export function SymGetModuleInfo64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - qwAddr: Deno.PointerValue /* u64 */, + qwAddr: bigint | number /* u64 */, ModuleInfo: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymGetModuleInfo64(util.toPointer(hProcess), qwAddr, util.toPointer(ModuleInfo))); @@ -53710,7 +53710,7 @@ export function SymGetModuleInfo64( export function SymGetModuleInfoW64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - qwAddr: Deno.PointerValue /* u64 */, + qwAddr: bigint | number /* u64 */, ModuleInfo: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymGetModuleInfoW64(util.toPointer(hProcess), qwAddr, util.toPointer(ModuleInfo))); @@ -53734,8 +53734,8 @@ export function SymGetModuleInfoW( export function SymGetModuleBase64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - qwAddr: Deno.PointerValue /* u64 */, -): Deno.PointerValue /* u64 */ { + qwAddr: bigint | number /* u64 */, +): bigint | number /* u64 */ { return libdbghelp_dll.SymGetModuleBase64(util.toPointer(hProcess), qwAddr); } @@ -53748,7 +53748,7 @@ export function SymGetModuleBase( export function SymEnumLines( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Obj: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, File: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, EnumLinesCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMLINES_CALLBACK */, @@ -53759,7 +53759,7 @@ export function SymEnumLines( export function SymEnumLinesW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Obj: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, File: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, EnumLinesCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMLINES_CALLBACKW */, @@ -53770,7 +53770,7 @@ export function SymEnumLinesW( export function SymGetLineFromAddr64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - qwAddr: Deno.PointerValue /* u64 */, + qwAddr: bigint | number /* u64 */, pdwDisplacement: Deno.PointerValue | Uint8Array /* ptr */, Line64: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -53779,7 +53779,7 @@ export function SymGetLineFromAddr64( export function SymGetLineFromAddrW64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwAddr: Deno.PointerValue /* u64 */, + dwAddr: bigint | number /* u64 */, pdwDisplacement: Deno.PointerValue | Uint8Array /* ptr */, Line: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -53788,9 +53788,9 @@ export function SymGetLineFromAddrW64( export function SymGetLineFromInlineContext( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - qwAddr: Deno.PointerValue /* u64 */, + qwAddr: bigint | number /* u64 */, InlineContext: number /* u32 */, - qwModuleBaseAddress: Deno.PointerValue /* u64 */, + qwModuleBaseAddress: bigint | number /* u64 */, pdwDisplacement: Deno.PointerValue | Uint8Array /* ptr */, Line64: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -53799,9 +53799,9 @@ export function SymGetLineFromInlineContext( export function SymGetLineFromInlineContextW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwAddr: Deno.PointerValue /* u64 */, + dwAddr: bigint | number /* u64 */, InlineContext: number /* u32 */, - qwModuleBaseAddress: Deno.PointerValue /* u64 */, + qwModuleBaseAddress: bigint | number /* u64 */, pdwDisplacement: Deno.PointerValue | Uint8Array /* ptr */, Line: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -53810,7 +53810,7 @@ export function SymGetLineFromInlineContextW( export function SymEnumSourceLines( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Obj: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, File: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, Line: number /* u32 */, @@ -53823,7 +53823,7 @@ export function SymEnumSourceLines( export function SymEnumSourceLinesW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Obj: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, File: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Line: number /* u32 */, @@ -53836,28 +53836,28 @@ export function SymEnumSourceLinesW( export function SymAddrIncludeInlineTrace( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, ): number /* u32 */ { return libdbghelp_dll.SymAddrIncludeInlineTrace(util.toPointer(hProcess), Address); } export function SymCompareInlineTrace( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address1: Deno.PointerValue /* u64 */, + Address1: bigint | number /* u64 */, InlineContext1: number /* u32 */, - RetAddress1: Deno.PointerValue /* u64 */, - Address2: Deno.PointerValue /* u64 */, - RetAddress2: Deno.PointerValue /* u64 */, + RetAddress1: bigint | number /* u64 */, + Address2: bigint | number /* u64 */, + RetAddress2: bigint | number /* u64 */, ): number /* u32 */ { return libdbghelp_dll.SymCompareInlineTrace(util.toPointer(hProcess), Address1, InlineContext1, RetAddress1, Address2, RetAddress2); } export function SymQueryInlineTrace( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - StartAddress: Deno.PointerValue /* u64 */, + StartAddress: bigint | number /* u64 */, StartContext: number /* u32 */, - StartRetAddress: Deno.PointerValue /* u64 */, - CurAddress: Deno.PointerValue /* u64 */, + StartRetAddress: bigint | number /* u64 */, + CurAddress: bigint | number /* u64 */, CurContext: Deno.PointerValue | Uint8Array /* ptr */, CurFrameIndex: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -53978,7 +53978,7 @@ export function SymMatchFileNameW( export function SymGetSourceFile( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Params: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, FileSpec: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, FilePath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -53989,7 +53989,7 @@ export function SymGetSourceFile( export function SymGetSourceFileW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Params: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, FileSpec: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, FilePath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -54000,7 +54000,7 @@ export function SymGetSourceFileW( export function SymGetSourceFileToken( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, FileSpec: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, Token: Deno.PointerValue | Uint8Array /* ptr */, Size: Deno.PointerValue | Uint8Array /* ptr */, @@ -54010,7 +54010,7 @@ export function SymGetSourceFileToken( export function SymGetSourceFileTokenByTokenName( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, FileSpec: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, TokenName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, TokenParameters: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -54022,7 +54022,7 @@ export function SymGetSourceFileTokenByTokenName( export function SymGetSourceFileChecksumW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, FileSpec: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pCheckSumType: Deno.PointerValue | Uint8Array /* ptr */, pChecksum: Deno.PointerValue | Uint8Array /* ptr */, @@ -54034,7 +54034,7 @@ export function SymGetSourceFileChecksumW( export function SymGetSourceFileChecksum( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, FileSpec: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pCheckSumType: Deno.PointerValue | Uint8Array /* ptr */, pChecksum: Deno.PointerValue | Uint8Array /* ptr */, @@ -54046,7 +54046,7 @@ export function SymGetSourceFileChecksum( export function SymGetSourceFileTokenW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, FileSpec: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Token: Deno.PointerValue | Uint8Array /* ptr */, Size: Deno.PointerValue | Uint8Array /* ptr */, @@ -54056,7 +54056,7 @@ export function SymGetSourceFileTokenW( export function SymGetSourceFileTokenByTokenNameW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, FileSpec: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, TokenName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, TokenParameters: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -54132,7 +54132,7 @@ export function SymGetSourceVarFromTokenW( export function SymEnumSourceFileTokens( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Callback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PENUMSOURCEFILETOKENSCALLBACK */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymEnumSourceFileTokens(util.toPointer(hProcess), Base, util.toPointer(Callback))); @@ -54189,11 +54189,11 @@ export function SymLoadModuleEx( hFile: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ImageName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ModuleName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, DllSize: number /* u32 */, Data: Deno.PointerValue | Uint8Array /* ptr */, Flags: SYM_LOAD_FLAGS /* Windows.Win32.System.Diagnostics.Debug.SYM_LOAD_FLAGS */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libdbghelp_dll.SymLoadModuleEx(util.toPointer(hProcess), util.toPointer(hFile), util.pstrToFfi(ImageName), util.pstrToFfi(ModuleName), BaseOfDll, DllSize, util.toPointer(Data), Flags); } @@ -54202,17 +54202,17 @@ export function SymLoadModuleExW( hFile: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ImageName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ModuleName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, DllSize: number /* u32 */, Data: Deno.PointerValue | Uint8Array /* ptr */, Flags: SYM_LOAD_FLAGS /* Windows.Win32.System.Diagnostics.Debug.SYM_LOAD_FLAGS */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libdbghelp_dll.SymLoadModuleExW(util.toPointer(hProcess), util.toPointer(hFile), util.pwstrToFfi(ImageName), util.pwstrToFfi(ModuleName), BaseOfDll, DllSize, util.toPointer(Data), Flags); } export function SymUnloadModule64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymUnloadModule64(util.toPointer(hProcess), BaseOfDll)); } @@ -54243,7 +54243,7 @@ export function SymUnDName( export function SymRegisterCallback64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, CallbackFunction: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYMBOL_REGISTERED_CALLBACK64 */, - UserContext: Deno.PointerValue /* u64 */, + UserContext: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymRegisterCallback64(util.toPointer(hProcess), util.toPointer(CallbackFunction), UserContext)); } @@ -54251,7 +54251,7 @@ export function SymRegisterCallback64( export function SymRegisterCallbackW64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, CallbackFunction: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYMBOL_REGISTERED_CALLBACK64 */, - UserContext: Deno.PointerValue /* u64 */, + UserContext: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymRegisterCallbackW64(util.toPointer(hProcess), util.toPointer(CallbackFunction), UserContext)); } @@ -54259,7 +54259,7 @@ export function SymRegisterCallbackW64( export function SymRegisterFunctionEntryCallback64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, CallbackFunction: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYMBOL_FUNCENTRY_CALLBACK64 */, - UserContext: Deno.PointerValue /* u64 */, + UserContext: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymRegisterFunctionEntryCallback64(util.toPointer(hProcess), util.toPointer(CallbackFunction), UserContext)); } @@ -54290,14 +54290,14 @@ export function SymSetContext( export function SymSetScopeFromAddr( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymSetScopeFromAddr(util.toPointer(hProcess), Address)); } export function SymSetScopeFromInlineContext( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, InlineContext: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymSetScopeFromInlineContext(util.toPointer(hProcess), Address, InlineContext)); @@ -54305,7 +54305,7 @@ export function SymSetScopeFromInlineContext( export function SymSetScopeFromIndex( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Index: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymSetScopeFromIndex(util.toPointer(hProcess), BaseOfDll, Index)); @@ -54320,7 +54320,7 @@ export function SymEnumProcesses( export function SymFromAddr( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, Displacement: Deno.PointerValue | Uint8Array /* ptr */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54329,7 +54329,7 @@ export function SymFromAddr( export function SymFromAddrW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, Displacement: Deno.PointerValue | Uint8Array /* ptr */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54338,7 +54338,7 @@ export function SymFromAddrW( export function SymFromInlineContext( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, InlineContext: number /* u32 */, Displacement: Deno.PointerValue | Uint8Array /* ptr */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, @@ -54348,7 +54348,7 @@ export function SymFromInlineContext( export function SymFromInlineContextW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, InlineContext: number /* u32 */, Displacement: Deno.PointerValue | Uint8Array /* ptr */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, @@ -54358,7 +54358,7 @@ export function SymFromInlineContextW( export function SymFromToken( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Token: number /* u32 */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54367,7 +54367,7 @@ export function SymFromToken( export function SymFromTokenW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, Token: number /* u32 */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54420,7 +54420,7 @@ export function SymFromNameW( export function SymEnumSymbols( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Mask: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -54430,7 +54430,7 @@ export function SymEnumSymbols( export function SymEnumSymbolsEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Mask: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -54441,7 +54441,7 @@ export function SymEnumSymbolsEx( export function SymEnumSymbolsW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Mask: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACKW */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -54451,7 +54451,7 @@ export function SymEnumSymbolsW( export function SymEnumSymbolsExW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Mask: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACKW */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -54462,7 +54462,7 @@ export function SymEnumSymbolsExW( export function SymEnumSymbolsForAddr( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54471,7 +54471,7 @@ export function SymEnumSymbolsForAddr( export function SymEnumSymbolsForAddrW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACKW */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54480,11 +54480,11 @@ export function SymEnumSymbolsForAddrW( export function SymSearch( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Index: number /* u32 */, SymTag: number /* u32 */, Mask: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, Options: number /* u32 */, @@ -54494,11 +54494,11 @@ export function SymSearch( export function SymSearchW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Index: number /* u32 */, SymTag: number /* u32 */, Mask: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACKW */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, Options: number /* u32 */, @@ -54508,7 +54508,7 @@ export function SymSearchW( export function SymGetScope( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Index: number /* u32 */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54517,7 +54517,7 @@ export function SymGetScope( export function SymGetScopeW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Index: number /* u32 */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54526,7 +54526,7 @@ export function SymGetScopeW( export function SymFromIndex( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Index: number /* u32 */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54535,7 +54535,7 @@ export function SymFromIndex( export function SymFromIndexW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Index: number /* u32 */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54544,7 +54544,7 @@ export function SymFromIndexW( export function SymGetTypeInfo( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ModBase: Deno.PointerValue /* u64 */, + ModBase: bigint | number /* u64 */, TypeId: number /* u32 */, GetType: IMAGEHLP_SYMBOL_TYPE_INFO /* Windows.Win32.System.Diagnostics.Debug.IMAGEHLP_SYMBOL_TYPE_INFO */, pInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -54554,7 +54554,7 @@ export function SymGetTypeInfo( export function SymGetTypeInfoEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ModBase: Deno.PointerValue /* u64 */, + ModBase: bigint | number /* u64 */, Params: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymGetTypeInfoEx(util.toPointer(hProcess), ModBase, util.toPointer(Params))); @@ -54562,7 +54562,7 @@ export function SymGetTypeInfoEx( export function SymEnumTypes( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54571,7 +54571,7 @@ export function SymEnumTypes( export function SymEnumTypesW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACKW */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54580,7 +54580,7 @@ export function SymEnumTypesW( export function SymEnumTypesByName( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, mask: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -54590,7 +54590,7 @@ export function SymEnumTypesByName( export function SymEnumTypesByNameW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, mask: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACKW */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, @@ -54600,7 +54600,7 @@ export function SymEnumTypesByNameW( export function SymGetTypeFromName( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Name: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54609,7 +54609,7 @@ export function SymGetTypeFromName( export function SymGetTypeFromNameW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Name: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54618,9 +54618,9 @@ export function SymGetTypeFromNameW( export function SymAddSymbol( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Name: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, Size: number /* u32 */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54629,9 +54629,9 @@ export function SymAddSymbol( export function SymAddSymbolW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Name: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, Size: number /* u32 */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54640,9 +54640,9 @@ export function SymAddSymbolW( export function SymDeleteSymbol( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Name: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymDeleteSymbol(util.toPointer(hProcess), BaseOfDll, util.pstrToFfi(Name), Address, Flags)); @@ -54650,9 +54650,9 @@ export function SymDeleteSymbol( export function SymDeleteSymbolW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, Name: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Address: Deno.PointerValue /* u64 */, + Address: bigint | number /* u64 */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymDeleteSymbolW(util.toPointer(hProcess), BaseOfDll, util.pwstrToFfi(Name), Address, Flags)); @@ -54666,30 +54666,30 @@ export function SymRefreshModuleList( export function SymAddSourceStream( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, StreamFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymAddSourceStream(util.toPointer(hProcess), Base, util.pstrToFfi(StreamFile), util.toPointer(Buffer), Size)); } export function SymAddSourceStreamA( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, StreamFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymAddSourceStreamA(util.toPointer(hProcess), Base, util.pstrToFfi(StreamFile), util.toPointer(Buffer), Size)); } export function SymAddSourceStreamW( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Base: Deno.PointerValue /* u64 */, + Base: bigint | number /* u64 */, FileSpec: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymAddSourceStreamW(util.toPointer(hProcess), Base, util.pwstrToFfi(FileSpec), util.toPointer(Buffer), Size)); } @@ -54771,7 +54771,7 @@ export function SymSrvGetFileIndexStringW( SrvPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, File: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Index: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymSrvGetFileIndexStringW(util.toPointer(hProcess), util.pwstrToFfi(SrvPath), util.pwstrToFfi(File), util.pwstrToFfi(Index), Size, Flags)); @@ -54782,7 +54782,7 @@ export function SymSrvGetFileIndexString( SrvPath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, File: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, Index: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymSrvGetFileIndexString(util.toPointer(hProcess), util.pstrToFfi(SrvPath), util.pstrToFfi(File), util.pstrToFfi(Index), Size, Flags)); @@ -54848,9 +54848,9 @@ export function SymGetSymbolFile( ImageFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, Type: IMAGEHLP_SF_TYPE /* Windows.Win32.System.Diagnostics.Debug.IMAGEHLP_SF_TYPE */, SymbolFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - cSymbolFile: Deno.PointerValue /* usize */, + cSymbolFile: bigint | number /* usize */, DbgFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - cDbgFile: Deno.PointerValue /* usize */, + cDbgFile: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymGetSymbolFile(util.toPointer(hProcess), util.pstrToFfi(SymPath), util.pstrToFfi(ImageFile), Type, util.pstrToFfi(SymbolFile), cSymbolFile, util.pstrToFfi(DbgFile), cDbgFile)); } @@ -54861,9 +54861,9 @@ export function SymGetSymbolFileW( ImageFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Type: IMAGEHLP_SF_TYPE /* Windows.Win32.System.Diagnostics.Debug.IMAGEHLP_SF_TYPE */, SymbolFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cSymbolFile: Deno.PointerValue /* usize */, + cSymbolFile: bigint | number /* usize */, DbgFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cDbgFile: Deno.PointerValue /* usize */, + cDbgFile: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.SymGetSymbolFileW(util.toPointer(hProcess), util.pwstrToFfi(SymPath), util.pwstrToFfi(ImageFile), Type, util.pwstrToFfi(SymbolFile), cSymbolFile, util.pwstrToFfi(DbgFile), cDbgFile)); } @@ -54886,7 +54886,7 @@ export function DbgHelpCreateUserDumpW( export function SymGetSymFromAddr64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - qwAddr: Deno.PointerValue /* u64 */, + qwAddr: bigint | number /* u64 */, pdwDisplacement: Deno.PointerValue | Uint8Array /* ptr */, Symbol: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54945,7 +54945,7 @@ export function FindFileInSearchPath( export function SymEnumSym( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMERATESYMBOLS_CALLBACK */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54954,7 +54954,7 @@ export function SymEnumSym( export function SymEnumerateSymbols64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMSYMBOLS_CALLBACK64 */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54963,7 +54963,7 @@ export function SymEnumerateSymbols64( export function SymEnumerateSymbolsW64( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, EnumSymbolsCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Debug.PSYM_ENUMSYMBOLS_CALLBACK64W */, UserContext: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -54993,9 +54993,9 @@ export function SymLoadModule64( hFile: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ImageName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ModuleName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - BaseOfDll: Deno.PointerValue /* u64 */, + BaseOfDll: bigint | number /* u64 */, SizeOfDll: number /* u32 */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libdbghelp_dll.SymLoadModule64(util.toPointer(hProcess), util.toPointer(hFile), util.pstrToFfi(ImageName), util.pstrToFfi(ModuleName), BaseOfDll, SizeOfDll); } @@ -55083,8 +55083,8 @@ export function RangeMapAddPeImageSections( ImageName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, MappedImage: Deno.PointerValue | Uint8Array /* ptr */, MappingBytes: number /* u32 */, - ImageBase: Deno.PointerValue /* u64 */, - UserTag: Deno.PointerValue /* u64 */, + ImageBase: bigint | number /* u64 */, + UserTag: bigint | number /* u64 */, MappingFlags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.RangeMapAddPeImageSections(util.toPointer(RmapHandle), util.pwstrToFfi(ImageName), util.toPointer(MappedImage), MappingBytes, ImageBase, UserTag, MappingFlags)); @@ -55092,14 +55092,14 @@ export function RangeMapAddPeImageSections( export function RangeMapRemove( RmapHandle: Deno.PointerValue | Uint8Array /* ptr */, - UserTag: Deno.PointerValue /* u64 */, + UserTag: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libdbghelp_dll.RangeMapRemove(util.toPointer(RmapHandle), UserTag)); } export function RangeMapRead( RmapHandle: Deno.PointerValue | Uint8Array /* ptr */, - Offset: Deno.PointerValue /* u64 */, + Offset: bigint | number /* u64 */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, RequestBytes: number /* u32 */, Flags: number /* u32 */, @@ -55110,7 +55110,7 @@ export function RangeMapRead( export function RangeMapWrite( RmapHandle: Deno.PointerValue | Uint8Array /* ptr */, - Offset: Deno.PointerValue /* u64 */, + Offset: bigint | number /* u64 */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, RequestBytes: number /* u32 */, Flags: number /* u32 */, @@ -55205,12 +55205,12 @@ export function InitializeContext2( ContextFlags: number /* u32 */, Context: Deno.PointerValue | Uint8Array /* ptr */, ContextLength: Deno.PointerValue | Uint8Array /* ptr */, - XStateCompactionMask: Deno.PointerValue /* u64 */, + XStateCompactionMask: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.InitializeContext2(util.toPointer(Buffer), ContextFlags, util.toPointer(Context), util.toPointer(ContextLength), XStateCompactionMask)); } -export function GetEnabledXStateFeatures(): Deno.PointerValue /* u64 */ { +export function GetEnabledXStateFeatures(): bigint | number /* u64 */ { return libKERNEL32_dll.GetEnabledXStateFeatures(); } @@ -55231,7 +55231,7 @@ export function LocateXStateFeature( export function SetXStateFeaturesMask( Context: Deno.PointerValue | Uint8Array /* ptr */, - FeatureMask: Deno.PointerValue /* u64 */, + FeatureMask: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetXStateFeaturesMask(util.toPointer(Context), FeatureMask)); } diff --git a/api/System/Diagnostics/Etw.ts b/api/System/Diagnostics/Etw.ts index 7e0f2cd..2510761 100644 --- a/api/System/Diagnostics/Etw.ts +++ b/api/System/Diagnostics/Etw.ts @@ -3909,13 +3909,13 @@ export const ERROR_QUERY_STORAGE_ERROR = 2151284737; // Structs -export type TDH_HANDLE = Deno.PointerValue; +export type TDH_HANDLE = bigint | number; -export type PROCESSTRACE_HANDLE = Deno.PointerValue; +export type PROCESSTRACE_HANDLE = bigint | number; -export type CONTROLTRACE_HANDLE = Deno.PointerValue; +export type CONTROLTRACE_HANDLE = bigint | number; -export type RELOGSTREAM_HANDLE = Deno.PointerValue; +export type RELOGSTREAM_HANDLE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -3924,11 +3924,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -3980,7 +3980,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3991,7 +3991,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4027,7 +4027,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4038,7 +4038,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4075,7 +4075,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -4104,7 +4104,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4116,7 +4116,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -4312,9 +4312,9 @@ export class OFFSETINSTANCEDATAANDLENGTHView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4340,22 +4340,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5346,7 +5346,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -5386,7 +5386,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -5401,7 +5401,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -5688,7 +5688,7 @@ export interface EVENT_INSTANCE_HEADER { /** Windows.Win32.Foundation.LARGE_INTEGER */ TimeStamp: Uint8Array | Deno.PointerValue; /** u64 */ - RegHandle: Deno.PointerValue; + RegHandle: bigint | number; /** u32 */ InstanceId: number; /** u32 */ @@ -5696,7 +5696,7 @@ export interface EVENT_INSTANCE_HEADER { /** _Anonymous3_e__Union */ Anonymous3: Uint8Array | Deno.PointerValue; /** u64 */ - ParentRegHandle: Deno.PointerValue; + ParentRegHandle: bigint | number; } export const sizeofEVENT_INSTANCE_HEADER = 72; @@ -5776,7 +5776,7 @@ export class EVENT_INSTANCE_HEADERView { } // 0x28: u64 - get RegHandle(): Deno.PointerValue { + get RegHandle(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -5797,7 +5797,7 @@ export class EVENT_INSTANCE_HEADERView { } // 0x40: u64 - get ParentRegHandle(): Deno.PointerValue { + get ParentRegHandle(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -5834,7 +5834,7 @@ export class EVENT_INSTANCE_HEADERView { } // 0x28: u64 - set RegHandle(value: Deno.PointerValue) { + set RegHandle(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -5854,7 +5854,7 @@ export class EVENT_INSTANCE_HEADERView { } // 0x40: u64 - set ParentRegHandle(value: Deno.PointerValue) { + set ParentRegHandle(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -5864,7 +5864,7 @@ export class EVENT_INSTANCE_HEADERView { */ export interface MOF_FIELD { /** u64 */ - DataPtr: Deno.PointerValue; + DataPtr: bigint | number; /** u32 */ Length: number; /** u32 */ @@ -5896,7 +5896,7 @@ export class MOF_FIELDView { } // 0x00: u64 - get DataPtr(): Deno.PointerValue { + get DataPtr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5911,7 +5911,7 @@ export class MOF_FIELDView { } // 0x00: u64 - set DataPtr(value: Deno.PointerValue) { + set DataPtr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6818,9 +6818,9 @@ export interface TRACE_LOGFILE_HEADER64 { /** _Anonymous2_e__Union */ Anonymous2: Uint8Array | Deno.PointerValue; /** u64 */ - LoggerName: Deno.PointerValue; + LoggerName: bigint | number; /** u64 */ - LogFileName: Deno.PointerValue; + LogFileName: bigint | number; /** Windows.Win32.System.Time.TIME_ZONE_INFORMATION */ TimeZone: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LARGE_INTEGER */ @@ -6946,12 +6946,12 @@ export class TRACE_LOGFILE_HEADER64View { } // 0x38: u64 - get LoggerName(): Deno.PointerValue { + get LoggerName(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get LogFileName(): Deno.PointerValue { + get LogFileName(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -7042,12 +7042,12 @@ export class TRACE_LOGFILE_HEADER64View { } // 0x38: u64 - set LoggerName(value: Deno.PointerValue) { + set LoggerName(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set LogFileName(value: Deno.PointerValue) { + set LogFileName(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -7082,7 +7082,7 @@ export class TRACE_LOGFILE_HEADER64View { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Etw.EVENT_INSTANCE_INFO (size: 16) @@ -8021,9 +8021,9 @@ export interface TRACE_ENABLE_INFO { /** u32 */ Reserved2: number; /** u64 */ - MatchAnyKeyword: Deno.PointerValue; + MatchAnyKeyword: bigint | number; /** u64 */ - MatchAllKeyword: Deno.PointerValue; + MatchAllKeyword: bigint | number; } export const sizeofTRACE_ENABLE_INFO = 32; @@ -8091,12 +8091,12 @@ export class TRACE_ENABLE_INFOView { } // 0x10: u64 - get MatchAnyKeyword(): Deno.PointerValue { + get MatchAnyKeyword(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MatchAllKeyword(): Deno.PointerValue { + get MatchAllKeyword(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8131,12 +8131,12 @@ export class TRACE_ENABLE_INFOView { } // 0x10: u64 - set MatchAnyKeyword(value: Deno.PointerValue) { + set MatchAnyKeyword(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MatchAllKeyword(value: Deno.PointerValue) { + set MatchAllKeyword(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -8288,7 +8288,7 @@ export interface PROFILE_SOURCE_INFO { /** u32 */ MaxInterval: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** array */ Description: Deno.PointerValue; } @@ -8344,7 +8344,7 @@ export class PROFILE_SOURCE_INFOView { } // 0x10: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -8375,7 +8375,7 @@ export class PROFILE_SOURCE_INFOView { } // 0x10: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -8666,7 +8666,7 @@ export interface EVENT_TRACE_LOGFILEW { /** Windows.Win32.Foundation.PWSTR */ LoggerName: string | null | Uint8Array | Uint16Array; /** i64 */ - CurrentTime: Deno.PointerValue; + CurrentTime: bigint | number; /** u32 */ BuffersRead: number; /** _Anonymous1_e__Union */ @@ -8759,7 +8759,7 @@ export class EVENT_TRACE_LOGFILEWView { } // 0x10: i64 - get CurrentTime(): Deno.PointerValue { + get CurrentTime(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -8843,7 +8843,7 @@ export class EVENT_TRACE_LOGFILEWView { } // 0x10: i64 - set CurrentTime(value: Deno.PointerValue) { + set CurrentTime(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -8920,7 +8920,7 @@ export interface EVENT_TRACE_LOGFILEA { /** Windows.Win32.Foundation.PSTR */ LoggerName: string | null | Uint8Array; /** i64 */ - CurrentTime: Deno.PointerValue; + CurrentTime: bigint | number; /** u32 */ BuffersRead: number; /** _Anonymous1_e__Union */ @@ -9013,7 +9013,7 @@ export class EVENT_TRACE_LOGFILEAView { } // 0x10: i64 - get CurrentTime(): Deno.PointerValue { + get CurrentTime(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -9097,7 +9097,7 @@ export class EVENT_TRACE_LOGFILEAView { } // 0x10: i64 - set CurrentTime(value: Deno.PointerValue) { + set CurrentTime(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -9710,7 +9710,7 @@ export interface ETW_TRACE_PARTITION_INFORMATION { /** System.Guid */ ParentId: Uint8Array | Deno.PointerValue; /** i64 */ - QpcOffsetFromRoot: Deno.PointerValue; + QpcOffsetFromRoot: bigint | number; /** u32 */ PartitionType: number; } @@ -9755,7 +9755,7 @@ export class ETW_TRACE_PARTITION_INFORMATIONView { } // 0x10: i64 - get QpcOffsetFromRoot(): Deno.PointerValue { + get QpcOffsetFromRoot(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -9777,7 +9777,7 @@ export class ETW_TRACE_PARTITION_INFORMATIONView { } // 0x10: i64 - set QpcOffsetFromRoot(value: Deno.PointerValue) { + set QpcOffsetFromRoot(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -9794,7 +9794,7 @@ export class ETW_TRACE_PARTITION_INFORMATIONView { */ export interface ETW_TRACE_PARTITION_INFORMATION_V2 { /** i64 */ - QpcOffsetFromRoot: Deno.PointerValue; + QpcOffsetFromRoot: bigint | number; /** u32 */ PartitionType: number; /** Windows.Win32.Foundation.PWSTR */ @@ -9837,7 +9837,7 @@ export class ETW_TRACE_PARTITION_INFORMATION_V2View { } // 0x00: i64 - get QpcOffsetFromRoot(): Deno.PointerValue { + get QpcOffsetFromRoot(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -9861,7 +9861,7 @@ export class ETW_TRACE_PARTITION_INFORMATION_V2View { } // 0x00: i64 - set QpcOffsetFromRoot(value: Deno.PointerValue) { + set QpcOffsetFromRoot(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -9890,7 +9890,7 @@ export class ETW_TRACE_PARTITION_INFORMATION_V2View { */ export interface EVENT_DATA_DESCRIPTOR { /** u64 */ - Ptr: Deno.PointerValue; + Ptr: bigint | number; /** u32 */ Size: number; /** _Anonymous_e__Union */ @@ -9923,7 +9923,7 @@ export class EVENT_DATA_DESCRIPTORView { } // 0x00: u64 - get Ptr(): Deno.PointerValue { + get Ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9941,7 +9941,7 @@ export class EVENT_DATA_DESCRIPTORView { } // 0x00: u64 - set Ptr(value: Deno.PointerValue) { + set Ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9975,7 +9975,7 @@ export interface EVENT_DESCRIPTOR { /** u16 */ Task: number; /** u64 */ - Keyword: Deno.PointerValue; + Keyword: bigint | number; } export const sizeofEVENT_DESCRIPTOR = 16; @@ -10041,7 +10041,7 @@ export class EVENT_DESCRIPTORView { } // 0x08: u64 - get Keyword(): Deno.PointerValue { + get Keyword(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10076,7 +10076,7 @@ export class EVENT_DESCRIPTORView { } // 0x08: u64 - set Keyword(value: Deno.PointerValue) { + set Keyword(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10086,7 +10086,7 @@ export class EVENT_DESCRIPTORView { */ export interface EVENT_FILTER_DESCRIPTOR { /** u64 */ - Ptr: Deno.PointerValue; + Ptr: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -10118,7 +10118,7 @@ export class EVENT_FILTER_DESCRIPTORView { } // 0x00: u64 - get Ptr(): Deno.PointerValue { + get Ptr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10133,7 +10133,7 @@ export class EVENT_FILTER_DESCRIPTORView { } // 0x00: u64 - set Ptr(value: Deno.PointerValue) { + set Ptr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10159,7 +10159,7 @@ export interface EVENT_FILTER_HEADER { /** array */ Reserved: Deno.PointerValue; /** u64 */ - InstanceId: Deno.PointerValue; + InstanceId: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -10216,7 +10216,7 @@ export class EVENT_FILTER_HEADERView { } // 0x10: u64 - get InstanceId(): Deno.PointerValue { + get InstanceId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10248,7 +10248,7 @@ export class EVENT_FILTER_HEADERView { } // 0x10: u64 - set InstanceId(value: Deno.PointerValue) { + set InstanceId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -10356,9 +10356,9 @@ export class EVENT_FILTER_EVENT_IDView { */ export interface EVENT_FILTER_EVENT_NAME { /** u64 */ - MatchAnyKeyword: Deno.PointerValue; + MatchAnyKeyword: bigint | number; /** u64 */ - MatchAllKeyword: Deno.PointerValue; + MatchAllKeyword: bigint | number; /** u8 */ Level: number; /** Windows.Win32.Foundation.BOOLEAN */ @@ -10402,12 +10402,12 @@ export class EVENT_FILTER_EVENT_NAMEView { } // 0x00: u64 - get MatchAnyKeyword(): Deno.PointerValue { + get MatchAnyKeyword(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get MatchAllKeyword(): Deno.PointerValue { + get MatchAllKeyword(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10438,12 +10438,12 @@ export class EVENT_FILTER_EVENT_NAMEView { } // 0x00: u64 - set MatchAnyKeyword(value: Deno.PointerValue) { + set MatchAnyKeyword(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set MatchAllKeyword(value: Deno.PointerValue) { + set MatchAllKeyword(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10477,9 +10477,9 @@ export class EVENT_FILTER_EVENT_NAMEView { */ export interface EVENT_FILTER_LEVEL_KW { /** u64 */ - MatchAnyKeyword: Deno.PointerValue; + MatchAnyKeyword: bigint | number; /** u64 */ - MatchAllKeyword: Deno.PointerValue; + MatchAllKeyword: bigint | number; /** u8 */ Level: number; /** Windows.Win32.Foundation.BOOLEAN */ @@ -10514,12 +10514,12 @@ export class EVENT_FILTER_LEVEL_KWView { } // 0x00: u64 - get MatchAnyKeyword(): Deno.PointerValue { + get MatchAnyKeyword(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get MatchAllKeyword(): Deno.PointerValue { + get MatchAllKeyword(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10537,12 +10537,12 @@ export class EVENT_FILTER_LEVEL_KWView { } // 0x00: u64 - set MatchAnyKeyword(value: Deno.PointerValue) { + set MatchAnyKeyword(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set MatchAllKeyword(value: Deno.PointerValue) { + set MatchAllKeyword(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10572,7 +10572,7 @@ export interface EVENT_HEADER_EXTENDED_DATA_ITEM { /** u16 */ DataSize: number; /** u64 */ - DataPtr: Deno.PointerValue; + DataPtr: bigint | number; } export const sizeofEVENT_HEADER_EXTENDED_DATA_ITEM = 32; @@ -10631,7 +10631,7 @@ export class EVENT_HEADER_EXTENDED_DATA_ITEMView { // 0x12: pad6 // 0x18: u64 - get DataPtr(): Deno.PointerValue { + get DataPtr(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -10660,7 +10660,7 @@ export class EVENT_HEADER_EXTENDED_DATA_ITEMView { // 0x12: pad6 // 0x18: u64 - set DataPtr(value: Deno.PointerValue) { + set DataPtr(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -10822,7 +10822,7 @@ export class EVENT_EXTENDED_ITEM_TS_IDView { */ export interface EVENT_EXTENDED_ITEM_STACK_TRACE32 { /** u64 */ - MatchId: Deno.PointerValue; + MatchId: bigint | number; /** array */ Address: Deno.PointerValue; } @@ -10850,7 +10850,7 @@ export class EVENT_EXTENDED_ITEM_STACK_TRACE32View { } // 0x00: u64 - get MatchId(): Deno.PointerValue { + get MatchId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10861,7 +10861,7 @@ export class EVENT_EXTENDED_ITEM_STACK_TRACE32View { } // 0x00: u64 - set MatchId(value: Deno.PointerValue) { + set MatchId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10876,7 +10876,7 @@ export class EVENT_EXTENDED_ITEM_STACK_TRACE32View { */ export interface EVENT_EXTENDED_ITEM_STACK_TRACE64 { /** u64 */ - MatchId: Deno.PointerValue; + MatchId: bigint | number; /** array */ Address: Deno.PointerValue; } @@ -10904,7 +10904,7 @@ export class EVENT_EXTENDED_ITEM_STACK_TRACE64View { } // 0x00: u64 - get MatchId(): Deno.PointerValue { + get MatchId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10915,7 +10915,7 @@ export class EVENT_EXTENDED_ITEM_STACK_TRACE64View { } // 0x00: u64 - set MatchId(value: Deno.PointerValue) { + set MatchId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10930,7 +10930,7 @@ export class EVENT_EXTENDED_ITEM_STACK_TRACE64View { */ export interface EVENT_EXTENDED_ITEM_STACK_KEY32 { /** u64 */ - MatchId: Deno.PointerValue; + MatchId: bigint | number; /** u32 */ StackKey: number; /** u32 */ @@ -10962,7 +10962,7 @@ export class EVENT_EXTENDED_ITEM_STACK_KEY32View { } // 0x00: u64 - get MatchId(): Deno.PointerValue { + get MatchId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -10977,7 +10977,7 @@ export class EVENT_EXTENDED_ITEM_STACK_KEY32View { } // 0x00: u64 - set MatchId(value: Deno.PointerValue) { + set MatchId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -10997,9 +10997,9 @@ export class EVENT_EXTENDED_ITEM_STACK_KEY32View { */ export interface EVENT_EXTENDED_ITEM_STACK_KEY64 { /** u64 */ - MatchId: Deno.PointerValue; + MatchId: bigint | number; /** u64 */ - StackKey: Deno.PointerValue; + StackKey: bigint | number; } export const sizeofEVENT_EXTENDED_ITEM_STACK_KEY64 = 16; @@ -11025,22 +11025,22 @@ export class EVENT_EXTENDED_ITEM_STACK_KEY64View { } // 0x00: u64 - get MatchId(): Deno.PointerValue { + get MatchId(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get StackKey(): Deno.PointerValue { + get StackKey(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set MatchId(value: Deno.PointerValue) { + set MatchId(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set StackKey(value: Deno.PointerValue) { + set StackKey(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11050,7 +11050,7 @@ export class EVENT_EXTENDED_ITEM_STACK_KEY64View { */ export interface EVENT_EXTENDED_ITEM_PEBS_INDEX { /** u64 */ - PebsIndex: Deno.PointerValue; + PebsIndex: bigint | number; } export const sizeofEVENT_EXTENDED_ITEM_PEBS_INDEX = 8; @@ -11074,12 +11074,12 @@ export class EVENT_EXTENDED_ITEM_PEBS_INDEXView { } // 0x00: u64 - get PebsIndex(): Deno.PointerValue { + get PebsIndex(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set PebsIndex(value: Deno.PointerValue) { + set PebsIndex(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -11129,7 +11129,7 @@ export class EVENT_EXTENDED_ITEM_PMC_COUNTERSView { */ export interface EVENT_EXTENDED_ITEM_PROCESS_START_KEY { /** u64 */ - ProcessStartKey: Deno.PointerValue; + ProcessStartKey: bigint | number; } export const sizeofEVENT_EXTENDED_ITEM_PROCESS_START_KEY = 8; @@ -11153,12 +11153,12 @@ export class EVENT_EXTENDED_ITEM_PROCESS_START_KEYView { } // 0x00: u64 - get ProcessStartKey(): Deno.PointerValue { + get ProcessStartKey(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ProcessStartKey(value: Deno.PointerValue) { + set ProcessStartKey(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -11168,7 +11168,7 @@ export class EVENT_EXTENDED_ITEM_PROCESS_START_KEYView { */ export interface EVENT_EXTENDED_ITEM_EVENT_KEY { /** u64 */ - Key: Deno.PointerValue; + Key: bigint | number; } export const sizeofEVENT_EXTENDED_ITEM_EVENT_KEY = 8; @@ -11192,12 +11192,12 @@ export class EVENT_EXTENDED_ITEM_EVENT_KEYView { } // 0x00: u64 - get Key(): Deno.PointerValue { + get Key(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set Key(value: Deno.PointerValue) { + set Key(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -12115,7 +12115,7 @@ export class TRACE_EVENT_INFOView { */ export interface PROPERTY_DATA_DESCRIPTOR { /** u64 */ - PropertyName: Deno.PointerValue; + PropertyName: bigint | number; /** u32 */ ArrayIndex: number; /** u32 */ @@ -12147,7 +12147,7 @@ export class PROPERTY_DATA_DESCRIPTORView { } // 0x00: u64 - get PropertyName(): Deno.PointerValue { + get PropertyName(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12162,7 +12162,7 @@ export class PROPERTY_DATA_DESCRIPTORView { } // 0x00: u64 - set PropertyName(value: Deno.PointerValue) { + set PropertyName(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12383,7 +12383,7 @@ export interface PROVIDER_FIELD_INFO { /** u32 */ DescriptionOffset: number; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofPROVIDER_FIELD_INFO = 16; @@ -12421,7 +12421,7 @@ export class PROVIDER_FIELD_INFOView { } // 0x08: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -12436,7 +12436,7 @@ export class PROVIDER_FIELD_INFOView { } // 0x08: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12718,7 +12718,7 @@ export class PROVIDER_EVENT_INFOView { */ export interface TDH_CONTEXT { /** u64 */ - ParameterValue: Deno.PointerValue; + ParameterValue: bigint | number; /** Windows.Win32.System.Diagnostics.Etw.TDH_CONTEXT_TYPE */ ParameterType: TDH_CONTEXT_TYPE; /** u32 */ @@ -12750,7 +12750,7 @@ export class TDH_CONTEXTView { } // 0x00: u64 - get ParameterValue(): Deno.PointerValue { + get ParameterValue(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12765,7 +12765,7 @@ export class TDH_CONTEXTView { } // 0x00: u64 - set ParameterValue(value: Deno.PointerValue) { + set ParameterValue(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13253,8 +13253,8 @@ export function EnableTraceEx( TraceHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.Etw.CONTROLTRACE_HANDLE */, IsEnabled: number /* u32 */, Level: number /* u8 */, - MatchAnyKeyword: Deno.PointerValue /* u64 */, - MatchAllKeyword: Deno.PointerValue /* u64 */, + MatchAnyKeyword: bigint | number /* u64 */, + MatchAllKeyword: bigint | number /* u64 */, EnableProperty: number /* u32 */, EnableFilterDesc: Deno.PointerValue | Uint8Array /* ptr */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -13266,8 +13266,8 @@ export function EnableTraceEx2( ProviderId: Deno.PointerValue | Uint8Array /* ptr */, ControlCode: number /* u32 */, Level: number /* u8 */, - MatchAnyKeyword: Deno.PointerValue /* u64 */, - MatchAllKeyword: Deno.PointerValue /* u64 */, + MatchAnyKeyword: bigint | number /* u64 */, + MatchAllKeyword: bigint | number /* u64 */, Timeout: number /* u32 */, EnableParameters: Deno.PointerValue | Uint8Array /* ptr */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -13312,14 +13312,14 @@ export function CreateTraceInstanceId( } export function TraceEvent( - TraceHandle: Deno.PointerValue /* u64 */, + TraceHandle: bigint | number /* u64 */, EventTrace: Deno.PointerValue | Uint8Array /* ptr */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { return libADVAPI32_dll.TraceEvent(TraceHandle, util.toPointer(EventTrace)); } export function TraceEventInstance( - TraceHandle: Deno.PointerValue /* u64 */, + TraceHandle: bigint | number /* u64 */, EventTrace: Deno.PointerValue | Uint8Array /* ptr */, InstInfo: Deno.PointerValue | Uint8Array /* ptr */, ParentInstInfo: Deno.PointerValue | Uint8Array /* ptr */, @@ -13362,25 +13362,25 @@ export function EnumerateTraceGuids( } export function UnregisterTraceGuids( - RegistrationHandle: Deno.PointerValue /* u64 */, + RegistrationHandle: bigint | number /* u64 */, ): number /* u32 */ { return libADVAPI32_dll.UnregisterTraceGuids(RegistrationHandle); } export function GetTraceLoggerHandle( Buffer: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libADVAPI32_dll.GetTraceLoggerHandle(util.toPointer(Buffer)); } export function GetTraceEnableLevel( - TraceHandle: Deno.PointerValue /* u64 */, + TraceHandle: bigint | number /* u64 */, ): number /* u8 */ { return libADVAPI32_dll.GetTraceEnableLevel(TraceHandle); } export function GetTraceEnableFlags( - TraceHandle: Deno.PointerValue /* u64 */, + TraceHandle: bigint | number /* u64 */, ): number /* u32 */ { return libADVAPI32_dll.GetTraceEnableFlags(TraceHandle); } @@ -13438,7 +13438,7 @@ export function RemoveTraceCallback( } export function TraceMessage( - LoggerHandle: Deno.PointerValue /* u64 */, + LoggerHandle: bigint | number /* u64 */, MessageFlags: TRACE_MESSAGE_FLAGS /* Windows.Win32.System.Diagnostics.Etw.TRACE_MESSAGE_FLAGS */, MessageGuid: Deno.PointerValue | Uint8Array /* ptr */, MessageNumber: number /* u16 */, @@ -13447,7 +13447,7 @@ export function TraceMessage( } export function TraceMessageVa( - LoggerHandle: Deno.PointerValue /* u64 */, + LoggerHandle: bigint | number /* u64 */, MessageFlags: TRACE_MESSAGE_FLAGS /* Windows.Win32.System.Diagnostics.Etw.TRACE_MESSAGE_FLAGS */, MessageGuid: Deno.PointerValue | Uint8Array /* ptr */, MessageNumber: number /* u16 */, @@ -13466,13 +13466,13 @@ export function EventRegister( } export function EventUnregister( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, ): number /* u32 */ { return libADVAPI32_dll.EventUnregister(RegHandle); } export function EventSetInformation( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, InformationClass: EVENT_INFO_CLASS /* Windows.Win32.System.Diagnostics.Etw.EVENT_INFO_CLASS */, EventInformation: Deno.PointerValue | Uint8Array /* ptr */, InformationLength: number /* u32 */, @@ -13481,22 +13481,22 @@ export function EventSetInformation( } export function EventEnabled( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, EventDescriptor: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.BOOLEAN */ { return libADVAPI32_dll.EventEnabled(RegHandle, util.toPointer(EventDescriptor)); } export function EventProviderEnabled( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, Level: number /* u8 */, - Keyword: Deno.PointerValue /* u64 */, + Keyword: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.BOOLEAN */ { return libADVAPI32_dll.EventProviderEnabled(RegHandle, Level, Keyword); } export function EventWrite( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, EventDescriptor: Deno.PointerValue | Uint8Array /* ptr */, UserDataCount: number /* u32 */, UserData: Deno.PointerValue | Uint8Array /* ptr */, @@ -13505,7 +13505,7 @@ export function EventWrite( } export function EventWriteTransfer( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, EventDescriptor: Deno.PointerValue | Uint8Array /* ptr */, ActivityId: Deno.PointerValue | Uint8Array /* ptr */, RelatedActivityId: Deno.PointerValue | Uint8Array /* ptr */, @@ -13516,9 +13516,9 @@ export function EventWriteTransfer( } export function EventWriteEx( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, EventDescriptor: Deno.PointerValue | Uint8Array /* ptr */, - Filter: Deno.PointerValue /* u64 */, + Filter: bigint | number /* u64 */, Flags: number /* u32 */, ActivityId: Deno.PointerValue | Uint8Array /* ptr */, RelatedActivityId: Deno.PointerValue | Uint8Array /* ptr */, @@ -13529,9 +13529,9 @@ export function EventWriteEx( } export function EventWriteString( - RegHandle: Deno.PointerValue /* u64 */, + RegHandle: bigint | number /* u64 */, Level: number /* u8 */, - Keyword: Deno.PointerValue /* u64 */, + Keyword: bigint | number /* u64 */, String: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* u32 */ { return libADVAPI32_dll.EventWriteString(RegHandle, Level, Keyword, util.pwstrToFfi(String)); @@ -13660,7 +13660,7 @@ export function TdhEnumerateProvidersForDecodingSource( export function TdhQueryProviderFieldInformation( pGuid: Deno.PointerValue | Uint8Array /* ptr */, - EventFieldValue: Deno.PointerValue /* u64 */, + EventFieldValue: bigint | number /* u64 */, EventFieldType: EVENT_FIELD_TYPE /* Windows.Win32.System.Diagnostics.Etw.EVENT_FIELD_TYPE */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, pBufferSize: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/System/Diagnostics/ProcessSnapshotting.ts b/api/System/Diagnostics/ProcessSnapshotting.ts index fde4e0f..8cb997f 100644 --- a/api/System/Diagnostics/ProcessSnapshotting.ts +++ b/api/System/Diagnostics/ProcessSnapshotting.ts @@ -126,9 +126,9 @@ export const PSS_THREAD_FLAGS_TERMINATED = 1; // Structs -export type HPSS = Deno.PointerValue; +export type HPSS = bigint | number; -export type HPSSWALK = Deno.PointerValue; +export type HPSSWALK = bigint | number; /** * Windows.Win32.Foundation.FILETIME (size: 8) @@ -192,7 +192,7 @@ export interface PSS_PROCESS_INFORMATION { /** ptr */ PebBaseAddress: Deno.PointerValue | Uint8Array; /** usize */ - AffinityMask: Deno.PointerValue; + AffinityMask: bigint | number; /** i32 */ BasePriority: number; /** u32 */ @@ -212,29 +212,29 @@ export interface PSS_PROCESS_INFORMATION { /** u32 */ PriorityClass: number; /** usize */ - PeakVirtualSize: Deno.PointerValue; + PeakVirtualSize: bigint | number; /** usize */ - VirtualSize: Deno.PointerValue; + VirtualSize: bigint | number; /** u32 */ PageFaultCount: number; /** usize */ - PeakWorkingSetSize: Deno.PointerValue; + PeakWorkingSetSize: bigint | number; /** usize */ - WorkingSetSize: Deno.PointerValue; + WorkingSetSize: bigint | number; /** usize */ - QuotaPeakPagedPoolUsage: Deno.PointerValue; + QuotaPeakPagedPoolUsage: bigint | number; /** usize */ - QuotaPagedPoolUsage: Deno.PointerValue; + QuotaPagedPoolUsage: bigint | number; /** usize */ - QuotaPeakNonPagedPoolUsage: Deno.PointerValue; + QuotaPeakNonPagedPoolUsage: bigint | number; /** usize */ - QuotaNonPagedPoolUsage: Deno.PointerValue; + QuotaNonPagedPoolUsage: bigint | number; /** usize */ - PagefileUsage: Deno.PointerValue; + PagefileUsage: bigint | number; /** usize */ - PeakPagefileUsage: Deno.PointerValue; + PeakPagefileUsage: bigint | number; /** usize */ - PrivateUsage: Deno.PointerValue; + PrivateUsage: bigint | number; /** u32 */ ExecuteFlags: number; /** array */ @@ -329,7 +329,7 @@ export class PSS_PROCESS_INFORMATIONView { } // 0x10: usize - get AffinityMask(): Deno.PointerValue { + get AffinityMask(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -385,12 +385,12 @@ export class PSS_PROCESS_INFORMATIONView { // 0x4c: pad4 // 0x50: usize - get PeakVirtualSize(): Deno.PointerValue { + get PeakVirtualSize(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: usize - get VirtualSize(): Deno.PointerValue { + get VirtualSize(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -402,47 +402,47 @@ export class PSS_PROCESS_INFORMATIONView { // 0x64: pad4 // 0x68: usize - get PeakWorkingSetSize(): Deno.PointerValue { + get PeakWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: usize - get WorkingSetSize(): Deno.PointerValue { + get WorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: usize - get QuotaPeakPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: usize - get QuotaPagedPoolUsage(): Deno.PointerValue { + get QuotaPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: usize - get QuotaPeakNonPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: usize - get QuotaNonPagedPoolUsage(): Deno.PointerValue { + get QuotaNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: usize - get PagefileUsage(): Deno.PointerValue { + get PagefileUsage(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: usize - get PeakPagefileUsage(): Deno.PointerValue { + get PeakPagefileUsage(): bigint | number { return Number(this.view.getBigUint64(160, true)); } // 0xa8: usize - get PrivateUsage(): Deno.PointerValue { + get PrivateUsage(): bigint | number { return Number(this.view.getBigUint64(168, true)); } @@ -472,7 +472,7 @@ export class PSS_PROCESS_INFORMATIONView { } // 0x10: usize - set AffinityMask(value: Deno.PointerValue) { + set AffinityMask(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -524,12 +524,12 @@ export class PSS_PROCESS_INFORMATIONView { // 0x4c: pad4 // 0x50: usize - set PeakVirtualSize(value: Deno.PointerValue) { + set PeakVirtualSize(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: usize - set VirtualSize(value: Deno.PointerValue) { + set VirtualSize(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -541,47 +541,47 @@ export class PSS_PROCESS_INFORMATIONView { // 0x64: pad4 // 0x68: usize - set PeakWorkingSetSize(value: Deno.PointerValue) { + set PeakWorkingSetSize(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: usize - set WorkingSetSize(value: Deno.PointerValue) { + set WorkingSetSize(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: usize - set QuotaPeakPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: usize - set QuotaPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: usize - set QuotaPeakNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: usize - set QuotaNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: usize - set PagefileUsage(value: Deno.PointerValue) { + set PagefileUsage(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: usize - set PeakPagefileUsage(value: Deno.PointerValue) { + set PeakPagefileUsage(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } // 0xa8: usize - set PrivateUsage(value: Deno.PointerValue) { + set PrivateUsage(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } @@ -598,7 +598,7 @@ export class PSS_PROCESS_INFORMATIONView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.ProcessSnapshotting.PSS_VA_CLONE_INFORMATION (size: 8) @@ -889,29 +889,29 @@ export class PSS_HANDLE_TRACE_INFORMATIONView { */ export interface PSS_PERFORMANCE_COUNTERS { /** u64 */ - TotalCycleCount: Deno.PointerValue; + TotalCycleCount: bigint | number; /** u64 */ - TotalWallClockPeriod: Deno.PointerValue; + TotalWallClockPeriod: bigint | number; /** u64 */ - VaCloneCycleCount: Deno.PointerValue; + VaCloneCycleCount: bigint | number; /** u64 */ - VaCloneWallClockPeriod: Deno.PointerValue; + VaCloneWallClockPeriod: bigint | number; /** u64 */ - VaSpaceCycleCount: Deno.PointerValue; + VaSpaceCycleCount: bigint | number; /** u64 */ - VaSpaceWallClockPeriod: Deno.PointerValue; + VaSpaceWallClockPeriod: bigint | number; /** u64 */ - AuxPagesCycleCount: Deno.PointerValue; + AuxPagesCycleCount: bigint | number; /** u64 */ - AuxPagesWallClockPeriod: Deno.PointerValue; + AuxPagesWallClockPeriod: bigint | number; /** u64 */ - HandlesCycleCount: Deno.PointerValue; + HandlesCycleCount: bigint | number; /** u64 */ - HandlesWallClockPeriod: Deno.PointerValue; + HandlesWallClockPeriod: bigint | number; /** u64 */ - ThreadsCycleCount: Deno.PointerValue; + ThreadsCycleCount: bigint | number; /** u64 */ - ThreadsWallClockPeriod: Deno.PointerValue; + ThreadsWallClockPeriod: bigint | number; } export const sizeofPSS_PERFORMANCE_COUNTERS = 96; @@ -957,122 +957,122 @@ export class PSS_PERFORMANCE_COUNTERSView { } // 0x00: u64 - get TotalCycleCount(): Deno.PointerValue { + get TotalCycleCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TotalWallClockPeriod(): Deno.PointerValue { + get TotalWallClockPeriod(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get VaCloneCycleCount(): Deno.PointerValue { + get VaCloneCycleCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get VaCloneWallClockPeriod(): Deno.PointerValue { + get VaCloneWallClockPeriod(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get VaSpaceCycleCount(): Deno.PointerValue { + get VaSpaceCycleCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get VaSpaceWallClockPeriod(): Deno.PointerValue { + get VaSpaceWallClockPeriod(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get AuxPagesCycleCount(): Deno.PointerValue { + get AuxPagesCycleCount(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get AuxPagesWallClockPeriod(): Deno.PointerValue { + get AuxPagesWallClockPeriod(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get HandlesCycleCount(): Deno.PointerValue { + get HandlesCycleCount(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get HandlesWallClockPeriod(): Deno.PointerValue { + get HandlesWallClockPeriod(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get ThreadsCycleCount(): Deno.PointerValue { + get ThreadsCycleCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get ThreadsWallClockPeriod(): Deno.PointerValue { + get ThreadsWallClockPeriod(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x00: u64 - set TotalCycleCount(value: Deno.PointerValue) { + set TotalCycleCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TotalWallClockPeriod(value: Deno.PointerValue) { + set TotalWallClockPeriod(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set VaCloneCycleCount(value: Deno.PointerValue) { + set VaCloneCycleCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set VaCloneWallClockPeriod(value: Deno.PointerValue) { + set VaCloneWallClockPeriod(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set VaSpaceCycleCount(value: Deno.PointerValue) { + set VaSpaceCycleCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set VaSpaceWallClockPeriod(value: Deno.PointerValue) { + set VaSpaceWallClockPeriod(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set AuxPagesCycleCount(value: Deno.PointerValue) { + set AuxPagesCycleCount(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set AuxPagesWallClockPeriod(value: Deno.PointerValue) { + set AuxPagesWallClockPeriod(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set HandlesCycleCount(value: Deno.PointerValue) { + set HandlesCycleCount(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set HandlesWallClockPeriod(value: Deno.PointerValue) { + set HandlesWallClockPeriod(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set ThreadsCycleCount(value: Deno.PointerValue) { + set ThreadsCycleCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set ThreadsWallClockPeriod(value: Deno.PointerValue) { + set ThreadsWallClockPeriod(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } } @@ -1090,7 +1090,7 @@ export interface MEMORY_BASIC_INFORMATION { /** u16 */ PartitionId: number; /** usize */ - RegionSize: Deno.PointerValue; + RegionSize: bigint | number; /** Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */ State: VIRTUAL_ALLOCATION_TYPE; /** Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */ @@ -1160,7 +1160,7 @@ export class MEMORY_BASIC_INFORMATIONView { // 0x16: pad2 // 0x18: usize - get RegionSize(): Deno.PointerValue { + get RegionSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1204,7 +1204,7 @@ export class MEMORY_BASIC_INFORMATIONView { // 0x16: pad2 // 0x18: usize - set RegionSize(value: Deno.PointerValue) { + set RegionSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -1343,7 +1343,7 @@ export interface PSS_VA_SPACE_ENTRY { /** u32 */ AllocationProtect: number; /** usize */ - RegionSize: Deno.PointerValue; + RegionSize: bigint | number; /** u32 */ State: number; /** u32 */ @@ -1434,7 +1434,7 @@ export class PSS_VA_SPACE_ENTRYView { // 0x14: pad4 // 0x18: usize - get RegionSize(): Deno.PointerValue { + get RegionSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1507,7 +1507,7 @@ export class PSS_VA_SPACE_ENTRYView { // 0x14: pad4 // 0x18: usize - set RegionSize(value: Deno.PointerValue) { + set RegionSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -1571,7 +1571,7 @@ export interface _Process_e__Struct { /** ptr */ PebBaseAddress: Deno.PointerValue | Uint8Array; /** usize */ - AffinityMask: Deno.PointerValue; + AffinityMask: bigint | number; /** i32 */ BasePriority: number; /** u32 */ @@ -1629,7 +1629,7 @@ export class _Process_e__StructView { } // 0x10: usize - get AffinityMask(): Deno.PointerValue { + get AffinityMask(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1666,7 +1666,7 @@ export class _Process_e__StructView { } // 0x10: usize - set AffinityMask(value: Deno.PointerValue) { + set AffinityMask(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1704,7 +1704,7 @@ export interface _Thread_e__Struct { /** u32 */ ThreadId: number; /** usize */ - AffinityMask: Deno.PointerValue; + AffinityMask: bigint | number; /** i32 */ Priority: number; /** i32 */ @@ -1772,7 +1772,7 @@ export class _Thread_e__StructView { } // 0x18: usize - get AffinityMask(): Deno.PointerValue { + get AffinityMask(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1815,7 +1815,7 @@ export class _Thread_e__StructView { } // 0x18: usize - set AffinityMask(value: Deno.PointerValue) { + set AffinityMask(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -1967,9 +1967,9 @@ export class _Event_e__StructView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1995,22 +1995,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2087,7 +2087,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -2127,7 +2127,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -2142,7 +2142,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -2675,7 +2675,7 @@ export interface PSS_THREAD_ENTRY { /** u32 */ ThreadId: number; /** usize */ - AffinityMask: Deno.PointerValue; + AffinityMask: bigint | number; /** i32 */ Priority: number; /** i32 */ @@ -2788,7 +2788,7 @@ export class PSS_THREAD_ENTRYView { } // 0x18: usize - get AffinityMask(): Deno.PointerValue { + get AffinityMask(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2895,7 +2895,7 @@ export class PSS_THREAD_ENTRYView { } // 0x18: usize - set AffinityMask(value: Deno.PointerValue) { + set AffinityMask(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -2979,9 +2979,9 @@ export interface PSS_ALLOCATOR { /** ptr */ Context: Deno.PointerValue | Uint8Array; /** isize */ - AllocRoutine: Deno.PointerValue; + AllocRoutine: bigint | number; /** isize */ - FreeRoutine: Deno.PointerValue; + FreeRoutine: bigint | number; } export const sizeofPSS_ALLOCATOR = 24; @@ -3015,12 +3015,12 @@ export class PSS_ALLOCATORView { } // 0x08: isize - get AllocRoutine(): Deno.PointerValue { + get AllocRoutine(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get FreeRoutine(): Deno.PointerValue { + get FreeRoutine(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -3030,12 +3030,12 @@ export class PSS_ALLOCATORView { } // 0x08: isize - set AllocRoutine(value: Deno.PointerValue) { + set AllocRoutine(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set FreeRoutine(value: Deno.PointerValue) { + set FreeRoutine(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -3156,7 +3156,7 @@ export function PssWalkMarkerGetPosition( export function PssWalkMarkerSetPosition( WalkMarkerHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Diagnostics.ProcessSnapshotting.HPSSWALK */, - Position: Deno.PointerValue /* usize */, + Position: bigint | number /* usize */, ): number /* u32 */ { return libKERNEL32_dll.PssWalkMarkerSetPosition(util.toPointer(WalkMarkerHandle), Position); } diff --git a/api/System/Diagnostics/ToolHelp.ts b/api/System/Diagnostics/ToolHelp.ts index f0acc46..d6f1cfe 100644 --- a/api/System/Diagnostics/ToolHelp.ts +++ b/api/System/Diagnostics/ToolHelp.ts @@ -28,11 +28,11 @@ export const HF32_SHARED = 2; */ export interface HEAPLIST32 { /** usize */ - dwSize: Deno.PointerValue; + dwSize: bigint | number; /** u32 */ th32ProcessID: number; /** usize */ - th32HeapID: Deno.PointerValue; + th32HeapID: bigint | number; /** u32 */ dwFlags: number; } @@ -66,7 +66,7 @@ export class HEAPLIST32View { } // 0x00: usize - get dwSize(): Deno.PointerValue { + get dwSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -78,7 +78,7 @@ export class HEAPLIST32View { // 0x0c: pad4 // 0x10: usize - get th32HeapID(): Deno.PointerValue { + get th32HeapID(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -90,7 +90,7 @@ export class HEAPLIST32View { // 0x1c: pad4 // 0x00: usize - set dwSize(value: Deno.PointerValue) { + set dwSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -102,7 +102,7 @@ export class HEAPLIST32View { // 0x0c: pad4 // 0x10: usize - set th32HeapID(value: Deno.PointerValue) { + set th32HeapID(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -114,20 +114,20 @@ export class HEAPLIST32View { // 0x1c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.ToolHelp.HEAPENTRY32 (size: 56) */ export interface HEAPENTRY32 { /** usize */ - dwSize: Deno.PointerValue; + dwSize: bigint | number; /** Windows.Win32.Foundation.HANDLE */ hHandle: Uint8Array | Deno.PointerValue; /** usize */ - dwAddress: Deno.PointerValue; + dwAddress: bigint | number; /** usize */ - dwBlockSize: Deno.PointerValue; + dwBlockSize: bigint | number; /** Windows.Win32.System.Diagnostics.ToolHelp.HEAPENTRY32_FLAGS */ dwFlags: HEAPENTRY32_FLAGS; /** u32 */ @@ -137,7 +137,7 @@ export interface HEAPENTRY32 { /** u32 */ th32ProcessID: number; /** usize */ - th32HeapID: Deno.PointerValue; + th32HeapID: bigint | number; } export const sizeofHEAPENTRY32 = 56; @@ -177,7 +177,7 @@ export class HEAPENTRY32View { } // 0x00: usize - get dwSize(): Deno.PointerValue { + get dwSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -188,12 +188,12 @@ export class HEAPENTRY32View { } // 0x10: usize - get dwAddress(): Deno.PointerValue { + get dwAddress(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwBlockSize(): Deno.PointerValue { + get dwBlockSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -218,12 +218,12 @@ export class HEAPENTRY32View { } // 0x30: usize - get th32HeapID(): Deno.PointerValue { + get th32HeapID(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x00: usize - set dwSize(value: Deno.PointerValue) { + set dwSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -233,12 +233,12 @@ export class HEAPENTRY32View { } // 0x10: usize - set dwAddress(value: Deno.PointerValue) { + set dwAddress(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwBlockSize(value: Deno.PointerValue) { + set dwBlockSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -263,7 +263,7 @@ export class HEAPENTRY32View { } // 0x30: usize - set th32HeapID(value: Deno.PointerValue) { + set th32HeapID(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -279,7 +279,7 @@ export interface PROCESSENTRY32W { /** u32 */ th32ProcessID: number; /** usize */ - th32DefaultHeapID: Deno.PointerValue; + th32DefaultHeapID: bigint | number; /** u32 */ th32ModuleID: number; /** u32 */ @@ -352,7 +352,7 @@ export class PROCESSENTRY32WView { // 0x0c: pad4 // 0x10: usize - get th32DefaultHeapID(): Deno.PointerValue { + get th32DefaultHeapID(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -407,7 +407,7 @@ export class PROCESSENTRY32WView { // 0x0c: pad4 // 0x10: usize - set th32DefaultHeapID(value: Deno.PointerValue) { + set th32DefaultHeapID(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -455,7 +455,7 @@ export interface PROCESSENTRY32 { /** u32 */ th32ProcessID: number; /** usize */ - th32DefaultHeapID: Deno.PointerValue; + th32DefaultHeapID: bigint | number; /** u32 */ th32ModuleID: number; /** u32 */ @@ -528,7 +528,7 @@ export class PROCESSENTRY32View { // 0x0c: pad4 // 0x10: usize - get th32DefaultHeapID(): Deno.PointerValue { + get th32DefaultHeapID(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -583,7 +583,7 @@ export class PROCESSENTRY32View { // 0x0c: pad4 // 0x10: usize - set th32DefaultHeapID(value: Deno.PointerValue) { + set th32DefaultHeapID(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -748,7 +748,7 @@ export class THREADENTRY32View { // 0x1c: pad4 } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * Windows.Win32.System.Diagnostics.ToolHelp.MODULEENTRY32W (size: 64) @@ -1207,7 +1207,7 @@ export function Heap32ListNext( export function Heap32First( lphe: Deno.PointerValue | Uint8Array /* ptr */, th32ProcessID: number /* u32 */, - th32HeapID: Deno.PointerValue /* usize */, + th32HeapID: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.Heap32First(util.toPointer(lphe), th32ProcessID, th32HeapID)); } @@ -1222,7 +1222,7 @@ export function Toolhelp32ReadProcessMemory( th32ProcessID: number /* u32 */, lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - cbRead: Deno.PointerValue /* usize */, + cbRead: bigint | number /* usize */, lpNumberOfBytesRead: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.Toolhelp32ReadProcessMemory(th32ProcessID, util.toPointer(lpBaseAddress), util.toPointer(lpBuffer), cbRead, util.toPointer(lpNumberOfBytesRead))); diff --git a/api/System/DistributedTransactionCoordinator.ts b/api/System/DistributedTransactionCoordinator.ts index e7e0d65..c700897 100644 --- a/api/System/DistributedTransactionCoordinator.ts +++ b/api/System/DistributedTransactionCoordinator.ts @@ -735,25 +735,25 @@ export interface xa_switch_t { /** i32 */ version: number; /** isize */ - xa_open_entry: Deno.PointerValue; + xa_open_entry: bigint | number; /** isize */ - xa_close_entry: Deno.PointerValue; + xa_close_entry: bigint | number; /** isize */ - xa_start_entry: Deno.PointerValue; + xa_start_entry: bigint | number; /** isize */ - xa_end_entry: Deno.PointerValue; + xa_end_entry: bigint | number; /** isize */ - xa_rollback_entry: Deno.PointerValue; + xa_rollback_entry: bigint | number; /** isize */ - xa_prepare_entry: Deno.PointerValue; + xa_prepare_entry: bigint | number; /** isize */ - xa_commit_entry: Deno.PointerValue; + xa_commit_entry: bigint | number; /** isize */ - xa_recover_entry: Deno.PointerValue; + xa_recover_entry: bigint | number; /** isize */ - xa_forget_entry: Deno.PointerValue; + xa_forget_entry: bigint | number; /** isize */ - xa_complete_entry: Deno.PointerValue; + xa_complete_entry: bigint | number; } export const sizeofXa_switch_t = 96; @@ -817,52 +817,52 @@ export class xa_switch_tView { } // 0x10: isize - get xa_open_entry(): Deno.PointerValue { + get xa_open_entry(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get xa_close_entry(): Deno.PointerValue { + get xa_close_entry(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get xa_start_entry(): Deno.PointerValue { + get xa_start_entry(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get xa_end_entry(): Deno.PointerValue { + get xa_end_entry(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get xa_rollback_entry(): Deno.PointerValue { + get xa_rollback_entry(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get xa_prepare_entry(): Deno.PointerValue { + get xa_prepare_entry(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get xa_commit_entry(): Deno.PointerValue { + get xa_commit_entry(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get xa_recover_entry(): Deno.PointerValue { + get xa_recover_entry(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get xa_forget_entry(): Deno.PointerValue { + get xa_forget_entry(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get xa_complete_entry(): Deno.PointerValue { + get xa_complete_entry(): bigint | number { return Number(this.view.getBigInt64(88, true)); } @@ -882,52 +882,52 @@ export class xa_switch_tView { } // 0x10: isize - set xa_open_entry(value: Deno.PointerValue) { + set xa_open_entry(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set xa_close_entry(value: Deno.PointerValue) { + set xa_close_entry(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set xa_start_entry(value: Deno.PointerValue) { + set xa_start_entry(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set xa_end_entry(value: Deno.PointerValue) { + set xa_end_entry(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set xa_rollback_entry(value: Deno.PointerValue) { + set xa_rollback_entry(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set xa_prepare_entry(value: Deno.PointerValue) { + set xa_prepare_entry(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set xa_commit_entry(value: Deno.PointerValue) { + set xa_commit_entry(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set xa_recover_entry(value: Deno.PointerValue) { + set xa_recover_entry(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set xa_forget_entry(value: Deno.PointerValue) { + set xa_forget_entry(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set xa_complete_entry(value: Deno.PointerValue) { + set xa_complete_entry(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } } diff --git a/api/System/Environment.ts b/api/System/Environment.ts index 15cbf2f..5e96bbf 100644 --- a/api/System/Environment.ts +++ b/api/System/Environment.ts @@ -605,7 +605,7 @@ export interface ENCLAVE_INFORMATION { /** ptr */ BaseAddress: Deno.PointerValue | Uint8Array; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** Windows.Win32.System.Environment.ENCLAVE_IDENTITY */ Identity: Uint8Array | Deno.PointerValue; } @@ -655,7 +655,7 @@ export class ENCLAVE_INFORMATIONView { } // 0x10: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -681,7 +681,7 @@ export class ENCLAVE_INFORMATIONView { } // 0x10: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -813,13 +813,13 @@ export interface VBS_BASIC_ENCLAVE_THREAD_DESCRIPTOR64 { /** array */ ThreadContext: Deno.PointerValue; /** u64 */ - EntryPoint: Deno.PointerValue; + EntryPoint: bigint | number; /** u64 */ - StackPointer: Deno.PointerValue; + StackPointer: bigint | number; /** u64 */ - ExceptionEntryPoint: Deno.PointerValue; + ExceptionEntryPoint: bigint | number; /** u64 */ - ExceptionStack: Deno.PointerValue; + ExceptionStack: bigint | number; /** u32 */ ExceptionActive: number; } @@ -862,22 +862,22 @@ export class VBS_BASIC_ENCLAVE_THREAD_DESCRIPTOR64View { } // 0x08: u64 - get EntryPoint(): Deno.PointerValue { + get EntryPoint(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get StackPointer(): Deno.PointerValue { + get StackPointer(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ExceptionEntryPoint(): Deno.PointerValue { + get ExceptionEntryPoint(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ExceptionStack(): Deno.PointerValue { + get ExceptionStack(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -894,22 +894,22 @@ export class VBS_BASIC_ENCLAVE_THREAD_DESCRIPTOR64View { } // 0x08: u64 - set EntryPoint(value: Deno.PointerValue) { + set EntryPoint(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set StackPointer(value: Deno.PointerValue) { + set StackPointer(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ExceptionEntryPoint(value: Deno.PointerValue) { + set ExceptionEntryPoint(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ExceptionStack(value: Deno.PointerValue) { + set ExceptionStack(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -932,15 +932,15 @@ export interface VBS_BASIC_ENCLAVE_EXCEPTION_AMD64 { /** array */ ExceptionInformation: Deno.PointerValue; /** usize */ - ExceptionRAX: Deno.PointerValue; + ExceptionRAX: bigint | number; /** usize */ - ExceptionRCX: Deno.PointerValue; + ExceptionRCX: bigint | number; /** usize */ - ExceptionRIP: Deno.PointerValue; + ExceptionRIP: bigint | number; /** usize */ - ExceptionRFLAGS: Deno.PointerValue; + ExceptionRFLAGS: bigint | number; /** usize */ - ExceptionRSP: Deno.PointerValue; + ExceptionRSP: bigint | number; } export const sizeofVBS_BASIC_ENCLAVE_EXCEPTION_AMD64 = 56; @@ -994,27 +994,27 @@ export class VBS_BASIC_ENCLAVE_EXCEPTION_AMD64View { } // 0x10: usize - get ExceptionRAX(): Deno.PointerValue { + get ExceptionRAX(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get ExceptionRCX(): Deno.PointerValue { + get ExceptionRCX(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get ExceptionRIP(): Deno.PointerValue { + get ExceptionRIP(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get ExceptionRFLAGS(): Deno.PointerValue { + get ExceptionRFLAGS(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get ExceptionRSP(): Deno.PointerValue { + get ExceptionRSP(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -1034,27 +1034,27 @@ export class VBS_BASIC_ENCLAVE_EXCEPTION_AMD64View { } // 0x10: usize - set ExceptionRAX(value: Deno.PointerValue) { + set ExceptionRAX(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set ExceptionRCX(value: Deno.PointerValue) { + set ExceptionRCX(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set ExceptionRIP(value: Deno.PointerValue) { + set ExceptionRIP(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set ExceptionRFLAGS(value: Deno.PointerValue) { + set ExceptionRFLAGS(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set ExceptionRSP(value: Deno.PointerValue) { + set ExceptionRSP(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -1385,7 +1385,7 @@ export type BOOL = number; export type PSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type HRESULT = number; @@ -1720,8 +1720,8 @@ export function IsEnclaveTypeSupported( export function CreateEnclave( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, - dwInitialCommitment: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, + dwInitialCommitment: bigint | number /* usize */, flEnclaveType: number /* u32 */, lpEnclaveInformation: Deno.PointerValue | Uint8Array /* ptr */, dwInfoLength: number /* u32 */, @@ -1734,7 +1734,7 @@ export function LoadEnclaveData( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpAddress: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - nSize: Deno.PointerValue /* usize */, + nSize: bigint | number /* usize */, flProtect: number /* u32 */, lpPageInformation: Deno.PointerValue | Uint8Array /* ptr */, dwInfoLength: number /* u32 */, @@ -1769,7 +1769,7 @@ export function LoadEnclaveImageW( } export function CallEnclave( - lpRoutine: Deno.PointerValue /* isize */, + lpRoutine: bigint | number /* isize */, lpParameter: Deno.PointerValue | Uint8Array /* ptr */, fWaitForThread: boolean /* Windows.Win32.Foundation.BOOL */, lpReturnValue: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/System/ErrorReporting.ts b/api/System/ErrorReporting.ts index ce6235d..0e4235c 100644 --- a/api/System/ErrorReporting.ts +++ b/api/System/ErrorReporting.ts @@ -156,13 +156,13 @@ export const frrvErrDoubleFault = 10; // Structs -export type HREPORT = Deno.PointerValue; +export type HREPORT = bigint | number; -export type HREPORTSTORE = Deno.PointerValue; +export type HREPORTSTORE = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.System.ErrorReporting.WER_REPORT_INFORMATION (size: 64) @@ -1795,9 +1795,9 @@ export class EXCEPTION_RECORDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1823,22 +1823,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1909,9 +1909,9 @@ export interface CONTEXT { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - Sp: Deno.PointerValue; + Sp: bigint | number; /** u64 */ - Pc: Deno.PointerValue; + Pc: bigint | number; /** array */ V: Deno.PointerValue; /** u32 */ @@ -1987,12 +1987,12 @@ export class CONTEXTView { } // 0x10: u64 - get Sp(): Deno.PointerValue { + get Sp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Pc(): Deno.PointerValue { + get Pc(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2052,12 +2052,12 @@ export class CONTEXTView { } // 0x10: u64 - set Sp(value: Deno.PointerValue) { + set Sp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Pc(value: Deno.PointerValue) { + set Pc(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -2426,7 +2426,7 @@ export interface WER_REPORT_METADATA_V2 { /** Windows.Win32.Foundation.FILETIME */ CreationTime: Uint8Array | Deno.PointerValue; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** array */ CabId: Deno.PointerValue; /** u32 */ @@ -2510,7 +2510,7 @@ export class WER_REPORT_METADATA_V2View { } // 0x20: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -2570,7 +2570,7 @@ export class WER_REPORT_METADATA_V2View { } // 0x20: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -2621,7 +2621,7 @@ export interface WER_REPORT_METADATA_V3 { /** Windows.Win32.Foundation.FILETIME */ CreationTime: Uint8Array | Deno.PointerValue; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** array */ CabId: Deno.PointerValue; /** u32 */ @@ -2645,7 +2645,7 @@ export interface WER_REPORT_METADATA_V3 { /** array */ BucketIdString: Deno.PointerValue; /** u64 */ - LegacyBucketId: Deno.PointerValue; + LegacyBucketId: bigint | number; } export const sizeofWER_REPORT_METADATA_V3 = 128; @@ -2729,7 +2729,7 @@ export class WER_REPORT_METADATA_V3View { } // 0x20: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -2799,7 +2799,7 @@ export class WER_REPORT_METADATA_V3View { } // 0x78: u64 - get LegacyBucketId(): Deno.PointerValue { + get LegacyBucketId(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -2824,7 +2824,7 @@ export class WER_REPORT_METADATA_V3View { } // 0x20: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -2887,7 +2887,7 @@ export class WER_REPORT_METADATA_V3View { } // 0x78: u64 - set LegacyBucketId(value: Deno.PointerValue) { + set LegacyBucketId(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } } @@ -2905,7 +2905,7 @@ export interface WER_REPORT_METADATA_V1 { /** Windows.Win32.Foundation.FILETIME */ CreationTime: Uint8Array | Deno.PointerValue; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; } export const sizeofWER_REPORT_METADATA_V1 = 40; @@ -2961,7 +2961,7 @@ export class WER_REPORT_METADATA_V1View { } // 0x20: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -2986,7 +2986,7 @@ export class WER_REPORT_METADATA_V1View { } // 0x20: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } diff --git a/api/System/EventCollector.ts b/api/System/EventCollector.ts index 9f1b602..f331859 100644 --- a/api/System/EventCollector.ts +++ b/api/System/EventCollector.ts @@ -95,9 +95,9 @@ export const EcRuntimeStatusActiveStatusTrying = 4; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -123,22 +123,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -341,12 +341,12 @@ try { export function EcOpenSubscriptionEnum( Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libWecApi_dll.EcOpenSubscriptionEnum(Flags); } export function EcEnumNextSubscription( - SubscriptionEnum: Deno.PointerValue /* isize */, + SubscriptionEnum: bigint | number /* isize */, SubscriptionNameBufferSize: number /* u32 */, SubscriptionNameBuffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, SubscriptionNameBufferUsed: Deno.PointerValue | Uint8Array /* ptr */, @@ -358,12 +358,12 @@ export function EcOpenSubscription( SubscriptionName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, AccessMask: number /* u32 */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libWecApi_dll.EcOpenSubscription(util.pwstrToFfi(SubscriptionName), AccessMask, Flags); } export function EcSetSubscriptionProperty( - Subscription: Deno.PointerValue /* isize */, + Subscription: bigint | number /* isize */, PropertyId: EC_SUBSCRIPTION_PROPERTY_ID /* Windows.Win32.System.EventCollector.EC_SUBSCRIPTION_PROPERTY_ID */, Flags: number /* u32 */, PropertyValue: Deno.PointerValue | Uint8Array /* ptr */, @@ -372,7 +372,7 @@ export function EcSetSubscriptionProperty( } export function EcGetSubscriptionProperty( - Subscription: Deno.PointerValue /* isize */, + Subscription: bigint | number /* isize */, PropertyId: EC_SUBSCRIPTION_PROPERTY_ID /* Windows.Win32.System.EventCollector.EC_SUBSCRIPTION_PROPERTY_ID */, Flags: number /* u32 */, PropertyValueBufferSize: number /* u32 */, @@ -383,7 +383,7 @@ export function EcGetSubscriptionProperty( } export function EcSaveSubscription( - Subscription: Deno.PointerValue /* isize */, + Subscription: bigint | number /* isize */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWecApi_dll.EcSaveSubscription(Subscription, Flags)); @@ -397,14 +397,14 @@ export function EcDeleteSubscription( } export function EcGetObjectArraySize( - ObjectArray: Deno.PointerValue /* isize */, + ObjectArray: bigint | number /* isize */, ObjectArraySize: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWecApi_dll.EcGetObjectArraySize(ObjectArray, util.toPointer(ObjectArraySize))); } export function EcSetObjectArrayProperty( - ObjectArray: Deno.PointerValue /* isize */, + ObjectArray: bigint | number /* isize */, PropertyId: EC_SUBSCRIPTION_PROPERTY_ID /* Windows.Win32.System.EventCollector.EC_SUBSCRIPTION_PROPERTY_ID */, ArrayIndex: number /* u32 */, Flags: number /* u32 */, @@ -414,7 +414,7 @@ export function EcSetObjectArrayProperty( } export function EcGetObjectArrayProperty( - ObjectArray: Deno.PointerValue /* isize */, + ObjectArray: bigint | number /* isize */, PropertyId: EC_SUBSCRIPTION_PROPERTY_ID /* Windows.Win32.System.EventCollector.EC_SUBSCRIPTION_PROPERTY_ID */, ArrayIndex: number /* u32 */, Flags: number /* u32 */, @@ -426,14 +426,14 @@ export function EcGetObjectArrayProperty( } export function EcInsertObjectArrayElement( - ObjectArray: Deno.PointerValue /* isize */, + ObjectArray: bigint | number /* isize */, ArrayIndex: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWecApi_dll.EcInsertObjectArrayElement(ObjectArray, ArrayIndex)); } export function EcRemoveObjectArrayElement( - ObjectArray: Deno.PointerValue /* isize */, + ObjectArray: bigint | number /* isize */, ArrayIndex: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWecApi_dll.EcRemoveObjectArrayElement(ObjectArray, ArrayIndex)); @@ -460,7 +460,7 @@ export function EcRetrySubscription( } export function EcClose( - Object: Deno.PointerValue /* isize */, + Object: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libWecApi_dll.EcClose(Object)); } diff --git a/api/System/EventLog.ts b/api/System/EventLog.ts index 22cf685..b30dcb7 100644 --- a/api/System/EventLog.ts +++ b/api/System/EventLog.ts @@ -224,18 +224,18 @@ export const EvtEventPropertyIdEND = 2; // Structs -export type EventLogHandle = Deno.PointerValue; +export type EventLogHandle = bigint | number; -export type EventSourceHandle = Deno.PointerValue; +export type EventSourceHandle = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -261,22 +261,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -914,7 +914,7 @@ export class EVENTLOG_FULL_INFORMATIONView { export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -1159,18 +1159,18 @@ export function EvtOpenSession( Login: Deno.PointerValue | Uint8Array /* ptr */, Timeout: number /* u32 */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtOpenSession(LoginClass, util.toPointer(Login), Timeout, Flags); } export function EvtClose( - Object: Deno.PointerValue /* isize */, + Object: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libwevtapi_dll.EvtClose(Object)); } export function EvtCancel( - Object: Deno.PointerValue /* isize */, + Object: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libwevtapi_dll.EvtCancel(Object)); } @@ -1184,16 +1184,16 @@ export function EvtGetExtendedStatus( } export function EvtQuery( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, Path: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Query: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtQuery(Session, util.pwstrToFfi(Path), util.pwstrToFfi(Query), Flags); } export function EvtNext( - ResultSet: Deno.PointerValue /* isize */, + ResultSet: bigint | number /* isize */, EventsSize: number /* u32 */, Events: Deno.PointerValue | Uint8Array /* ptr */, Timeout: number /* u32 */, @@ -1204,9 +1204,9 @@ export function EvtNext( } export function EvtSeek( - ResultSet: Deno.PointerValue /* isize */, - Position: Deno.PointerValue /* i64 */, - Bookmark: Deno.PointerValue /* isize */, + ResultSet: bigint | number /* isize */, + Position: bigint | number /* i64 */, + Bookmark: bigint | number /* isize */, Timeout: number /* u32 */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -1214,15 +1214,15 @@ export function EvtSeek( } export function EvtSubscribe( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, SignalEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ChannelPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Query: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - Bookmark: Deno.PointerValue /* isize */, + Bookmark: bigint | number /* isize */, Context: Deno.PointerValue | Uint8Array /* ptr */, Callback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.EventLog.EVT_SUBSCRIBE_CALLBACK */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtSubscribe(Session, util.toPointer(SignalEvent), util.pwstrToFfi(ChannelPath), util.pwstrToFfi(Query), Bookmark, util.toPointer(Context), util.toPointer(Callback), Flags); } @@ -1230,13 +1230,13 @@ export function EvtCreateRenderContext( ValuePathsCount: number /* u32 */, ValuePaths: Deno.PointerValue | Uint8Array /* ptr */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtCreateRenderContext(ValuePathsCount, util.toPointer(ValuePaths), Flags); } export function EvtRender( - Context: Deno.PointerValue /* isize */, - Fragment: Deno.PointerValue /* isize */, + Context: bigint | number /* isize */, + Fragment: bigint | number /* isize */, Flags: number /* u32 */, BufferSize: number /* u32 */, Buffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -1247,8 +1247,8 @@ export function EvtRender( } export function EvtFormatMessage( - PublisherMetadata: Deno.PointerValue /* isize */, - Event: Deno.PointerValue /* isize */, + PublisherMetadata: bigint | number /* isize */, + Event: bigint | number /* isize */, MessageId: number /* u32 */, ValueCount: number /* u32 */, Values: Deno.PointerValue | Uint8Array /* ptr */, @@ -1261,15 +1261,15 @@ export function EvtFormatMessage( } export function EvtOpenLog( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, Path: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtOpenLog(Session, util.pwstrToFfi(Path), Flags); } export function EvtGetLogInfo( - Log: Deno.PointerValue /* isize */, + Log: bigint | number /* isize */, PropertyId: EVT_LOG_PROPERTY_ID /* Windows.Win32.System.EventLog.EVT_LOG_PROPERTY_ID */, PropertyValueBufferSize: number /* u32 */, PropertyValueBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -1279,7 +1279,7 @@ export function EvtGetLogInfo( } export function EvtClearLog( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, ChannelPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, TargetFilePath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Flags: number /* u32 */, @@ -1288,7 +1288,7 @@ export function EvtClearLog( } export function EvtExportLog( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, Path: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Query: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, TargetFilePath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -1298,7 +1298,7 @@ export function EvtExportLog( } export function EvtArchiveExportedLog( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, LogFilePath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Locale: number /* u32 */, Flags: number /* u32 */, @@ -1307,14 +1307,14 @@ export function EvtArchiveExportedLog( } export function EvtOpenChannelEnum( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtOpenChannelEnum(Session, Flags); } export function EvtNextChannelPath( - ChannelEnum: Deno.PointerValue /* isize */, + ChannelEnum: bigint | number /* isize */, ChannelPathBufferSize: number /* u32 */, ChannelPathBuffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ChannelPathBufferUsed: Deno.PointerValue | Uint8Array /* ptr */, @@ -1323,22 +1323,22 @@ export function EvtNextChannelPath( } export function EvtOpenChannelConfig( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, ChannelPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtOpenChannelConfig(Session, util.pwstrToFfi(ChannelPath), Flags); } export function EvtSaveChannelConfig( - ChannelConfig: Deno.PointerValue /* isize */, + ChannelConfig: bigint | number /* isize */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libwevtapi_dll.EvtSaveChannelConfig(ChannelConfig, Flags)); } export function EvtSetChannelConfigProperty( - ChannelConfig: Deno.PointerValue /* isize */, + ChannelConfig: bigint | number /* isize */, PropertyId: EVT_CHANNEL_CONFIG_PROPERTY_ID /* Windows.Win32.System.EventLog.EVT_CHANNEL_CONFIG_PROPERTY_ID */, Flags: number /* u32 */, PropertyValue: Deno.PointerValue | Uint8Array /* ptr */, @@ -1347,7 +1347,7 @@ export function EvtSetChannelConfigProperty( } export function EvtGetChannelConfigProperty( - ChannelConfig: Deno.PointerValue /* isize */, + ChannelConfig: bigint | number /* isize */, PropertyId: EVT_CHANNEL_CONFIG_PROPERTY_ID /* Windows.Win32.System.EventLog.EVT_CHANNEL_CONFIG_PROPERTY_ID */, Flags: number /* u32 */, PropertyValueBufferSize: number /* u32 */, @@ -1358,14 +1358,14 @@ export function EvtGetChannelConfigProperty( } export function EvtOpenPublisherEnum( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtOpenPublisherEnum(Session, Flags); } export function EvtNextPublisherId( - PublisherEnum: Deno.PointerValue /* isize */, + PublisherEnum: bigint | number /* isize */, PublisherIdBufferSize: number /* u32 */, PublisherIdBuffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, PublisherIdBufferUsed: Deno.PointerValue | Uint8Array /* ptr */, @@ -1374,17 +1374,17 @@ export function EvtNextPublisherId( } export function EvtOpenPublisherMetadata( - Session: Deno.PointerValue /* isize */, + Session: bigint | number /* isize */, PublisherId: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, LogFilePath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, Locale: number /* u32 */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtOpenPublisherMetadata(Session, util.pwstrToFfi(PublisherId), util.pwstrToFfi(LogFilePath), Locale, Flags); } export function EvtGetPublisherMetadataProperty( - PublisherMetadata: Deno.PointerValue /* isize */, + PublisherMetadata: bigint | number /* isize */, PropertyId: EVT_PUBLISHER_METADATA_PROPERTY_ID /* Windows.Win32.System.EventLog.EVT_PUBLISHER_METADATA_PROPERTY_ID */, Flags: number /* u32 */, PublisherMetadataPropertyBufferSize: number /* u32 */, @@ -1395,21 +1395,21 @@ export function EvtGetPublisherMetadataProperty( } export function EvtOpenEventMetadataEnum( - PublisherMetadata: Deno.PointerValue /* isize */, + PublisherMetadata: bigint | number /* isize */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtOpenEventMetadataEnum(PublisherMetadata, Flags); } export function EvtNextEventMetadata( - EventMetadataEnum: Deno.PointerValue /* isize */, + EventMetadataEnum: bigint | number /* isize */, Flags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtNextEventMetadata(EventMetadataEnum, Flags); } export function EvtGetEventMetadataProperty( - EventMetadata: Deno.PointerValue /* isize */, + EventMetadata: bigint | number /* isize */, PropertyId: EVT_EVENT_METADATA_PROPERTY_ID /* Windows.Win32.System.EventLog.EVT_EVENT_METADATA_PROPERTY_ID */, Flags: number /* u32 */, EventMetadataPropertyBufferSize: number /* u32 */, @@ -1420,14 +1420,14 @@ export function EvtGetEventMetadataProperty( } export function EvtGetObjectArraySize( - ObjectArray: Deno.PointerValue /* isize */, + ObjectArray: bigint | number /* isize */, ObjectArraySize: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libwevtapi_dll.EvtGetObjectArraySize(ObjectArray, util.toPointer(ObjectArraySize))); } export function EvtGetObjectArrayProperty( - ObjectArray: Deno.PointerValue /* isize */, + ObjectArray: bigint | number /* isize */, PropertyId: number /* u32 */, ArrayIndex: number /* u32 */, Flags: number /* u32 */, @@ -1439,7 +1439,7 @@ export function EvtGetObjectArrayProperty( } export function EvtGetQueryInfo( - QueryOrSubscription: Deno.PointerValue /* isize */, + QueryOrSubscription: bigint | number /* isize */, PropertyId: EVT_QUERY_PROPERTY_ID /* Windows.Win32.System.EventLog.EVT_QUERY_PROPERTY_ID */, PropertyValueBufferSize: number /* u32 */, PropertyValueBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -1450,19 +1450,19 @@ export function EvtGetQueryInfo( export function EvtCreateBookmark( BookmarkXml: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libwevtapi_dll.EvtCreateBookmark(util.pwstrToFfi(BookmarkXml)); } export function EvtUpdateBookmark( - Bookmark: Deno.PointerValue /* isize */, - Event: Deno.PointerValue /* isize */, + Bookmark: bigint | number /* isize */, + Event: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libwevtapi_dll.EvtUpdateBookmark(Bookmark, Event)); } export function EvtGetEventInfo( - Event: Deno.PointerValue /* isize */, + Event: bigint | number /* isize */, PropertyId: EVT_EVENT_PROPERTY_ID /* Windows.Win32.System.EventLog.EVT_EVENT_PROPERTY_ID */, PropertyValueBufferSize: number /* u32 */, PropertyValueBuffer: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/System/GroupPolicy.ts b/api/System/GroupPolicy.ts index 69da710..297018a 100644 --- a/api/System/GroupPolicy.ts +++ b/api/System/GroupPolicy.ts @@ -211,11 +211,11 @@ export const GPHintOrganizationalUnit = 4; // Structs -export type CriticalPolicySectionHandle = Deno.PointerValue; +export type CriticalPolicySectionHandle = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.System.GroupPolicy.GROUP_POLICY_OBJECTA (size: 96) @@ -1781,7 +1781,7 @@ export class MANAGEDAPPLICATIONView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.System.GroupPolicy.GPOBROWSEINFO (size: 72) @@ -1993,7 +1993,7 @@ export class GPOBROWSEINFOView { // 0x44: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSID = Deno.PointerValue | Uint8Array; @@ -2242,7 +2242,7 @@ export function GetAppliedGPOListW( export function ProcessGroupPolicyCompleted( extensionId: Deno.PointerValue | Uint8Array /* ptr */, - pAsyncHandle: Deno.PointerValue /* usize */, + pAsyncHandle: bigint | number /* usize */, dwStatus: number /* u32 */, ): number /* u32 */ { return libUSERENV_dll.ProcessGroupPolicyCompleted(util.toPointer(extensionId), pAsyncHandle, dwStatus); @@ -2250,7 +2250,7 @@ export function ProcessGroupPolicyCompleted( export function ProcessGroupPolicyCompletedEx( extensionId: Deno.PointerValue | Uint8Array /* ptr */, - pAsyncHandle: Deno.PointerValue /* usize */, + pAsyncHandle: bigint | number /* usize */, dwStatus: number /* u32 */, RsopStatus: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */, ): number /* u32 */ { diff --git a/api/System/HostComputeNetwork.ts b/api/System/HostComputeNetwork.ts index 0ba8996..820a459 100644 --- a/api/System/HostComputeNetwork.ts +++ b/api/System/HostComputeNetwork.ts @@ -100,7 +100,7 @@ export interface HCN_PORT_RANGE_ENTRY { /** Windows.Win32.System.HostComputeNetwork.HCN_PORT_PROTOCOL */ Protocol: HCN_PORT_PROTOCOL; /** u64 */ - Priority: Deno.PointerValue; + Priority: bigint | number; /** u32 */ ReservationType: number; /** u32 */ @@ -170,7 +170,7 @@ export class HCN_PORT_RANGE_ENTRYView { // 0x14: pad4 // 0x18: u64 - get Priority(): Deno.PointerValue { + get Priority(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -217,7 +217,7 @@ export class HCN_PORT_RANGE_ENTRYView { // 0x14: pad4 // 0x18: u64 - set Priority(value: Deno.PointerValue) { + set Priority(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -251,7 +251,7 @@ export type PWSTR = Deno.PointerValue | Uint8Array; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/System/HostComputeSystem.ts b/api/System/HostComputeSystem.ts index dcee158..05a7d04 100644 --- a/api/System/HostComputeSystem.ts +++ b/api/System/HostComputeSystem.ts @@ -67,11 +67,11 @@ export const HcsCreateOptions_1 = 65536; // Structs -export type HCS_OPERATION = Deno.PointerValue; +export type HCS_OPERATION = bigint | number; -export type HCS_SYSTEM = Deno.PointerValue; +export type HCS_SYSTEM = bigint | number; -export type HCS_PROCESS = Deno.PointerValue; +export type HCS_PROCESS = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -153,7 +153,7 @@ export class HCS_EVENTView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.HostComputeSystem.HCS_PROCESS_INFORMATION (size: 32) @@ -709,7 +709,7 @@ export function HcsGetOperationType( export function HcsGetOperationId( operation: Uint8Array | Deno.PointerValue /* Windows.Win32.System.HostComputeSystem.HCS_OPERATION */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libcomputecore_dll.HcsGetOperationId(util.toPointer(operation)); } diff --git a/api/System/Hypervisor.ts b/api/System/Hypervisor.ts index 1be9785..5da88f8 100644 --- a/api/System/Hypervisor.ts +++ b/api/System/Hypervisor.ts @@ -705,16 +705,16 @@ export const PowerDeviceMaximum = 5; // Structs -export type WHV_PARTITION_HANDLE = Deno.PointerValue; +export type WHV_PARTITION_HANDLE = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -740,22 +740,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -767,7 +767,7 @@ export interface WHV_CAPABILITY_FEATURES { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_CAPABILITY_FEATURES = 16; @@ -799,7 +799,7 @@ export class WHV_CAPABILITY_FEATURESView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -809,7 +809,7 @@ export class WHV_CAPABILITY_FEATURESView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -821,7 +821,7 @@ export interface WHV_EXTENDED_VM_EXITS { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_EXTENDED_VM_EXITS = 16; @@ -853,7 +853,7 @@ export class WHV_EXTENDED_VM_EXITSView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -863,7 +863,7 @@ export class WHV_EXTENDED_VM_EXITSView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -875,7 +875,7 @@ export interface WHV_PROCESSOR_FEATURES { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_PROCESSOR_FEATURES = 16; @@ -907,7 +907,7 @@ export class WHV_PROCESSOR_FEATURESView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -917,7 +917,7 @@ export class WHV_PROCESSOR_FEATURESView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -929,7 +929,7 @@ export interface WHV_PROCESSOR_FEATURES1 { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_PROCESSOR_FEATURES1 = 16; @@ -961,7 +961,7 @@ export class WHV_PROCESSOR_FEATURES1View { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -971,7 +971,7 @@ export class WHV_PROCESSOR_FEATURES1View { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1106,7 +1106,7 @@ export interface WHV_SYNTHETIC_PROCESSOR_FEATURES { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_SYNTHETIC_PROCESSOR_FEATURES = 16; @@ -1138,7 +1138,7 @@ export class WHV_SYNTHETIC_PROCESSOR_FEATURESView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1148,7 +1148,7 @@ export class WHV_SYNTHETIC_PROCESSOR_FEATURESView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1228,7 +1228,7 @@ export interface WHV_PROCESSOR_XSAVE_FEATURES { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_PROCESSOR_XSAVE_FEATURES = 16; @@ -1260,7 +1260,7 @@ export class WHV_PROCESSOR_XSAVE_FEATURESView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1270,7 +1270,7 @@ export class WHV_PROCESSOR_XSAVE_FEATURESView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1282,7 +1282,7 @@ export interface WHV_PROCESSOR_PERFMON_FEATURES { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_PROCESSOR_PERFMON_FEATURES = 16; @@ -1314,7 +1314,7 @@ export class WHV_PROCESSOR_PERFMON_FEATURESView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1324,7 +1324,7 @@ export class WHV_PROCESSOR_PERFMON_FEATURESView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1334,7 +1334,7 @@ export class WHV_PROCESSOR_PERFMON_FEATURESView { */ export interface WHV_X64_MSR_EXIT_BITMAP { /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -1362,7 +1362,7 @@ export class WHV_X64_MSR_EXIT_BITMAPView { } // 0x00: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1373,7 +1373,7 @@ export class WHV_X64_MSR_EXIT_BITMAPView { } // 0x00: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1388,9 +1388,9 @@ export class WHV_X64_MSR_EXIT_BITMAPView { */ export interface WHV_MEMORY_RANGE_ENTRY { /** u64 */ - GuestAddress: Deno.PointerValue; + GuestAddress: bigint | number; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; } export const sizeofWHV_MEMORY_RANGE_ENTRY = 16; @@ -1416,22 +1416,22 @@ export class WHV_MEMORY_RANGE_ENTRYView { } // 0x00: u64 - get GuestAddress(): Deno.PointerValue { + get GuestAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set GuestAddress(value: Deno.PointerValue) { + set GuestAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1661,7 +1661,7 @@ export interface WHV_SCHEDULER_FEATURES { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_SCHEDULER_FEATURES = 16; @@ -1693,7 +1693,7 @@ export class WHV_SCHEDULER_FEATURESView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1703,7 +1703,7 @@ export class WHV_SCHEDULER_FEATURESView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1731,13 +1731,13 @@ export interface WHV_CAPABILITY { /** u8 */ ProcessorClFlushSize: number; /** u64 */ - ExceptionExitBitmap: Deno.PointerValue; + ExceptionExitBitmap: bigint | number; /** Windows.Win32.System.Hypervisor.WHV_X64_MSR_EXIT_BITMAP */ X64MsrExitBitmap: Uint8Array | Deno.PointerValue; /** u64 */ - ProcessorClockFrequency: Deno.PointerValue; + ProcessorClockFrequency: bigint | number; /** u64 */ - InterruptClockFrequency: Deno.PointerValue; + InterruptClockFrequency: bigint | number; /** Windows.Win32.System.Hypervisor.WHV_PROCESSOR_FEATURES_BANKS */ ProcessorFeaturesBanks: Uint8Array | Deno.PointerValue; /** Windows.Win32.System.Hypervisor.WHV_ADVISE_GPA_RANGE_POPULATE_FLAGS */ @@ -1857,7 +1857,7 @@ export class WHV_CAPABILITYView { // 0x39: pad7 // 0x40: u64 - get ExceptionExitBitmap(): Deno.PointerValue { + get ExceptionExitBitmap(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -1868,12 +1868,12 @@ export class WHV_CAPABILITYView { } // 0x50: u64 - get ProcessorClockFrequency(): Deno.PointerValue { + get ProcessorClockFrequency(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get InterruptClockFrequency(): Deno.PointerValue { + get InterruptClockFrequency(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -1954,7 +1954,7 @@ export class WHV_CAPABILITYView { // 0x39: pad7 // 0x40: u64 - set ExceptionExitBitmap(value: Deno.PointerValue) { + set ExceptionExitBitmap(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -1964,12 +1964,12 @@ export class WHV_CAPABILITYView { } // 0x50: u64 - set ProcessorClockFrequency(value: Deno.PointerValue) { + set ProcessorClockFrequency(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set InterruptClockFrequency(value: Deno.PointerValue) { + set InterruptClockFrequency(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -2414,7 +2414,7 @@ export interface WHV_PARTITION_PROPERTY { /** Windows.Win32.System.Hypervisor.WHV_MSR_ACTION */ UnimplementedMsrAction: WHV_MSR_ACTION; /** u64 */ - ExceptionExitBitmap: Deno.PointerValue; + ExceptionExitBitmap: bigint | number; /** Windows.Win32.System.Hypervisor.WHV_X64_LOCAL_APIC_EMULATION_MODE */ LocalApicEmulationMode: WHV_X64_LOCAL_APIC_EMULATION_MODE; /** Windows.Win32.Foundation.BOOL */ @@ -2424,15 +2424,15 @@ export interface WHV_PARTITION_PROPERTY { /** Windows.Win32.System.Hypervisor.WHV_X64_MSR_EXIT_BITMAP */ X64MsrExitBitmap: Uint8Array | Deno.PointerValue; /** u64 */ - ProcessorClockFrequency: Deno.PointerValue; + ProcessorClockFrequency: bigint | number; /** u64 */ - InterruptClockFrequency: Deno.PointerValue; + InterruptClockFrequency: bigint | number; /** Windows.Win32.Foundation.BOOL */ ApicRemoteRead: boolean; /** Windows.Win32.System.Hypervisor.WHV_PROCESSOR_FEATURES_BANKS */ ProcessorFeaturesBanks: Uint8Array | Deno.PointerValue; /** u64 */ - ReferenceTime: Deno.PointerValue; + ReferenceTime: bigint | number; /** u16 */ PrimaryNumaNode: number; /** u32 */ @@ -2442,7 +2442,7 @@ export interface WHV_PARTITION_PROPERTY { /** u32 */ CpuWeight: number; /** u64 */ - CpuGroupId: Deno.PointerValue; + CpuGroupId: bigint | number; /** u32 */ ProcessorFrequencyCap: number; /** Windows.Win32.Foundation.BOOL */ @@ -2605,7 +2605,7 @@ export class WHV_PARTITION_PROPERTYView { // 0x4c: pad4 // 0x50: u64 - get ExceptionExitBitmap(): Deno.PointerValue { + get ExceptionExitBitmap(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -2633,12 +2633,12 @@ export class WHV_PARTITION_PROPERTYView { } // 0x70: u64 - get ProcessorClockFrequency(): Deno.PointerValue { + get ProcessorClockFrequency(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get InterruptClockFrequency(): Deno.PointerValue { + get InterruptClockFrequency(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -2656,7 +2656,7 @@ export class WHV_PARTITION_PROPERTYView { } // 0x90: u64 - get ReferenceTime(): Deno.PointerValue { + get ReferenceTime(): bigint | number { return Number(this.view.getBigUint64(144, true)); } @@ -2683,7 +2683,7 @@ export class WHV_PARTITION_PROPERTYView { // 0xa6: pad2 // 0xa8: u64 - get CpuGroupId(): Deno.PointerValue { + get CpuGroupId(): bigint | number { return Number(this.view.getBigUint64(168, true)); } @@ -2770,7 +2770,7 @@ export class WHV_PARTITION_PROPERTYView { // 0x4c: pad4 // 0x50: u64 - set ExceptionExitBitmap(value: Deno.PointerValue) { + set ExceptionExitBitmap(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -2797,12 +2797,12 @@ export class WHV_PARTITION_PROPERTYView { } // 0x70: u64 - set ProcessorClockFrequency(value: Deno.PointerValue) { + set ProcessorClockFrequency(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set InterruptClockFrequency(value: Deno.PointerValue) { + set InterruptClockFrequency(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -2819,7 +2819,7 @@ export class WHV_PARTITION_PROPERTYView { } // 0x90: u64 - set ReferenceTime(value: Deno.PointerValue) { + set ReferenceTime(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } @@ -2846,7 +2846,7 @@ export class WHV_PARTITION_PROPERTYView { // 0xa6: pad2 // 0xa8: u64 - set CpuGroupId(value: Deno.PointerValue) { + set CpuGroupId(value: bigint | number) { this.view.setBigUint64(168, BigInt(value), true); } @@ -2971,7 +2971,7 @@ export class WHV_ADVISE_GPA_RANGEView { */ export interface WHV_ACCESS_GPA_CONTROLS { /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -2999,7 +2999,7 @@ export class WHV_ACCESS_GPA_CONTROLSView { } // 0x00: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3010,7 +3010,7 @@ export class WHV_ACCESS_GPA_CONTROLSView { } // 0x00: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3245,7 +3245,7 @@ export class WHV_X64_XMM_CONTROL_STATUS_REGISTERView { */ export interface WHV_X64_SEGMENT_REGISTER { /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; /** u32 */ Limit: number; /** u16 */ @@ -3282,7 +3282,7 @@ export class WHV_X64_SEGMENT_REGISTERView { } // 0x00: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3305,7 +3305,7 @@ export class WHV_X64_SEGMENT_REGISTERView { } // 0x00: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3336,7 +3336,7 @@ export interface WHV_X64_TABLE_REGISTER { /** u16 */ Limit: number; /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; } export const sizeofWHV_X64_TABLE_REGISTER = 24; @@ -3378,7 +3378,7 @@ export class WHV_X64_TABLE_REGISTERView { // 0x0a: pad6 // 0x10: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3395,7 +3395,7 @@ export class WHV_X64_TABLE_REGISTERView { // 0x0a: pad6 // 0x10: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -3407,7 +3407,7 @@ export interface WHV_X64_INTERRUPT_STATE_REGISTER { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_X64_INTERRUPT_STATE_REGISTER = 16; @@ -3439,7 +3439,7 @@ export class WHV_X64_INTERRUPT_STATE_REGISTERView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3449,7 +3449,7 @@ export class WHV_X64_INTERRUPT_STATE_REGISTERView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3461,7 +3461,7 @@ export interface WHV_X64_PENDING_INTERRUPTION_REGISTER { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_X64_PENDING_INTERRUPTION_REGISTER = 16; @@ -3493,7 +3493,7 @@ export class WHV_X64_PENDING_INTERRUPTION_REGISTERView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3503,7 +3503,7 @@ export class WHV_X64_PENDING_INTERRUPTION_REGISTERView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3515,7 +3515,7 @@ export interface WHV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTER { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTER = 16; @@ -3547,7 +3547,7 @@ export class WHV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTERView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3557,7 +3557,7 @@ export class WHV_X64_DELIVERABILITY_NOTIFICATIONS_REGISTERView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3679,7 +3679,7 @@ export interface WHV_INTERNAL_ACTIVITY_REGISTER { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_INTERNAL_ACTIVITY_REGISTER = 16; @@ -3711,7 +3711,7 @@ export class WHV_INTERNAL_ACTIVITY_REGISTERView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -3721,7 +3721,7 @@ export class WHV_INTERNAL_ACTIVITY_REGISTERView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3731,7 +3731,7 @@ export class WHV_INTERNAL_ACTIVITY_REGISTERView { */ export interface WHV_X64_PENDING_DEBUG_EXCEPTION { /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -3759,7 +3759,7 @@ export class WHV_X64_PENDING_DEBUG_EXCEPTIONView { } // 0x00: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3770,7 +3770,7 @@ export class WHV_X64_PENDING_DEBUG_EXCEPTIONView { } // 0x00: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3854,7 +3854,7 @@ export interface WHV_REGISTER_VALUE { /** Windows.Win32.System.Hypervisor.WHV_UINT128 */ Reg128: Uint8Array | Deno.PointerValue; /** u64 */ - Reg64: Deno.PointerValue; + Reg64: bigint | number; /** u32 */ Reg32: number; /** u16 */ @@ -3947,7 +3947,7 @@ export class WHV_REGISTER_VALUEView { } // 0x08: u64 - get Reg64(): Deno.PointerValue { + get Reg64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4046,7 +4046,7 @@ export class WHV_REGISTER_VALUEView { } // 0x08: u64 - set Reg64(value: Deno.PointerValue) { + set Reg64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -4202,9 +4202,9 @@ export interface WHV_VP_EXIT_CONTEXT { /** Windows.Win32.System.Hypervisor.WHV_X64_SEGMENT_REGISTER */ Cs: Uint8Array | Deno.PointerValue; /** u64 */ - Rip: Deno.PointerValue; + Rip: bigint | number; /** u64 */ - Rflags: Deno.PointerValue; + Rflags: bigint | number; } export const sizeofWHV_VP_EXIT_CONTEXT = 40; @@ -4270,12 +4270,12 @@ export class WHV_VP_EXIT_CONTEXTView { } // 0x18: u64 - get Rip(): Deno.PointerValue { + get Rip(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get Rflags(): Deno.PointerValue { + get Rflags(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -4307,12 +4307,12 @@ export class WHV_VP_EXIT_CONTEXTView { } // 0x18: u64 - set Rip(value: Deno.PointerValue) { + set Rip(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set Rflags(value: Deno.PointerValue) { + set Rflags(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -4389,9 +4389,9 @@ export interface WHV_MEMORY_ACCESS_CONTEXT { /** Windows.Win32.System.Hypervisor.WHV_MEMORY_ACCESS_INFO */ AccessInfo: Uint8Array | Deno.PointerValue; /** u64 */ - Gpa: Deno.PointerValue; + Gpa: bigint | number; /** u64 */ - Gva: Deno.PointerValue; + Gva: bigint | number; } export const sizeofWHV_MEMORY_ACCESS_CONTEXT = 48; @@ -4451,12 +4451,12 @@ export class WHV_MEMORY_ACCESS_CONTEXTView { } // 0x20: u64 - get Gpa(): Deno.PointerValue { + get Gpa(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get Gva(): Deno.PointerValue { + get Gva(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -4483,12 +4483,12 @@ export class WHV_MEMORY_ACCESS_CONTEXTView { } // 0x20: u64 - set Gpa(value: Deno.PointerValue) { + set Gpa(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set Gva(value: Deno.PointerValue) { + set Gva(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -4569,13 +4569,13 @@ export interface WHV_X64_IO_PORT_ACCESS_CONTEXT { /** array */ Reserved2: Deno.PointerValue; /** u64 */ - Rax: Deno.PointerValue; + Rax: bigint | number; /** u64 */ - Rcx: Deno.PointerValue; + Rcx: bigint | number; /** u64 */ - Rsi: Deno.PointerValue; + Rsi: bigint | number; /** u64 */ - Rdi: Deno.PointerValue; + Rdi: bigint | number; /** Windows.Win32.System.Hypervisor.WHV_X64_SEGMENT_REGISTER */ Ds: Uint8Array | Deno.PointerValue; /** Windows.Win32.System.Hypervisor.WHV_X64_SEGMENT_REGISTER */ @@ -4665,22 +4665,22 @@ export class WHV_X64_IO_PORT_ACCESS_CONTEXTView { } // 0x30: u64 - get Rax(): Deno.PointerValue { + get Rax(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Rcx(): Deno.PointerValue { + get Rcx(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get Rsi(): Deno.PointerValue { + get Rsi(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get Rdi(): Deno.PointerValue { + get Rdi(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -4731,22 +4731,22 @@ export class WHV_X64_IO_PORT_ACCESS_CONTEXTView { } // 0x30: u64 - set Rax(value: Deno.PointerValue) { + set Rax(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Rcx(value: Deno.PointerValue) { + set Rcx(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set Rsi(value: Deno.PointerValue) { + set Rsi(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set Rdi(value: Deno.PointerValue) { + set Rdi(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -4829,9 +4829,9 @@ export interface WHV_X64_MSR_ACCESS_CONTEXT { /** u32 */ MsrNumber: number; /** u64 */ - Rax: Deno.PointerValue; + Rax: bigint | number; /** u64 */ - Rdx: Deno.PointerValue; + Rdx: bigint | number; } export const sizeofWHV_X64_MSR_ACCESS_CONTEXT = 32; @@ -4875,12 +4875,12 @@ export class WHV_X64_MSR_ACCESS_CONTEXTView { // 0x0c: pad4 // 0x10: u64 - get Rax(): Deno.PointerValue { + get Rax(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Rdx(): Deno.PointerValue { + get Rdx(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4897,12 +4897,12 @@ export class WHV_X64_MSR_ACCESS_CONTEXTView { // 0x0c: pad4 // 0x10: u64 - set Rax(value: Deno.PointerValue) { + set Rax(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Rdx(value: Deno.PointerValue) { + set Rdx(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4912,21 +4912,21 @@ export class WHV_X64_MSR_ACCESS_CONTEXTView { */ export interface WHV_X64_CPUID_ACCESS_CONTEXT { /** u64 */ - Rax: Deno.PointerValue; + Rax: bigint | number; /** u64 */ - Rcx: Deno.PointerValue; + Rcx: bigint | number; /** u64 */ - Rdx: Deno.PointerValue; + Rdx: bigint | number; /** u64 */ - Rbx: Deno.PointerValue; + Rbx: bigint | number; /** u64 */ - DefaultResultRax: Deno.PointerValue; + DefaultResultRax: bigint | number; /** u64 */ - DefaultResultRcx: Deno.PointerValue; + DefaultResultRcx: bigint | number; /** u64 */ - DefaultResultRdx: Deno.PointerValue; + DefaultResultRdx: bigint | number; /** u64 */ - DefaultResultRbx: Deno.PointerValue; + DefaultResultRbx: bigint | number; } export const sizeofWHV_X64_CPUID_ACCESS_CONTEXT = 64; @@ -4964,82 +4964,82 @@ export class WHV_X64_CPUID_ACCESS_CONTEXTView { } // 0x00: u64 - get Rax(): Deno.PointerValue { + get Rax(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Rcx(): Deno.PointerValue { + get Rcx(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Rdx(): Deno.PointerValue { + get Rdx(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Rbx(): Deno.PointerValue { + get Rbx(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get DefaultResultRax(): Deno.PointerValue { + get DefaultResultRax(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get DefaultResultRcx(): Deno.PointerValue { + get DefaultResultRcx(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get DefaultResultRdx(): Deno.PointerValue { + get DefaultResultRdx(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get DefaultResultRbx(): Deno.PointerValue { + get DefaultResultRbx(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x00: u64 - set Rax(value: Deno.PointerValue) { + set Rax(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Rcx(value: Deno.PointerValue) { + set Rcx(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Rdx(value: Deno.PointerValue) { + set Rdx(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Rbx(value: Deno.PointerValue) { + set Rbx(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set DefaultResultRax(value: Deno.PointerValue) { + set DefaultResultRax(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set DefaultResultRcx(value: Deno.PointerValue) { + set DefaultResultRcx(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set DefaultResultRdx(value: Deno.PointerValue) { + set DefaultResultRdx(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set DefaultResultRbx(value: Deno.PointerValue) { + set DefaultResultRbx(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -5122,7 +5122,7 @@ export interface WHV_VP_EXCEPTION_CONTEXT { /** u32 */ ErrorCode: number; /** u64 */ - ExceptionParameter: Deno.PointerValue; + ExceptionParameter: bigint | number; } export const sizeofWHV_VP_EXCEPTION_CONTEXT = 64; @@ -5208,7 +5208,7 @@ export class WHV_VP_EXCEPTION_CONTEXTView { // 0x34: pad4 // 0x38: u64 - get ExceptionParameter(): Deno.PointerValue { + get ExceptionParameter(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -5254,7 +5254,7 @@ export class WHV_VP_EXCEPTION_CONTEXTView { // 0x34: pad4 // 0x38: u64 - set ExceptionParameter(value: Deno.PointerValue) { + set ExceptionParameter(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -5268,7 +5268,7 @@ export interface WHV_X64_UNSUPPORTED_FEATURE_CONTEXT { /** u32 */ Reserved: number; /** u64 */ - FeatureParameter: Deno.PointerValue; + FeatureParameter: bigint | number; } export const sizeofWHV_X64_UNSUPPORTED_FEATURE_CONTEXT = 16; @@ -5306,7 +5306,7 @@ export class WHV_X64_UNSUPPORTED_FEATURE_CONTEXTView { } // 0x08: u64 - get FeatureParameter(): Deno.PointerValue { + get FeatureParameter(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5321,7 +5321,7 @@ export class WHV_X64_UNSUPPORTED_FEATURE_CONTEXTView { } // 0x08: u64 - set FeatureParameter(value: Deno.PointerValue) { + set FeatureParameter(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5465,7 +5465,7 @@ export interface WHV_X64_RDTSC_INFO { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; } export const sizeofWHV_X64_RDTSC_INFO = 16; @@ -5497,7 +5497,7 @@ export class WHV_X64_RDTSC_INFOView { } // 0x08: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5507,7 +5507,7 @@ export class WHV_X64_RDTSC_INFOView { } // 0x08: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5517,13 +5517,13 @@ export class WHV_X64_RDTSC_INFOView { */ export interface WHV_X64_RDTSC_CONTEXT { /** u64 */ - TscAux: Deno.PointerValue; + TscAux: bigint | number; /** u64 */ - VirtualOffset: Deno.PointerValue; + VirtualOffset: bigint | number; /** u64 */ - Tsc: Deno.PointerValue; + Tsc: bigint | number; /** u64 */ - ReferenceTime: Deno.PointerValue; + ReferenceTime: bigint | number; /** Windows.Win32.System.Hypervisor.WHV_X64_RDTSC_INFO */ RdtscInfo: Uint8Array | Deno.PointerValue; } @@ -5557,22 +5557,22 @@ export class WHV_X64_RDTSC_CONTEXTView { } // 0x00: u64 - get TscAux(): Deno.PointerValue { + get TscAux(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get VirtualOffset(): Deno.PointerValue { + get VirtualOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Tsc(): Deno.PointerValue { + get Tsc(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ReferenceTime(): Deno.PointerValue { + get ReferenceTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -5583,22 +5583,22 @@ export class WHV_X64_RDTSC_CONTEXTView { } // 0x00: u64 - set TscAux(value: Deno.PointerValue) { + set TscAux(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set VirtualOffset(value: Deno.PointerValue) { + set VirtualOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Tsc(value: Deno.PointerValue) { + set Tsc(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ReferenceTime(value: Deno.PointerValue) { + set ReferenceTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -5613,7 +5613,7 @@ export class WHV_X64_RDTSC_CONTEXTView { */ export interface WHV_X64_APIC_SMI_CONTEXT { /** u64 */ - ApicIcr: Deno.PointerValue; + ApicIcr: bigint | number; } export const sizeofWHV_X64_APIC_SMI_CONTEXT = 8; @@ -5637,12 +5637,12 @@ export class WHV_X64_APIC_SMI_CONTEXTView { } // 0x00: u64 - get ApicIcr(): Deno.PointerValue { + get ApicIcr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ApicIcr(value: Deno.PointerValue) { + set ApicIcr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -5652,21 +5652,21 @@ export class WHV_X64_APIC_SMI_CONTEXTView { */ export interface WHV_HYPERCALL_CONTEXT { /** u64 */ - Rax: Deno.PointerValue; + Rax: bigint | number; /** u64 */ - Rbx: Deno.PointerValue; + Rbx: bigint | number; /** u64 */ - Rcx: Deno.PointerValue; + Rcx: bigint | number; /** u64 */ - Rdx: Deno.PointerValue; + Rdx: bigint | number; /** u64 */ - R8: Deno.PointerValue; + R8: bigint | number; /** u64 */ - Rsi: Deno.PointerValue; + Rsi: bigint | number; /** u64 */ - Rdi: Deno.PointerValue; + Rdi: bigint | number; /** u64 */ - Reserved0: Deno.PointerValue; + Reserved0: bigint | number; /** array */ XmmRegisters: Deno.PointerValue; /** array */ @@ -5712,42 +5712,42 @@ export class WHV_HYPERCALL_CONTEXTView { } // 0x00: u64 - get Rax(): Deno.PointerValue { + get Rax(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Rbx(): Deno.PointerValue { + get Rbx(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Rcx(): Deno.PointerValue { + get Rcx(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Rdx(): Deno.PointerValue { + get Rdx(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get R8(): Deno.PointerValue { + get R8(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get Rsi(): Deno.PointerValue { + get Rsi(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get Rdi(): Deno.PointerValue { + get Rdi(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Reserved0(): Deno.PointerValue { + get Reserved0(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -5764,42 +5764,42 @@ export class WHV_HYPERCALL_CONTEXTView { } // 0x00: u64 - set Rax(value: Deno.PointerValue) { + set Rax(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Rbx(value: Deno.PointerValue) { + set Rbx(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Rcx(value: Deno.PointerValue) { + set Rcx(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Rdx(value: Deno.PointerValue) { + set Rdx(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set R8(value: Deno.PointerValue) { + set R8(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set Rsi(value: Deno.PointerValue) { + set Rsi(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set Rdi(value: Deno.PointerValue) { + set Rdi(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Reserved0(value: Deno.PointerValue) { + set Reserved0(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -5819,7 +5819,7 @@ export class WHV_HYPERCALL_CONTEXTView { */ export interface WHV_X64_APIC_INIT_SIPI_CONTEXT { /** u64 */ - ApicIcr: Deno.PointerValue; + ApicIcr: bigint | number; } export const sizeofWHV_X64_APIC_INIT_SIPI_CONTEXT = 8; @@ -5843,12 +5843,12 @@ export class WHV_X64_APIC_INIT_SIPI_CONTEXTView { } // 0x00: u64 - get ApicIcr(): Deno.PointerValue { + get ApicIcr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set ApicIcr(value: Deno.PointerValue) { + set ApicIcr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -5862,7 +5862,7 @@ export interface WHV_X64_APIC_WRITE_CONTEXT { /** u32 */ Reserved: number; /** u64 */ - WriteValue: Deno.PointerValue; + WriteValue: bigint | number; } export const sizeofWHV_X64_APIC_WRITE_CONTEXT = 16; @@ -5900,7 +5900,7 @@ export class WHV_X64_APIC_WRITE_CONTEXTView { } // 0x08: u64 - get WriteValue(): Deno.PointerValue { + get WriteValue(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5915,7 +5915,7 @@ export class WHV_X64_APIC_WRITE_CONTEXTView { } // 0x08: u64 - set WriteValue(value: Deno.PointerValue) { + set WriteValue(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6008,7 +6008,7 @@ export class WHV_RUN_VP_EXIT_CONTEXTView { */ export interface WHV_INTERRUPT_CONTROL { /** u64 */ - _bitfield: Deno.PointerValue; + _bitfield: bigint | number; /** u32 */ Destination: number; /** u32 */ @@ -6040,7 +6040,7 @@ export class WHV_INTERRUPT_CONTROLView { } // 0x00: u64 - get _bitfield(): Deno.PointerValue { + get _bitfield(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -6055,7 +6055,7 @@ export class WHV_INTERRUPT_CONTROLView { } // 0x00: u64 - set _bitfield(value: Deno.PointerValue) { + set _bitfield(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -6075,9 +6075,9 @@ export class WHV_INTERRUPT_CONTROLView { */ export interface WHV_DOORBELL_MATCH_DATA { /** u64 */ - GuestAddress: Deno.PointerValue; + GuestAddress: bigint | number; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; /** u32 */ Length: number; /** u32 */ @@ -6111,12 +6111,12 @@ export class WHV_DOORBELL_MATCH_DATAView { } // 0x00: u64 - get GuestAddress(): Deno.PointerValue { + get GuestAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6131,12 +6131,12 @@ export class WHV_DOORBELL_MATCH_DATAView { } // 0x00: u64 - set GuestAddress(value: Deno.PointerValue) { + set GuestAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -6156,11 +6156,11 @@ export class WHV_DOORBELL_MATCH_DATAView { */ export interface WHV_PARTITION_MEMORY_COUNTERS { /** u64 */ - Mapped4KPageCount: Deno.PointerValue; + Mapped4KPageCount: bigint | number; /** u64 */ - Mapped2MPageCount: Deno.PointerValue; + Mapped2MPageCount: bigint | number; /** u64 */ - Mapped1GPageCount: Deno.PointerValue; + Mapped1GPageCount: bigint | number; } export const sizeofWHV_PARTITION_MEMORY_COUNTERS = 24; @@ -6188,32 +6188,32 @@ export class WHV_PARTITION_MEMORY_COUNTERSView { } // 0x00: u64 - get Mapped4KPageCount(): Deno.PointerValue { + get Mapped4KPageCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Mapped2MPageCount(): Deno.PointerValue { + get Mapped2MPageCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Mapped1GPageCount(): Deno.PointerValue { + get Mapped1GPageCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set Mapped4KPageCount(value: Deno.PointerValue) { + set Mapped4KPageCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Mapped2MPageCount(value: Deno.PointerValue) { + set Mapped2MPageCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Mapped1GPageCount(value: Deno.PointerValue) { + set Mapped1GPageCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -6223,9 +6223,9 @@ export class WHV_PARTITION_MEMORY_COUNTERSView { */ export interface WHV_PROCESSOR_RUNTIME_COUNTERS { /** u64 */ - TotalRuntime100ns: Deno.PointerValue; + TotalRuntime100ns: bigint | number; /** u64 */ - HypervisorRuntime100ns: Deno.PointerValue; + HypervisorRuntime100ns: bigint | number; } export const sizeofWHV_PROCESSOR_RUNTIME_COUNTERS = 16; @@ -6251,22 +6251,22 @@ export class WHV_PROCESSOR_RUNTIME_COUNTERSView { } // 0x00: u64 - get TotalRuntime100ns(): Deno.PointerValue { + get TotalRuntime100ns(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get HypervisorRuntime100ns(): Deno.PointerValue { + get HypervisorRuntime100ns(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set TotalRuntime100ns(value: Deno.PointerValue) { + set TotalRuntime100ns(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set HypervisorRuntime100ns(value: Deno.PointerValue) { + set HypervisorRuntime100ns(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6276,9 +6276,9 @@ export class WHV_PROCESSOR_RUNTIME_COUNTERSView { */ export interface WHV_PROCESSOR_INTERCEPT_COUNTER { /** u64 */ - Count: Deno.PointerValue; + Count: bigint | number; /** u64 */ - Time100ns: Deno.PointerValue; + Time100ns: bigint | number; } export const sizeofWHV_PROCESSOR_INTERCEPT_COUNTER = 16; @@ -6304,22 +6304,22 @@ export class WHV_PROCESSOR_INTERCEPT_COUNTERView { } // 0x00: u64 - get Count(): Deno.PointerValue { + get Count(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Time100ns(): Deno.PointerValue { + get Time100ns(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Count(value: Deno.PointerValue) { + set Count(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Time100ns(value: Deno.PointerValue) { + set Time100ns(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6564,11 +6564,11 @@ export class WHV_PROCESSOR_INTERCEPT_COUNTERSView { */ export interface WHV_PROCESSOR_EVENT_COUNTERS { /** u64 */ - PageFaultCount: Deno.PointerValue; + PageFaultCount: bigint | number; /** u64 */ - ExceptionCount: Deno.PointerValue; + ExceptionCount: bigint | number; /** u64 */ - InterruptCount: Deno.PointerValue; + InterruptCount: bigint | number; } export const sizeofWHV_PROCESSOR_EVENT_COUNTERS = 24; @@ -6596,32 +6596,32 @@ export class WHV_PROCESSOR_EVENT_COUNTERSView { } // 0x00: u64 - get PageFaultCount(): Deno.PointerValue { + get PageFaultCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get ExceptionCount(): Deno.PointerValue { + get ExceptionCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get InterruptCount(): Deno.PointerValue { + get InterruptCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set PageFaultCount(value: Deno.PointerValue) { + set PageFaultCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set ExceptionCount(value: Deno.PointerValue) { + set ExceptionCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set InterruptCount(value: Deno.PointerValue) { + set InterruptCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -6631,15 +6631,15 @@ export class WHV_PROCESSOR_EVENT_COUNTERSView { */ export interface WHV_PROCESSOR_APIC_COUNTERS { /** u64 */ - MmioAccessCount: Deno.PointerValue; + MmioAccessCount: bigint | number; /** u64 */ - EoiAccessCount: Deno.PointerValue; + EoiAccessCount: bigint | number; /** u64 */ - TprAccessCount: Deno.PointerValue; + TprAccessCount: bigint | number; /** u64 */ - SentIpiCount: Deno.PointerValue; + SentIpiCount: bigint | number; /** u64 */ - SelfIpiCount: Deno.PointerValue; + SelfIpiCount: bigint | number; } export const sizeofWHV_PROCESSOR_APIC_COUNTERS = 40; @@ -6671,52 +6671,52 @@ export class WHV_PROCESSOR_APIC_COUNTERSView { } // 0x00: u64 - get MmioAccessCount(): Deno.PointerValue { + get MmioAccessCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get EoiAccessCount(): Deno.PointerValue { + get EoiAccessCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get TprAccessCount(): Deno.PointerValue { + get TprAccessCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get SentIpiCount(): Deno.PointerValue { + get SentIpiCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get SelfIpiCount(): Deno.PointerValue { + get SelfIpiCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: u64 - set MmioAccessCount(value: Deno.PointerValue) { + set MmioAccessCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set EoiAccessCount(value: Deno.PointerValue) { + set EoiAccessCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set TprAccessCount(value: Deno.PointerValue) { + set TprAccessCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set SentIpiCount(value: Deno.PointerValue) { + set SentIpiCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set SelfIpiCount(value: Deno.PointerValue) { + set SelfIpiCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -6726,17 +6726,17 @@ export class WHV_PROCESSOR_APIC_COUNTERSView { */ export interface WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS { /** u64 */ - SyntheticInterruptsCount: Deno.PointerValue; + SyntheticInterruptsCount: bigint | number; /** u64 */ - LongSpinWaitHypercallsCount: Deno.PointerValue; + LongSpinWaitHypercallsCount: bigint | number; /** u64 */ - OtherHypercallsCount: Deno.PointerValue; + OtherHypercallsCount: bigint | number; /** u64 */ - SyntheticInterruptHypercallsCount: Deno.PointerValue; + SyntheticInterruptHypercallsCount: bigint | number; /** u64 */ - VirtualInterruptHypercallsCount: Deno.PointerValue; + VirtualInterruptHypercallsCount: bigint | number; /** u64 */ - VirtualMmuHypercallsCount: Deno.PointerValue; + VirtualMmuHypercallsCount: bigint | number; } export const sizeofWHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERS = 48; @@ -6770,62 +6770,62 @@ export class WHV_PROCESSOR_SYNTHETIC_FEATURES_COUNTERSView { } // 0x00: u64 - get SyntheticInterruptsCount(): Deno.PointerValue { + get SyntheticInterruptsCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get LongSpinWaitHypercallsCount(): Deno.PointerValue { + get LongSpinWaitHypercallsCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get OtherHypercallsCount(): Deno.PointerValue { + get OtherHypercallsCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get SyntheticInterruptHypercallsCount(): Deno.PointerValue { + get SyntheticInterruptHypercallsCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get VirtualInterruptHypercallsCount(): Deno.PointerValue { + get VirtualInterruptHypercallsCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get VirtualMmuHypercallsCount(): Deno.PointerValue { + get VirtualMmuHypercallsCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set SyntheticInterruptsCount(value: Deno.PointerValue) { + set SyntheticInterruptsCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set LongSpinWaitHypercallsCount(value: Deno.PointerValue) { + set LongSpinWaitHypercallsCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set OtherHypercallsCount(value: Deno.PointerValue) { + set OtherHypercallsCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set SyntheticInterruptHypercallsCount(value: Deno.PointerValue) { + set SyntheticInterruptHypercallsCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set VirtualInterruptHypercallsCount(value: Deno.PointerValue) { + set VirtualInterruptHypercallsCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set VirtualMmuHypercallsCount(value: Deno.PointerValue) { + set VirtualMmuHypercallsCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -7273,9 +7273,9 @@ export interface WHV_VPCI_MMIO_MAPPING { /** Windows.Win32.System.Hypervisor.WHV_VPCI_MMIO_RANGE_FLAGS */ Flags: WHV_VPCI_MMIO_RANGE_FLAGS; /** u64 */ - SizeInBytes: Deno.PointerValue; + SizeInBytes: bigint | number; /** u64 */ - OffsetInBytes: Deno.PointerValue; + OffsetInBytes: bigint | number; /** ptr */ VirtualAddress: Deno.PointerValue | Uint8Array; } @@ -7319,12 +7319,12 @@ export class WHV_VPCI_MMIO_MAPPINGView { } // 0x08: u64 - get SizeInBytes(): Deno.PointerValue { + get SizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get OffsetInBytes(): Deno.PointerValue { + get OffsetInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7345,12 +7345,12 @@ export class WHV_VPCI_MMIO_MAPPINGView { } // 0x08: u64 - set SizeInBytes(value: Deno.PointerValue) { + set SizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set OffsetInBytes(value: Deno.PointerValue) { + set OffsetInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7369,7 +7369,7 @@ export interface WHV_VPCI_DEVICE_REGISTER { /** u32 */ SizeInBytes: number; /** u64 */ - OffsetInBytes: Deno.PointerValue; + OffsetInBytes: bigint | number; } export const sizeofWHV_VPCI_DEVICE_REGISTER = 16; @@ -7407,7 +7407,7 @@ export class WHV_VPCI_DEVICE_REGISTERView { } // 0x08: u64 - get OffsetInBytes(): Deno.PointerValue { + get OffsetInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7422,7 +7422,7 @@ export class WHV_VPCI_DEVICE_REGISTERView { } // 0x08: u64 - set OffsetInBytes(value: Deno.PointerValue) { + set OffsetInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7782,7 +7782,7 @@ export class WHV_EMULATOR_STATUSView { */ export interface WHV_EMULATOR_MEMORY_ACCESS_INFO { /** u64 */ - GpaAddress: Deno.PointerValue; + GpaAddress: bigint | number; /** u8 */ Direction: number; /** u8 */ @@ -7819,7 +7819,7 @@ export class WHV_EMULATOR_MEMORY_ACCESS_INFOView { } // 0x00: u64 - get GpaAddress(): Deno.PointerValue { + get GpaAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7842,7 +7842,7 @@ export class WHV_EMULATOR_MEMORY_ACCESS_INFOView { } // 0x00: u64 - set GpaAddress(value: Deno.PointerValue) { + set GpaAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8260,9 +8260,9 @@ export class HVSOCKET_ADDRESS_INFOView { */ export interface VM_GENCOUNTER { /** u64 */ - GenerationCount: Deno.PointerValue; + GenerationCount: bigint | number; /** u64 */ - GenerationCountHigh: Deno.PointerValue; + GenerationCountHigh: bigint | number; } export const sizeofVM_GENCOUNTER = 16; @@ -8288,22 +8288,22 @@ export class VM_GENCOUNTERView { } // 0x00: u64 - get GenerationCount(): Deno.PointerValue { + get GenerationCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get GenerationCountHigh(): Deno.PointerValue { + get GenerationCountHigh(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set GenerationCount(value: Deno.PointerValue) { + set GenerationCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set GenerationCountHigh(value: Deno.PointerValue) { + set GenerationCountHigh(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8649,9 +8649,9 @@ export class HDV_PCI_DEVICE_INTERFACEView { */ export interface GPA_MEMORY_CHUNK { /** u64 */ - GuestPhysicalStartPageIndex: Deno.PointerValue; + GuestPhysicalStartPageIndex: bigint | number; /** u64 */ - PageCount: Deno.PointerValue; + PageCount: bigint | number; } export const sizeofGPA_MEMORY_CHUNK = 16; @@ -8677,22 +8677,22 @@ export class GPA_MEMORY_CHUNKView { } // 0x00: u64 - get GuestPhysicalStartPageIndex(): Deno.PointerValue { + get GuestPhysicalStartPageIndex(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PageCount(): Deno.PointerValue { + get PageCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set GuestPhysicalStartPageIndex(value: Deno.PointerValue) { + set GuestPhysicalStartPageIndex(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PageCount(value: Deno.PointerValue) { + set PageCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8702,7 +8702,7 @@ export class GPA_MEMORY_CHUNKView { */ export interface _ClosedSource_e__Struct { /** u64 */ - _bitfield: Deno.PointerValue; + _bitfield: bigint | number; } export const sizeof_ClosedSource_e__Struct = 8; @@ -8726,12 +8726,12 @@ export class _ClosedSource_e__StructView { } // 0x00: u64 - get _bitfield(): Deno.PointerValue { + get _bitfield(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set _bitfield(value: Deno.PointerValue) { + set _bitfield(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -8741,7 +8741,7 @@ export class _ClosedSource_e__StructView { */ export interface _OpenSource_e__Struct { /** u64 */ - _bitfield: Deno.PointerValue; + _bitfield: bigint | number; } export const sizeof_OpenSource_e__Struct = 8; @@ -8765,12 +8765,12 @@ export class _OpenSource_e__StructView { } // 0x00: u64 - get _bitfield(): Deno.PointerValue { + get _bitfield(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set _bitfield(value: Deno.PointerValue) { + set _bitfield(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -8780,7 +8780,7 @@ export class _OpenSource_e__StructView { */ export interface GUEST_OS_INFO { /** u64 */ - AsUINT64: Deno.PointerValue; + AsUINT64: bigint | number; /** _ClosedSource_e__Struct */ ClosedSource: Uint8Array | Deno.PointerValue; /** _OpenSource_e__Struct */ @@ -8812,7 +8812,7 @@ export class GUEST_OS_INFOView { } // 0x00: u64 - get AsUINT64(): Deno.PointerValue { + get AsUINT64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8829,7 +8829,7 @@ export class GUEST_OS_INFOView { } // 0x00: u64 - set AsUINT64(value: Deno.PointerValue) { + set AsUINT64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8849,9 +8849,9 @@ export class GUEST_OS_INFOView { */ export interface _Reg128_e__Struct { /** u64 */ - Low64: Deno.PointerValue; + Low64: bigint | number; /** u64 */ - High64: Deno.PointerValue; + High64: bigint | number; } export const sizeof_Reg128_e__Struct = 16; @@ -8877,22 +8877,22 @@ export class _Reg128_e__StructView { } // 0x00: u64 - get Low64(): Deno.PointerValue { + get Low64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get High64(): Deno.PointerValue { + get High64(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Low64(value: Deno.PointerValue) { + set Low64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set High64(value: Deno.PointerValue) { + set High64(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8902,7 +8902,7 @@ export class _Reg128_e__StructView { */ export interface _Segment_e__Struct { /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; /** u32 */ Limit: number; /** u16 */ @@ -8939,7 +8939,7 @@ export class _Segment_e__StructView { } // 0x00: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -8962,7 +8962,7 @@ export class _Segment_e__StructView { } // 0x00: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8991,7 +8991,7 @@ export interface _Table_e__Struct { /** u16 */ Limit: number; /** u64 */ - Base: Deno.PointerValue; + Base: bigint | number; } export const sizeof_Table_e__Struct = 16; @@ -9025,7 +9025,7 @@ export class _Table_e__StructView { // 0x02: pad6 // 0x08: u64 - get Base(): Deno.PointerValue { + get Base(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9037,7 +9037,7 @@ export class _Table_e__StructView { // 0x02: pad6 // 0x08: u64 - set Base(value: Deno.PointerValue) { + set Base(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9310,7 +9310,7 @@ export class _X64_e__UnionView { */ export interface VIRTUAL_PROCESSOR_REGISTER { /** u64 */ - Reg64: Deno.PointerValue; + Reg64: bigint | number; /** u32 */ Reg32: number; /** u16 */ @@ -9355,7 +9355,7 @@ export class VIRTUAL_PROCESSOR_REGISTERView { } // 0x00: u64 - get Reg64(): Deno.PointerValue { + get Reg64(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -9389,7 +9389,7 @@ export class VIRTUAL_PROCESSOR_REGISTERView { } // 0x00: u64 - set Reg64(value: Deno.PointerValue) { + set Reg64(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9430,7 +9430,7 @@ export interface DOS_IMAGE_INFO { /** Windows.Win32.Foundation.PSTR */ PdbName: string | null | Uint8Array; /** u64 */ - ImageBaseAddress: Deno.PointerValue; + ImageBaseAddress: bigint | number; /** u32 */ ImageSize: number; /** u32 */ @@ -9473,7 +9473,7 @@ export class DOS_IMAGE_INFOView { } // 0x08: u64 - get ImageBaseAddress(): Deno.PointerValue { + get ImageBaseAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9494,7 +9494,7 @@ export class DOS_IMAGE_INFOView { } // 0x08: u64 - set ImageBaseAddress(value: Deno.PointerValue) { + set ImageBaseAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -9570,9 +9570,9 @@ export class MODULE_INFOView { export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HCS_SYSTEM = Deno.PointerValue; +export type HCS_SYSTEM = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -10167,8 +10167,8 @@ export function WHvResumePartitionTime( export function WHvMapGpaRange( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, SourceAddress: Deno.PointerValue | Uint8Array /* ptr */, - GuestAddress: Deno.PointerValue /* u64 */, - SizeInBytes: Deno.PointerValue /* u64 */, + GuestAddress: bigint | number /* u64 */, + SizeInBytes: bigint | number /* u64 */, Flags: WHV_MAP_GPA_RANGE_FLAGS /* Windows.Win32.System.Hypervisor.WHV_MAP_GPA_RANGE_FLAGS */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvMapGpaRange(util.toPointer(Partition), util.toPointer(SourceAddress), GuestAddress, SizeInBytes, Flags); @@ -10178,8 +10178,8 @@ export function WHvMapGpaRange2( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, Process: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, SourceAddress: Deno.PointerValue | Uint8Array /* ptr */, - GuestAddress: Deno.PointerValue /* u64 */, - SizeInBytes: Deno.PointerValue /* u64 */, + GuestAddress: bigint | number /* u64 */, + SizeInBytes: bigint | number /* u64 */, Flags: WHV_MAP_GPA_RANGE_FLAGS /* Windows.Win32.System.Hypervisor.WHV_MAP_GPA_RANGE_FLAGS */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvMapGpaRange2(util.toPointer(Partition), util.toPointer(Process), util.toPointer(SourceAddress), GuestAddress, SizeInBytes, Flags); @@ -10187,8 +10187,8 @@ export function WHvMapGpaRange2( export function WHvUnmapGpaRange( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - GuestAddress: Deno.PointerValue /* u64 */, - SizeInBytes: Deno.PointerValue /* u64 */, + GuestAddress: bigint | number /* u64 */, + SizeInBytes: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvUnmapGpaRange(util.toPointer(Partition), GuestAddress, SizeInBytes); } @@ -10196,7 +10196,7 @@ export function WHvUnmapGpaRange( export function WHvTranslateGva( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, VpIndex: number /* u32 */, - Gva: Deno.PointerValue /* u64 */, + Gva: bigint | number /* u64 */, TranslateFlags: WHV_TRANSLATE_GVA_FLAGS /* Windows.Win32.System.Hypervisor.WHV_TRANSLATE_GVA_FLAGS */, TranslationResult: Deno.PointerValue | Uint8Array /* ptr */, Gpa: Deno.PointerValue | Uint8Array /* ptr */, @@ -10313,8 +10313,8 @@ export function WHvSetVirtualProcessorXsaveState( export function WHvQueryGpaRangeDirtyBitmap( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - GuestAddress: Deno.PointerValue /* u64 */, - RangeSizeInBytes: Deno.PointerValue /* u64 */, + GuestAddress: bigint | number /* u64 */, + RangeSizeInBytes: bigint | number /* u64 */, Bitmap: Deno.PointerValue | Uint8Array /* ptr */, BitmapSizeInBytes: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10390,7 +10390,7 @@ export function WHvAdviseGpaRange( export function WHvReadGpaRange( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, VpIndex: number /* u32 */, - GuestAddress: Deno.PointerValue /* u64 */, + GuestAddress: bigint | number /* u64 */, Controls: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_ACCESS_GPA_CONTROLS */, Data: Deno.PointerValue | Uint8Array /* ptr */, DataSizeInBytes: number /* u32 */, @@ -10401,7 +10401,7 @@ export function WHvReadGpaRange( export function WHvWriteGpaRange( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, VpIndex: number /* u32 */, - GuestAddress: Deno.PointerValue /* u64 */, + GuestAddress: bigint | number /* u64 */, Controls: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_ACCESS_GPA_CONTROLS */, Data: Deno.PointerValue | Uint8Array /* ptr */, DataSizeInBytes: number /* u32 */, @@ -10450,7 +10450,7 @@ export function WHvAllocateVpciResource( export function WHvCreateVpciDevice( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, VpciResource: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Flags: WHV_CREATE_VPCI_DEVICE_FLAGS /* Windows.Win32.System.Hypervisor.WHV_CREATE_VPCI_DEVICE_FLAGS */, NotificationEventHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, @@ -10460,14 +10460,14 @@ export function WHvCreateVpciDevice( export function WHvDeleteVpciDevice( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvDeleteVpciDevice(util.toPointer(Partition), LogicalDeviceId); } export function WHvGetVpciDeviceProperty( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, PropertyCode: WHV_VPCI_DEVICE_PROPERTY_CODE /* Windows.Win32.System.Hypervisor.WHV_VPCI_DEVICE_PROPERTY_CODE */, PropertyBuffer: Deno.PointerValue | Uint8Array /* ptr */, PropertyBufferSizeInBytes: number /* u32 */, @@ -10478,7 +10478,7 @@ export function WHvGetVpciDeviceProperty( export function WHvGetVpciDeviceNotification( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, Notification: Deno.PointerValue | Uint8Array /* ptr */, NotificationSizeInBytes: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10487,7 +10487,7 @@ export function WHvGetVpciDeviceNotification( export function WHvMapVpciDeviceMmioRanges( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, MappingCount: Deno.PointerValue | Uint8Array /* ptr */, Mappings: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10496,14 +10496,14 @@ export function WHvMapVpciDeviceMmioRanges( export function WHvUnmapVpciDeviceMmioRanges( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvUnmapVpciDeviceMmioRanges(util.toPointer(Partition), LogicalDeviceId); } export function WHvSetVpciDevicePowerState( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, PowerState: DEVICE_POWER_STATE /* Windows.Win32.System.Power.DEVICE_POWER_STATE */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvSetVpciDevicePowerState(util.toPointer(Partition), LogicalDeviceId, PowerState); @@ -10511,7 +10511,7 @@ export function WHvSetVpciDevicePowerState( export function WHvReadVpciDeviceRegister( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, Register: Deno.PointerValue | Uint8Array /* ptr */, Data: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10520,7 +10520,7 @@ export function WHvReadVpciDeviceRegister( export function WHvWriteVpciDeviceRegister( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, Register: Deno.PointerValue | Uint8Array /* ptr */, Data: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10529,7 +10529,7 @@ export function WHvWriteVpciDeviceRegister( export function WHvMapVpciDeviceInterrupt( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, Index: number /* u32 */, MessageCount: number /* u32 */, Target: Deno.PointerValue | Uint8Array /* ptr */, @@ -10541,7 +10541,7 @@ export function WHvMapVpciDeviceInterrupt( export function WHvUnmapVpciDeviceInterrupt( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, Index: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvUnmapVpciDeviceInterrupt(util.toPointer(Partition), LogicalDeviceId, Index); @@ -10549,8 +10549,8 @@ export function WHvUnmapVpciDeviceInterrupt( export function WHvRetargetVpciDeviceInterrupt( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, - MsiAddress: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, + MsiAddress: bigint | number /* u64 */, MsiData: number /* u32 */, Target: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10559,8 +10559,8 @@ export function WHvRetargetVpciDeviceInterrupt( export function WHvRequestVpciDeviceInterrupt( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, - MsiAddress: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, + MsiAddress: bigint | number /* u64 */, MsiData: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvRequestVpciDeviceInterrupt(util.toPointer(Partition), LogicalDeviceId, MsiAddress, MsiData); @@ -10568,7 +10568,7 @@ export function WHvRequestVpciDeviceInterrupt( export function WHvGetVpciDeviceInterruptTarget( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - LogicalDeviceId: Deno.PointerValue /* u64 */, + LogicalDeviceId: bigint | number /* u64 */, Index: number /* u32 */, MultiMessageNumber: number /* u32 */, Target: Deno.PointerValue | Uint8Array /* ptr */, @@ -10615,7 +10615,7 @@ export function WHvSetNotificationPortProperty( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, PortHandle: Deno.PointerValue | Uint8Array /* ptr */, PropertyCode: WHV_NOTIFICATION_PORT_PROPERTY_CODE /* Windows.Win32.System.Hypervisor.WHV_NOTIFICATION_PORT_PROPERTY_CODE */, - PropertyValue: Deno.PointerValue /* u64 */, + PropertyValue: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libWinHvPlatform_dll.WHvSetNotificationPortProperty(util.toPointer(Partition), util.toPointer(PortHandle), PropertyCode, PropertyValue); } @@ -10649,7 +10649,7 @@ export function WHvGetVirtualProcessorCpuidOutput( export function WHvGetInterruptTargetVpSet( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.WHV_PARTITION_HANDLE */, - Destination: Deno.PointerValue /* u64 */, + Destination: bigint | number /* u64 */, DestinationMode: WHV_INTERRUPT_DESTINATION_MODE /* Windows.Win32.System.Hypervisor.WHV_INTERRUPT_DESTINATION_MODE */, TargetVps: Deno.PointerValue | Uint8Array /* ptr */, VpCount: number /* u32 */, @@ -10744,7 +10744,7 @@ export function HdvCreateDeviceInstance( export function HdvReadGuestMemory( requestor: Deno.PointerValue | Uint8Array /* ptr */, - guestPhysicalAddress: Deno.PointerValue /* u64 */, + guestPhysicalAddress: bigint | number /* u64 */, byteCount: number /* u32 */, buffer: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10753,7 +10753,7 @@ export function HdvReadGuestMemory( export function HdvWriteGuestMemory( requestor: Deno.PointerValue | Uint8Array /* ptr */, - guestPhysicalAddress: Deno.PointerValue /* u64 */, + guestPhysicalAddress: bigint | number /* u64 */, byteCount: number /* u32 */, buffer: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -10762,7 +10762,7 @@ export function HdvWriteGuestMemory( export function HdvCreateGuestMemoryAperture( requestor: Deno.PointerValue | Uint8Array /* ptr */, - guestPhysicalAddress: Deno.PointerValue /* u64 */, + guestPhysicalAddress: bigint | number /* u64 */, byteCount: number /* u32 */, writeProtected: boolean /* Windows.Win32.Foundation.BOOL */, mappedAddress: Deno.PointerValue | Uint8Array /* ptr */, @@ -10779,7 +10779,7 @@ export function HdvDestroyGuestMemoryAperture( export function HdvDeliverGuestInterrupt( requestor: Deno.PointerValue | Uint8Array /* ptr */, - msiAddress: Deno.PointerValue /* u64 */, + msiAddress: bigint | number /* u64 */, msiData: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libvmdevicehost_dll.HdvDeliverGuestInterrupt(util.toPointer(requestor), msiAddress, msiData); @@ -10788,9 +10788,9 @@ export function HdvDeliverGuestInterrupt( export function HdvRegisterDoorbell( requestor: Deno.PointerValue | Uint8Array /* ptr */, BarIndex: HDV_PCI_BAR_SELECTOR /* Windows.Win32.System.Hypervisor.HDV_PCI_BAR_SELECTOR */, - BarOffset: Deno.PointerValue /* u64 */, - TriggerValue: Deno.PointerValue /* u64 */, - Flags: Deno.PointerValue /* u64 */, + BarOffset: bigint | number /* u64 */, + TriggerValue: bigint | number /* u64 */, + Flags: bigint | number /* u64 */, DoorbellEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libvmdevicehost_dll.HdvRegisterDoorbell(util.toPointer(requestor), BarIndex, BarOffset, TriggerValue, Flags, util.toPointer(DoorbellEvent)); @@ -10799,9 +10799,9 @@ export function HdvRegisterDoorbell( export function HdvUnregisterDoorbell( requestor: Deno.PointerValue | Uint8Array /* ptr */, BarIndex: HDV_PCI_BAR_SELECTOR /* Windows.Win32.System.Hypervisor.HDV_PCI_BAR_SELECTOR */, - BarOffset: Deno.PointerValue /* u64 */, - TriggerValue: Deno.PointerValue /* u64 */, - Flags: Deno.PointerValue /* u64 */, + BarOffset: bigint | number /* u64 */, + TriggerValue: bigint | number /* u64 */, + Flags: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libvmdevicehost_dll.HdvUnregisterDoorbell(util.toPointer(requestor), BarIndex, BarOffset, TriggerValue, Flags); } @@ -10809,11 +10809,11 @@ export function HdvUnregisterDoorbell( export function HdvCreateSectionBackedMmioRange( requestor: Deno.PointerValue | Uint8Array /* ptr */, barIndex: HDV_PCI_BAR_SELECTOR /* Windows.Win32.System.Hypervisor.HDV_PCI_BAR_SELECTOR */, - offsetInPages: Deno.PointerValue /* u64 */, - lengthInPages: Deno.PointerValue /* u64 */, + offsetInPages: bigint | number /* u64 */, + lengthInPages: bigint | number /* u64 */, MappingFlags: HDV_MMIO_MAPPING_FLAGS /* Windows.Win32.System.Hypervisor.HDV_MMIO_MAPPING_FLAGS */, sectionHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - sectionOffsetInPages: Deno.PointerValue /* u64 */, + sectionOffsetInPages: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libvmdevicehost_dll.HdvCreateSectionBackedMmioRange(util.toPointer(requestor), barIndex, offsetInPages, lengthInPages, MappingFlags, util.toPointer(sectionHandle), sectionOffsetInPages); } @@ -10821,7 +10821,7 @@ export function HdvCreateSectionBackedMmioRange( export function HdvDestroySectionBackedMmioRange( requestor: Deno.PointerValue | Uint8Array /* ptr */, barIndex: HDV_PCI_BAR_SELECTOR /* Windows.Win32.System.Hypervisor.HDV_PCI_BAR_SELECTOR */, - offsetInPages: Deno.PointerValue /* u64 */, + offsetInPages: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libvmdevicehost_dll.HdvDestroySectionBackedMmioRange(util.toPointer(requestor), barIndex, offsetInPages); } @@ -10992,7 +10992,7 @@ export function ForcePagingMode( export function ReadGuestPhysicalAddress( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, - physicalAddress: Deno.PointerValue /* u64 */, + physicalAddress: bigint | number /* u64 */, buffer: Deno.PointerValue | Uint8Array /* ptr */, bufferSize: number /* u32 */, bytesRead: Deno.PointerValue | Uint8Array /* ptr */, @@ -11003,7 +11003,7 @@ export function ReadGuestPhysicalAddress( export function GuestVirtualAddressToPhysicalAddress( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, vpId: number /* u32 */, - virtualAddress: Deno.PointerValue /* u64 */, + virtualAddress: bigint | number /* u64 */, physicalAddress: Deno.PointerValue | Uint8Array /* ptr */, unmappedRegionSize: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -11021,7 +11021,7 @@ export function GetGuestPhysicalMemoryChunks( export function GuestPhysicalAddressToRawSavedMemoryOffset( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, - physicalAddress: Deno.PointerValue /* u64 */, + physicalAddress: bigint | number /* u64 */, rawSavedMemoryOffset: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libVmSavedStateDumpProvider_dll.GuestPhysicalAddressToRawSavedMemoryOffset(util.toPointer(vmSavedStateDumpHandle), physicalAddress, util.toPointer(rawSavedMemoryOffset)); @@ -11029,7 +11029,7 @@ export function GuestPhysicalAddressToRawSavedMemoryOffset( export function ReadGuestRawSavedMemory( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, - rawSavedMemoryOffset: Deno.PointerValue /* u64 */, + rawSavedMemoryOffset: bigint | number /* u64 */, buffer: Deno.PointerValue | Uint8Array /* ptr */, bufferSize: number /* u32 */, bytesRead: Deno.PointerValue | Uint8Array /* ptr */, @@ -11046,7 +11046,7 @@ export function GetGuestRawSavedMemorySize( export function SetMemoryBlockCacheLimit( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, - memoryBlockCacheLimit: Deno.PointerValue /* u64 */, + memoryBlockCacheLimit: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libVmSavedStateDumpProvider_dll.SetMemoryBlockCacheLimit(util.toPointer(vmSavedStateDumpHandle), memoryBlockCacheLimit); } @@ -11061,7 +11061,7 @@ export function GetMemoryBlockCacheLimit( export function ApplyGuestMemoryFix( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, vpId: number /* u32 */, - virtualAddress: Deno.PointerValue /* u64 */, + virtualAddress: bigint | number /* u64 */, fixBuffer: Deno.PointerValue | Uint8Array /* ptr */, fixBufferSize: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -11099,7 +11099,7 @@ export function LoadSavedStateModuleSymbols( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, imageName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, moduleName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - baseAddress: Deno.PointerValue /* u64 */, + baseAddress: bigint | number /* u64 */, sizeOfBase: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libVmSavedStateDumpProvider_dll.LoadSavedStateModuleSymbols(util.toPointer(vmSavedStateDumpHandle), util.pstrToFfi(imageName), util.pstrToFfi(moduleName), baseAddress, sizeOfBase); @@ -11110,7 +11110,7 @@ export function LoadSavedStateModuleSymbolsEx( imageName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, imageTimestamp: number /* u32 */, moduleName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - baseAddress: Deno.PointerValue /* u64 */, + baseAddress: bigint | number /* u64 */, sizeOfBase: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libVmSavedStateDumpProvider_dll.LoadSavedStateModuleSymbolsEx(util.toPointer(vmSavedStateDumpHandle), util.pstrToFfi(imageName), imageTimestamp, util.pstrToFfi(moduleName), baseAddress, sizeOfBase); @@ -11168,8 +11168,8 @@ export function GetSavedStateSymbolFieldInfo( export function ScanMemoryForDosImages( vmSavedStateDumpHandle: Deno.PointerValue | Uint8Array /* ptr */, vpId: number /* u32 */, - startAddress: Deno.PointerValue /* u64 */, - endAddress: Deno.PointerValue /* u64 */, + startAddress: bigint | number /* u64 */, + endAddress: bigint | number /* u64 */, callbackContext: Deno.PointerValue | Uint8Array /* ptr */, foundImageCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Hypervisor.FOUND_IMAGE_CALLBACK */, standaloneAddress: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/System/IO.ts b/api/System/IO.ts index 12e4570..d1352b3 100644 --- a/api/System/IO.ts +++ b/api/System/IO.ts @@ -9,9 +9,9 @@ import * as util from "../../util.ts"; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -37,22 +37,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -112,16 +112,16 @@ export class _Anonymous_e__UnionView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.IO.OVERLAPPED (size: 32) */ export interface OVERLAPPED { /** usize */ - Internal: Deno.PointerValue; + Internal: bigint | number; /** usize */ - InternalHigh: Deno.PointerValue; + InternalHigh: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.HANDLE */ @@ -155,12 +155,12 @@ export class OVERLAPPEDView { } // 0x00: usize - get Internal(): Deno.PointerValue { + get Internal(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get InternalHigh(): Deno.PointerValue { + get InternalHigh(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -177,12 +177,12 @@ export class OVERLAPPEDView { } // 0x00: usize - set Internal(value: Deno.PointerValue) { + set Internal(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set InternalHigh(value: Deno.PointerValue) { + set InternalHigh(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -202,11 +202,11 @@ export class OVERLAPPEDView { */ export interface OVERLAPPED_ENTRY { /** usize */ - lpCompletionKey: Deno.PointerValue; + lpCompletionKey: bigint | number; /** ptr */ lpOverlapped: Deno.PointerValue | Uint8Array; /** usize */ - Internal: Deno.PointerValue; + Internal: bigint | number; /** u32 */ dwNumberOfBytesTransferred: number; } @@ -239,7 +239,7 @@ export class OVERLAPPED_ENTRYView { } // 0x00: usize - get lpCompletionKey(): Deno.PointerValue { + get lpCompletionKey(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -250,7 +250,7 @@ export class OVERLAPPED_ENTRYView { } // 0x10: usize - get Internal(): Deno.PointerValue { + get Internal(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -262,7 +262,7 @@ export class OVERLAPPED_ENTRYView { // 0x1c: pad4 // 0x00: usize - set lpCompletionKey(value: Deno.PointerValue) { + set lpCompletionKey(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -272,7 +272,7 @@ export class OVERLAPPED_ENTRYView { } // 0x10: usize - set Internal(value: Deno.PointerValue) { + set Internal(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -348,7 +348,7 @@ try { export function CreateIoCompletionPort( FileHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ExistingCompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - CompletionKey: Deno.PointerValue /* usize */, + CompletionKey: bigint | number /* usize */, NumberOfConcurrentThreads: number /* u32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */ { return libKERNEL32_dll.CreateIoCompletionPort(util.toPointer(FileHandle), util.toPointer(ExistingCompletionPort), CompletionKey, NumberOfConcurrentThreads); @@ -378,7 +378,7 @@ export function GetQueuedCompletionStatusEx( export function PostQueuedCompletionStatus( CompletionPort: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, dwNumberOfBytesTransferred: number /* u32 */, - dwCompletionKey: Deno.PointerValue /* usize */, + dwCompletionKey: bigint | number /* usize */, lpOverlapped: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.PostQueuedCompletionStatus(util.toPointer(CompletionPort), dwNumberOfBytesTransferred, dwCompletionKey, util.toPointer(lpOverlapped))); diff --git a/api/System/Iis.ts b/api/System/Iis.ts index 717ab95..3f0c7be 100644 --- a/api/System/Iis.ts +++ b/api/System/Iis.ts @@ -1051,9 +1051,9 @@ export interface LOGGING_PARAMETERS { /** u32 */ dwLocalIpPort: number; /** u64 */ - BytesSent: Deno.PointerValue; + BytesSent: bigint | number; /** u64 */ - BytesReceived: Deno.PointerValue; + BytesReceived: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszCommand: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -1210,12 +1210,12 @@ export class LOGGING_PARAMETERSView { // 0x3c: pad4 // 0x40: u64 - get BytesSent(): Deno.PointerValue { + get BytesSent(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get BytesReceived(): Deno.PointerValue { + get BytesReceived(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -1317,12 +1317,12 @@ export class LOGGING_PARAMETERSView { // 0x3c: pad4 // 0x40: u64 - set BytesSent(value: Deno.PointerValue) { + set BytesSent(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set BytesReceived(value: Deno.PointerValue) { + set BytesReceived(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -1453,9 +1453,9 @@ export interface PRE_PROCESS_PARAMETERS { /** Windows.Win32.Foundation.FILETIME */ SessionStartTime: Uint8Array | Deno.PointerValue; /** u64 */ - BytesSentPerSession: Deno.PointerValue; + BytesSentPerSession: bigint | number; /** u64 */ - BytesReceivedPerSession: Deno.PointerValue; + BytesReceivedPerSession: bigint | number; } export const sizeofPRE_PROCESS_PARAMETERS = 104; @@ -1597,12 +1597,12 @@ export class PRE_PROCESS_PARAMETERSView { } // 0x58: u64 - get BytesSentPerSession(): Deno.PointerValue { + get BytesSentPerSession(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get BytesReceivedPerSession(): Deno.PointerValue { + get BytesReceivedPerSession(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -1674,12 +1674,12 @@ export class PRE_PROCESS_PARAMETERSView { } // 0x58: u64 - set BytesSentPerSession(value: Deno.PointerValue) { + set BytesSentPerSession(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set BytesReceivedPerSession(value: Deno.PointerValue) { + set BytesReceivedPerSession(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } } @@ -1705,9 +1705,9 @@ export interface POST_PROCESS_PARAMETERS { /** u32 */ dwLocalIpPort: number; /** u64 */ - BytesSent: Deno.PointerValue; + BytesSent: bigint | number; /** u64 */ - BytesReceived: Deno.PointerValue; + BytesReceived: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszCommand: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.PWSTR */ @@ -1725,9 +1725,9 @@ export interface POST_PROCESS_PARAMETERS { /** Windows.Win32.Foundation.FILETIME */ SessionStartTime: Uint8Array | Deno.PointerValue; /** u64 */ - BytesSentPerSession: Deno.PointerValue; + BytesSentPerSession: bigint | number; /** u64 */ - BytesReceivedPerSession: Deno.PointerValue; + BytesReceivedPerSession: bigint | number; } export const sizeofPOST_PROCESS_PARAMETERS = 152; @@ -1871,12 +1871,12 @@ export class POST_PROCESS_PARAMETERSView { // 0x3c: pad4 // 0x40: u64 - get BytesSent(): Deno.PointerValue { + get BytesSent(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get BytesReceived(): Deno.PointerValue { + get BytesReceived(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -1927,12 +1927,12 @@ export class POST_PROCESS_PARAMETERSView { } // 0x88: u64 - get BytesSentPerSession(): Deno.PointerValue { + get BytesSentPerSession(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get BytesReceivedPerSession(): Deno.PointerValue { + get BytesReceivedPerSession(): bigint | number { return Number(this.view.getBigUint64(144, true)); } @@ -1987,12 +1987,12 @@ export class POST_PROCESS_PARAMETERSView { // 0x3c: pad4 // 0x40: u64 - set BytesSent(value: Deno.PointerValue) { + set BytesSent(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set BytesReceived(value: Deno.PointerValue) { + set BytesReceived(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -2041,12 +2041,12 @@ export class POST_PROCESS_PARAMETERSView { } // 0x88: u64 - set BytesSentPerSession(value: Deno.PointerValue) { + set BytesSentPerSession(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set BytesReceivedPerSession(value: Deno.PointerValue) { + set BytesReceivedPerSession(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } } @@ -2318,9 +2318,9 @@ export class METADATA_GETALL_RECORDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2346,22 +2346,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2787,13 +2787,13 @@ export interface EXTENSION_CONTROL_BLOCK { /** Windows.Win32.Foundation.PSTR */ lpszContentType: string | null | Uint8Array; /** isize */ - GetServerVariable: Deno.PointerValue; + GetServerVariable: bigint | number; /** isize */ - WriteClient: Deno.PointerValue; + WriteClient: bigint | number; /** isize */ - ReadClient: Deno.PointerValue; + ReadClient: bigint | number; /** isize */ - ServerSupportFunction: Deno.PointerValue; + ServerSupportFunction: bigint | number; } export const sizeofEXTENSION_CONTROL_BLOCK = 120; @@ -2940,22 +2940,22 @@ export class EXTENSION_CONTROL_BLOCKView { } // 0x58: isize - get GetServerVariable(): Deno.PointerValue { + get GetServerVariable(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get WriteClient(): Deno.PointerValue { + get WriteClient(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get ReadClient(): Deno.PointerValue { + get ReadClient(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get ServerSupportFunction(): Deno.PointerValue { + get ServerSupportFunction(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -3032,22 +3032,22 @@ export class EXTENSION_CONTROL_BLOCKView { } // 0x58: isize - set GetServerVariable(value: Deno.PointerValue) { + set GetServerVariable(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set WriteClient(value: Deno.PointerValue) { + set WriteClient(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set ReadClient(value: Deno.PointerValue) { + set ReadClient(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set ServerSupportFunction(value: Deno.PointerValue) { + set ServerSupportFunction(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -3254,7 +3254,7 @@ export class HSE_UNICODE_URL_MAPEX_INFOView { // 0x14: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Iis.HSE_TF_INFO (size: 72) @@ -4192,9 +4192,9 @@ export interface HSE_VECTOR_ELEMENT { /** ptr */ pvContext: Deno.PointerValue | Uint8Array; /** u64 */ - cbOffset: Deno.PointerValue; + cbOffset: bigint | number; /** u64 */ - cbSize: Deno.PointerValue; + cbSize: bigint | number; } export const sizeofHSE_VECTOR_ELEMENT = 32; @@ -4238,12 +4238,12 @@ export class HSE_VECTOR_ELEMENTView { } // 0x10: u64 - get cbOffset(): Deno.PointerValue { + get cbOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get cbSize(): Deno.PointerValue { + get cbSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -4260,12 +4260,12 @@ export class HSE_VECTOR_ELEMENTView { } // 0x10: u64 - set cbOffset(value: Deno.PointerValue) { + set cbOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set cbSize(value: Deno.PointerValue) { + set cbSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4668,15 +4668,15 @@ export interface HTTP_FILTER_CONTEXT { /** ptr */ pFilterContext: Deno.PointerValue | Uint8Array; /** isize */ - GetServerVariable: Deno.PointerValue; + GetServerVariable: bigint | number; /** isize */ - AddResponseHeaders: Deno.PointerValue; + AddResponseHeaders: bigint | number; /** isize */ - WriteClient: Deno.PointerValue; + WriteClient: bigint | number; /** isize */ - AllocMem: Deno.PointerValue; + AllocMem: bigint | number; /** isize */ - ServerSupportFunction: Deno.PointerValue; + ServerSupportFunction: bigint | number; } export const sizeofHTTP_FILTER_CONTEXT = 72; @@ -4752,27 +4752,27 @@ export class HTTP_FILTER_CONTEXTView { } // 0x20: isize - get GetServerVariable(): Deno.PointerValue { + get GetServerVariable(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get AddResponseHeaders(): Deno.PointerValue { + get AddResponseHeaders(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get WriteClient(): Deno.PointerValue { + get WriteClient(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get AllocMem(): Deno.PointerValue { + get AllocMem(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get ServerSupportFunction(): Deno.PointerValue { + get ServerSupportFunction(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -4807,27 +4807,27 @@ export class HTTP_FILTER_CONTEXTView { } // 0x20: isize - set GetServerVariable(value: Deno.PointerValue) { + set GetServerVariable(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set AddResponseHeaders(value: Deno.PointerValue) { + set AddResponseHeaders(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set WriteClient(value: Deno.PointerValue) { + set WriteClient(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set AllocMem(value: Deno.PointerValue) { + set AllocMem(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set ServerSupportFunction(value: Deno.PointerValue) { + set ServerSupportFunction(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } } @@ -4924,11 +4924,11 @@ export class HTTP_FILTER_RAW_DATAView { */ export interface HTTP_FILTER_PREPROC_HEADERS { /** isize */ - GetHeader: Deno.PointerValue; + GetHeader: bigint | number; /** isize */ - SetHeader: Deno.PointerValue; + SetHeader: bigint | number; /** isize */ - AddHeader: Deno.PointerValue; + AddHeader: bigint | number; /** u32 */ HttpStatus: number; /** u32 */ @@ -4964,17 +4964,17 @@ export class HTTP_FILTER_PREPROC_HEADERSView { } // 0x00: isize - get GetHeader(): Deno.PointerValue { + get GetHeader(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get SetHeader(): Deno.PointerValue { + get SetHeader(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get AddHeader(): Deno.PointerValue { + get AddHeader(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -4989,17 +4989,17 @@ export class HTTP_FILTER_PREPROC_HEADERSView { } // 0x00: isize - set GetHeader(value: Deno.PointerValue) { + set GetHeader(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set SetHeader(value: Deno.PointerValue) { + set SetHeader(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set AddHeader(value: Deno.PointerValue) { + set AddHeader(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -5636,13 +5636,13 @@ export class HTTP_FILTER_LOGView { */ export interface HTTP_FILTER_AUTH_COMPLETE_INFO { /** isize */ - GetHeader: Deno.PointerValue; + GetHeader: bigint | number; /** isize */ - SetHeader: Deno.PointerValue; + SetHeader: bigint | number; /** isize */ - AddHeader: Deno.PointerValue; + AddHeader: bigint | number; /** isize */ - GetUserToken: Deno.PointerValue; + GetUserToken: bigint | number; /** u32 */ HttpStatus: number; /** Windows.Win32.Foundation.BOOL */ @@ -5685,22 +5685,22 @@ export class HTTP_FILTER_AUTH_COMPLETE_INFOView { } // 0x00: isize - get GetHeader(): Deno.PointerValue { + get GetHeader(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get SetHeader(): Deno.PointerValue { + get SetHeader(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get AddHeader(): Deno.PointerValue { + get AddHeader(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get GetUserToken(): Deno.PointerValue { + get GetUserToken(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -5722,22 +5722,22 @@ export class HTTP_FILTER_AUTH_COMPLETE_INFOView { // 0x2c: pad4 // 0x00: isize - set GetHeader(value: Deno.PointerValue) { + set GetHeader(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set SetHeader(value: Deno.PointerValue) { + set SetHeader(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set AddHeader(value: Deno.PointerValue) { + set AddHeader(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set GetUserToken(value: Deno.PointerValue) { + set GetUserToken(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } diff --git a/api/System/Ioctl.ts b/api/System/Ioctl.ts index daf73d2..5d0800e 100644 --- a/api/System/Ioctl.ts +++ b/api/System/Ioctl.ts @@ -3,7 +3,7 @@ import * as util from "../../util.ts"; // Enums -export type GPT_ATTRIBUTES = Deno.PointerValue; +export type GPT_ATTRIBUTES = bigint | number; export type USN_DELETE_FLAGS = number; export type CHANGER_FEATURES = number; export type TXFS_RMF_LAGS = number; @@ -1794,9 +1794,9 @@ export class DEVPROPKEYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1822,22 +1822,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1916,7 +1916,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -1956,7 +1956,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -1971,7 +1971,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -5497,9 +5497,9 @@ export interface DEVICE_LB_PROVISIONING_DESCRIPTOR { /** array */ Reserved1: Deno.PointerValue; /** u64 */ - OptimalUnmapGranularity: Deno.PointerValue; + OptimalUnmapGranularity: bigint | number; /** u64 */ - UnmapGranularityAlignment: Deno.PointerValue; + UnmapGranularityAlignment: bigint | number; /** u32 */ MaxUnmapLbaCount: number; /** u32 */ @@ -5565,12 +5565,12 @@ export class DEVICE_LB_PROVISIONING_DESCRIPTORView { } // 0x18: u64 - get OptimalUnmapGranularity(): Deno.PointerValue { + get OptimalUnmapGranularity(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get UnmapGranularityAlignment(): Deno.PointerValue { + get UnmapGranularityAlignment(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -5607,12 +5607,12 @@ export class DEVICE_LB_PROVISIONING_DESCRIPTORView { } // 0x18: u64 - set OptimalUnmapGranularity(value: Deno.PointerValue) { + set OptimalUnmapGranularity(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set UnmapGranularityAlignment(value: Deno.PointerValue) { + set UnmapGranularityAlignment(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -5644,9 +5644,9 @@ export interface STORAGE_LB_PROVISIONING_MAP_RESOURCES { /** array */ Reserved3: Deno.PointerValue; /** u64 */ - AvailableMappingResources: Deno.PointerValue; + AvailableMappingResources: bigint | number; /** u64 */ - UsedMappingResources: Deno.PointerValue; + UsedMappingResources: bigint | number; } export const sizeofSTORAGE_LB_PROVISIONING_MAP_RESOURCES = 56; @@ -5722,12 +5722,12 @@ export class STORAGE_LB_PROVISIONING_MAP_RESOURCESView { } // 0x28: u64 - get AvailableMappingResources(): Deno.PointerValue { + get AvailableMappingResources(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get UsedMappingResources(): Deno.PointerValue { + get UsedMappingResources(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5766,12 +5766,12 @@ export class STORAGE_LB_PROVISIONING_MAP_RESOURCESView { } // 0x28: u64 - set AvailableMappingResources(value: Deno.PointerValue) { + set AvailableMappingResources(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set UsedMappingResources(value: Deno.PointerValue) { + set UsedMappingResources(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -5966,9 +5966,9 @@ export interface DEVICE_COPY_OFFLOAD_DESCRIPTOR { /** u32 */ DefaultTokenLifetime: number; /** u64 */ - MaximumTransferSize: Deno.PointerValue; + MaximumTransferSize: bigint | number; /** u64 */ - OptimalTransferCount: Deno.PointerValue; + OptimalTransferCount: bigint | number; /** u32 */ MaximumDataDescriptors: number; /** u32 */ @@ -6043,12 +6043,12 @@ export class DEVICE_COPY_OFFLOAD_DESCRIPTORView { } // 0x10: u64 - get MaximumTransferSize(): Deno.PointerValue { + get MaximumTransferSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get OptimalTransferCount(): Deno.PointerValue { + get OptimalTransferCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6101,12 +6101,12 @@ export class DEVICE_COPY_OFFLOAD_DESCRIPTORView { } // 0x10: u64 - set MaximumTransferSize(value: Deno.PointerValue) { + set MaximumTransferSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set OptimalTransferCount(value: Deno.PointerValue) { + set OptimalTransferCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6591,9 +6591,9 @@ export interface STORAGE_TIER { /** array */ Description: Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u64 */ - ProvisionedCapacity: Deno.PointerValue; + ProvisionedCapacity: bigint | number; /** Windows.Win32.System.Ioctl.STORAGE_TIER_MEDIA_TYPE */ MediaType: STORAGE_TIER_MEDIA_TYPE; /** Windows.Win32.System.Ioctl.STORAGE_TIER_CLASS */ @@ -6651,12 +6651,12 @@ export class STORAGE_TIERView { } // 0x18: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ProvisionedCapacity(): Deno.PointerValue { + get ProvisionedCapacity(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -6686,12 +6686,12 @@ export class STORAGE_TIERView { } // 0x18: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ProvisionedCapacity(value: Deno.PointerValue) { + set ProvisionedCapacity(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -7987,7 +7987,7 @@ export interface STORAGE_PHYSICAL_DEVICE_DATA { /** array */ FirmwareRevision: Deno.PointerValue; /** u64 */ - Capacity: Deno.PointerValue; + Capacity: bigint | number; /** array */ PhysicalLocation: Deno.PointerValue; /** array */ @@ -8089,7 +8089,7 @@ export class STORAGE_PHYSICAL_DEVICE_DATAView { } // 0x38: u64 - get Capacity(): Deno.PointerValue { + get Capacity(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -8153,7 +8153,7 @@ export class STORAGE_PHYSICAL_DEVICE_DATAView { } // 0x38: u64 - set Capacity(value: Deno.PointerValue) { + set Capacity(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -8689,7 +8689,7 @@ export interface STORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR { /** u32 */ Size: number; /** u64 */ - Attributes: Deno.PointerValue; + Attributes: bigint | number; } export const sizeofSTORAGE_DEVICE_ATTRIBUTES_DESCRIPTOR = 16; @@ -8727,7 +8727,7 @@ export class STORAGE_DEVICE_ATTRIBUTES_DESCRIPTORView { } // 0x08: u64 - get Attributes(): Deno.PointerValue { + get Attributes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -8742,7 +8742,7 @@ export class STORAGE_DEVICE_ATTRIBUTES_DESCRIPTORView { } // 0x08: u64 - set Attributes(value: Deno.PointerValue) { + set Attributes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9279,7 +9279,7 @@ export interface STORAGE_ZONE_GROUP { /** Windows.Win32.System.Ioctl.STORAGE_ZONE_TYPES */ ZoneType: STORAGE_ZONE_TYPES; /** u64 */ - ZoneSize: Deno.PointerValue; + ZoneSize: bigint | number; } export const sizeofSTORAGE_ZONE_GROUP = 16; @@ -9317,7 +9317,7 @@ export class STORAGE_ZONE_GROUPView { } // 0x08: u64 - get ZoneSize(): Deno.PointerValue { + get ZoneSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9332,7 +9332,7 @@ export class STORAGE_ZONE_GROUPView { } // 0x08: u64 - set ZoneSize(value: Deno.PointerValue) { + set ZoneSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10214,7 +10214,7 @@ export interface STORAGE_DEVICE_LED_STATE_DESCRIPTOR { /** u32 */ Size: number; /** u64 */ - State: Deno.PointerValue; + State: bigint | number; } export const sizeofSTORAGE_DEVICE_LED_STATE_DESCRIPTOR = 16; @@ -10252,7 +10252,7 @@ export class STORAGE_DEVICE_LED_STATE_DESCRIPTORView { } // 0x08: u64 - get State(): Deno.PointerValue { + get State(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10267,7 +10267,7 @@ export class STORAGE_DEVICE_LED_STATE_DESCRIPTORView { } // 0x08: u64 - set State(value: Deno.PointerValue) { + set State(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10432,9 +10432,9 @@ export class STORAGE_FRU_ID_DESCRIPTORView { */ export interface DEVICE_DATA_SET_RANGE { /** i64 */ - StartingOffset: Deno.PointerValue; + StartingOffset: bigint | number; /** u64 */ - LengthInBytes: Deno.PointerValue; + LengthInBytes: bigint | number; } export const sizeofDEVICE_DATA_SET_RANGE = 16; @@ -10460,22 +10460,22 @@ export class DEVICE_DATA_SET_RANGEView { } // 0x00: i64 - get StartingOffset(): Deno.PointerValue { + get StartingOffset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: u64 - get LengthInBytes(): Deno.PointerValue { + get LengthInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: i64 - set StartingOffset(value: Deno.PointerValue) { + set StartingOffset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: u64 - set LengthInBytes(value: Deno.PointerValue) { + set LengthInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11143,7 +11143,7 @@ export interface STORAGE_OFFLOAD_READ_OUTPUT { /** u32 */ Reserved: number; /** u64 */ - LengthProtected: Deno.PointerValue; + LengthProtected: bigint | number; /** u32 */ TokenLength: number; /** Windows.Win32.System.Ioctl.STORAGE_OFFLOAD_TOKEN */ @@ -11190,7 +11190,7 @@ export class STORAGE_OFFLOAD_READ_OUTPUTView { } // 0x08: u64 - get LengthProtected(): Deno.PointerValue { + get LengthProtected(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11218,7 +11218,7 @@ export class STORAGE_OFFLOAD_READ_OUTPUTView { } // 0x08: u64 - set LengthProtected(value: Deno.PointerValue) { + set LengthProtected(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -11244,7 +11244,7 @@ export interface DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS { /** u32 */ Reserved: number; /** u64 */ - TokenOffset: Deno.PointerValue; + TokenOffset: bigint | number; /** Windows.Win32.System.Ioctl.STORAGE_OFFLOAD_TOKEN */ Token: Uint8Array | Deno.PointerValue; } @@ -11286,7 +11286,7 @@ export class DEVICE_DSM_OFFLOAD_WRITE_PARAMETERSView { } // 0x08: u64 - get TokenOffset(): Deno.PointerValue { + get TokenOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11307,7 +11307,7 @@ export class DEVICE_DSM_OFFLOAD_WRITE_PARAMETERSView { } // 0x08: u64 - set TokenOffset(value: Deno.PointerValue) { + set TokenOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -11326,7 +11326,7 @@ export interface STORAGE_OFFLOAD_WRITE_OUTPUT { /** u32 */ Reserved: number; /** u64 */ - LengthCopied: Deno.PointerValue; + LengthCopied: bigint | number; } export const sizeofSTORAGE_OFFLOAD_WRITE_OUTPUT = 16; @@ -11364,7 +11364,7 @@ export class STORAGE_OFFLOAD_WRITE_OUTPUTView { } // 0x08: u64 - get LengthCopied(): Deno.PointerValue { + get LengthCopied(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11379,7 +11379,7 @@ export class STORAGE_OFFLOAD_WRITE_OUTPUTView { } // 0x08: u64 - set LengthCopied(value: Deno.PointerValue) { + set LengthCopied(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11474,7 +11474,7 @@ export interface DEVICE_DATA_SET_LB_PROVISIONING_STATE { /** u32 */ Version: number; /** u64 */ - SlabSizeInBytes: Deno.PointerValue; + SlabSizeInBytes: bigint | number; /** u32 */ SlabOffsetDeltaInBytes: number; /** u32 */ @@ -11529,7 +11529,7 @@ export class DEVICE_DATA_SET_LB_PROVISIONING_STATEView { } // 0x08: u64 - get SlabSizeInBytes(): Deno.PointerValue { + get SlabSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -11567,7 +11567,7 @@ export class DEVICE_DATA_SET_LB_PROVISIONING_STATEView { } // 0x08: u64 - set SlabSizeInBytes(value: Deno.PointerValue) { + set SlabSizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -11603,9 +11603,9 @@ export interface DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2 { /** u32 */ Version: number; /** u64 */ - SlabSizeInBytes: Deno.PointerValue; + SlabSizeInBytes: bigint | number; /** u64 */ - SlabOffsetDeltaInBytes: Deno.PointerValue; + SlabOffsetDeltaInBytes: bigint | number; /** u32 */ SlabAllocationBitMapBitCount: number; /** u32 */ @@ -11657,12 +11657,12 @@ export class DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2View { } // 0x08: u64 - get SlabSizeInBytes(): Deno.PointerValue { + get SlabSizeInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SlabOffsetDeltaInBytes(): Deno.PointerValue { + get SlabOffsetDeltaInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -11693,12 +11693,12 @@ export class DEVICE_DATA_SET_LB_PROVISIONING_STATE_V2View { } // 0x08: u64 - set SlabSizeInBytes(value: Deno.PointerValue) { + set SlabSizeInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SlabOffsetDeltaInBytes(value: Deno.PointerValue) { + set SlabOffsetDeltaInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -11831,11 +11831,11 @@ export class DEVICE_DATA_SET_REPAIR_OUTPUTView { */ export interface DEVICE_DATA_SET_SCRUB_OUTPUT { /** u64 */ - BytesProcessed: Deno.PointerValue; + BytesProcessed: bigint | number; /** u64 */ - BytesRepaired: Deno.PointerValue; + BytesRepaired: bigint | number; /** u64 */ - BytesFailed: Deno.PointerValue; + BytesFailed: bigint | number; } export const sizeofDEVICE_DATA_SET_SCRUB_OUTPUT = 24; @@ -11863,32 +11863,32 @@ export class DEVICE_DATA_SET_SCRUB_OUTPUTView { } // 0x00: u64 - get BytesProcessed(): Deno.PointerValue { + get BytesProcessed(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get BytesRepaired(): Deno.PointerValue { + get BytesRepaired(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BytesFailed(): Deno.PointerValue { + get BytesFailed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x00: u64 - set BytesProcessed(value: Deno.PointerValue) { + set BytesProcessed(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set BytesRepaired(value: Deno.PointerValue) { + set BytesRepaired(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BytesFailed(value: Deno.PointerValue) { + set BytesFailed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -11898,15 +11898,15 @@ export class DEVICE_DATA_SET_SCRUB_OUTPUTView { */ export interface DEVICE_DATA_SET_SCRUB_EX_OUTPUT { /** u64 */ - BytesProcessed: Deno.PointerValue; + BytesProcessed: bigint | number; /** u64 */ - BytesRepaired: Deno.PointerValue; + BytesRepaired: bigint | number; /** u64 */ - BytesFailed: Deno.PointerValue; + BytesFailed: bigint | number; /** Windows.Win32.System.Ioctl.DEVICE_DATA_SET_RANGE */ ParityExtent: Uint8Array | Deno.PointerValue; /** u64 */ - BytesScrubbed: Deno.PointerValue; + BytesScrubbed: bigint | number; } export const sizeofDEVICE_DATA_SET_SCRUB_EX_OUTPUT = 40; @@ -11938,17 +11938,17 @@ export class DEVICE_DATA_SET_SCRUB_EX_OUTPUTView { } // 0x00: u64 - get BytesProcessed(): Deno.PointerValue { + get BytesProcessed(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get BytesRepaired(): Deno.PointerValue { + get BytesRepaired(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BytesFailed(): Deno.PointerValue { + get BytesFailed(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -11959,22 +11959,22 @@ export class DEVICE_DATA_SET_SCRUB_EX_OUTPUTView { } // 0x20: u64 - get BytesScrubbed(): Deno.PointerValue { + get BytesScrubbed(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: u64 - set BytesProcessed(value: Deno.PointerValue) { + set BytesProcessed(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set BytesRepaired(value: Deno.PointerValue) { + set BytesRepaired(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BytesFailed(value: Deno.PointerValue) { + set BytesFailed(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -11984,7 +11984,7 @@ export class DEVICE_DATA_SET_SCRUB_EX_OUTPUTView { } // 0x20: u64 - set BytesScrubbed(value: Deno.PointerValue) { + set BytesScrubbed(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -12092,9 +12092,9 @@ export interface STORAGE_TIER_REGION { /** System.Guid */ TierId: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofSTORAGE_TIER_REGION = 24; @@ -12128,12 +12128,12 @@ export class STORAGE_TIER_REGIONView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12143,12 +12143,12 @@ export class STORAGE_TIER_REGIONView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -12166,7 +12166,7 @@ export interface DEVICE_DSM_TIERING_QUERY_OUTPUT { /** u32 */ Reserved: number; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u32 */ TotalNumberOfRegions: number; /** u32 */ @@ -12230,7 +12230,7 @@ export class DEVICE_DSM_TIERING_QUERY_OUTPUTView { } // 0x10: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12271,7 +12271,7 @@ export class DEVICE_DSM_TIERING_QUERY_OUTPUTView { } // 0x10: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12369,7 +12369,7 @@ export class DEVICE_DSM_NVCACHE_CHANGE_PRIORITY_PARAMETERSView { */ export interface DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUT { /** u64 */ - TopologyRangeBytes: Deno.PointerValue; + TopologyRangeBytes: bigint | number; /** array */ TopologyId: Deno.PointerValue; } @@ -12397,7 +12397,7 @@ export class DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUTView { } // 0x00: u64 - get TopologyRangeBytes(): Deno.PointerValue { + get TopologyRangeBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12408,7 +12408,7 @@ export class DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUTView { } // 0x00: u64 - set TopologyRangeBytes(value: Deno.PointerValue) { + set TopologyRangeBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12423,9 +12423,9 @@ export class DEVICE_DATA_SET_TOPOLOGY_ID_QUERY_OUTPUTView { */ export interface DEVICE_STORAGE_ADDRESS_RANGE { /** i64 */ - StartAddress: Deno.PointerValue; + StartAddress: bigint | number; /** u64 */ - LengthInBytes: Deno.PointerValue; + LengthInBytes: bigint | number; } export const sizeofDEVICE_STORAGE_ADDRESS_RANGE = 16; @@ -12451,22 +12451,22 @@ export class DEVICE_STORAGE_ADDRESS_RANGEView { } // 0x00: i64 - get StartAddress(): Deno.PointerValue { + get StartAddress(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: u64 - get LengthInBytes(): Deno.PointerValue { + get LengthInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: i64 - set StartAddress(value: Deno.PointerValue) { + set StartAddress(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: u64 - set LengthInBytes(value: Deno.PointerValue) { + set LengthInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12669,9 +12669,9 @@ export interface STORAGE_ZONE_DESCRIPTOR { /** array */ Reserved0: Deno.PointerValue; /** u64 */ - ZoneSize: Deno.PointerValue; + ZoneSize: bigint | number; /** u64 */ - WritePointerOffset: Deno.PointerValue; + WritePointerOffset: bigint | number; } export const sizeofSTORAGE_ZONE_DESCRIPTOR = 48; @@ -12737,12 +12737,12 @@ export class STORAGE_ZONE_DESCRIPTORView { } // 0x20: u64 - get ZoneSize(): Deno.PointerValue { + get ZoneSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get WritePointerOffset(): Deno.PointerValue { + get WritePointerOffset(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -12774,12 +12774,12 @@ export class STORAGE_ZONE_DESCRIPTORView { } // 0x20: u64 - set ZoneSize(value: Deno.PointerValue) { + set ZoneSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set WritePointerOffset(value: Deno.PointerValue) { + set WritePointerOffset(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -12885,7 +12885,7 @@ export class DEVICE_DSM_REPORT_ZONES_DATAView { */ export interface DEVICE_STORAGE_RANGE_ATTRIBUTES { /** u64 */ - LengthInBytes: Deno.PointerValue; + LengthInBytes: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u32 */ @@ -12918,7 +12918,7 @@ export class DEVICE_STORAGE_RANGE_ATTRIBUTESView { } // 0x00: u64 - get LengthInBytes(): Deno.PointerValue { + get LengthInBytes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12936,7 +12936,7 @@ export class DEVICE_STORAGE_RANGE_ATTRIBUTESView { // 0x14: pad4 // 0x00: u64 - set LengthInBytes(value: Deno.PointerValue) { + set LengthInBytes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13056,7 +13056,7 @@ export interface DEVICE_DSM_LOST_QUERY_PARAMETERS { /** u32 */ Version: number; /** u64 */ - Granularity: Deno.PointerValue; + Granularity: bigint | number; } export const sizeofDEVICE_DSM_LOST_QUERY_PARAMETERS = 16; @@ -13090,7 +13090,7 @@ export class DEVICE_DSM_LOST_QUERY_PARAMETERSView { // 0x04: pad4 // 0x08: u64 - get Granularity(): Deno.PointerValue { + get Granularity(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13102,7 +13102,7 @@ export class DEVICE_DSM_LOST_QUERY_PARAMETERSView { // 0x04: pad4 // 0x08: u64 - set Granularity(value: Deno.PointerValue) { + set Granularity(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13116,7 +13116,7 @@ export interface DEVICE_DSM_LOST_QUERY_OUTPUT { /** u32 */ Size: number; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u32 */ NumberOfBits: number; /** array */ @@ -13163,7 +13163,7 @@ export class DEVICE_DSM_LOST_QUERY_OUTPUTView { } // 0x08: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13191,7 +13191,7 @@ export class DEVICE_DSM_LOST_QUERY_OUTPUTView { } // 0x08: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -13215,7 +13215,7 @@ export interface DEVICE_DSM_FREE_SPACE_OUTPUT { /** u32 */ Version: number; /** u64 */ - FreeSpace: Deno.PointerValue; + FreeSpace: bigint | number; } export const sizeofDEVICE_DSM_FREE_SPACE_OUTPUT = 16; @@ -13249,7 +13249,7 @@ export class DEVICE_DSM_FREE_SPACE_OUTPUTView { // 0x04: pad4 // 0x08: u64 - get FreeSpace(): Deno.PointerValue { + get FreeSpace(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13261,7 +13261,7 @@ export class DEVICE_DSM_FREE_SPACE_OUTPUTView { // 0x04: pad4 // 0x08: u64 - set FreeSpace(value: Deno.PointerValue) { + set FreeSpace(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13334,13 +13334,13 @@ export interface STORAGE_GET_BC_PROPERTIES_OUTPUT { /** u32 */ MinimumPeriod: number; /** u64 */ - MaximumRequestSize: Deno.PointerValue; + MaximumRequestSize: bigint | number; /** u32 */ EstimatedTimePerRequest: number; /** u32 */ NumOutStandingRequests: number; /** u64 */ - RequestSize: Deno.PointerValue; + RequestSize: bigint | number; } export const sizeofSTORAGE_GET_BC_PROPERTIES_OUTPUT = 32; @@ -13384,7 +13384,7 @@ export class STORAGE_GET_BC_PROPERTIES_OUTPUTView { } // 0x08: u64 - get MaximumRequestSize(): Deno.PointerValue { + get MaximumRequestSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13399,7 +13399,7 @@ export class STORAGE_GET_BC_PROPERTIES_OUTPUTView { } // 0x18: u64 - get RequestSize(): Deno.PointerValue { + get RequestSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -13414,7 +13414,7 @@ export class STORAGE_GET_BC_PROPERTIES_OUTPUTView { } // 0x08: u64 - set MaximumRequestSize(value: Deno.PointerValue) { + set MaximumRequestSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -13429,7 +13429,7 @@ export class STORAGE_GET_BC_PROPERTIES_OUTPUTView { } // 0x18: u64 - set RequestSize(value: Deno.PointerValue) { + set RequestSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -13584,7 +13584,7 @@ export class STORAGE_ALLOCATE_BC_STREAM_INPUTView { */ export interface STORAGE_ALLOCATE_BC_STREAM_OUTPUT { /** u64 */ - RequestSize: Deno.PointerValue; + RequestSize: bigint | number; /** u32 */ NumOutStandingRequests: number; } @@ -13613,7 +13613,7 @@ export class STORAGE_ALLOCATE_BC_STREAM_OUTPUTView { } // 0x00: u64 - get RequestSize(): Deno.PointerValue { + get RequestSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -13625,7 +13625,7 @@ export class STORAGE_ALLOCATE_BC_STREAM_OUTPUTView { // 0x0c: pad4 // 0x00: u64 - set RequestSize(value: Deno.PointerValue) { + set RequestSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -14024,7 +14024,7 @@ export interface PHYSICAL_ELEMENT_STATUS_DESCRIPTOR { /** array */ Reserved1: Deno.PointerValue; /** u64 */ - AssociatedCapacity: Deno.PointerValue; + AssociatedCapacity: bigint | number; /** array */ Reserved2: Deno.PointerValue; } @@ -14098,7 +14098,7 @@ export class PHYSICAL_ELEMENT_STATUS_DESCRIPTORView { } // 0x18: u64 - get AssociatedCapacity(): Deno.PointerValue { + get AssociatedCapacity(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -14141,7 +14141,7 @@ export class PHYSICAL_ELEMENT_STATUS_DESCRIPTORView { } // 0x18: u64 - set AssociatedCapacity(value: Deno.PointerValue) { + set AssociatedCapacity(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -14284,7 +14284,7 @@ export interface REMOVE_ELEMENT_AND_TRUNCATE_REQUEST { /** u32 */ Size: number; /** u64 */ - RequestCapacity: Deno.PointerValue; + RequestCapacity: bigint | number; /** u32 */ ElementIdentifier: number; /** u32 */ @@ -14330,7 +14330,7 @@ export class REMOVE_ELEMENT_AND_TRUNCATE_REQUESTView { } // 0x08: u64 - get RequestCapacity(): Deno.PointerValue { + get RequestCapacity(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -14355,7 +14355,7 @@ export class REMOVE_ELEMENT_AND_TRUNCATE_REQUESTView { } // 0x08: u64 - set RequestCapacity(value: Deno.PointerValue) { + set RequestCapacity(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -14460,7 +14460,7 @@ export interface DEVICE_INTERNAL_STATUS_DATA { /** u32 */ Size: number; /** u64 */ - T10VendorId: Deno.PointerValue; + T10VendorId: bigint | number; /** u32 */ DataSet1Length: number; /** u32 */ @@ -14536,7 +14536,7 @@ export class DEVICE_INTERNAL_STATUS_DATAView { } // 0x08: u64 - get T10VendorId(): Deno.PointerValue { + get T10VendorId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -14603,7 +14603,7 @@ export class DEVICE_INTERNAL_STATUS_DATAView { } // 0x08: u64 - set T10VendorId(value: Deno.PointerValue) { + set T10VendorId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -16095,9 +16095,9 @@ export interface DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORD { /** array */ Command: Deno.PointerValue; /** u64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** u64 */ - EndTime: Deno.PointerValue; + EndTime: bigint | number; /** u32 */ OperationStatus: number; /** u32 */ @@ -16151,12 +16151,12 @@ export class DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORDView { } // 0x10: u64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get EndTime(): Deno.PointerValue { + get EndTime(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -16187,12 +16187,12 @@ export class DEVICEDUMP_STORAGESTACK_PUBLIC_STATE_RECORDView { } // 0x10: u64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set EndTime(value: Deno.PointerValue) { + set EndTime(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -16484,7 +16484,7 @@ export interface STORAGE_DEVICE_POWER_CAP { /** Windows.Win32.System.Ioctl.STORAGE_DEVICE_POWER_CAP_UNITS */ Units: STORAGE_DEVICE_POWER_CAP_UNITS; /** u64 */ - MaxPower: Deno.PointerValue; + MaxPower: bigint | number; } export const sizeofSTORAGE_DEVICE_POWER_CAP = 24; @@ -16532,7 +16532,7 @@ export class STORAGE_DEVICE_POWER_CAPView { // 0x0c: pad4 // 0x10: u64 - get MaxPower(): Deno.PointerValue { + get MaxPower(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -16554,7 +16554,7 @@ export class STORAGE_DEVICE_POWER_CAPView { // 0x0c: pad4 // 0x10: u64 - set MaxPower(value: Deno.PointerValue) { + set MaxPower(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -16728,7 +16728,7 @@ export interface STORAGE_EVENT_NOTIFICATION { /** u32 */ Size: number; /** u64 */ - Events: Deno.PointerValue; + Events: bigint | number; } export const sizeofSTORAGE_EVENT_NOTIFICATION = 16; @@ -16766,7 +16766,7 @@ export class STORAGE_EVENT_NOTIFICATIONView { } // 0x08: u64 - get Events(): Deno.PointerValue { + get Events(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -16781,7 +16781,7 @@ export class STORAGE_EVENT_NOTIFICATIONView { } // 0x08: u64 - set Events(value: Deno.PointerValue) { + set Events(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -17390,9 +17390,9 @@ export interface STORAGE_HW_FIRMWARE_DOWNLOAD { /** array */ Reserved: Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - BufferSize: Deno.PointerValue; + BufferSize: bigint | number; /** array */ ImageBuffer: Deno.PointerValue; } @@ -17461,12 +17461,12 @@ export class STORAGE_HW_FIRMWARE_DOWNLOADView { } // 0x18: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get BufferSize(): Deno.PointerValue { + get BufferSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -17504,12 +17504,12 @@ export class STORAGE_HW_FIRMWARE_DOWNLOADView { } // 0x18: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set BufferSize(value: Deno.PointerValue) { + set BufferSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -17534,9 +17534,9 @@ export interface STORAGE_HW_FIRMWARE_DOWNLOAD_V2 { /** array */ Reserved: Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - BufferSize: Deno.PointerValue; + BufferSize: bigint | number; /** u32 */ ImageSize: number; /** u32 */ @@ -17613,12 +17613,12 @@ export class STORAGE_HW_FIRMWARE_DOWNLOAD_V2View { } // 0x18: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get BufferSize(): Deno.PointerValue { + get BufferSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -17666,12 +17666,12 @@ export class STORAGE_HW_FIRMWARE_DOWNLOAD_V2View { } // 0x18: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set BufferSize(value: Deno.PointerValue) { + set BufferSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -18574,15 +18574,15 @@ export interface SCM_REGION { /** u32 */ AssociatedId: number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** u64 */ - StartingDPA: Deno.PointerValue; + StartingDPA: bigint | number; /** u64 */ - BaseSPA: Deno.PointerValue; + BaseSPA: bigint | number; /** u64 */ - SPAOffset: Deno.PointerValue; + SPAOffset: bigint | number; /** u64 */ - RegionOffset: Deno.PointerValue; + RegionOffset: bigint | number; } export const sizeofSCM_REGION = 80; @@ -18668,27 +18668,27 @@ export class SCM_REGIONView { // 0x24: pad4 // 0x28: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get StartingDPA(): Deno.PointerValue { + get StartingDPA(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get BaseSPA(): Deno.PointerValue { + get BaseSPA(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get SPAOffset(): Deno.PointerValue { + get SPAOffset(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get RegionOffset(): Deno.PointerValue { + get RegionOffset(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -18730,27 +18730,27 @@ export class SCM_REGIONView { // 0x24: pad4 // 0x28: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set StartingDPA(value: Deno.PointerValue) { + set StartingDPA(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set BaseSPA(value: Deno.PointerValue) { + set BaseSPA(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set SPAOffset(value: Deno.PointerValue) { + set SPAOffset(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set RegionOffset(value: Deno.PointerValue) { + set RegionOffset(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } } @@ -18997,13 +18997,13 @@ export interface SCM_BUS_RUNTIME_FW_ACTIVATION_INFO { /** _FirmwareActivationCapability_e__Struct */ FirmwareActivationCapability: Uint8Array | Deno.PointerValue; /** u64 */ - EstimatedFirmwareActivationTimeInUSecs: Deno.PointerValue; + EstimatedFirmwareActivationTimeInUSecs: bigint | number; /** u64 */ - EstimatedProcessorAccessQuiesceTimeInUSecs: Deno.PointerValue; + EstimatedProcessorAccessQuiesceTimeInUSecs: bigint | number; /** u64 */ - EstimatedIOAccessQuiesceTimeInUSecs: Deno.PointerValue; + EstimatedIOAccessQuiesceTimeInUSecs: bigint | number; /** u64 */ - PlatformSupportedMaxIOAccessQuiesceTimeInUSecs: Deno.PointerValue; + PlatformSupportedMaxIOAccessQuiesceTimeInUSecs: bigint | number; } export const sizeofSCM_BUS_RUNTIME_FW_ACTIVATION_INFO = 64; @@ -19073,22 +19073,22 @@ export class SCM_BUS_RUNTIME_FW_ACTIVATION_INFOView { } // 0x20: u64 - get EstimatedFirmwareActivationTimeInUSecs(): Deno.PointerValue { + get EstimatedFirmwareActivationTimeInUSecs(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get EstimatedProcessorAccessQuiesceTimeInUSecs(): Deno.PointerValue { + get EstimatedProcessorAccessQuiesceTimeInUSecs(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get EstimatedIOAccessQuiesceTimeInUSecs(): Deno.PointerValue { + get EstimatedIOAccessQuiesceTimeInUSecs(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get PlatformSupportedMaxIOAccessQuiesceTimeInUSecs(): Deno.PointerValue { + get PlatformSupportedMaxIOAccessQuiesceTimeInUSecs(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -19120,22 +19120,22 @@ export class SCM_BUS_RUNTIME_FW_ACTIVATION_INFOView { } // 0x20: u64 - set EstimatedFirmwareActivationTimeInUSecs(value: Deno.PointerValue) { + set EstimatedFirmwareActivationTimeInUSecs(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set EstimatedProcessorAccessQuiesceTimeInUSecs(value: Deno.PointerValue) { + set EstimatedProcessorAccessQuiesceTimeInUSecs(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set EstimatedIOAccessQuiesceTimeInUSecs(value: Deno.PointerValue) { + set EstimatedIOAccessQuiesceTimeInUSecs(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set PlatformSupportedMaxIOAccessQuiesceTimeInUSecs(value: Deno.PointerValue) { + set PlatformSupportedMaxIOAccessQuiesceTimeInUSecs(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -19151,7 +19151,7 @@ export interface SCM_BUS_DEDICATED_MEMORY_DEVICE_INFO { /** _Flags_e__Struct */ Flags: Uint8Array | Deno.PointerValue; /** u64 */ - DeviceSize: Deno.PointerValue; + DeviceSize: bigint | number; } export const sizeofSCM_BUS_DEDICATED_MEMORY_DEVICE_INFO = 32; @@ -19201,7 +19201,7 @@ export class SCM_BUS_DEDICATED_MEMORY_DEVICE_INFOView { } // 0x18: u64 - get DeviceSize(): Deno.PointerValue { + get DeviceSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -19223,7 +19223,7 @@ export class SCM_BUS_DEDICATED_MEMORY_DEVICE_INFOView { } // 0x18: u64 - set DeviceSize(value: Deno.PointerValue) { + set DeviceSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -19982,11 +19982,11 @@ export interface SCM_PD_DEVICE_INFO { /** u32 */ UnsafeShutdownCount: number; /** u64 */ - PersistentMemorySizeInBytes: Deno.PointerValue; + PersistentMemorySizeInBytes: bigint | number; /** u64 */ - VolatileMemorySizeInBytes: Deno.PointerValue; + VolatileMemorySizeInBytes: bigint | number; /** u64 */ - TotalMemorySizeInBytes: Deno.PointerValue; + TotalMemorySizeInBytes: bigint | number; /** u32 */ SlotNumber: number; /** u32 */ @@ -20108,17 +20108,17 @@ export class SCM_PD_DEVICE_INFOView { // 0x14: pad4 // 0x18: u64 - get PersistentMemorySizeInBytes(): Deno.PointerValue { + get PersistentMemorySizeInBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get VolatileMemorySizeInBytes(): Deno.PointerValue { + get VolatileMemorySizeInBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get TotalMemorySizeInBytes(): Deno.PointerValue { + get TotalMemorySizeInBytes(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -20226,17 +20226,17 @@ export class SCM_PD_DEVICE_INFOView { // 0x14: pad4 // 0x18: u64 - set PersistentMemorySizeInBytes(value: Deno.PointerValue) { + set PersistentMemorySizeInBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set VolatileMemorySizeInBytes(value: Deno.PointerValue) { + set VolatileMemorySizeInBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set TotalMemorySizeInBytes(value: Deno.PointerValue) { + set TotalMemorySizeInBytes(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -20327,7 +20327,7 @@ export interface SCM_PD_DEVICE_SPECIFIC_PROPERTY { /** array */ Name: Deno.PointerValue; /** i64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofSCM_PD_DEVICE_SPECIFIC_PROPERTY = 16; @@ -20359,7 +20359,7 @@ export class SCM_PD_DEVICE_SPECIFIC_PROPERTYView { } // 0x08: i64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -20369,7 +20369,7 @@ export class SCM_PD_DEVICE_SPECIFIC_PROPERTYView { } // 0x08: i64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -20992,7 +20992,7 @@ export interface SCM_PD_FIRMWARE_DOWNLOAD { /** array */ Reserved: Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ FirmwareImageSizeInBytes: number; /** array */ @@ -21064,7 +21064,7 @@ export class SCM_PD_FIRMWARE_DOWNLOADView { } // 0x18: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -21109,7 +21109,7 @@ export class SCM_PD_FIRMWARE_DOWNLOADView { } // 0x18: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -22682,7 +22682,7 @@ export class PARTITION_INFORMATION_GPTView { } // 0x10: u64 - get Attributes(): Deno.PointerValue { + get Attributes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -22703,7 +22703,7 @@ export class PARTITION_INFORMATION_GPTView { } // 0x10: u64 - set Attributes(value: Deno.PointerValue) { + set Attributes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -23560,7 +23560,7 @@ export interface DISK_EX_INT13_INFO { /** u32 */ ExSectorsPerTrack: number; /** u64 */ - ExSectorsPerDrive: Deno.PointerValue; + ExSectorsPerDrive: bigint | number; /** u16 */ ExSectorSize: number; /** u16 */ @@ -23628,7 +23628,7 @@ export class DISK_EX_INT13_INFOView { } // 0x10: u64 - get ExSectorsPerDrive(): Deno.PointerValue { + get ExSectorsPerDrive(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -23670,7 +23670,7 @@ export class DISK_EX_INT13_INFOView { } // 0x10: u64 - set ExSectorsPerDrive(value: Deno.PointerValue) { + set ExSectorsPerDrive(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -25589,7 +25589,7 @@ export interface GET_DISK_ATTRIBUTES { /** u32 */ Reserved1: number; /** u64 */ - Attributes: Deno.PointerValue; + Attributes: bigint | number; } export const sizeofGET_DISK_ATTRIBUTES = 16; @@ -25627,7 +25627,7 @@ export class GET_DISK_ATTRIBUTESView { } // 0x08: u64 - get Attributes(): Deno.PointerValue { + get Attributes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -25642,7 +25642,7 @@ export class GET_DISK_ATTRIBUTESView { } // 0x08: u64 - set Attributes(value: Deno.PointerValue) { + set Attributes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -25658,9 +25658,9 @@ export interface SET_DISK_ATTRIBUTES { /** array */ Reserved1: Deno.PointerValue; /** u64 */ - Attributes: Deno.PointerValue; + Attributes: bigint | number; /** u64 */ - AttributesMask: Deno.PointerValue; + AttributesMask: bigint | number; /** array */ Reserved2: Deno.PointerValue; } @@ -25716,12 +25716,12 @@ export class SET_DISK_ATTRIBUTESView { } // 0x18: u64 - get Attributes(): Deno.PointerValue { + get Attributes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get AttributesMask(): Deno.PointerValue { + get AttributesMask(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -25749,12 +25749,12 @@ export class SET_DISK_ATTRIBUTESView { } // 0x18: u64 - set Attributes(value: Deno.PointerValue) { + set Attributes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set AttributesMask(value: Deno.PointerValue) { + set AttributesMask(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -28607,7 +28607,7 @@ export class NTFS_FILE_RECORD_OUTPUT_BUFFERView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Ioctl.MOVE_FILE_DATA (size: 32) @@ -29009,11 +29009,11 @@ export class FIND_BY_SID_OUTPUTView { */ export interface MFT_ENUM_DATA_V0 { /** u64 */ - StartFileReferenceNumber: Deno.PointerValue; + StartFileReferenceNumber: bigint | number; /** i64 */ - LowUsn: Deno.PointerValue; + LowUsn: bigint | number; /** i64 */ - HighUsn: Deno.PointerValue; + HighUsn: bigint | number; } export const sizeofMFT_ENUM_DATA_V0 = 24; @@ -29041,32 +29041,32 @@ export class MFT_ENUM_DATA_V0View { } // 0x00: u64 - get StartFileReferenceNumber(): Deno.PointerValue { + get StartFileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get LowUsn(): Deno.PointerValue { + get LowUsn(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get HighUsn(): Deno.PointerValue { + get HighUsn(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x00: u64 - set StartFileReferenceNumber(value: Deno.PointerValue) { + set StartFileReferenceNumber(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set LowUsn(value: Deno.PointerValue) { + set LowUsn(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set HighUsn(value: Deno.PointerValue) { + set HighUsn(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -29076,11 +29076,11 @@ export class MFT_ENUM_DATA_V0View { */ export interface MFT_ENUM_DATA_V1 { /** u64 */ - StartFileReferenceNumber: Deno.PointerValue; + StartFileReferenceNumber: bigint | number; /** i64 */ - LowUsn: Deno.PointerValue; + LowUsn: bigint | number; /** i64 */ - HighUsn: Deno.PointerValue; + HighUsn: bigint | number; /** u16 */ MinMajorVersion: number; /** u16 */ @@ -29117,17 +29117,17 @@ export class MFT_ENUM_DATA_V1View { } // 0x00: u64 - get StartFileReferenceNumber(): Deno.PointerValue { + get StartFileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get LowUsn(): Deno.PointerValue { + get LowUsn(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get HighUsn(): Deno.PointerValue { + get HighUsn(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -29144,17 +29144,17 @@ export class MFT_ENUM_DATA_V1View { // 0x1c: pad4 // 0x00: u64 - set StartFileReferenceNumber(value: Deno.PointerValue) { + set StartFileReferenceNumber(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set LowUsn(value: Deno.PointerValue) { + set LowUsn(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set HighUsn(value: Deno.PointerValue) { + set HighUsn(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -29176,9 +29176,9 @@ export class MFT_ENUM_DATA_V1View { */ export interface CREATE_USN_JOURNAL_DATA { /** u64 */ - MaximumSize: Deno.PointerValue; + MaximumSize: bigint | number; /** u64 */ - AllocationDelta: Deno.PointerValue; + AllocationDelta: bigint | number; } export const sizeofCREATE_USN_JOURNAL_DATA = 16; @@ -29204,22 +29204,22 @@ export class CREATE_USN_JOURNAL_DATAView { } // 0x00: u64 - get MaximumSize(): Deno.PointerValue { + get MaximumSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get AllocationDelta(): Deno.PointerValue { + get AllocationDelta(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set MaximumSize(value: Deno.PointerValue) { + set MaximumSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set AllocationDelta(value: Deno.PointerValue) { + set AllocationDelta(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -29287,17 +29287,17 @@ export class READ_FILE_USN_DATAView { */ export interface READ_USN_JOURNAL_DATA_V0 { /** i64 */ - StartUsn: Deno.PointerValue; + StartUsn: bigint | number; /** u32 */ ReasonMask: number; /** u32 */ ReturnOnlyOnClose: number; /** u64 */ - Timeout: Deno.PointerValue; + Timeout: bigint | number; /** u64 */ - BytesToWaitFor: Deno.PointerValue; + BytesToWaitFor: bigint | number; /** u64 */ - UsnJournalID: Deno.PointerValue; + UsnJournalID: bigint | number; } export const sizeofREAD_USN_JOURNAL_DATA_V0 = 40; @@ -29331,7 +29331,7 @@ export class READ_USN_JOURNAL_DATA_V0View { } // 0x00: i64 - get StartUsn(): Deno.PointerValue { + get StartUsn(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -29346,22 +29346,22 @@ export class READ_USN_JOURNAL_DATA_V0View { } // 0x10: u64 - get Timeout(): Deno.PointerValue { + get Timeout(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get BytesToWaitFor(): Deno.PointerValue { + get BytesToWaitFor(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get UsnJournalID(): Deno.PointerValue { + get UsnJournalID(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: i64 - set StartUsn(value: Deno.PointerValue) { + set StartUsn(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -29376,17 +29376,17 @@ export class READ_USN_JOURNAL_DATA_V0View { } // 0x10: u64 - set Timeout(value: Deno.PointerValue) { + set Timeout(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set BytesToWaitFor(value: Deno.PointerValue) { + set BytesToWaitFor(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set UsnJournalID(value: Deno.PointerValue) { + set UsnJournalID(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -29396,17 +29396,17 @@ export class READ_USN_JOURNAL_DATA_V0View { */ export interface READ_USN_JOURNAL_DATA_V1 { /** i64 */ - StartUsn: Deno.PointerValue; + StartUsn: bigint | number; /** u32 */ ReasonMask: number; /** u32 */ ReturnOnlyOnClose: number; /** u64 */ - Timeout: Deno.PointerValue; + Timeout: bigint | number; /** u64 */ - BytesToWaitFor: Deno.PointerValue; + BytesToWaitFor: bigint | number; /** u64 */ - UsnJournalID: Deno.PointerValue; + UsnJournalID: bigint | number; /** u16 */ MinMajorVersion: number; /** u16 */ @@ -29449,7 +29449,7 @@ export class READ_USN_JOURNAL_DATA_V1View { } // 0x00: i64 - get StartUsn(): Deno.PointerValue { + get StartUsn(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -29464,17 +29464,17 @@ export class READ_USN_JOURNAL_DATA_V1View { } // 0x10: u64 - get Timeout(): Deno.PointerValue { + get Timeout(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get BytesToWaitFor(): Deno.PointerValue { + get BytesToWaitFor(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get UsnJournalID(): Deno.PointerValue { + get UsnJournalID(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -29491,7 +29491,7 @@ export class READ_USN_JOURNAL_DATA_V1View { // 0x2c: pad4 // 0x00: i64 - set StartUsn(value: Deno.PointerValue) { + set StartUsn(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -29506,17 +29506,17 @@ export class READ_USN_JOURNAL_DATA_V1View { } // 0x10: u64 - set Timeout(value: Deno.PointerValue) { + set Timeout(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set BytesToWaitFor(value: Deno.PointerValue) { + set BytesToWaitFor(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set UsnJournalID(value: Deno.PointerValue) { + set UsnJournalID(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -29542,9 +29542,9 @@ export interface USN_TRACK_MODIFIED_RANGES { /** u32 */ Unused: number; /** u64 */ - ChunkSize: Deno.PointerValue; + ChunkSize: bigint | number; /** i64 */ - FileSizeThreshold: Deno.PointerValue; + FileSizeThreshold: bigint | number; } export const sizeofUSN_TRACK_MODIFIED_RANGES = 24; @@ -29584,12 +29584,12 @@ export class USN_TRACK_MODIFIED_RANGESView { } // 0x08: u64 - get ChunkSize(): Deno.PointerValue { + get ChunkSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: i64 - get FileSizeThreshold(): Deno.PointerValue { + get FileSizeThreshold(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -29604,12 +29604,12 @@ export class USN_TRACK_MODIFIED_RANGESView { } // 0x08: u64 - set ChunkSize(value: Deno.PointerValue) { + set ChunkSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: i64 - set FileSizeThreshold(value: Deno.PointerValue) { + set FileSizeThreshold(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -29619,7 +29619,7 @@ export class USN_TRACK_MODIFIED_RANGESView { */ export interface USN_RANGE_TRACK_OUTPUT { /** i64 */ - Usn: Deno.PointerValue; + Usn: bigint | number; } export const sizeofUSN_RANGE_TRACK_OUTPUT = 8; @@ -29643,12 +29643,12 @@ export class USN_RANGE_TRACK_OUTPUTView { } // 0x00: i64 - get Usn(): Deno.PointerValue { + get Usn(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set Usn(value: Deno.PointerValue) { + set Usn(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -29664,11 +29664,11 @@ export interface USN_RECORD_V2 { /** u16 */ MinorVersion: number; /** u64 */ - FileReferenceNumber: Deno.PointerValue; + FileReferenceNumber: bigint | number; /** u64 */ - ParentFileReferenceNumber: Deno.PointerValue; + ParentFileReferenceNumber: bigint | number; /** i64 */ - Usn: Deno.PointerValue; + Usn: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ TimeStamp: Uint8Array | Deno.PointerValue; /** u32 */ @@ -29750,17 +29750,17 @@ export class USN_RECORD_V2View { } // 0x08: u64 - get FileReferenceNumber(): Deno.PointerValue { + get FileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ParentFileReferenceNumber(): Deno.PointerValue { + get ParentFileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: i64 - get Usn(): Deno.PointerValue { + get Usn(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -29824,17 +29824,17 @@ export class USN_RECORD_V2View { } // 0x08: u64 - set FileReferenceNumber(value: Deno.PointerValue) { + set FileReferenceNumber(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ParentFileReferenceNumber(value: Deno.PointerValue) { + set ParentFileReferenceNumber(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: i64 - set Usn(value: Deno.PointerValue) { + set Usn(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -29936,7 +29936,7 @@ export interface USN_RECORD_V3 { /** Windows.Win32.Storage.FileSystem.FILE_ID_128 */ ParentFileReferenceNumber: Uint8Array | Deno.PointerValue; /** i64 */ - Usn: Deno.PointerValue; + Usn: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ TimeStamp: Uint8Array | Deno.PointerValue; /** u32 */ @@ -30030,7 +30030,7 @@ export class USN_RECORD_V3View { } // 0x18: i64 - get Usn(): Deno.PointerValue { + get Usn(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -30104,7 +30104,7 @@ export class USN_RECORD_V3View { } // 0x18: i64 - set Usn(value: Deno.PointerValue) { + set Usn(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -30223,9 +30223,9 @@ export class USN_RECORD_COMMON_HEADERView { */ export interface USN_RECORD_EXTENT { /** i64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** i64 */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofUSN_RECORD_EXTENT = 16; @@ -30251,22 +30251,22 @@ export class USN_RECORD_EXTENTView { } // 0x00: i64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -30282,7 +30282,7 @@ export interface USN_RECORD_V4 { /** Windows.Win32.Storage.FileSystem.FILE_ID_128 */ ParentFileReferenceNumber: Uint8Array | Deno.PointerValue; /** i64 */ - Usn: Deno.PointerValue; + Usn: bigint | number; /** u32 */ Reason: number; /** Windows.Win32.System.Ioctl.USN_SOURCE_INFO_ID */ @@ -30354,7 +30354,7 @@ export class USN_RECORD_V4View { } // 0x18: i64 - get Usn(): Deno.PointerValue { + get Usn(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -30405,7 +30405,7 @@ export class USN_RECORD_V4View { } // 0x18: i64 - set Usn(value: Deno.PointerValue) { + set Usn(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -30530,19 +30530,19 @@ export class USN_RECORD_UNIONView { */ export interface USN_JOURNAL_DATA_V0 { /** u64 */ - UsnJournalID: Deno.PointerValue; + UsnJournalID: bigint | number; /** i64 */ - FirstUsn: Deno.PointerValue; + FirstUsn: bigint | number; /** i64 */ - NextUsn: Deno.PointerValue; + NextUsn: bigint | number; /** i64 */ - LowestValidUsn: Deno.PointerValue; + LowestValidUsn: bigint | number; /** i64 */ - MaxUsn: Deno.PointerValue; + MaxUsn: bigint | number; /** u64 */ - MaximumSize: Deno.PointerValue; + MaximumSize: bigint | number; /** u64 */ - AllocationDelta: Deno.PointerValue; + AllocationDelta: bigint | number; } export const sizeofUSN_JOURNAL_DATA_V0 = 56; @@ -30578,72 +30578,72 @@ export class USN_JOURNAL_DATA_V0View { } // 0x00: u64 - get UsnJournalID(): Deno.PointerValue { + get UsnJournalID(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get FirstUsn(): Deno.PointerValue { + get FirstUsn(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get NextUsn(): Deno.PointerValue { + get NextUsn(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get LowestValidUsn(): Deno.PointerValue { + get LowestValidUsn(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get MaxUsn(): Deno.PointerValue { + get MaxUsn(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: u64 - get MaximumSize(): Deno.PointerValue { + get MaximumSize(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get AllocationDelta(): Deno.PointerValue { + get AllocationDelta(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x00: u64 - set UsnJournalID(value: Deno.PointerValue) { + set UsnJournalID(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set FirstUsn(value: Deno.PointerValue) { + set FirstUsn(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set NextUsn(value: Deno.PointerValue) { + set NextUsn(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set LowestValidUsn(value: Deno.PointerValue) { + set LowestValidUsn(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set MaxUsn(value: Deno.PointerValue) { + set MaxUsn(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: u64 - set MaximumSize(value: Deno.PointerValue) { + set MaximumSize(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set AllocationDelta(value: Deno.PointerValue) { + set AllocationDelta(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -30653,19 +30653,19 @@ export class USN_JOURNAL_DATA_V0View { */ export interface USN_JOURNAL_DATA_V1 { /** u64 */ - UsnJournalID: Deno.PointerValue; + UsnJournalID: bigint | number; /** i64 */ - FirstUsn: Deno.PointerValue; + FirstUsn: bigint | number; /** i64 */ - NextUsn: Deno.PointerValue; + NextUsn: bigint | number; /** i64 */ - LowestValidUsn: Deno.PointerValue; + LowestValidUsn: bigint | number; /** i64 */ - MaxUsn: Deno.PointerValue; + MaxUsn: bigint | number; /** u64 */ - MaximumSize: Deno.PointerValue; + MaximumSize: bigint | number; /** u64 */ - AllocationDelta: Deno.PointerValue; + AllocationDelta: bigint | number; /** u16 */ MinSupportedMajorVersion: number; /** u16 */ @@ -30710,37 +30710,37 @@ export class USN_JOURNAL_DATA_V1View { } // 0x00: u64 - get UsnJournalID(): Deno.PointerValue { + get UsnJournalID(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get FirstUsn(): Deno.PointerValue { + get FirstUsn(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get NextUsn(): Deno.PointerValue { + get NextUsn(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get LowestValidUsn(): Deno.PointerValue { + get LowestValidUsn(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get MaxUsn(): Deno.PointerValue { + get MaxUsn(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: u64 - get MaximumSize(): Deno.PointerValue { + get MaximumSize(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get AllocationDelta(): Deno.PointerValue { + get AllocationDelta(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -30757,37 +30757,37 @@ export class USN_JOURNAL_DATA_V1View { // 0x3c: pad4 // 0x00: u64 - set UsnJournalID(value: Deno.PointerValue) { + set UsnJournalID(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set FirstUsn(value: Deno.PointerValue) { + set FirstUsn(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set NextUsn(value: Deno.PointerValue) { + set NextUsn(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set LowestValidUsn(value: Deno.PointerValue) { + set LowestValidUsn(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set MaxUsn(value: Deno.PointerValue) { + set MaxUsn(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: u64 - set MaximumSize(value: Deno.PointerValue) { + set MaximumSize(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set AllocationDelta(value: Deno.PointerValue) { + set AllocationDelta(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -30809,19 +30809,19 @@ export class USN_JOURNAL_DATA_V1View { */ export interface USN_JOURNAL_DATA_V2 { /** u64 */ - UsnJournalID: Deno.PointerValue; + UsnJournalID: bigint | number; /** i64 */ - FirstUsn: Deno.PointerValue; + FirstUsn: bigint | number; /** i64 */ - NextUsn: Deno.PointerValue; + NextUsn: bigint | number; /** i64 */ - LowestValidUsn: Deno.PointerValue; + LowestValidUsn: bigint | number; /** i64 */ - MaxUsn: Deno.PointerValue; + MaxUsn: bigint | number; /** u64 */ - MaximumSize: Deno.PointerValue; + MaximumSize: bigint | number; /** u64 */ - AllocationDelta: Deno.PointerValue; + AllocationDelta: bigint | number; /** u16 */ MinSupportedMajorVersion: number; /** u16 */ @@ -30829,9 +30829,9 @@ export interface USN_JOURNAL_DATA_V2 { /** u32 */ Flags: number; /** u64 */ - RangeTrackChunkSize: Deno.PointerValue; + RangeTrackChunkSize: bigint | number; /** i64 */ - RangeTrackFileSizeThreshold: Deno.PointerValue; + RangeTrackFileSizeThreshold: bigint | number; } export const sizeofUSN_JOURNAL_DATA_V2 = 80; @@ -30877,37 +30877,37 @@ export class USN_JOURNAL_DATA_V2View { } // 0x00: u64 - get UsnJournalID(): Deno.PointerValue { + get UsnJournalID(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get FirstUsn(): Deno.PointerValue { + get FirstUsn(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get NextUsn(): Deno.PointerValue { + get NextUsn(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get LowestValidUsn(): Deno.PointerValue { + get LowestValidUsn(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: i64 - get MaxUsn(): Deno.PointerValue { + get MaxUsn(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: u64 - get MaximumSize(): Deno.PointerValue { + get MaximumSize(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get AllocationDelta(): Deno.PointerValue { + get AllocationDelta(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -30927,47 +30927,47 @@ export class USN_JOURNAL_DATA_V2View { } // 0x40: u64 - get RangeTrackChunkSize(): Deno.PointerValue { + get RangeTrackChunkSize(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: i64 - get RangeTrackFileSizeThreshold(): Deno.PointerValue { + get RangeTrackFileSizeThreshold(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x00: u64 - set UsnJournalID(value: Deno.PointerValue) { + set UsnJournalID(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set FirstUsn(value: Deno.PointerValue) { + set FirstUsn(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set NextUsn(value: Deno.PointerValue) { + set NextUsn(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set LowestValidUsn(value: Deno.PointerValue) { + set LowestValidUsn(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: i64 - set MaxUsn(value: Deno.PointerValue) { + set MaxUsn(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: u64 - set MaximumSize(value: Deno.PointerValue) { + set MaximumSize(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set AllocationDelta(value: Deno.PointerValue) { + set AllocationDelta(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -30987,12 +30987,12 @@ export class USN_JOURNAL_DATA_V2View { } // 0x40: u64 - set RangeTrackChunkSize(value: Deno.PointerValue) { + set RangeTrackChunkSize(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: i64 - set RangeTrackFileSizeThreshold(value: Deno.PointerValue) { + set RangeTrackFileSizeThreshold(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } } @@ -31002,7 +31002,7 @@ export class USN_JOURNAL_DATA_V2View { */ export interface DELETE_USN_JOURNAL_DATA { /** u64 */ - UsnJournalID: Deno.PointerValue; + UsnJournalID: bigint | number; /** Windows.Win32.System.Ioctl.USN_DELETE_FLAGS */ DeleteFlags: USN_DELETE_FLAGS; } @@ -31031,7 +31031,7 @@ export class DELETE_USN_JOURNAL_DATAView { } // 0x00: u64 - get UsnJournalID(): Deno.PointerValue { + get UsnJournalID(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -31043,7 +31043,7 @@ export class DELETE_USN_JOURNAL_DATAView { // 0x0c: pad4 // 0x00: u64 - set UsnJournalID(value: Deno.PointerValue) { + set UsnJournalID(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -33071,29 +33071,29 @@ export interface FILESYSTEM_STATISTICS_EX { /** u32 */ SizeOfCompleteStructure: number; /** u64 */ - UserFileReads: Deno.PointerValue; + UserFileReads: bigint | number; /** u64 */ - UserFileReadBytes: Deno.PointerValue; + UserFileReadBytes: bigint | number; /** u64 */ - UserDiskReads: Deno.PointerValue; + UserDiskReads: bigint | number; /** u64 */ - UserFileWrites: Deno.PointerValue; + UserFileWrites: bigint | number; /** u64 */ - UserFileWriteBytes: Deno.PointerValue; + UserFileWriteBytes: bigint | number; /** u64 */ - UserDiskWrites: Deno.PointerValue; + UserDiskWrites: bigint | number; /** u64 */ - MetaDataReads: Deno.PointerValue; + MetaDataReads: bigint | number; /** u64 */ - MetaDataReadBytes: Deno.PointerValue; + MetaDataReadBytes: bigint | number; /** u64 */ - MetaDataDiskReads: Deno.PointerValue; + MetaDataDiskReads: bigint | number; /** u64 */ - MetaDataWrites: Deno.PointerValue; + MetaDataWrites: bigint | number; /** u64 */ - MetaDataWriteBytes: Deno.PointerValue; + MetaDataWriteBytes: bigint | number; /** u64 */ - MetaDataDiskWrites: Deno.PointerValue; + MetaDataDiskWrites: bigint | number; } export const sizeofFILESYSTEM_STATISTICS_EX = 104; @@ -33160,62 +33160,62 @@ export class FILESYSTEM_STATISTICS_EXView { } // 0x08: u64 - get UserFileReads(): Deno.PointerValue { + get UserFileReads(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get UserFileReadBytes(): Deno.PointerValue { + get UserFileReadBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get UserDiskReads(): Deno.PointerValue { + get UserDiskReads(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get UserFileWrites(): Deno.PointerValue { + get UserFileWrites(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get UserFileWriteBytes(): Deno.PointerValue { + get UserFileWriteBytes(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get UserDiskWrites(): Deno.PointerValue { + get UserDiskWrites(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get MetaDataReads(): Deno.PointerValue { + get MetaDataReads(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get MetaDataReadBytes(): Deno.PointerValue { + get MetaDataReadBytes(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get MetaDataDiskReads(): Deno.PointerValue { + get MetaDataDiskReads(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get MetaDataWrites(): Deno.PointerValue { + get MetaDataWrites(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get MetaDataWriteBytes(): Deno.PointerValue { + get MetaDataWriteBytes(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get MetaDataDiskWrites(): Deno.PointerValue { + get MetaDataDiskWrites(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -33235,62 +33235,62 @@ export class FILESYSTEM_STATISTICS_EXView { } // 0x08: u64 - set UserFileReads(value: Deno.PointerValue) { + set UserFileReads(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set UserFileReadBytes(value: Deno.PointerValue) { + set UserFileReadBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set UserDiskReads(value: Deno.PointerValue) { + set UserDiskReads(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set UserFileWrites(value: Deno.PointerValue) { + set UserFileWrites(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set UserFileWriteBytes(value: Deno.PointerValue) { + set UserFileWriteBytes(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set UserDiskWrites(value: Deno.PointerValue) { + set UserDiskWrites(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set MetaDataReads(value: Deno.PointerValue) { + set MetaDataReads(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set MetaDataReadBytes(value: Deno.PointerValue) { + set MetaDataReadBytes(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set MetaDataDiskReads(value: Deno.PointerValue) { + set MetaDataDiskReads(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set MetaDataWrites(value: Deno.PointerValue) { + set MetaDataWrites(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set MetaDataWriteBytes(value: Deno.PointerValue) { + set MetaDataWriteBytes(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set MetaDataDiskWrites(value: Deno.PointerValue) { + set MetaDataDiskWrites(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } } @@ -33304,13 +33304,13 @@ export interface NTFS_STATISTICS_EX { /** u32 */ OtherExceptions: number; /** u64 */ - MftReads: Deno.PointerValue; + MftReads: bigint | number; /** u64 */ - MftReadBytes: Deno.PointerValue; + MftReadBytes: bigint | number; /** u64 */ - MftWrites: Deno.PointerValue; + MftWrites: bigint | number; /** u64 */ - MftWriteBytes: Deno.PointerValue; + MftWriteBytes: bigint | number; /** _MftWritesUserLevel_e__Struct */ MftWritesUserLevel: Uint8Array | Deno.PointerValue; /** u32 */ @@ -33320,9 +33320,9 @@ export interface NTFS_STATISTICS_EX { /** u32 */ MftWritesUserRequest: number; /** u64 */ - Mft2Writes: Deno.PointerValue; + Mft2Writes: bigint | number; /** u64 */ - Mft2WriteBytes: Deno.PointerValue; + Mft2WriteBytes: bigint | number; /** _Mft2WritesUserLevel_e__Struct */ Mft2WritesUserLevel: Uint8Array | Deno.PointerValue; /** u32 */ @@ -33332,21 +33332,21 @@ export interface NTFS_STATISTICS_EX { /** u32 */ Mft2WritesUserRequest: number; /** u64 */ - RootIndexReads: Deno.PointerValue; + RootIndexReads: bigint | number; /** u64 */ - RootIndexReadBytes: Deno.PointerValue; + RootIndexReadBytes: bigint | number; /** u64 */ - RootIndexWrites: Deno.PointerValue; + RootIndexWrites: bigint | number; /** u64 */ - RootIndexWriteBytes: Deno.PointerValue; + RootIndexWriteBytes: bigint | number; /** u64 */ - BitmapReads: Deno.PointerValue; + BitmapReads: bigint | number; /** u64 */ - BitmapReadBytes: Deno.PointerValue; + BitmapReadBytes: bigint | number; /** u64 */ - BitmapWrites: Deno.PointerValue; + BitmapWrites: bigint | number; /** u64 */ - BitmapWriteBytes: Deno.PointerValue; + BitmapWriteBytes: bigint | number; /** u32 */ BitmapWritesFlushForLogFileFull: number; /** u32 */ @@ -33356,13 +33356,13 @@ export interface NTFS_STATISTICS_EX { /** _BitmapWritesUserLevel_e__Struct */ BitmapWritesUserLevel: Uint8Array | Deno.PointerValue; /** u64 */ - MftBitmapReads: Deno.PointerValue; + MftBitmapReads: bigint | number; /** u64 */ - MftBitmapReadBytes: Deno.PointerValue; + MftBitmapReadBytes: bigint | number; /** u64 */ - MftBitmapWrites: Deno.PointerValue; + MftBitmapWrites: bigint | number; /** u64 */ - MftBitmapWriteBytes: Deno.PointerValue; + MftBitmapWriteBytes: bigint | number; /** u32 */ MftBitmapWritesFlushForLogFileFull: number; /** u32 */ @@ -33372,47 +33372,47 @@ export interface NTFS_STATISTICS_EX { /** _MftBitmapWritesUserLevel_e__Struct */ MftBitmapWritesUserLevel: Uint8Array | Deno.PointerValue; /** u64 */ - UserIndexReads: Deno.PointerValue; + UserIndexReads: bigint | number; /** u64 */ - UserIndexReadBytes: Deno.PointerValue; + UserIndexReadBytes: bigint | number; /** u64 */ - UserIndexWrites: Deno.PointerValue; + UserIndexWrites: bigint | number; /** u64 */ - UserIndexWriteBytes: Deno.PointerValue; + UserIndexWriteBytes: bigint | number; /** u64 */ - LogFileReads: Deno.PointerValue; + LogFileReads: bigint | number; /** u64 */ - LogFileReadBytes: Deno.PointerValue; + LogFileReadBytes: bigint | number; /** u64 */ - LogFileWrites: Deno.PointerValue; + LogFileWrites: bigint | number; /** u64 */ - LogFileWriteBytes: Deno.PointerValue; + LogFileWriteBytes: bigint | number; /** _Allocate_e__Struct */ Allocate: Uint8Array | Deno.PointerValue; /** u32 */ DiskResourcesExhausted: number; /** u64 */ - VolumeTrimCount: Deno.PointerValue; + VolumeTrimCount: bigint | number; /** u64 */ - VolumeTrimTime: Deno.PointerValue; + VolumeTrimTime: bigint | number; /** u64 */ - VolumeTrimByteCount: Deno.PointerValue; + VolumeTrimByteCount: bigint | number; /** u64 */ - FileLevelTrimCount: Deno.PointerValue; + FileLevelTrimCount: bigint | number; /** u64 */ - FileLevelTrimTime: Deno.PointerValue; + FileLevelTrimTime: bigint | number; /** u64 */ - FileLevelTrimByteCount: Deno.PointerValue; + FileLevelTrimByteCount: bigint | number; /** u64 */ - VolumeTrimSkippedCount: Deno.PointerValue; + VolumeTrimSkippedCount: bigint | number; /** u64 */ - VolumeTrimSkippedByteCount: Deno.PointerValue; + VolumeTrimSkippedByteCount: bigint | number; /** u64 */ - NtfsFillStatInfoFromMftRecordCalledCount: Deno.PointerValue; + NtfsFillStatInfoFromMftRecordCalledCount: bigint | number; /** u64 */ - NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount: Deno.PointerValue; + NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount: bigint | number; /** u64 */ - NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount: Deno.PointerValue; + NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount: bigint | number; } export const sizeofNTFS_STATISTICS_EX = 416; @@ -33563,22 +33563,22 @@ export class NTFS_STATISTICS_EXView { } // 0x08: u64 - get MftReads(): Deno.PointerValue { + get MftReads(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get MftReadBytes(): Deno.PointerValue { + get MftReadBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MftWrites(): Deno.PointerValue { + get MftWrites(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get MftWriteBytes(): Deno.PointerValue { + get MftWriteBytes(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -33606,12 +33606,12 @@ export class NTFS_STATISTICS_EXView { // 0x3c: pad4 // 0x40: u64 - get Mft2Writes(): Deno.PointerValue { + get Mft2Writes(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get Mft2WriteBytes(): Deno.PointerValue { + get Mft2WriteBytes(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -33639,42 +33639,42 @@ export class NTFS_STATISTICS_EXView { // 0x64: pad4 // 0x68: u64 - get RootIndexReads(): Deno.PointerValue { + get RootIndexReads(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get RootIndexReadBytes(): Deno.PointerValue { + get RootIndexReadBytes(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get RootIndexWrites(): Deno.PointerValue { + get RootIndexWrites(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get RootIndexWriteBytes(): Deno.PointerValue { + get RootIndexWriteBytes(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get BitmapReads(): Deno.PointerValue { + get BitmapReads(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get BitmapReadBytes(): Deno.PointerValue { + get BitmapReadBytes(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get BitmapWrites(): Deno.PointerValue { + get BitmapWrites(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get BitmapWriteBytes(): Deno.PointerValue { + get BitmapWriteBytes(): bigint | number { return Number(this.view.getBigUint64(160, true)); } @@ -33702,22 +33702,22 @@ export class NTFS_STATISTICS_EXView { } // 0xc0: u64 - get MftBitmapReads(): Deno.PointerValue { + get MftBitmapReads(): bigint | number { return Number(this.view.getBigUint64(192, true)); } // 0xc8: u64 - get MftBitmapReadBytes(): Deno.PointerValue { + get MftBitmapReadBytes(): bigint | number { return Number(this.view.getBigUint64(200, true)); } // 0xd0: u64 - get MftBitmapWrites(): Deno.PointerValue { + get MftBitmapWrites(): bigint | number { return Number(this.view.getBigUint64(208, true)); } // 0xd8: u64 - get MftBitmapWriteBytes(): Deno.PointerValue { + get MftBitmapWriteBytes(): bigint | number { return Number(this.view.getBigUint64(216, true)); } @@ -33745,42 +33745,42 @@ export class NTFS_STATISTICS_EXView { } // 0xf8: u64 - get UserIndexReads(): Deno.PointerValue { + get UserIndexReads(): bigint | number { return Number(this.view.getBigUint64(248, true)); } // 0x100: u64 - get UserIndexReadBytes(): Deno.PointerValue { + get UserIndexReadBytes(): bigint | number { return Number(this.view.getBigUint64(256, true)); } // 0x108: u64 - get UserIndexWrites(): Deno.PointerValue { + get UserIndexWrites(): bigint | number { return Number(this.view.getBigUint64(264, true)); } // 0x110: u64 - get UserIndexWriteBytes(): Deno.PointerValue { + get UserIndexWriteBytes(): bigint | number { return Number(this.view.getBigUint64(272, true)); } // 0x118: u64 - get LogFileReads(): Deno.PointerValue { + get LogFileReads(): bigint | number { return Number(this.view.getBigUint64(280, true)); } // 0x120: u64 - get LogFileReadBytes(): Deno.PointerValue { + get LogFileReadBytes(): bigint | number { return Number(this.view.getBigUint64(288, true)); } // 0x128: u64 - get LogFileWrites(): Deno.PointerValue { + get LogFileWrites(): bigint | number { return Number(this.view.getBigUint64(296, true)); } // 0x130: u64 - get LogFileWriteBytes(): Deno.PointerValue { + get LogFileWriteBytes(): bigint | number { return Number(this.view.getBigUint64(304, true)); } @@ -33798,57 +33798,57 @@ export class NTFS_STATISTICS_EXView { // 0x144: pad4 // 0x148: u64 - get VolumeTrimCount(): Deno.PointerValue { + get VolumeTrimCount(): bigint | number { return Number(this.view.getBigUint64(328, true)); } // 0x150: u64 - get VolumeTrimTime(): Deno.PointerValue { + get VolumeTrimTime(): bigint | number { return Number(this.view.getBigUint64(336, true)); } // 0x158: u64 - get VolumeTrimByteCount(): Deno.PointerValue { + get VolumeTrimByteCount(): bigint | number { return Number(this.view.getBigUint64(344, true)); } // 0x160: u64 - get FileLevelTrimCount(): Deno.PointerValue { + get FileLevelTrimCount(): bigint | number { return Number(this.view.getBigUint64(352, true)); } // 0x168: u64 - get FileLevelTrimTime(): Deno.PointerValue { + get FileLevelTrimTime(): bigint | number { return Number(this.view.getBigUint64(360, true)); } // 0x170: u64 - get FileLevelTrimByteCount(): Deno.PointerValue { + get FileLevelTrimByteCount(): bigint | number { return Number(this.view.getBigUint64(368, true)); } // 0x178: u64 - get VolumeTrimSkippedCount(): Deno.PointerValue { + get VolumeTrimSkippedCount(): bigint | number { return Number(this.view.getBigUint64(376, true)); } // 0x180: u64 - get VolumeTrimSkippedByteCount(): Deno.PointerValue { + get VolumeTrimSkippedByteCount(): bigint | number { return Number(this.view.getBigUint64(384, true)); } // 0x188: u64 - get NtfsFillStatInfoFromMftRecordCalledCount(): Deno.PointerValue { + get NtfsFillStatInfoFromMftRecordCalledCount(): bigint | number { return Number(this.view.getBigUint64(392, true)); } // 0x190: u64 - get NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount(): Deno.PointerValue { + get NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount(): bigint | number { return Number(this.view.getBigUint64(400, true)); } // 0x198: u64 - get NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount(): Deno.PointerValue { + get NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount(): bigint | number { return Number(this.view.getBigUint64(408, true)); } @@ -33863,22 +33863,22 @@ export class NTFS_STATISTICS_EXView { } // 0x08: u64 - set MftReads(value: Deno.PointerValue) { + set MftReads(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set MftReadBytes(value: Deno.PointerValue) { + set MftReadBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MftWrites(value: Deno.PointerValue) { + set MftWrites(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set MftWriteBytes(value: Deno.PointerValue) { + set MftWriteBytes(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -33905,12 +33905,12 @@ export class NTFS_STATISTICS_EXView { // 0x3c: pad4 // 0x40: u64 - set Mft2Writes(value: Deno.PointerValue) { + set Mft2Writes(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set Mft2WriteBytes(value: Deno.PointerValue) { + set Mft2WriteBytes(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -33937,42 +33937,42 @@ export class NTFS_STATISTICS_EXView { // 0x64: pad4 // 0x68: u64 - set RootIndexReads(value: Deno.PointerValue) { + set RootIndexReads(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set RootIndexReadBytes(value: Deno.PointerValue) { + set RootIndexReadBytes(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set RootIndexWrites(value: Deno.PointerValue) { + set RootIndexWrites(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set RootIndexWriteBytes(value: Deno.PointerValue) { + set RootIndexWriteBytes(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set BitmapReads(value: Deno.PointerValue) { + set BitmapReads(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set BitmapReadBytes(value: Deno.PointerValue) { + set BitmapReadBytes(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set BitmapWrites(value: Deno.PointerValue) { + set BitmapWrites(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set BitmapWriteBytes(value: Deno.PointerValue) { + set BitmapWriteBytes(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } @@ -33999,22 +33999,22 @@ export class NTFS_STATISTICS_EXView { } // 0xc0: u64 - set MftBitmapReads(value: Deno.PointerValue) { + set MftBitmapReads(value: bigint | number) { this.view.setBigUint64(192, BigInt(value), true); } // 0xc8: u64 - set MftBitmapReadBytes(value: Deno.PointerValue) { + set MftBitmapReadBytes(value: bigint | number) { this.view.setBigUint64(200, BigInt(value), true); } // 0xd0: u64 - set MftBitmapWrites(value: Deno.PointerValue) { + set MftBitmapWrites(value: bigint | number) { this.view.setBigUint64(208, BigInt(value), true); } // 0xd8: u64 - set MftBitmapWriteBytes(value: Deno.PointerValue) { + set MftBitmapWriteBytes(value: bigint | number) { this.view.setBigUint64(216, BigInt(value), true); } @@ -34041,42 +34041,42 @@ export class NTFS_STATISTICS_EXView { } // 0xf8: u64 - set UserIndexReads(value: Deno.PointerValue) { + set UserIndexReads(value: bigint | number) { this.view.setBigUint64(248, BigInt(value), true); } // 0x100: u64 - set UserIndexReadBytes(value: Deno.PointerValue) { + set UserIndexReadBytes(value: bigint | number) { this.view.setBigUint64(256, BigInt(value), true); } // 0x108: u64 - set UserIndexWrites(value: Deno.PointerValue) { + set UserIndexWrites(value: bigint | number) { this.view.setBigUint64(264, BigInt(value), true); } // 0x110: u64 - set UserIndexWriteBytes(value: Deno.PointerValue) { + set UserIndexWriteBytes(value: bigint | number) { this.view.setBigUint64(272, BigInt(value), true); } // 0x118: u64 - set LogFileReads(value: Deno.PointerValue) { + set LogFileReads(value: bigint | number) { this.view.setBigUint64(280, BigInt(value), true); } // 0x120: u64 - set LogFileReadBytes(value: Deno.PointerValue) { + set LogFileReadBytes(value: bigint | number) { this.view.setBigUint64(288, BigInt(value), true); } // 0x128: u64 - set LogFileWrites(value: Deno.PointerValue) { + set LogFileWrites(value: bigint | number) { this.view.setBigUint64(296, BigInt(value), true); } // 0x130: u64 - set LogFileWriteBytes(value: Deno.PointerValue) { + set LogFileWriteBytes(value: bigint | number) { this.view.setBigUint64(304, BigInt(value), true); } @@ -34093,57 +34093,57 @@ export class NTFS_STATISTICS_EXView { // 0x144: pad4 // 0x148: u64 - set VolumeTrimCount(value: Deno.PointerValue) { + set VolumeTrimCount(value: bigint | number) { this.view.setBigUint64(328, BigInt(value), true); } // 0x150: u64 - set VolumeTrimTime(value: Deno.PointerValue) { + set VolumeTrimTime(value: bigint | number) { this.view.setBigUint64(336, BigInt(value), true); } // 0x158: u64 - set VolumeTrimByteCount(value: Deno.PointerValue) { + set VolumeTrimByteCount(value: bigint | number) { this.view.setBigUint64(344, BigInt(value), true); } // 0x160: u64 - set FileLevelTrimCount(value: Deno.PointerValue) { + set FileLevelTrimCount(value: bigint | number) { this.view.setBigUint64(352, BigInt(value), true); } // 0x168: u64 - set FileLevelTrimTime(value: Deno.PointerValue) { + set FileLevelTrimTime(value: bigint | number) { this.view.setBigUint64(360, BigInt(value), true); } // 0x170: u64 - set FileLevelTrimByteCount(value: Deno.PointerValue) { + set FileLevelTrimByteCount(value: bigint | number) { this.view.setBigUint64(368, BigInt(value), true); } // 0x178: u64 - set VolumeTrimSkippedCount(value: Deno.PointerValue) { + set VolumeTrimSkippedCount(value: bigint | number) { this.view.setBigUint64(376, BigInt(value), true); } // 0x180: u64 - set VolumeTrimSkippedByteCount(value: Deno.PointerValue) { + set VolumeTrimSkippedByteCount(value: bigint | number) { this.view.setBigUint64(384, BigInt(value), true); } // 0x188: u64 - set NtfsFillStatInfoFromMftRecordCalledCount(value: Deno.PointerValue) { + set NtfsFillStatInfoFromMftRecordCalledCount(value: bigint | number) { this.view.setBigUint64(392, BigInt(value), true); } // 0x190: u64 - set NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount(value: Deno.PointerValue) { + set NtfsFillStatInfoFromMftRecordBailedBecauseOfAttributeListCount(value: bigint | number) { this.view.setBigUint64(400, BigInt(value), true); } // 0x198: u64 - set NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount(value: Deno.PointerValue) { + set NtfsFillStatInfoFromMftRecordBailedBecauseOfNonResReparsePointCount(value: bigint | number) { this.view.setBigUint64(408, BigInt(value), true); } } @@ -34531,7 +34531,7 @@ export class DECRYPTION_STATUS_BUFFERView { */ export interface REQUEST_RAW_ENCRYPTED_DATA { /** i64 */ - FileOffset: Deno.PointerValue; + FileOffset: bigint | number; /** u32 */ Length: number; } @@ -34560,7 +34560,7 @@ export class REQUEST_RAW_ENCRYPTED_DATAView { } // 0x00: i64 - get FileOffset(): Deno.PointerValue { + get FileOffset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -34572,7 +34572,7 @@ export class REQUEST_RAW_ENCRYPTED_DATAView { // 0x0c: pad4 // 0x00: i64 - set FileOffset(value: Deno.PointerValue) { + set FileOffset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -34589,7 +34589,7 @@ export class REQUEST_RAW_ENCRYPTED_DATAView { */ export interface ENCRYPTED_DATA_INFO { /** u64 */ - StartingFileOffset: Deno.PointerValue; + StartingFileOffset: bigint | number; /** u32 */ OutputBufferOffset: number; /** u32 */ @@ -34654,7 +34654,7 @@ export class ENCRYPTED_DATA_INFOView { } // 0x00: u64 - get StartingFileOffset(): Deno.PointerValue { + get StartingFileOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -34712,7 +34712,7 @@ export class ENCRYPTED_DATA_INFOView { } // 0x00: u64 - set StartingFileOffset(value: Deno.PointerValue) { + set StartingFileOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -35370,11 +35370,11 @@ export class FILE_QUERY_ON_DISK_VOL_INFO_BUFFERView { */ export interface FILE_INITIATE_REPAIR_OUTPUT_BUFFER { /** u64 */ - Hint1: Deno.PointerValue; + Hint1: bigint | number; /** u64 */ - Hint2: Deno.PointerValue; + Hint2: bigint | number; /** u64 */ - Clsn: Deno.PointerValue; + Clsn: bigint | number; /** u32 */ Status: number; } @@ -35407,17 +35407,17 @@ export class FILE_INITIATE_REPAIR_OUTPUT_BUFFERView { } // 0x00: u64 - get Hint1(): Deno.PointerValue { + get Hint1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Hint2(): Deno.PointerValue { + get Hint2(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Clsn(): Deno.PointerValue { + get Clsn(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -35429,17 +35429,17 @@ export class FILE_INITIATE_REPAIR_OUTPUT_BUFFERView { // 0x1c: pad4 // 0x00: u64 - set Hint1(value: Deno.PointerValue) { + set Hint1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Hint2(value: Deno.PointerValue) { + set Hint2(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Clsn(value: Deno.PointerValue) { + set Clsn(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -35458,9 +35458,9 @@ export interface SHRINK_VOLUME_INFORMATION { /** Windows.Win32.System.Ioctl.SHRINK_VOLUME_REQUEST_TYPES */ ShrinkRequestType: SHRINK_VOLUME_REQUEST_TYPES; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** i64 */ - NewNumberOfSectors: Deno.PointerValue; + NewNumberOfSectors: bigint | number; } export const sizeofSHRINK_VOLUME_INFORMATION = 24; @@ -35496,12 +35496,12 @@ export class SHRINK_VOLUME_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: i64 - get NewNumberOfSectors(): Deno.PointerValue { + get NewNumberOfSectors(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -35513,12 +35513,12 @@ export class SHRINK_VOLUME_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: i64 - set NewNumberOfSectors(value: Deno.PointerValue) { + set NewNumberOfSectors(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -35540,7 +35540,7 @@ export interface TXFS_MODIFY_RM { /** u32 */ LogAutoShrinkPercentage: number; /** u64 */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** u16 */ LoggingMode: number; } @@ -35611,7 +35611,7 @@ export class TXFS_MODIFY_RMView { } // 0x18: u64 - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -35653,7 +35653,7 @@ export class TXFS_MODIFY_RMView { } // 0x18: u64 - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -35672,13 +35672,13 @@ export interface TXFS_QUERY_RM_INFORMATION { /** u32 */ BytesRequired: number; /** u64 */ - TailLsn: Deno.PointerValue; + TailLsn: bigint | number; /** u64 */ - CurrentLsn: Deno.PointerValue; + CurrentLsn: bigint | number; /** u64 */ - ArchiveTailLsn: Deno.PointerValue; + ArchiveTailLsn: bigint | number; /** u64 */ - LogContainerSize: Deno.PointerValue; + LogContainerSize: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ HighestVirtualClock: Uint8Array | Deno.PointerValue; /** u32 */ @@ -35700,23 +35700,23 @@ export interface TXFS_QUERY_RM_INFORMATION { /** u32 */ RmState: number; /** u64 */ - LogCapacity: Deno.PointerValue; + LogCapacity: bigint | number; /** u64 */ - LogFree: Deno.PointerValue; + LogFree: bigint | number; /** u64 */ - TopsSize: Deno.PointerValue; + TopsSize: bigint | number; /** u64 */ - TopsUsed: Deno.PointerValue; + TopsUsed: bigint | number; /** u64 */ - TransactionCount: Deno.PointerValue; + TransactionCount: bigint | number; /** u64 */ - OnePCCount: Deno.PointerValue; + OnePCCount: bigint | number; /** u64 */ - TwoPCCount: Deno.PointerValue; + TwoPCCount: bigint | number; /** u64 */ - NumberLogFileFull: Deno.PointerValue; + NumberLogFileFull: bigint | number; /** u64 */ - OldestTransactionAge: Deno.PointerValue; + OldestTransactionAge: bigint | number; /** System.Guid */ RMName: Uint8Array | Deno.PointerValue; /** u32 */ @@ -35803,22 +35803,22 @@ export class TXFS_QUERY_RM_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - get TailLsn(): Deno.PointerValue { + get TailLsn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CurrentLsn(): Deno.PointerValue { + get CurrentLsn(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ArchiveTailLsn(): Deno.PointerValue { + get ArchiveTailLsn(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get LogContainerSize(): Deno.PointerValue { + get LogContainerSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -35874,47 +35874,47 @@ export class TXFS_QUERY_RM_INFORMATIONView { } // 0x50: u64 - get LogCapacity(): Deno.PointerValue { + get LogCapacity(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get LogFree(): Deno.PointerValue { + get LogFree(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get TopsSize(): Deno.PointerValue { + get TopsSize(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get TopsUsed(): Deno.PointerValue { + get TopsUsed(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get TransactionCount(): Deno.PointerValue { + get TransactionCount(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get OnePCCount(): Deno.PointerValue { + get OnePCCount(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get TwoPCCount(): Deno.PointerValue { + get TwoPCCount(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get NumberLogFileFull(): Deno.PointerValue { + get NumberLogFileFull(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get OldestTransactionAge(): Deno.PointerValue { + get OldestTransactionAge(): bigint | number { return Number(this.view.getBigUint64(144, true)); } @@ -35939,22 +35939,22 @@ export class TXFS_QUERY_RM_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - set TailLsn(value: Deno.PointerValue) { + set TailLsn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CurrentLsn(value: Deno.PointerValue) { + set CurrentLsn(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ArchiveTailLsn(value: Deno.PointerValue) { + set ArchiveTailLsn(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set LogContainerSize(value: Deno.PointerValue) { + set LogContainerSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -36009,47 +36009,47 @@ export class TXFS_QUERY_RM_INFORMATIONView { } // 0x50: u64 - set LogCapacity(value: Deno.PointerValue) { + set LogCapacity(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set LogFree(value: Deno.PointerValue) { + set LogFree(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set TopsSize(value: Deno.PointerValue) { + set TopsSize(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set TopsUsed(value: Deno.PointerValue) { + set TopsUsed(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set TransactionCount(value: Deno.PointerValue) { + set TransactionCount(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set OnePCCount(value: Deno.PointerValue) { + set OnePCCount(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set TwoPCCount(value: Deno.PointerValue) { + set TwoPCCount(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set NumberLogFileFull(value: Deno.PointerValue) { + set NumberLogFileFull(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set OldestTransactionAge(value: Deno.PointerValue) { + set OldestTransactionAge(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } @@ -36073,9 +36073,9 @@ export interface TXFS_ROLLFORWARD_REDO_INFORMATION { /** Windows.Win32.Foundation.LARGE_INTEGER */ LastVirtualClock: Uint8Array | Deno.PointerValue; /** u64 */ - LastRedoLsn: Deno.PointerValue; + LastRedoLsn: bigint | number; /** u64 */ - HighestRecoveryLsn: Deno.PointerValue; + HighestRecoveryLsn: bigint | number; /** u32 */ Flags: number; } @@ -36114,12 +36114,12 @@ export class TXFS_ROLLFORWARD_REDO_INFORMATIONView { } // 0x08: u64 - get LastRedoLsn(): Deno.PointerValue { + get LastRedoLsn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get HighestRecoveryLsn(): Deno.PointerValue { + get HighestRecoveryLsn(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -36136,12 +36136,12 @@ export class TXFS_ROLLFORWARD_REDO_INFORMATIONView { } // 0x08: u64 - set LastRedoLsn(value: Deno.PointerValue) { + set LastRedoLsn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set HighestRecoveryLsn(value: Deno.PointerValue) { + set HighestRecoveryLsn(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -36160,7 +36160,7 @@ export interface TXFS_START_RM_INFORMATION { /** u32 */ Flags: number; /** u64 */ - LogContainerSize: Deno.PointerValue; + LogContainerSize: bigint | number; /** u32 */ LogContainerCountMin: number; /** u32 */ @@ -36235,7 +36235,7 @@ export class TXFS_START_RM_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - get LogContainerSize(): Deno.PointerValue { + get LogContainerSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -36300,7 +36300,7 @@ export class TXFS_START_RM_INFORMATIONView { // 0x04: pad4 // 0x08: u64 - set LogContainerSize(value: Deno.PointerValue) { + set LogContainerSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -36362,9 +36362,9 @@ export class TXFS_START_RM_INFORMATIONView { */ export interface _TxfFileId_e__Struct { /** i64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** i64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeof_TxfFileId_e__Struct = 16; @@ -36390,22 +36390,22 @@ export class _TxfFileId_e__StructView { } // 0x00: i64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -36419,7 +36419,7 @@ export interface TXFS_GET_METADATA_INFO_OUT { /** System.Guid */ LockingTransaction: Uint8Array | Deno.PointerValue; /** u64 */ - LastLsn: Deno.PointerValue; + LastLsn: bigint | number; /** u32 */ TransactionState: number; } @@ -36464,7 +36464,7 @@ export class TXFS_GET_METADATA_INFO_OUTView { } // 0x10: u64 - get LastLsn(): Deno.PointerValue { + get LastLsn(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -36486,7 +36486,7 @@ export class TXFS_GET_METADATA_INFO_OUTView { } // 0x10: u64 - set LastLsn(value: Deno.PointerValue) { + set LastLsn(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -36503,17 +36503,17 @@ export class TXFS_GET_METADATA_INFO_OUTView { */ export interface TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRY { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ NameFlags: number; /** i64 */ - FileId: Deno.PointerValue; + FileId: bigint | number; /** u32 */ Reserved1: number; /** u32 */ Reserved2: number; /** i64 */ - Reserved3: Deno.PointerValue; + Reserved3: bigint | number; /** array */ FileName: Deno.PointerValue; } @@ -36552,7 +36552,7 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRYView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -36564,7 +36564,7 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRYView { // 0x0c: pad4 // 0x10: i64 - get FileId(): Deno.PointerValue { + get FileId(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -36579,7 +36579,7 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRYView { } // 0x20: i64 - get Reserved3(): Deno.PointerValue { + get Reserved3(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -36590,7 +36590,7 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRYView { } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -36602,7 +36602,7 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRYView { // 0x0c: pad4 // 0x10: i64 - set FileId(value: Deno.PointerValue) { + set FileId(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -36617,7 +36617,7 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILES_ENTRYView { } // 0x20: i64 - set Reserved3(value: Deno.PointerValue) { + set Reserved3(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } @@ -36634,11 +36634,11 @@ export interface TXFS_LIST_TRANSACTION_LOCKED_FILES { /** System.Guid */ KtmTransaction: Uint8Array | Deno.PointerValue; /** u64 */ - NumberOfFiles: Deno.PointerValue; + NumberOfFiles: bigint | number; /** u64 */ - BufferSizeRequired: Deno.PointerValue; + BufferSizeRequired: bigint | number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; } export const sizeofTXFS_LIST_TRANSACTION_LOCKED_FILES = 32; @@ -36674,17 +36674,17 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILESView { } // 0x08: u64 - get NumberOfFiles(): Deno.PointerValue { + get NumberOfFiles(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get BufferSizeRequired(): Deno.PointerValue { + get BufferSizeRequired(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -36694,17 +36694,17 @@ export class TXFS_LIST_TRANSACTION_LOCKED_FILESView { } // 0x08: u64 - set NumberOfFiles(value: Deno.PointerValue) { + set NumberOfFiles(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set BufferSizeRequired(value: Deno.PointerValue) { + set BufferSizeRequired(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -36722,7 +36722,7 @@ export interface TXFS_LIST_TRANSACTIONS_ENTRY { /** u32 */ Reserved2: number; /** i64 */ - Reserved3: Deno.PointerValue; + Reserved3: bigint | number; } export const sizeofTXFS_LIST_TRANSACTIONS_ENTRY = 32; @@ -36778,7 +36778,7 @@ export class TXFS_LIST_TRANSACTIONS_ENTRYView { // 0x14: pad4 // 0x18: i64 - get Reserved3(): Deno.PointerValue { + get Reserved3(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -36805,7 +36805,7 @@ export class TXFS_LIST_TRANSACTIONS_ENTRYView { // 0x14: pad4 // 0x18: i64 - set Reserved3(value: Deno.PointerValue) { + set Reserved3(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -36815,9 +36815,9 @@ export class TXFS_LIST_TRANSACTIONS_ENTRYView { */ export interface TXFS_LIST_TRANSACTIONS { /** u64 */ - NumberOfTransactions: Deno.PointerValue; + NumberOfTransactions: bigint | number; /** u64 */ - BufferSizeRequired: Deno.PointerValue; + BufferSizeRequired: bigint | number; } export const sizeofTXFS_LIST_TRANSACTIONS = 16; @@ -36843,22 +36843,22 @@ export class TXFS_LIST_TRANSACTIONSView { } // 0x00: u64 - get NumberOfTransactions(): Deno.PointerValue { + get NumberOfTransactions(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get BufferSizeRequired(): Deno.PointerValue { + get BufferSizeRequired(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set NumberOfTransactions(value: Deno.PointerValue) { + set NumberOfTransactions(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set BufferSizeRequired(value: Deno.PointerValue) { + set BufferSizeRequired(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -38242,19 +38242,19 @@ export class SD_CHANGE_MACHINE_SID_INPUTView { */ export interface SD_CHANGE_MACHINE_SID_OUTPUT { /** u64 */ - NumSDChangedSuccess: Deno.PointerValue; + NumSDChangedSuccess: bigint | number; /** u64 */ - NumSDChangedFail: Deno.PointerValue; + NumSDChangedFail: bigint | number; /** u64 */ - NumSDUnused: Deno.PointerValue; + NumSDUnused: bigint | number; /** u64 */ - NumSDTotal: Deno.PointerValue; + NumSDTotal: bigint | number; /** u64 */ - NumMftSDChangedSuccess: Deno.PointerValue; + NumMftSDChangedSuccess: bigint | number; /** u64 */ - NumMftSDChangedFail: Deno.PointerValue; + NumMftSDChangedFail: bigint | number; /** u64 */ - NumMftSDTotal: Deno.PointerValue; + NumMftSDTotal: bigint | number; } export const sizeofSD_CHANGE_MACHINE_SID_OUTPUT = 56; @@ -38290,72 +38290,72 @@ export class SD_CHANGE_MACHINE_SID_OUTPUTView { } // 0x00: u64 - get NumSDChangedSuccess(): Deno.PointerValue { + get NumSDChangedSuccess(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get NumSDChangedFail(): Deno.PointerValue { + get NumSDChangedFail(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get NumSDUnused(): Deno.PointerValue { + get NumSDUnused(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get NumSDTotal(): Deno.PointerValue { + get NumSDTotal(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get NumMftSDChangedSuccess(): Deno.PointerValue { + get NumMftSDChangedSuccess(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get NumMftSDChangedFail(): Deno.PointerValue { + get NumMftSDChangedFail(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get NumMftSDTotal(): Deno.PointerValue { + get NumMftSDTotal(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x00: u64 - set NumSDChangedSuccess(value: Deno.PointerValue) { + set NumSDChangedSuccess(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set NumSDChangedFail(value: Deno.PointerValue) { + set NumSDChangedFail(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set NumSDUnused(value: Deno.PointerValue) { + set NumSDUnused(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set NumSDTotal(value: Deno.PointerValue) { + set NumSDTotal(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set NumMftSDChangedSuccess(value: Deno.PointerValue) { + set NumMftSDChangedSuccess(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set NumMftSDChangedFail(value: Deno.PointerValue) { + set NumMftSDChangedFail(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set NumMftSDTotal(value: Deno.PointerValue) { + set NumMftSDTotal(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -38409,21 +38409,21 @@ export class SD_QUERY_STATS_INPUTView { */ export interface SD_QUERY_STATS_OUTPUT { /** u64 */ - SdsStreamSize: Deno.PointerValue; + SdsStreamSize: bigint | number; /** u64 */ - SdsAllocationSize: Deno.PointerValue; + SdsAllocationSize: bigint | number; /** u64 */ - SiiStreamSize: Deno.PointerValue; + SiiStreamSize: bigint | number; /** u64 */ - SiiAllocationSize: Deno.PointerValue; + SiiAllocationSize: bigint | number; /** u64 */ - SdhStreamSize: Deno.PointerValue; + SdhStreamSize: bigint | number; /** u64 */ - SdhAllocationSize: Deno.PointerValue; + SdhAllocationSize: bigint | number; /** u64 */ - NumSDTotal: Deno.PointerValue; + NumSDTotal: bigint | number; /** u64 */ - NumSDUnused: Deno.PointerValue; + NumSDUnused: bigint | number; } export const sizeofSD_QUERY_STATS_OUTPUT = 64; @@ -38461,82 +38461,82 @@ export class SD_QUERY_STATS_OUTPUTView { } // 0x00: u64 - get SdsStreamSize(): Deno.PointerValue { + get SdsStreamSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get SdsAllocationSize(): Deno.PointerValue { + get SdsAllocationSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get SiiStreamSize(): Deno.PointerValue { + get SiiStreamSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get SiiAllocationSize(): Deno.PointerValue { + get SiiAllocationSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get SdhStreamSize(): Deno.PointerValue { + get SdhStreamSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get SdhAllocationSize(): Deno.PointerValue { + get SdhAllocationSize(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get NumSDTotal(): Deno.PointerValue { + get NumSDTotal(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get NumSDUnused(): Deno.PointerValue { + get NumSDUnused(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x00: u64 - set SdsStreamSize(value: Deno.PointerValue) { + set SdsStreamSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set SdsAllocationSize(value: Deno.PointerValue) { + set SdsAllocationSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set SiiStreamSize(value: Deno.PointerValue) { + set SiiStreamSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set SiiAllocationSize(value: Deno.PointerValue) { + set SiiAllocationSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set SdhStreamSize(value: Deno.PointerValue) { + set SdhStreamSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set SdhAllocationSize(value: Deno.PointerValue) { + set SdhAllocationSize(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set NumSDTotal(value: Deno.PointerValue) { + set NumSDTotal(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set NumSDUnused(value: Deno.PointerValue) { + set NumSDUnused(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -38546,9 +38546,9 @@ export class SD_QUERY_STATS_OUTPUTView { */ export interface SD_ENUM_SDS_INPUT { /** u64 */ - StartingOffset: Deno.PointerValue; + StartingOffset: bigint | number; /** u64 */ - MaxSDEntriesToReturn: Deno.PointerValue; + MaxSDEntriesToReturn: bigint | number; } export const sizeofSD_ENUM_SDS_INPUT = 16; @@ -38574,22 +38574,22 @@ export class SD_ENUM_SDS_INPUTView { } // 0x00: u64 - get StartingOffset(): Deno.PointerValue { + get StartingOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get MaxSDEntriesToReturn(): Deno.PointerValue { + get MaxSDEntriesToReturn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartingOffset(value: Deno.PointerValue) { + set StartingOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set MaxSDEntriesToReturn(value: Deno.PointerValue) { + set MaxSDEntriesToReturn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -38603,7 +38603,7 @@ export interface SD_ENUM_SDS_ENTRY { /** u32 */ SecurityId: number; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u32 */ Length: number; /** array */ @@ -38650,7 +38650,7 @@ export class SD_ENUM_SDS_ENTRYView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -38678,7 +38678,7 @@ export class SD_ENUM_SDS_ENTRYView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -38700,11 +38700,11 @@ export class SD_ENUM_SDS_ENTRYView { */ export interface SD_ENUM_SDS_OUTPUT { /** u64 */ - NextOffset: Deno.PointerValue; + NextOffset: bigint | number; /** u64 */ - NumSDEntriesReturned: Deno.PointerValue; + NumSDEntriesReturned: bigint | number; /** u64 */ - NumSDBytesReturned: Deno.PointerValue; + NumSDBytesReturned: bigint | number; /** array */ SDEntry: Deno.PointerValue; } @@ -38736,17 +38736,17 @@ export class SD_ENUM_SDS_OUTPUTView { } // 0x00: u64 - get NextOffset(): Deno.PointerValue { + get NextOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get NumSDEntriesReturned(): Deno.PointerValue { + get NumSDEntriesReturned(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get NumSDBytesReturned(): Deno.PointerValue { + get NumSDBytesReturned(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -38757,17 +38757,17 @@ export class SD_ENUM_SDS_OUTPUTView { } // 0x00: u64 - set NextOffset(value: Deno.PointerValue) { + set NextOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set NumSDEntriesReturned(value: Deno.PointerValue) { + set NumSDEntriesReturned(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set NumSDBytesReturned(value: Deno.PointerValue) { + set NumSDBytesReturned(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -39357,7 +39357,7 @@ export interface CSV_CONTROL_PARAM { /** Windows.Win32.System.Ioctl.CSV_CONTROL_OP */ Operation: CSV_CONTROL_OP; /** i64 */ - Unused: Deno.PointerValue; + Unused: bigint | number; } export const sizeofCSV_CONTROL_PARAM = 16; @@ -39391,7 +39391,7 @@ export class CSV_CONTROL_PARAMView { // 0x04: pad4 // 0x08: i64 - get Unused(): Deno.PointerValue { + get Unused(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -39403,7 +39403,7 @@ export class CSV_CONTROL_PARAMView { // 0x04: pad4 // 0x08: i64 - set Unused(value: Deno.PointerValue) { + set Unused(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -39481,7 +39481,7 @@ export class CSV_QUERY_REDIRECT_STATEView { */ export interface CSV_QUERY_FILE_REVISION { /** i64 */ - FileId: Deno.PointerValue; + FileId: bigint | number; /** array */ FileRevision: Deno.PointerValue; } @@ -39509,7 +39509,7 @@ export class CSV_QUERY_FILE_REVISIONView { } // 0x00: i64 - get FileId(): Deno.PointerValue { + get FileId(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -39520,7 +39520,7 @@ export class CSV_QUERY_FILE_REVISIONView { } // 0x00: i64 - set FileId(value: Deno.PointerValue) { + set FileId(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -39779,7 +39779,7 @@ export class CSV_QUERY_VOLUME_REDIRECT_STATEView { */ export interface CSV_QUERY_MDS_PATH_V2 { /** i64 */ - Version: Deno.PointerValue; + Version: bigint | number; /** u32 */ RequiredSize: number; /** u32 */ @@ -39844,7 +39844,7 @@ export class CSV_QUERY_MDS_PATH_V2View { } // 0x00: i64 - get Version(): Deno.PointerValue { + get Version(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -39902,7 +39902,7 @@ export class CSV_QUERY_MDS_PATH_V2View { } // 0x00: i64 - set Version(value: Deno.PointerValue) { + set Version(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -40044,9 +40044,9 @@ export class CSV_QUERY_VOLUME_IDView { */ export interface CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUT { /** u64 */ - VetoedFromAltitudeIntegral: Deno.PointerValue; + VetoedFromAltitudeIntegral: bigint | number; /** u64 */ - VetoedFromAltitudeDecimal: Deno.PointerValue; + VetoedFromAltitudeDecimal: bigint | number; /** array */ Reason: Deno.PointerValue; } @@ -40076,12 +40076,12 @@ export class CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUTView { } // 0x00: u64 - get VetoedFromAltitudeIntegral(): Deno.PointerValue { + get VetoedFromAltitudeIntegral(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get VetoedFromAltitudeDecimal(): Deno.PointerValue { + get VetoedFromAltitudeDecimal(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -40092,12 +40092,12 @@ export class CSV_QUERY_VETO_FILE_DIRECT_IO_OUTPUTView { } // 0x00: u64 - set VetoedFromAltitudeIntegral(value: Deno.PointerValue) { + set VetoedFromAltitudeIntegral(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set VetoedFromAltitudeDecimal(value: Deno.PointerValue) { + set VetoedFromAltitudeDecimal(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -40152,9 +40152,9 @@ export class CSV_IS_OWNED_BY_CSVFSView { */ export interface FILE_LEVEL_TRIM_RANGE { /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofFILE_LEVEL_TRIM_RANGE = 16; @@ -40180,22 +40180,22 @@ export class FILE_LEVEL_TRIM_RANGEView { } // 0x00: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -40372,9 +40372,9 @@ export class CLUSTER_RANGEView { */ export interface FILE_REFERENCE_RANGE { /** u64 */ - StartingFileReferenceNumber: Deno.PointerValue; + StartingFileReferenceNumber: bigint | number; /** u64 */ - EndingFileReferenceNumber: Deno.PointerValue; + EndingFileReferenceNumber: bigint | number; } export const sizeofFILE_REFERENCE_RANGE = 16; @@ -40400,22 +40400,22 @@ export class FILE_REFERENCE_RANGEView { } // 0x00: u64 - get StartingFileReferenceNumber(): Deno.PointerValue { + get StartingFileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get EndingFileReferenceNumber(): Deno.PointerValue { + get EndingFileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartingFileReferenceNumber(value: Deno.PointerValue) { + set StartingFileReferenceNumber(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set EndingFileReferenceNumber(value: Deno.PointerValue) { + set EndingFileReferenceNumber(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -40686,7 +40686,7 @@ export interface FILE_LAYOUT_ENTRY { /** u32 */ FileAttributes: number; /** u64 */ - FileReferenceNumber: Deno.PointerValue; + FileReferenceNumber: bigint | number; /** u32 */ FirstNameOffset: number; /** u32 */ @@ -40754,7 +40754,7 @@ export class FILE_LAYOUT_ENTRYView { } // 0x10: u64 - get FileReferenceNumber(): Deno.PointerValue { + get FileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -40799,7 +40799,7 @@ export class FILE_LAYOUT_ENTRYView { } // 0x10: u64 - set FileReferenceNumber(value: Deno.PointerValue) { + set FileReferenceNumber(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -40833,7 +40833,7 @@ export interface FILE_LAYOUT_NAME_ENTRY { /** u32 */ Flags: number; /** u64 */ - ParentFileReferenceNumber: Deno.PointerValue; + ParentFileReferenceNumber: bigint | number; /** u32 */ FileNameLength: number; /** u32 */ @@ -40883,7 +40883,7 @@ export class FILE_LAYOUT_NAME_ENTRYView { } // 0x08: u64 - get ParentFileReferenceNumber(): Deno.PointerValue { + get ParentFileReferenceNumber(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -40914,7 +40914,7 @@ export class FILE_LAYOUT_NAME_ENTRYView { } // 0x08: u64 - set ParentFileReferenceNumber(value: Deno.PointerValue) { + set ParentFileReferenceNumber(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -41049,7 +41049,7 @@ export interface FILE_LAYOUT_INFO_ENTRY { /** u32 */ SecurityId: number; /** i64 */ - Usn: Deno.PointerValue; + Usn: bigint | number; /** Windows.Win32.System.Ioctl.STORAGE_RESERVE_ID */ StorageReserveId: STORAGE_RESERVE_ID; } @@ -41100,7 +41100,7 @@ export class FILE_LAYOUT_INFO_ENTRYView { } // 0x10: i64 - get Usn(): Deno.PointerValue { + get Usn(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -41127,7 +41127,7 @@ export class FILE_LAYOUT_INFO_ENTRYView { } // 0x10: i64 - set Usn(value: Deno.PointerValue) { + set Usn(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -41710,9 +41710,9 @@ export interface FSCTL_OFFLOAD_READ_INPUT { /** u32 */ Reserved: number; /** u64 */ - FileOffset: Deno.PointerValue; + FileOffset: bigint | number; /** u64 */ - CopyLength: Deno.PointerValue; + CopyLength: bigint | number; } export const sizeofFSCTL_OFFLOAD_READ_INPUT = 32; @@ -41766,12 +41766,12 @@ export class FSCTL_OFFLOAD_READ_INPUTView { } // 0x10: u64 - get FileOffset(): Deno.PointerValue { + get FileOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get CopyLength(): Deno.PointerValue { + get CopyLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -41796,12 +41796,12 @@ export class FSCTL_OFFLOAD_READ_INPUTView { } // 0x10: u64 - set FileOffset(value: Deno.PointerValue) { + set FileOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set CopyLength(value: Deno.PointerValue) { + set CopyLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -41815,7 +41815,7 @@ export interface FSCTL_OFFLOAD_READ_OUTPUT { /** u32 */ Flags: number; /** u64 */ - TransferLength: Deno.PointerValue; + TransferLength: bigint | number; /** array */ Token: Deno.PointerValue; } @@ -41857,7 +41857,7 @@ export class FSCTL_OFFLOAD_READ_OUTPUTView { } // 0x08: u64 - get TransferLength(): Deno.PointerValue { + get TransferLength(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -41878,7 +41878,7 @@ export class FSCTL_OFFLOAD_READ_OUTPUTView { } // 0x08: u64 - set TransferLength(value: Deno.PointerValue) { + set TransferLength(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -41897,11 +41897,11 @@ export interface FSCTL_OFFLOAD_WRITE_INPUT { /** u32 */ Flags: number; /** u64 */ - FileOffset: Deno.PointerValue; + FileOffset: bigint | number; /** u64 */ - CopyLength: Deno.PointerValue; + CopyLength: bigint | number; /** u64 */ - TransferOffset: Deno.PointerValue; + TransferOffset: bigint | number; /** array */ Token: Deno.PointerValue; } @@ -41947,17 +41947,17 @@ export class FSCTL_OFFLOAD_WRITE_INPUTView { } // 0x08: u64 - get FileOffset(): Deno.PointerValue { + get FileOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CopyLength(): Deno.PointerValue { + get CopyLength(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TransferOffset(): Deno.PointerValue { + get TransferOffset(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -41978,17 +41978,17 @@ export class FSCTL_OFFLOAD_WRITE_INPUTView { } // 0x08: u64 - set FileOffset(value: Deno.PointerValue) { + set FileOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CopyLength(value: Deno.PointerValue) { + set CopyLength(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TransferOffset(value: Deno.PointerValue) { + set TransferOffset(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -42007,7 +42007,7 @@ export interface FSCTL_OFFLOAD_WRITE_OUTPUT { /** u32 */ Flags: number; /** u64 */ - LengthWritten: Deno.PointerValue; + LengthWritten: bigint | number; } export const sizeofFSCTL_OFFLOAD_WRITE_OUTPUT = 16; @@ -42045,7 +42045,7 @@ export class FSCTL_OFFLOAD_WRITE_OUTPUTView { } // 0x08: u64 - get LengthWritten(): Deno.PointerValue { + get LengthWritten(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -42060,7 +42060,7 @@ export class FSCTL_OFFLOAD_WRITE_OUTPUTView { } // 0x08: u64 - set LengthWritten(value: Deno.PointerValue) { + set LengthWritten(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -42312,9 +42312,9 @@ export class REPAIR_COPIES_OUTPUTView { */ export interface FILE_REGION_INFO { /** i64 */ - FileOffset: Deno.PointerValue; + FileOffset: bigint | number; /** i64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** u32 */ Usage: number; /** u32 */ @@ -42348,12 +42348,12 @@ export class FILE_REGION_INFOView { } // 0x00: i64 - get FileOffset(): Deno.PointerValue { + get FileOffset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -42368,12 +42368,12 @@ export class FILE_REGION_INFOView { } // 0x00: i64 - set FileOffset(value: Deno.PointerValue) { + set FileOffset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -42489,9 +42489,9 @@ export class FILE_REGION_OUTPUTView { */ export interface FILE_REGION_INPUT { /** i64 */ - FileOffset: Deno.PointerValue; + FileOffset: bigint | number; /** i64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** u32 */ DesiredUsage: number; } @@ -42522,12 +42522,12 @@ export class FILE_REGION_INPUTView { } // 0x00: i64 - get FileOffset(): Deno.PointerValue { + get FileOffset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -42539,12 +42539,12 @@ export class FILE_REGION_INPUTView { // 0x14: pad4 // 0x00: i64 - set FileOffset(value: Deno.PointerValue) { + set FileOffset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -42620,9 +42620,9 @@ export interface FILE_STORAGE_TIER { /** array */ Description: Deno.PointerValue; /** u64 */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** u64 */ - ProvisionedCapacity: Deno.PointerValue; + ProvisionedCapacity: bigint | number; /** Windows.Win32.System.Ioctl.FILE_STORAGE_TIER_MEDIA_TYPE */ MediaType: FILE_STORAGE_TIER_MEDIA_TYPE; /** Windows.Win32.System.Ioctl.FILE_STORAGE_TIER_CLASS */ @@ -42680,12 +42680,12 @@ export class FILE_STORAGE_TIERView { } // 0x18: u64 - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ProvisionedCapacity(): Deno.PointerValue { + get ProvisionedCapacity(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -42715,12 +42715,12 @@ export class FILE_STORAGE_TIERView { } // 0x18: u64 - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ProvisionedCapacity(value: Deno.PointerValue) { + set ProvisionedCapacity(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -42914,7 +42914,7 @@ export interface _DataStream { /** u32 */ Reserved: number; /** u64 */ - Vdl: Deno.PointerValue; + Vdl: bigint | number; } export const sizeof_DataStream = 16; @@ -42959,7 +42959,7 @@ export class _DataStreamView { } // 0x08: u64 - get Vdl(): Deno.PointerValue { + get Vdl(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -42979,7 +42979,7 @@ export class _DataStreamView { } // 0x08: u64 - set Vdl(value: Deno.PointerValue) { + set Vdl(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -43412,9 +43412,9 @@ export interface FILE_STORAGE_TIER_REGION { /** System.Guid */ TierId: Uint8Array | Deno.PointerValue; /** u64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofFILE_STORAGE_TIER_REGION = 24; @@ -43448,12 +43448,12 @@ export class FILE_STORAGE_TIER_REGIONView { } // 0x08: u64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -43463,12 +43463,12 @@ export class FILE_STORAGE_TIER_REGIONView { } // 0x08: u64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -43486,7 +43486,7 @@ export interface FSCTL_QUERY_REGION_INFO_OUTPUT { /** u32 */ Reserved: number; /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u32 */ TotalNumberOfRegions: number; /** u32 */ @@ -43550,7 +43550,7 @@ export class FSCTL_QUERY_REGION_INFO_OUTPUTView { } // 0x10: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -43591,7 +43591,7 @@ export class FSCTL_QUERY_REGION_INFO_OUTPUTView { } // 0x10: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -43754,7 +43754,7 @@ export class DUPLICATE_EXTENTS_DATAView { */ export interface DUPLICATE_EXTENTS_DATA_EX { /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** Windows.Win32.Foundation.HANDLE */ FileHandle: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LARGE_INTEGER */ @@ -43799,7 +43799,7 @@ export class DUPLICATE_EXTENTS_DATA_EXView { } // 0x00: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -43835,7 +43835,7 @@ export class DUPLICATE_EXTENTS_DATA_EXView { // 0x2c: pad4 // 0x00: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -43876,13 +43876,13 @@ export interface ASYNC_DUPLICATE_EXTENTS_STATUS { /** Windows.Win32.System.Ioctl.DUPLICATE_EXTENTS_STATE */ State: DUPLICATE_EXTENTS_STATE; /** u64 */ - SourceFileOffset: Deno.PointerValue; + SourceFileOffset: bigint | number; /** u64 */ - TargetFileOffset: Deno.PointerValue; + TargetFileOffset: bigint | number; /** u64 */ - ByteCount: Deno.PointerValue; + ByteCount: bigint | number; /** u64 */ - BytesDuplicated: Deno.PointerValue; + BytesDuplicated: bigint | number; } export const sizeofASYNC_DUPLICATE_EXTENTS_STATUS = 40; @@ -43926,22 +43926,22 @@ export class ASYNC_DUPLICATE_EXTENTS_STATUSView { } // 0x08: u64 - get SourceFileOffset(): Deno.PointerValue { + get SourceFileOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get TargetFileOffset(): Deno.PointerValue { + get TargetFileOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ByteCount(): Deno.PointerValue { + get ByteCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get BytesDuplicated(): Deno.PointerValue { + get BytesDuplicated(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -43956,22 +43956,22 @@ export class ASYNC_DUPLICATE_EXTENTS_STATUSView { } // 0x08: u64 - set SourceFileOffset(value: Deno.PointerValue) { + set SourceFileOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set TargetFileOffset(value: Deno.PointerValue) { + set TargetFileOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ByteCount(value: Deno.PointerValue) { + set ByteCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set BytesDuplicated(value: Deno.PointerValue) { + set BytesDuplicated(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -44473,9 +44473,9 @@ export class STREAMS_QUERY_ID_OUTPUT_BUFFERView { */ export interface QUERY_BAD_RANGES_INPUT_RANGE { /** u64 */ - StartOffset: Deno.PointerValue; + StartOffset: bigint | number; /** u64 */ - LengthInBytes: Deno.PointerValue; + LengthInBytes: bigint | number; } export const sizeofQUERY_BAD_RANGES_INPUT_RANGE = 16; @@ -44501,22 +44501,22 @@ export class QUERY_BAD_RANGES_INPUT_RANGEView { } // 0x00: u64 - get StartOffset(): Deno.PointerValue { + get StartOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get LengthInBytes(): Deno.PointerValue { + get LengthInBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set StartOffset(value: Deno.PointerValue) { + set StartOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set LengthInBytes(value: Deno.PointerValue) { + set LengthInBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -44598,9 +44598,9 @@ export interface QUERY_BAD_RANGES_OUTPUT_RANGE { /** u32 */ Reserved: number; /** u64 */ - StartOffset: Deno.PointerValue; + StartOffset: bigint | number; /** u64 */ - LengthInBytes: Deno.PointerValue; + LengthInBytes: bigint | number; } export const sizeofQUERY_BAD_RANGES_OUTPUT_RANGE = 24; @@ -44640,12 +44640,12 @@ export class QUERY_BAD_RANGES_OUTPUT_RANGEView { } // 0x08: u64 - get StartOffset(): Deno.PointerValue { + get StartOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get LengthInBytes(): Deno.PointerValue { + get LengthInBytes(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -44660,12 +44660,12 @@ export class QUERY_BAD_RANGES_OUTPUT_RANGEView { } // 0x08: u64 - set StartOffset(value: Deno.PointerValue) { + set StartOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set LengthInBytes(value: Deno.PointerValue) { + set LengthInBytes(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -44679,7 +44679,7 @@ export interface QUERY_BAD_RANGES_OUTPUT { /** u32 */ NumBadRanges: number; /** u64 */ - NextOffsetToLookUp: Deno.PointerValue; + NextOffsetToLookUp: bigint | number; /** array */ BadRanges: Deno.PointerValue; } @@ -44721,7 +44721,7 @@ export class QUERY_BAD_RANGES_OUTPUTView { } // 0x08: u64 - get NextOffsetToLookUp(): Deno.PointerValue { + get NextOffsetToLookUp(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -44742,7 +44742,7 @@ export class QUERY_BAD_RANGES_OUTPUTView { } // 0x08: u64 - set NextOffsetToLookUp(value: Deno.PointerValue) { + set NextOffsetToLookUp(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -44761,7 +44761,7 @@ export interface SET_DAX_ALLOC_ALIGNMENT_HINT_INPUT { /** u32 */ AlignmentShift: number; /** u64 */ - FileOffsetToAlign: Deno.PointerValue; + FileOffsetToAlign: bigint | number; /** u32 */ FallbackAlignmentShift: number; } @@ -44804,7 +44804,7 @@ export class SET_DAX_ALLOC_ALIGNMENT_HINT_INPUTView { } // 0x08: u64 - get FileOffsetToAlign(): Deno.PointerValue { + get FileOffsetToAlign(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -44826,7 +44826,7 @@ export class SET_DAX_ALLOC_ALIGNMENT_HINT_INPUTView { } // 0x08: u64 - set FileOffsetToAlign(value: Deno.PointerValue) { + set FileOffsetToAlign(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -44906,9 +44906,9 @@ export interface ENCRYPTION_KEY_CTRL_INPUT { /** u32 */ DplLock: number; /** u64 */ - DplUserId: Deno.PointerValue; + DplUserId: bigint | number; /** u64 */ - DplCredentialId: Deno.PointerValue; + DplCredentialId: bigint | number; } export const sizeofENCRYPTION_KEY_CTRL_INPUT = 32; @@ -44969,12 +44969,12 @@ export class ENCRYPTION_KEY_CTRL_INPUTView { } // 0x10: u64 - get DplUserId(): Deno.PointerValue { + get DplUserId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get DplCredentialId(): Deno.PointerValue { + get DplCredentialId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -45004,12 +45004,12 @@ export class ENCRYPTION_KEY_CTRL_INPUTView { } // 0x10: u64 - set DplUserId(value: Deno.PointerValue) { + set DplUserId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set DplCredentialId(value: Deno.PointerValue) { + set DplCredentialId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -46185,9 +46185,9 @@ export interface FS_BPIO_INPUT { /** Windows.Win32.System.Ioctl.FS_BPIO_INFLAGS */ InFlags: FS_BPIO_INFLAGS; /** u64 */ - Reserved1: Deno.PointerValue; + Reserved1: bigint | number; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; } export const sizeofFS_BPIO_INPUT = 24; @@ -46227,12 +46227,12 @@ export class FS_BPIO_INPUTView { } // 0x08: u64 - get Reserved1(): Deno.PointerValue { + get Reserved1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -46247,12 +46247,12 @@ export class FS_BPIO_INPUTView { } // 0x08: u64 - set Reserved1(value: Deno.PointerValue) { + set Reserved1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -46446,9 +46446,9 @@ export interface FS_BPIO_OUTPUT { /** Windows.Win32.System.Ioctl.FS_BPIO_OUTFLAGS */ OutFlags: FS_BPIO_OUTFLAGS; /** u64 */ - Reserved1: Deno.PointerValue; + Reserved1: bigint | number; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -46492,12 +46492,12 @@ export class FS_BPIO_OUTPUTView { } // 0x08: u64 - get Reserved1(): Deno.PointerValue { + get Reserved1(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -46518,12 +46518,12 @@ export class FS_BPIO_OUTPUTView { } // 0x08: u64 - set Reserved1(value: Deno.PointerValue) { + set Reserved1(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -46759,7 +46759,7 @@ export class VOLUME_DISK_EXTENTSView { */ export interface VOLUME_GET_GPT_ATTRIBUTES_INFORMATION { /** u64 */ - GptAttributes: Deno.PointerValue; + GptAttributes: bigint | number; } export const sizeofVOLUME_GET_GPT_ATTRIBUTES_INFORMATION = 8; @@ -46783,12 +46783,12 @@ export class VOLUME_GET_GPT_ATTRIBUTES_INFORMATIONView { } // 0x00: u64 - get GptAttributes(): Deno.PointerValue { + get GptAttributes(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set GptAttributes(value: Deno.PointerValue) { + set GptAttributes(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } diff --git a/api/System/JobObjects.ts b/api/System/JobObjects.ts index 28fe447..c8cd4d6 100644 --- a/api/System/JobObjects.ts +++ b/api/System/JobObjects.ts @@ -141,11 +141,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface JOBOBJECT_IO_RATE_CONTROL_INFORMATION { /** i64 */ - MaxIops: Deno.PointerValue; + MaxIops: bigint | number; /** i64 */ - MaxBandwidth: Deno.PointerValue; + MaxBandwidth: bigint | number; /** i64 */ - ReservationIops: Deno.PointerValue; + ReservationIops: bigint | number; /** Windows.Win32.Foundation.PWSTR */ VolumeName: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -188,17 +188,17 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATIONView { } // 0x00: i64 - get MaxIops(): Deno.PointerValue { + get MaxIops(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get MaxBandwidth(): Deno.PointerValue { + get MaxBandwidth(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get ReservationIops(): Deno.PointerValue { + get ReservationIops(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -219,17 +219,17 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATIONView { } // 0x00: i64 - set MaxIops(value: Deno.PointerValue) { + set MaxIops(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set MaxBandwidth(value: Deno.PointerValue) { + set MaxBandwidth(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set ReservationIops(value: Deno.PointerValue) { + set ReservationIops(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -250,7 +250,7 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATIONView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.JobObjects.JOB_SET_ARRAY (size: 16) @@ -325,9 +325,9 @@ export class JOB_SET_ARRAYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -353,22 +353,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -445,7 +445,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -485,7 +485,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -500,7 +500,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -657,13 +657,13 @@ export interface JOBOBJECT_BASIC_LIMIT_INFORMATION { /** Windows.Win32.System.JobObjects.JOB_OBJECT_LIMIT */ LimitFlags: JOB_OBJECT_LIMIT; /** usize */ - MinimumWorkingSetSize: Deno.PointerValue; + MinimumWorkingSetSize: bigint | number; /** usize */ - MaximumWorkingSetSize: Deno.PointerValue; + MaximumWorkingSetSize: bigint | number; /** u32 */ ActiveProcessLimit: number; /** usize */ - Affinity: Deno.PointerValue; + Affinity: bigint | number; /** u32 */ PriorityClass: number; /** u32 */ @@ -728,12 +728,12 @@ export class JOBOBJECT_BASIC_LIMIT_INFORMATIONView { // 0x14: pad4 // 0x18: usize - get MinimumWorkingSetSize(): Deno.PointerValue { + get MinimumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get MaximumWorkingSetSize(): Deno.PointerValue { + get MaximumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -745,7 +745,7 @@ export class JOBOBJECT_BASIC_LIMIT_INFORMATIONView { // 0x2c: pad4 // 0x30: usize - get Affinity(): Deno.PointerValue { + get Affinity(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -777,12 +777,12 @@ export class JOBOBJECT_BASIC_LIMIT_INFORMATIONView { // 0x14: pad4 // 0x18: usize - set MinimumWorkingSetSize(value: Deno.PointerValue) { + set MinimumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set MaximumWorkingSetSize(value: Deno.PointerValue) { + set MaximumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -794,7 +794,7 @@ export class JOBOBJECT_BASIC_LIMIT_INFORMATIONView { // 0x2c: pad4 // 0x30: usize - set Affinity(value: Deno.PointerValue) { + set Affinity(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -814,17 +814,17 @@ export class JOBOBJECT_BASIC_LIMIT_INFORMATIONView { */ export interface IO_COUNTERS { /** u64 */ - ReadOperationCount: Deno.PointerValue; + ReadOperationCount: bigint | number; /** u64 */ - WriteOperationCount: Deno.PointerValue; + WriteOperationCount: bigint | number; /** u64 */ - OtherOperationCount: Deno.PointerValue; + OtherOperationCount: bigint | number; /** u64 */ - ReadTransferCount: Deno.PointerValue; + ReadTransferCount: bigint | number; /** u64 */ - WriteTransferCount: Deno.PointerValue; + WriteTransferCount: bigint | number; /** u64 */ - OtherTransferCount: Deno.PointerValue; + OtherTransferCount: bigint | number; } export const sizeofIO_COUNTERS = 48; @@ -858,62 +858,62 @@ export class IO_COUNTERSView { } // 0x00: u64 - get ReadOperationCount(): Deno.PointerValue { + get ReadOperationCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get WriteOperationCount(): Deno.PointerValue { + get WriteOperationCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get OtherOperationCount(): Deno.PointerValue { + get OtherOperationCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ReadTransferCount(): Deno.PointerValue { + get ReadTransferCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get WriteTransferCount(): Deno.PointerValue { + get WriteTransferCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get OtherTransferCount(): Deno.PointerValue { + get OtherTransferCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set ReadOperationCount(value: Deno.PointerValue) { + set ReadOperationCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set WriteOperationCount(value: Deno.PointerValue) { + set WriteOperationCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set OtherOperationCount(value: Deno.PointerValue) { + set OtherOperationCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ReadTransferCount(value: Deno.PointerValue) { + set ReadTransferCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set WriteTransferCount(value: Deno.PointerValue) { + set WriteTransferCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set OtherTransferCount(value: Deno.PointerValue) { + set OtherTransferCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -927,13 +927,13 @@ export interface JOBOBJECT_EXTENDED_LIMIT_INFORMATION { /** Windows.Win32.System.Threading.IO_COUNTERS */ IoInfo: Uint8Array | Deno.PointerValue; /** usize */ - ProcessMemoryLimit: Deno.PointerValue; + ProcessMemoryLimit: bigint | number; /** usize */ - JobMemoryLimit: Deno.PointerValue; + JobMemoryLimit: bigint | number; /** usize */ - PeakProcessMemoryUsed: Deno.PointerValue; + PeakProcessMemoryUsed: bigint | number; /** usize */ - PeakJobMemoryUsed: Deno.PointerValue; + PeakJobMemoryUsed: bigint | number; } export const sizeofJOBOBJECT_EXTENDED_LIMIT_INFORMATION = 48; @@ -979,22 +979,22 @@ export class JOBOBJECT_EXTENDED_LIMIT_INFORMATIONView { } // 0x10: usize - get ProcessMemoryLimit(): Deno.PointerValue { + get ProcessMemoryLimit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get JobMemoryLimit(): Deno.PointerValue { + get JobMemoryLimit(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get PeakProcessMemoryUsed(): Deno.PointerValue { + get PeakProcessMemoryUsed(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get PeakJobMemoryUsed(): Deno.PointerValue { + get PeakJobMemoryUsed(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -1009,22 +1009,22 @@ export class JOBOBJECT_EXTENDED_LIMIT_INFORMATIONView { } // 0x10: usize - set ProcessMemoryLimit(value: Deno.PointerValue) { + set ProcessMemoryLimit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set JobMemoryLimit(value: Deno.PointerValue) { + set JobMemoryLimit(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set PeakProcessMemoryUsed(value: Deno.PointerValue) { + set PeakProcessMemoryUsed(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set PeakJobMemoryUsed(value: Deno.PointerValue) { + set PeakJobMemoryUsed(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -1448,13 +1448,13 @@ export class JOBOBJECT_JOBSET_INFORMATIONView { */ export interface JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION { /** u64 */ - IoReadBytesLimit: Deno.PointerValue; + IoReadBytesLimit: bigint | number; /** u64 */ - IoWriteBytesLimit: Deno.PointerValue; + IoWriteBytesLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ PerJobUserTimeLimit: Uint8Array | Deno.PointerValue; /** u64 */ - JobMemoryLimit: Deno.PointerValue; + JobMemoryLimit: bigint | number; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE */ RateControlTolerance: JOBOBJECT_RATE_CONTROL_TOLERANCE; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL */ @@ -1497,12 +1497,12 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATIONView { } // 0x00: u64 - get IoReadBytesLimit(): Deno.PointerValue { + get IoReadBytesLimit(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IoWriteBytesLimit(): Deno.PointerValue { + get IoWriteBytesLimit(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1513,7 +1513,7 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATIONView { } // 0x18: u64 - get JobMemoryLimit(): Deno.PointerValue { + get JobMemoryLimit(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1535,12 +1535,12 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATIONView { // 0x2c: pad4 // 0x00: u64 - set IoReadBytesLimit(value: Deno.PointerValue) { + set IoReadBytesLimit(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IoWriteBytesLimit(value: Deno.PointerValue) { + set IoWriteBytesLimit(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1550,7 +1550,7 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATIONView { } // 0x18: u64 - set JobMemoryLimit(value: Deno.PointerValue) { + set JobMemoryLimit(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -1577,11 +1577,11 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATIONView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -1633,7 +1633,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1644,7 +1644,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1680,7 +1680,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1691,7 +1691,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1728,7 +1728,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -1757,7 +1757,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1769,7 +1769,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1845,9 +1845,9 @@ export class _Anonymous3_e__UnionView { */ export interface JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2 { /** u64 */ - IoReadBytesLimit: Deno.PointerValue; + IoReadBytesLimit: bigint | number; /** u64 */ - IoWriteBytesLimit: Deno.PointerValue; + IoWriteBytesLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ PerJobUserTimeLimit: Uint8Array | Deno.PointerValue; /** _Anonymous1_e__Union */ @@ -1861,7 +1861,7 @@ export interface JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2 { /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE */ IoRateControlTolerance: JOBOBJECT_RATE_CONTROL_TOLERANCE; /** u64 */ - JobLowMemoryLimit: Deno.PointerValue; + JobLowMemoryLimit: bigint | number; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL */ IoRateControlToleranceInterval: JOBOBJECT_RATE_CONTROL_TOLERANCE_INTERVAL; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE */ @@ -1914,12 +1914,12 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2View { } // 0x00: u64 - get IoReadBytesLimit(): Deno.PointerValue { + get IoReadBytesLimit(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get IoWriteBytesLimit(): Deno.PointerValue { + get IoWriteBytesLimit(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1958,7 +1958,7 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2View { } // 0x38: u64 - get JobLowMemoryLimit(): Deno.PointerValue { + get JobLowMemoryLimit(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -1980,12 +1980,12 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2View { // 0x4c: pad4 // 0x00: u64 - set IoReadBytesLimit(value: Deno.PointerValue) { + set IoReadBytesLimit(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set IoWriteBytesLimit(value: Deno.PointerValue) { + set IoWriteBytesLimit(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2020,7 +2020,7 @@ export class JOBOBJECT_NOTIFICATION_LIMIT_INFORMATION_2View { } // 0x38: u64 - set JobLowMemoryLimit(value: Deno.PointerValue) { + set JobLowMemoryLimit(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -2051,21 +2051,21 @@ export interface JOBOBJECT_LIMIT_VIOLATION_INFORMATION { /** Windows.Win32.System.JobObjects.JOB_OBJECT_LIMIT */ ViolationLimitFlags: JOB_OBJECT_LIMIT; /** u64 */ - IoReadBytes: Deno.PointerValue; + IoReadBytes: bigint | number; /** u64 */ - IoReadBytesLimit: Deno.PointerValue; + IoReadBytesLimit: bigint | number; /** u64 */ - IoWriteBytes: Deno.PointerValue; + IoWriteBytes: bigint | number; /** u64 */ - IoWriteBytesLimit: Deno.PointerValue; + IoWriteBytesLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ PerJobUserTime: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LARGE_INTEGER */ PerJobUserTimeLimit: Uint8Array | Deno.PointerValue; /** u64 */ - JobMemory: Deno.PointerValue; + JobMemory: bigint | number; /** u64 */ - JobMemoryLimit: Deno.PointerValue; + JobMemoryLimit: bigint | number; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE */ RateControlTolerance: JOBOBJECT_RATE_CONTROL_TOLERANCE; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE */ @@ -2125,22 +2125,22 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATIONView { } // 0x08: u64 - get IoReadBytes(): Deno.PointerValue { + get IoReadBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get IoReadBytesLimit(): Deno.PointerValue { + get IoReadBytesLimit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get IoWriteBytes(): Deno.PointerValue { + get IoWriteBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get IoWriteBytesLimit(): Deno.PointerValue { + get IoWriteBytesLimit(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -2157,12 +2157,12 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATIONView { } // 0x38: u64 - get JobMemory(): Deno.PointerValue { + get JobMemory(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get JobMemoryLimit(): Deno.PointerValue { + get JobMemoryLimit(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -2187,22 +2187,22 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATIONView { } // 0x08: u64 - set IoReadBytes(value: Deno.PointerValue) { + set IoReadBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set IoReadBytesLimit(value: Deno.PointerValue) { + set IoReadBytesLimit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set IoWriteBytes(value: Deno.PointerValue) { + set IoWriteBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set IoWriteBytesLimit(value: Deno.PointerValue) { + set IoWriteBytesLimit(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -2217,12 +2217,12 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATIONView { } // 0x38: u64 - set JobMemory(value: Deno.PointerValue) { + set JobMemory(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set JobMemoryLimit(value: Deno.PointerValue) { + set JobMemoryLimit(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } @@ -2246,19 +2246,19 @@ export interface JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2 { /** Windows.Win32.System.JobObjects.JOB_OBJECT_LIMIT */ ViolationLimitFlags: JOB_OBJECT_LIMIT; /** u64 */ - IoReadBytes: Deno.PointerValue; + IoReadBytes: bigint | number; /** u64 */ - IoReadBytesLimit: Deno.PointerValue; + IoReadBytesLimit: bigint | number; /** u64 */ - IoWriteBytes: Deno.PointerValue; + IoWriteBytes: bigint | number; /** u64 */ - IoWriteBytesLimit: Deno.PointerValue; + IoWriteBytesLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ PerJobUserTime: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LARGE_INTEGER */ PerJobUserTimeLimit: Uint8Array | Deno.PointerValue; /** u64 */ - JobMemory: Deno.PointerValue; + JobMemory: bigint | number; /** _Anonymous1_e__Union */ Anonymous1: Uint8Array | Deno.PointerValue; /** _Anonymous2_e__Union */ @@ -2266,7 +2266,7 @@ export interface JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2 { /** _Anonymous3_e__Union */ Anonymous3: Uint8Array | Deno.PointerValue; /** u64 */ - JobLowMemoryLimit: Deno.PointerValue; + JobLowMemoryLimit: bigint | number; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE */ IoRateControlTolerance: JOBOBJECT_RATE_CONTROL_TOLERANCE; /** Windows.Win32.System.JobObjects.JOBOBJECT_RATE_CONTROL_TOLERANCE */ @@ -2340,22 +2340,22 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2View { } // 0x08: u64 - get IoReadBytes(): Deno.PointerValue { + get IoReadBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get IoReadBytesLimit(): Deno.PointerValue { + get IoReadBytesLimit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get IoWriteBytes(): Deno.PointerValue { + get IoWriteBytes(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get IoWriteBytesLimit(): Deno.PointerValue { + get IoWriteBytesLimit(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -2372,7 +2372,7 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2View { } // 0x38: u64 - get JobMemory(): Deno.PointerValue { + get JobMemory(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -2395,7 +2395,7 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2View { } // 0x58: u64 - get JobLowMemoryLimit(): Deno.PointerValue { + get JobLowMemoryLimit(): bigint | number { return Number(this.view.getBigUint64(88, true)); } @@ -2430,22 +2430,22 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2View { } // 0x08: u64 - set IoReadBytes(value: Deno.PointerValue) { + set IoReadBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set IoReadBytesLimit(value: Deno.PointerValue) { + set IoReadBytesLimit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set IoWriteBytes(value: Deno.PointerValue) { + set IoWriteBytes(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set IoWriteBytesLimit(value: Deno.PointerValue) { + set IoWriteBytesLimit(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -2460,7 +2460,7 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2View { } // 0x38: u64 - set JobMemory(value: Deno.PointerValue) { + set JobMemory(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -2480,7 +2480,7 @@ export class JOBOBJECT_LIMIT_VIOLATION_INFORMATION_2View { } // 0x58: u64 - set JobLowMemoryLimit(value: Deno.PointerValue) { + set JobLowMemoryLimit(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } @@ -2624,7 +2624,7 @@ export class JOBOBJECT_CPU_RATE_CONTROL_INFORMATIONView { */ export interface JOBOBJECT_NET_RATE_CONTROL_INFORMATION { /** u64 */ - MaxBandwidth: Deno.PointerValue; + MaxBandwidth: bigint | number; /** Windows.Win32.System.JobObjects.JOB_OBJECT_NET_RATE_CONTROL_FLAGS */ ControlFlags: JOB_OBJECT_NET_RATE_CONTROL_FLAGS; /** u8 */ @@ -2657,7 +2657,7 @@ export class JOBOBJECT_NET_RATE_CONTROL_INFORMATIONView { } // 0x00: u64 - get MaxBandwidth(): Deno.PointerValue { + get MaxBandwidth(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2674,7 +2674,7 @@ export class JOBOBJECT_NET_RATE_CONTROL_INFORMATIONView { // 0x0d: pad3 // 0x00: u64 - set MaxBandwidth(value: Deno.PointerValue) { + set MaxBandwidth(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2696,11 +2696,11 @@ export class JOBOBJECT_NET_RATE_CONTROL_INFORMATIONView { */ export interface JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { /** i64 */ - MaxIops: Deno.PointerValue; + MaxIops: bigint | number; /** i64 */ - MaxBandwidth: Deno.PointerValue; + MaxBandwidth: bigint | number; /** i64 */ - ReservationIops: Deno.PointerValue; + ReservationIops: bigint | number; /** Windows.Win32.Foundation.PWSTR */ VolumeName: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -2710,17 +2710,17 @@ export interface JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 { /** u16 */ VolumeNameLength: number; /** i64 */ - CriticalReservationIops: Deno.PointerValue; + CriticalReservationIops: bigint | number; /** i64 */ - ReservationBandwidth: Deno.PointerValue; + ReservationBandwidth: bigint | number; /** i64 */ - CriticalReservationBandwidth: Deno.PointerValue; + CriticalReservationBandwidth: bigint | number; /** i64 */ - MaxTimePercent: Deno.PointerValue; + MaxTimePercent: bigint | number; /** i64 */ - ReservationTimePercent: Deno.PointerValue; + ReservationTimePercent: bigint | number; /** i64 */ - CriticalReservationTimePercent: Deno.PointerValue; + CriticalReservationTimePercent: bigint | number; } export const sizeofJOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2 = 96; @@ -2772,17 +2772,17 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2View { } // 0x00: i64 - get MaxIops(): Deno.PointerValue { + get MaxIops(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get MaxBandwidth(): Deno.PointerValue { + get MaxBandwidth(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get ReservationIops(): Deno.PointerValue { + get ReservationIops(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -2810,47 +2810,47 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2View { // 0x2a: pad6 // 0x30: i64 - get CriticalReservationIops(): Deno.PointerValue { + get CriticalReservationIops(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: i64 - get ReservationBandwidth(): Deno.PointerValue { + get ReservationBandwidth(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: i64 - get CriticalReservationBandwidth(): Deno.PointerValue { + get CriticalReservationBandwidth(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: i64 - get MaxTimePercent(): Deno.PointerValue { + get MaxTimePercent(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: i64 - get ReservationTimePercent(): Deno.PointerValue { + get ReservationTimePercent(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: i64 - get CriticalReservationTimePercent(): Deno.PointerValue { + get CriticalReservationTimePercent(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x00: i64 - set MaxIops(value: Deno.PointerValue) { + set MaxIops(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set MaxBandwidth(value: Deno.PointerValue) { + set MaxBandwidth(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set ReservationIops(value: Deno.PointerValue) { + set ReservationIops(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -2878,32 +2878,32 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2View { // 0x2a: pad6 // 0x30: i64 - set CriticalReservationIops(value: Deno.PointerValue) { + set CriticalReservationIops(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: i64 - set ReservationBandwidth(value: Deno.PointerValue) { + set ReservationBandwidth(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: i64 - set CriticalReservationBandwidth(value: Deno.PointerValue) { + set CriticalReservationBandwidth(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: i64 - set MaxTimePercent(value: Deno.PointerValue) { + set MaxTimePercent(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: i64 - set ReservationTimePercent(value: Deno.PointerValue) { + set ReservationTimePercent(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: i64 - set CriticalReservationTimePercent(value: Deno.PointerValue) { + set CriticalReservationTimePercent(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } } @@ -2913,11 +2913,11 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V2View { */ export interface JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { /** i64 */ - MaxIops: Deno.PointerValue; + MaxIops: bigint | number; /** i64 */ - MaxBandwidth: Deno.PointerValue; + MaxBandwidth: bigint | number; /** i64 */ - ReservationIops: Deno.PointerValue; + ReservationIops: bigint | number; /** Windows.Win32.Foundation.PWSTR */ VolumeName: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -2927,29 +2927,29 @@ export interface JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 { /** u16 */ VolumeNameLength: number; /** i64 */ - CriticalReservationIops: Deno.PointerValue; + CriticalReservationIops: bigint | number; /** i64 */ - ReservationBandwidth: Deno.PointerValue; + ReservationBandwidth: bigint | number; /** i64 */ - CriticalReservationBandwidth: Deno.PointerValue; + CriticalReservationBandwidth: bigint | number; /** i64 */ - MaxTimePercent: Deno.PointerValue; + MaxTimePercent: bigint | number; /** i64 */ - ReservationTimePercent: Deno.PointerValue; + ReservationTimePercent: bigint | number; /** i64 */ - CriticalReservationTimePercent: Deno.PointerValue; + CriticalReservationTimePercent: bigint | number; /** i64 */ - SoftMaxIops: Deno.PointerValue; + SoftMaxIops: bigint | number; /** i64 */ - SoftMaxBandwidth: Deno.PointerValue; + SoftMaxBandwidth: bigint | number; /** i64 */ - SoftMaxTimePercent: Deno.PointerValue; + SoftMaxTimePercent: bigint | number; /** i64 */ - LimitExcessNotifyIops: Deno.PointerValue; + LimitExcessNotifyIops: bigint | number; /** i64 */ - LimitExcessNotifyBandwidth: Deno.PointerValue; + LimitExcessNotifyBandwidth: bigint | number; /** i64 */ - LimitExcessNotifyTimePercent: Deno.PointerValue; + LimitExcessNotifyTimePercent: bigint | number; } export const sizeofJOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3 = 144; @@ -3013,17 +3013,17 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3View { } // 0x00: i64 - get MaxIops(): Deno.PointerValue { + get MaxIops(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get MaxBandwidth(): Deno.PointerValue { + get MaxBandwidth(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get ReservationIops(): Deno.PointerValue { + get ReservationIops(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -3051,77 +3051,77 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3View { // 0x2a: pad6 // 0x30: i64 - get CriticalReservationIops(): Deno.PointerValue { + get CriticalReservationIops(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: i64 - get ReservationBandwidth(): Deno.PointerValue { + get ReservationBandwidth(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: i64 - get CriticalReservationBandwidth(): Deno.PointerValue { + get CriticalReservationBandwidth(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: i64 - get MaxTimePercent(): Deno.PointerValue { + get MaxTimePercent(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: i64 - get ReservationTimePercent(): Deno.PointerValue { + get ReservationTimePercent(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: i64 - get CriticalReservationTimePercent(): Deno.PointerValue { + get CriticalReservationTimePercent(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: i64 - get SoftMaxIops(): Deno.PointerValue { + get SoftMaxIops(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: i64 - get SoftMaxBandwidth(): Deno.PointerValue { + get SoftMaxBandwidth(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: i64 - get SoftMaxTimePercent(): Deno.PointerValue { + get SoftMaxTimePercent(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x78: i64 - get LimitExcessNotifyIops(): Deno.PointerValue { + get LimitExcessNotifyIops(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: i64 - get LimitExcessNotifyBandwidth(): Deno.PointerValue { + get LimitExcessNotifyBandwidth(): bigint | number { return Number(this.view.getBigInt64(128, true)); } // 0x88: i64 - get LimitExcessNotifyTimePercent(): Deno.PointerValue { + get LimitExcessNotifyTimePercent(): bigint | number { return Number(this.view.getBigInt64(136, true)); } // 0x00: i64 - set MaxIops(value: Deno.PointerValue) { + set MaxIops(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set MaxBandwidth(value: Deno.PointerValue) { + set MaxBandwidth(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set ReservationIops(value: Deno.PointerValue) { + set ReservationIops(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -3149,62 +3149,62 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3View { // 0x2a: pad6 // 0x30: i64 - set CriticalReservationIops(value: Deno.PointerValue) { + set CriticalReservationIops(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: i64 - set ReservationBandwidth(value: Deno.PointerValue) { + set ReservationBandwidth(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: i64 - set CriticalReservationBandwidth(value: Deno.PointerValue) { + set CriticalReservationBandwidth(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: i64 - set MaxTimePercent(value: Deno.PointerValue) { + set MaxTimePercent(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: i64 - set ReservationTimePercent(value: Deno.PointerValue) { + set ReservationTimePercent(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: i64 - set CriticalReservationTimePercent(value: Deno.PointerValue) { + set CriticalReservationTimePercent(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: i64 - set SoftMaxIops(value: Deno.PointerValue) { + set SoftMaxIops(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: i64 - set SoftMaxBandwidth(value: Deno.PointerValue) { + set SoftMaxBandwidth(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: i64 - set SoftMaxTimePercent(value: Deno.PointerValue) { + set SoftMaxTimePercent(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } // 0x78: i64 - set LimitExcessNotifyIops(value: Deno.PointerValue) { + set LimitExcessNotifyIops(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: i64 - set LimitExcessNotifyBandwidth(value: Deno.PointerValue) { + set LimitExcessNotifyBandwidth(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } // 0x88: i64 - set LimitExcessNotifyTimePercent(value: Deno.PointerValue) { + set LimitExcessNotifyTimePercent(value: bigint | number) { this.view.setBigInt64(136, BigInt(value), true); } } @@ -3214,13 +3214,13 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V3View { */ export interface JOBOBJECT_IO_ATTRIBUTION_STATS { /** usize */ - IoCount: Deno.PointerValue; + IoCount: bigint | number; /** u64 */ - TotalNonOverlappedQueueTime: Deno.PointerValue; + TotalNonOverlappedQueueTime: bigint | number; /** u64 */ - TotalNonOverlappedServiceTime: Deno.PointerValue; + TotalNonOverlappedServiceTime: bigint | number; /** u64 */ - TotalSize: Deno.PointerValue; + TotalSize: bigint | number; } export const sizeofJOBOBJECT_IO_ATTRIBUTION_STATS = 32; @@ -3250,42 +3250,42 @@ export class JOBOBJECT_IO_ATTRIBUTION_STATSView { } // 0x00: usize - get IoCount(): Deno.PointerValue { + get IoCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TotalNonOverlappedQueueTime(): Deno.PointerValue { + get TotalNonOverlappedQueueTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get TotalNonOverlappedServiceTime(): Deno.PointerValue { + get TotalNonOverlappedServiceTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TotalSize(): Deno.PointerValue { + get TotalSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: usize - set IoCount(value: Deno.PointerValue) { + set IoCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TotalNonOverlappedQueueTime(value: Deno.PointerValue) { + set TotalNonOverlappedQueueTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set TotalNonOverlappedServiceTime(value: Deno.PointerValue) { + set TotalNonOverlappedServiceTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TotalSize(value: Deno.PointerValue) { + set TotalSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } diff --git a/api/System/Js.ts b/api/System/Js.ts index 3a25371..095e180 100644 --- a/api/System/Js.ts +++ b/api/System/Js.ts @@ -474,7 +474,7 @@ export function JsGetRuntimeMemoryLimit( export function JsSetRuntimeMemoryLimit( runtime: Deno.PointerValue | Uint8Array /* ptr */, - memoryLimit: Deno.PointerValue /* usize */, + memoryLimit: bigint | number /* usize */, ): JsErrorCode /* Windows.Win32.System.Js.JsErrorCode */ { return libchakra_dll.JsSetRuntimeMemoryLimit(util.toPointer(runtime), memoryLimit); } @@ -536,7 +536,7 @@ export function JsIdle( export function JsParseScript( script: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - sourceContext: Deno.PointerValue /* usize */, + sourceContext: bigint | number /* usize */, sourceUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, result: Deno.PointerValue | Uint8Array /* ptr */, ): JsErrorCode /* Windows.Win32.System.Js.JsErrorCode */ { @@ -545,7 +545,7 @@ export function JsParseScript( export function JsRunScript( script: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - sourceContext: Deno.PointerValue /* usize */, + sourceContext: bigint | number /* usize */, sourceUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, result: Deno.PointerValue | Uint8Array /* ptr */, ): JsErrorCode /* Windows.Win32.System.Js.JsErrorCode */ { @@ -563,7 +563,7 @@ export function JsSerializeScript( export function JsParseSerializedScript( script: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, buffer: Deno.PointerValue | Uint8Array /* ptr */, - sourceContext: Deno.PointerValue /* usize */, + sourceContext: bigint | number /* usize */, sourceUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, result: Deno.PointerValue | Uint8Array /* ptr */, ): JsErrorCode /* Windows.Win32.System.Js.JsErrorCode */ { @@ -573,7 +573,7 @@ export function JsParseSerializedScript( export function JsRunSerializedScript( script: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, buffer: Deno.PointerValue | Uint8Array /* ptr */, - sourceContext: Deno.PointerValue /* usize */, + sourceContext: bigint | number /* usize */, sourceUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, result: Deno.PointerValue | Uint8Array /* ptr */, ): JsErrorCode /* Windows.Win32.System.Js.JsErrorCode */ { @@ -683,7 +683,7 @@ export function JsGetStringLength( export function JsPointerToString( stringValue: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - stringLength: Deno.PointerValue /* usize */, + stringLength: bigint | number /* usize */, value: Deno.PointerValue | Uint8Array /* ptr */, ): JsErrorCode /* Windows.Win32.System.Js.JsErrorCode */ { return libchakra_dll.JsPointerToString(util.pwstrToFfi(stringValue), stringLength, util.toPointer(value)); diff --git a/api/System/Kernel.ts b/api/System/Kernel.ts index acc27a8..51d602f 100644 --- a/api/System/Kernel.ts +++ b/api/System/Kernel.ts @@ -114,9 +114,9 @@ export class SLIST_ENTRYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -142,22 +142,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -167,9 +167,9 @@ export class _Anonymous_e__StructView { */ export interface _HeaderArm64_e__Struct { /** u64 */ - _bitfield1: Deno.PointerValue; + _bitfield1: bigint | number; /** u64 */ - _bitfield2: Deno.PointerValue; + _bitfield2: bigint | number; } export const sizeof_HeaderArm64_e__Struct = 16; @@ -195,22 +195,22 @@ export class _HeaderArm64_e__StructView { } // 0x00: u64 - get _bitfield1(): Deno.PointerValue { + get _bitfield1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get _bitfield2(): Deno.PointerValue { + get _bitfield2(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set _bitfield1(value: Deno.PointerValue) { + set _bitfield1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set _bitfield2(value: Deno.PointerValue) { + set _bitfield2(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -695,11 +695,11 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -751,7 +751,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -762,7 +762,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -798,7 +798,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -809,7 +809,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -846,7 +846,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -875,7 +875,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -887,7 +887,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1012,9 +1012,9 @@ export class LIST_ENTRY32View { */ export interface LIST_ENTRY64 { /** u64 */ - Flink: Deno.PointerValue; + Flink: bigint | number; /** u64 */ - Blink: Deno.PointerValue; + Blink: bigint | number; } export const sizeofLIST_ENTRY64 = 16; @@ -1040,22 +1040,22 @@ export class LIST_ENTRY64View { } // 0x00: u64 - get Flink(): Deno.PointerValue { + get Flink(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Blink(): Deno.PointerValue { + get Blink(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Flink(value: Deno.PointerValue) { + set Flink(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Blink(value: Deno.PointerValue) { + set Blink(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1220,7 +1220,7 @@ export interface STRING64 { /** u16 */ MaximumLength: number; /** u64 */ - Buffer: Deno.PointerValue; + Buffer: bigint | number; } export const sizeofSTRING64 = 16; @@ -1261,7 +1261,7 @@ export class STRING64View { // 0x04: pad4 // 0x08: u64 - get Buffer(): Deno.PointerValue { + get Buffer(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1278,7 +1278,7 @@ export class STRING64View { // 0x04: pad4 // 0x08: u64 - set Buffer(value: Deno.PointerValue) { + set Buffer(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1290,15 +1290,15 @@ export interface OBJECT_ATTRIBUTES64 { /** u32 */ Length: number; /** u64 */ - RootDirectory: Deno.PointerValue; + RootDirectory: bigint | number; /** u64 */ - ObjectName: Deno.PointerValue; + ObjectName: bigint | number; /** u32 */ Attributes: number; /** u64 */ - SecurityDescriptor: Deno.PointerValue; + SecurityDescriptor: bigint | number; /** u64 */ - SecurityQualityOfService: Deno.PointerValue; + SecurityQualityOfService: bigint | number; } export const sizeofOBJECT_ATTRIBUTES64 = 48; @@ -1341,12 +1341,12 @@ export class OBJECT_ATTRIBUTES64View { // 0x04: pad4 // 0x08: u64 - get RootDirectory(): Deno.PointerValue { + get RootDirectory(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ObjectName(): Deno.PointerValue { + get ObjectName(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1358,12 +1358,12 @@ export class OBJECT_ATTRIBUTES64View { // 0x1c: pad4 // 0x20: u64 - get SecurityDescriptor(): Deno.PointerValue { + get SecurityDescriptor(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get SecurityQualityOfService(): Deno.PointerValue { + get SecurityQualityOfService(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -1375,12 +1375,12 @@ export class OBJECT_ATTRIBUTES64View { // 0x04: pad4 // 0x08: u64 - set RootDirectory(value: Deno.PointerValue) { + set RootDirectory(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ObjectName(value: Deno.PointerValue) { + set ObjectName(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1392,12 +1392,12 @@ export class OBJECT_ATTRIBUTES64View { // 0x1c: pad4 // 0x20: u64 - set SecurityDescriptor(value: Deno.PointerValue) { + set SecurityDescriptor(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set SecurityQualityOfService(value: Deno.PointerValue) { + set SecurityQualityOfService(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } diff --git a/api/System/LibraryLoader.ts b/api/System/LibraryLoader.ts index 51f5e40..4c60024 100644 --- a/api/System/LibraryLoader.ts +++ b/api/System/LibraryLoader.ts @@ -253,15 +253,15 @@ export class REDIRECTION_DESCRIPTORView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type BOOL = number; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HRSRC = Deno.PointerValue; +export type HRSRC = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -497,7 +497,7 @@ export function FreeLibraryAndExitThread( } export function FreeResource( - hResData: Deno.PointerValue /* isize */, + hResData: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.FreeResource(hResData)); } @@ -572,12 +572,12 @@ export function LoadLibraryExW( export function LoadResource( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, hResInfo: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HRSRC */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libKERNEL32_dll.LoadResource(util.toPointer(hModule), util.toPointer(hResInfo)); } export function LockResource( - hResData: Deno.PointerValue /* isize */, + hResData: bigint | number /* isize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.LockResource(hResData); } @@ -612,7 +612,7 @@ export function EnumResourceLanguagesExA( lpType: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESLANGPROCA */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, dwFlags: number /* u32 */, LangId: number /* u16 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -624,7 +624,7 @@ export function EnumResourceLanguagesExW( lpType: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESLANGPROCW */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, dwFlags: number /* u32 */, LangId: number /* u16 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -635,7 +635,7 @@ export function EnumResourceNamesExA( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpType: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESNAMEPROCA */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, dwFlags: number /* u32 */, LangId: number /* u16 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -646,7 +646,7 @@ export function EnumResourceNamesExW( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpType: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESNAMEPROCW */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, dwFlags: number /* u32 */, LangId: number /* u16 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -656,7 +656,7 @@ export function EnumResourceNamesExW( export function EnumResourceTypesExA( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESTYPEPROCA */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, dwFlags: number /* u32 */, LangId: number /* u16 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -666,7 +666,7 @@ export function EnumResourceTypesExA( export function EnumResourceTypesExW( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESTYPEPROCW */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, dwFlags: number /* u32 */, LangId: number /* u16 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -697,7 +697,7 @@ export function EnumResourceNamesW( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpType: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESNAMEPROCW */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumResourceNamesW(util.toPointer(hModule), util.pwstrToFfi(lpType), util.toPointer(lpEnumFunc), lParam)); } @@ -706,7 +706,7 @@ export function EnumResourceNamesA( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpType: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESNAMEPROCA */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumResourceNamesA(util.toPointer(hModule), util.pstrToFfi(lpType), util.toPointer(lpEnumFunc), lParam)); } @@ -745,7 +745,7 @@ export function FindResourceExA( export function EnumResourceTypesA( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESTYPEPROCA */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumResourceTypesA(util.toPointer(hModule), util.toPointer(lpEnumFunc), lParam)); } @@ -753,7 +753,7 @@ export function EnumResourceTypesA( export function EnumResourceTypesW( hModule: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESTYPEPROCW */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumResourceTypesW(util.toPointer(hModule), util.toPointer(lpEnumFunc), lParam)); } @@ -763,7 +763,7 @@ export function EnumResourceLanguagesA( lpType: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESLANGPROCA */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumResourceLanguagesA(util.toPointer(hModule), util.pstrToFfi(lpType), util.pstrToFfi(lpName), util.toPointer(lpEnumFunc), lParam)); } @@ -773,7 +773,7 @@ export function EnumResourceLanguagesW( lpType: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpEnumFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.System.LibraryLoader.ENUMRESLANGPROCW */, - lParam: Deno.PointerValue /* isize */, + lParam: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnumResourceLanguagesW(util.toPointer(hModule), util.pwstrToFfi(lpType), util.pwstrToFfi(lpName), util.toPointer(lpEnumFunc), lParam)); } diff --git a/api/System/Mailslots.ts b/api/System/Mailslots.ts index 037ed56..16e685d 100644 --- a/api/System/Mailslots.ts +++ b/api/System/Mailslots.ts @@ -6,7 +6,7 @@ import * as util from "../../util.ts"; export type PSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; diff --git a/api/System/Memory.ts b/api/System/Memory.ts index 62e02b6..5e7a9b8 100644 --- a/api/System/Memory.ts +++ b/api/System/Memory.ts @@ -141,16 +141,16 @@ export const HeapTag = 7; // Structs -export type HeapHandle = Deno.PointerValue; +export type HeapHandle = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -176,22 +176,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -369,13 +369,13 @@ export interface HEAP_SUMMARY { /** u32 */ cb: number; /** usize */ - cbAllocated: Deno.PointerValue; + cbAllocated: bigint | number; /** usize */ - cbCommitted: Deno.PointerValue; + cbCommitted: bigint | number; /** usize */ - cbReserved: Deno.PointerValue; + cbReserved: bigint | number; /** usize */ - cbMaxReserve: Deno.PointerValue; + cbMaxReserve: bigint | number; } export const sizeofHEAP_SUMMARY = 40; @@ -415,22 +415,22 @@ export class HEAP_SUMMARYView { // 0x04: pad4 // 0x08: usize - get cbAllocated(): Deno.PointerValue { + get cbAllocated(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get cbCommitted(): Deno.PointerValue { + get cbCommitted(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get cbReserved(): Deno.PointerValue { + get cbReserved(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get cbMaxReserve(): Deno.PointerValue { + get cbMaxReserve(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -442,22 +442,22 @@ export class HEAP_SUMMARYView { // 0x04: pad4 // 0x08: usize - set cbAllocated(value: Deno.PointerValue) { + set cbAllocated(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set cbCommitted(value: Deno.PointerValue) { + set cbCommitted(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set cbReserved(value: Deno.PointerValue) { + set cbReserved(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set cbMaxReserve(value: Deno.PointerValue) { + set cbMaxReserve(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -469,7 +469,7 @@ export interface WIN32_MEMORY_RANGE_ENTRY { /** ptr */ VirtualAddress: Deno.PointerValue | Uint8Array; /** usize */ - NumberOfBytes: Deno.PointerValue; + NumberOfBytes: bigint | number; } export const sizeofWIN32_MEMORY_RANGE_ENTRY = 16; @@ -501,7 +501,7 @@ export class WIN32_MEMORY_RANGE_ENTRYView { } // 0x08: usize - get NumberOfBytes(): Deno.PointerValue { + get NumberOfBytes(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -511,7 +511,7 @@ export class WIN32_MEMORY_RANGE_ENTRYView { } // 0x08: usize - set NumberOfBytes(value: Deno.PointerValue) { + set NumberOfBytes(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -527,9 +527,9 @@ export interface WIN32_MEMORY_REGION_INFORMATION { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** usize */ - RegionSize: Deno.PointerValue; + RegionSize: bigint | number; /** usize */ - CommitSize: Deno.PointerValue; + CommitSize: bigint | number; } export const sizeofWIN32_MEMORY_REGION_INFORMATION = 40; @@ -581,12 +581,12 @@ export class WIN32_MEMORY_REGION_INFORMATIONView { } // 0x18: usize - get RegionSize(): Deno.PointerValue { + get RegionSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get CommitSize(): Deno.PointerValue { + get CommitSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -608,12 +608,12 @@ export class WIN32_MEMORY_REGION_INFORMATIONView { } // 0x18: usize - set RegionSize(value: Deno.PointerValue) { + set RegionSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set CommitSize(value: Deno.PointerValue) { + set CommitSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -631,29 +631,29 @@ export interface WIN32_MEMORY_PARTITION_INFORMATION { /** u32 */ NumberOfNumaNodes: number; /** u64 */ - ResidentAvailablePages: Deno.PointerValue; + ResidentAvailablePages: bigint | number; /** u64 */ - CommittedPages: Deno.PointerValue; + CommittedPages: bigint | number; /** u64 */ - CommitLimit: Deno.PointerValue; + CommitLimit: bigint | number; /** u64 */ - PeakCommitment: Deno.PointerValue; + PeakCommitment: bigint | number; /** u64 */ - TotalNumberOfPages: Deno.PointerValue; + TotalNumberOfPages: bigint | number; /** u64 */ - AvailablePages: Deno.PointerValue; + AvailablePages: bigint | number; /** u64 */ - ZeroPages: Deno.PointerValue; + ZeroPages: bigint | number; /** u64 */ - FreePages: Deno.PointerValue; + FreePages: bigint | number; /** u64 */ - StandbyPages: Deno.PointerValue; + StandbyPages: bigint | number; /** array */ Reserved: Deno.PointerValue; /** u64 */ - MaximumCommitLimit: Deno.PointerValue; + MaximumCommitLimit: bigint | number; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** u32 */ PartitionId: number; } @@ -732,47 +732,47 @@ export class WIN32_MEMORY_PARTITION_INFORMATIONView { } // 0x10: u64 - get ResidentAvailablePages(): Deno.PointerValue { + get ResidentAvailablePages(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get CommittedPages(): Deno.PointerValue { + get CommittedPages(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get CommitLimit(): Deno.PointerValue { + get CommitLimit(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get PeakCommitment(): Deno.PointerValue { + get PeakCommitment(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get TotalNumberOfPages(): Deno.PointerValue { + get TotalNumberOfPages(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get AvailablePages(): Deno.PointerValue { + get AvailablePages(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: u64 - get ZeroPages(): Deno.PointerValue { + get ZeroPages(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: u64 - get FreePages(): Deno.PointerValue { + get FreePages(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get StandbyPages(): Deno.PointerValue { + get StandbyPages(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -783,12 +783,12 @@ export class WIN32_MEMORY_PARTITION_INFORMATIONView { } // 0x60: u64 - get MaximumCommitLimit(): Deno.PointerValue { + get MaximumCommitLimit(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -820,47 +820,47 @@ export class WIN32_MEMORY_PARTITION_INFORMATIONView { } // 0x10: u64 - set ResidentAvailablePages(value: Deno.PointerValue) { + set ResidentAvailablePages(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set CommittedPages(value: Deno.PointerValue) { + set CommittedPages(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set CommitLimit(value: Deno.PointerValue) { + set CommitLimit(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set PeakCommitment(value: Deno.PointerValue) { + set PeakCommitment(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set TotalNumberOfPages(value: Deno.PointerValue) { + set TotalNumberOfPages(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set AvailablePages(value: Deno.PointerValue) { + set AvailablePages(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: u64 - set ZeroPages(value: Deno.PointerValue) { + set ZeroPages(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: u64 - set FreePages(value: Deno.PointerValue) { + set FreePages(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set StandbyPages(value: Deno.PointerValue) { + set StandbyPages(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -870,12 +870,12 @@ export class WIN32_MEMORY_PARTITION_INFORMATIONView { } // 0x60: u64 - set MaximumCommitLimit(value: Deno.PointerValue) { + set MaximumCommitLimit(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -900,7 +900,7 @@ export interface MEMORY_BASIC_INFORMATION { /** u16 */ PartitionId: number; /** usize */ - RegionSize: Deno.PointerValue; + RegionSize: bigint | number; /** Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */ State: VIRTUAL_ALLOCATION_TYPE; /** Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */ @@ -970,7 +970,7 @@ export class MEMORY_BASIC_INFORMATIONView { // 0x16: pad2 // 0x18: usize - get RegionSize(): Deno.PointerValue { + get RegionSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1014,7 +1014,7 @@ export class MEMORY_BASIC_INFORMATIONView { // 0x16: pad2 // 0x18: usize - set RegionSize(value: Deno.PointerValue) { + set RegionSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -1169,15 +1169,15 @@ export class MEMORY_BASIC_INFORMATION32View { */ export interface MEMORY_BASIC_INFORMATION64 { /** u64 */ - BaseAddress: Deno.PointerValue; + BaseAddress: bigint | number; /** u64 */ - AllocationBase: Deno.PointerValue; + AllocationBase: bigint | number; /** Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */ AllocationProtect: PAGE_PROTECTION_FLAGS; /** u32 */ __alignment1: number; /** u64 */ - RegionSize: Deno.PointerValue; + RegionSize: bigint | number; /** Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */ State: VIRTUAL_ALLOCATION_TYPE; /** Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */ @@ -1225,12 +1225,12 @@ export class MEMORY_BASIC_INFORMATION64View { } // 0x00: u64 - get BaseAddress(): Deno.PointerValue { + get BaseAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get AllocationBase(): Deno.PointerValue { + get AllocationBase(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1245,7 +1245,7 @@ export class MEMORY_BASIC_INFORMATION64View { } // 0x18: u64 - get RegionSize(): Deno.PointerValue { + get RegionSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1270,12 +1270,12 @@ export class MEMORY_BASIC_INFORMATION64View { } // 0x00: u64 - set BaseAddress(value: Deno.PointerValue) { + set BaseAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set AllocationBase(value: Deno.PointerValue) { + set AllocationBase(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1290,7 +1290,7 @@ export class MEMORY_BASIC_INFORMATION64View { } // 0x18: u64 - set RegionSize(value: Deno.PointerValue) { + set RegionSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -1320,9 +1320,9 @@ export class MEMORY_BASIC_INFORMATION64View { */ export interface CFG_CALL_TARGET_INFO { /** usize */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** usize */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofCFG_CALL_TARGET_INFO = 16; @@ -1348,22 +1348,22 @@ export class CFG_CALL_TARGET_INFOView { } // 0x00: usize - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1377,7 +1377,7 @@ export interface MEM_ADDRESS_REQUIREMENTS { /** ptr */ HighestEndingAddress: Deno.PointerValue | Uint8Array; /** usize */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; } export const sizeofMEM_ADDRESS_REQUIREMENTS = 24; @@ -1417,7 +1417,7 @@ export class MEM_ADDRESS_REQUIREMENTSView { } // 0x10: usize - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1432,7 +1432,7 @@ export class MEM_ADDRESS_REQUIREMENTSView { } // 0x10: usize - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -1551,7 +1551,7 @@ export class _Anonymous1_e__StructView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -1580,7 +1580,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1592,7 +1592,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1666,7 +1666,7 @@ export interface NV_MEMORY_RANGE { /** ptr */ BaseAddress: Deno.PointerValue | Uint8Array; /** usize */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofNV_MEMORY_RANGE = 16; @@ -1698,7 +1698,7 @@ export class NV_MEMORY_RANGEView { } // 0x08: usize - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1708,14 +1708,14 @@ export class NV_MEMORY_RANGEView { } // 0x08: usize - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -2193,8 +2193,8 @@ try { export function HeapCreate( flOptions: HEAP_FLAGS /* Windows.Win32.System.Memory.HEAP_FLAGS */, - dwInitialSize: Deno.PointerValue /* usize */, - dwMaximumSize: Deno.PointerValue /* usize */, + dwInitialSize: bigint | number /* usize */, + dwMaximumSize: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.System.Memory.HeapHandle */ { return libKERNEL32_dll.HeapCreate(flOptions, dwInitialSize, dwMaximumSize); } @@ -2208,7 +2208,7 @@ export function HeapDestroy( export function HeapAlloc( hHeap: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Memory.HeapHandle */, dwFlags: HEAP_FLAGS /* Windows.Win32.System.Memory.HEAP_FLAGS */, - dwBytes: Deno.PointerValue /* usize */, + dwBytes: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.HeapAlloc(util.toPointer(hHeap), dwFlags, dwBytes); } @@ -2217,7 +2217,7 @@ export function HeapReAlloc( hHeap: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Memory.HeapHandle */, dwFlags: HEAP_FLAGS /* Windows.Win32.System.Memory.HEAP_FLAGS */, lpMem: Deno.PointerValue | Uint8Array /* ptr */, - dwBytes: Deno.PointerValue /* usize */, + dwBytes: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.HeapReAlloc(util.toPointer(hHeap), dwFlags, util.toPointer(lpMem), dwBytes); } @@ -2234,7 +2234,7 @@ export function HeapSize( hHeap: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Memory.HeapHandle */, dwFlags: HEAP_FLAGS /* Windows.Win32.System.Memory.HEAP_FLAGS */, lpMem: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libKERNEL32_dll.HeapSize(util.toPointer(hHeap), dwFlags, util.toPointer(lpMem)); } @@ -2245,7 +2245,7 @@ export function GetProcessHeap(): Deno.PointerValue /* Windows.Win32.System.Memo export function HeapCompact( hHeap: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Memory.HeapHandle */, dwFlags: HEAP_FLAGS /* Windows.Win32.System.Memory.HEAP_FLAGS */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libKERNEL32_dll.HeapCompact(util.toPointer(hHeap), dwFlags); } @@ -2253,7 +2253,7 @@ export function HeapSetInformation( HeapHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Memory.HeapHandle */, HeapInformationClass: HEAP_INFORMATION_CLASS /* Windows.Win32.System.Memory.HEAP_INFORMATION_CLASS */, HeapInformation: Deno.PointerValue | Uint8Array /* ptr */, - HeapInformationLength: Deno.PointerValue /* usize */, + HeapInformationLength: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.HeapSetInformation(util.toPointer(HeapHandle), HeapInformationClass, util.toPointer(HeapInformation), HeapInformationLength)); } @@ -2304,7 +2304,7 @@ export function HeapQueryInformation( HeapHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Memory.HeapHandle */, HeapInformationClass: HEAP_INFORMATION_CLASS /* Windows.Win32.System.Memory.HEAP_INFORMATION_CLASS */, HeapInformation: Deno.PointerValue | Uint8Array /* ptr */, - HeapInformationLength: Deno.PointerValue /* usize */, + HeapInformationLength: bigint | number /* usize */, ReturnLength: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.HeapQueryInformation(util.toPointer(HeapHandle), HeapInformationClass, util.toPointer(HeapInformation), HeapInformationLength, util.toPointer(ReturnLength))); @@ -2312,7 +2312,7 @@ export function HeapQueryInformation( export function VirtualAlloc( lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, flAllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, flProtect: PAGE_PROTECTION_FLAGS /* Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */, ): Deno.PointerValue /* ptr */ { @@ -2321,7 +2321,7 @@ export function VirtualAlloc( export function VirtualProtect( lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, flNewProtect: PAGE_PROTECTION_FLAGS /* Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */, lpflOldProtect: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -2330,7 +2330,7 @@ export function VirtualProtect( export function VirtualFree( lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, dwFreeType: VIRTUAL_FREE_TYPE /* Windows.Win32.System.Memory.VIRTUAL_FREE_TYPE */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.VirtualFree(util.toPointer(lpAddress), dwSize, dwFreeType)); @@ -2339,15 +2339,15 @@ export function VirtualFree( export function VirtualQuery( lpAddress: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - dwLength: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + dwLength: bigint | number /* usize */, +): bigint | number /* usize */ { return libKERNEL32_dll.VirtualQuery(util.toPointer(lpAddress), util.toPointer(lpBuffer), dwLength); } export function VirtualAllocEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, flAllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, flProtect: PAGE_PROTECTION_FLAGS /* Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */, ): Deno.PointerValue /* ptr */ { @@ -2357,7 +2357,7 @@ export function VirtualAllocEx( export function VirtualProtectEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, flNewProtect: PAGE_PROTECTION_FLAGS /* Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */, lpflOldProtect: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -2368,8 +2368,8 @@ export function VirtualQueryEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpAddress: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - dwLength: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + dwLength: bigint | number /* usize */, +): bigint | number /* usize */ { return libKERNEL32_dll.VirtualQueryEx(util.toPointer(hProcess), util.toPointer(lpAddress), util.toPointer(lpBuffer), dwLength); } @@ -2397,7 +2397,7 @@ export function MapViewOfFile( dwDesiredAccess: FILE_MAP /* Windows.Win32.System.Memory.FILE_MAP */, dwFileOffsetHigh: number /* u32 */, dwFileOffsetLow: number /* u32 */, - dwNumberOfBytesToMap: Deno.PointerValue /* usize */, + dwNumberOfBytesToMap: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.MapViewOfFile(util.toPointer(hFileMappingObject), dwDesiredAccess, dwFileOffsetHigh, dwFileOffsetLow, dwNumberOfBytesToMap); } @@ -2407,7 +2407,7 @@ export function MapViewOfFileEx( dwDesiredAccess: FILE_MAP /* Windows.Win32.System.Memory.FILE_MAP */, dwFileOffsetHigh: number /* u32 */, dwFileOffsetLow: number /* u32 */, - dwNumberOfBytesToMap: Deno.PointerValue /* usize */, + dwNumberOfBytesToMap: bigint | number /* usize */, lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.MapViewOfFileEx(util.toPointer(hFileMappingObject), dwDesiredAccess, dwFileOffsetHigh, dwFileOffsetLow, dwNumberOfBytesToMap, util.toPointer(lpBaseAddress)); @@ -2416,7 +2416,7 @@ export function MapViewOfFileEx( export function VirtualFreeEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, dwFreeType: VIRTUAL_FREE_TYPE /* Windows.Win32.System.Memory.VIRTUAL_FREE_TYPE */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.VirtualFreeEx(util.toPointer(hProcess), util.toPointer(lpAddress), dwSize, dwFreeType)); @@ -2424,7 +2424,7 @@ export function VirtualFreeEx( export function FlushViewOfFile( lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwNumberOfBytesToFlush: Deno.PointerValue /* usize */, + dwNumberOfBytesToFlush: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.FlushViewOfFile(util.toPointer(lpBaseAddress), dwNumberOfBytesToFlush)); } @@ -2435,7 +2435,7 @@ export function UnmapViewOfFile( return util.boolFromFfi(libKERNEL32_dll.UnmapViewOfFile(util.toPointer(lpBaseAddress))); } -export function GetLargePageMinimum(): Deno.PointerValue /* usize */ { +export function GetLargePageMinimum(): bigint | number /* usize */ { return libKERNEL32_dll.GetLargePageMinimum(); } @@ -2450,8 +2450,8 @@ export function GetProcessWorkingSetSizeEx( export function SetProcessWorkingSetSizeEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwMinimumWorkingSetSize: Deno.PointerValue /* usize */, - dwMaximumWorkingSetSize: Deno.PointerValue /* usize */, + dwMinimumWorkingSetSize: bigint | number /* usize */, + dwMaximumWorkingSetSize: bigint | number /* usize */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetProcessWorkingSetSizeEx(util.toPointer(hProcess), dwMinimumWorkingSetSize, dwMaximumWorkingSetSize, Flags)); @@ -2459,14 +2459,14 @@ export function SetProcessWorkingSetSizeEx( export function VirtualLock( lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.VirtualLock(util.toPointer(lpAddress), dwSize)); } export function VirtualUnlock( lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.VirtualUnlock(util.toPointer(lpAddress), dwSize)); } @@ -2474,7 +2474,7 @@ export function VirtualUnlock( export function GetWriteWatch( dwFlags: number /* u32 */, lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwRegionSize: Deno.PointerValue /* usize */, + dwRegionSize: bigint | number /* usize */, lpAddresses: Deno.PointerValue | Uint8Array /* ptr */, lpdwCount: Deno.PointerValue | Uint8Array /* ptr */, lpdwGranularity: Deno.PointerValue | Uint8Array /* ptr */, @@ -2484,7 +2484,7 @@ export function GetWriteWatch( export function ResetWriteWatch( lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwRegionSize: Deno.PointerValue /* usize */, + dwRegionSize: bigint | number /* usize */, ): number /* u32 */ { return libKERNEL32_dll.ResetWriteWatch(util.toPointer(lpBaseAddress), dwRegionSize); } @@ -2511,8 +2511,8 @@ export function GetSystemFileCacheSize( } export function SetSystemFileCacheSize( - MinimumFileCacheSize: Deno.PointerValue /* usize */, - MaximumFileCacheSize: Deno.PointerValue /* usize */, + MinimumFileCacheSize: bigint | number /* usize */, + MaximumFileCacheSize: bigint | number /* usize */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetSystemFileCacheSize(MinimumFileCacheSize, MaximumFileCacheSize, Flags)); @@ -2532,7 +2532,7 @@ export function CreateFileMappingNumaW( export function PrefetchVirtualMemory( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - NumberOfEntries: Deno.PointerValue /* usize */, + NumberOfEntries: bigint | number /* usize */, VirtualAddresses: Deno.PointerValue | Uint8Array /* ptr */, Flags: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -2543,7 +2543,7 @@ export function CreateFileMappingFromApp( hFile: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, SecurityAttributes: Deno.PointerValue | Uint8Array /* ptr */, PageProtection: PAGE_PROTECTION_FLAGS /* Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */, - MaximumSize: Deno.PointerValue /* u64 */, + MaximumSize: bigint | number /* u64 */, Name: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */ { return libKERNEL32_dll.CreateFileMappingFromApp(util.toPointer(hFile), util.toPointer(SecurityAttributes), PageProtection, MaximumSize, util.pwstrToFfi(Name)); @@ -2552,8 +2552,8 @@ export function CreateFileMappingFromApp( export function MapViewOfFileFromApp( hFileMappingObject: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, DesiredAccess: FILE_MAP /* Windows.Win32.System.Memory.FILE_MAP */, - FileOffset: Deno.PointerValue /* u64 */, - NumberOfBytesToMap: Deno.PointerValue /* usize */, + FileOffset: bigint | number /* u64 */, + NumberOfBytesToMap: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.MapViewOfFileFromApp(util.toPointer(hFileMappingObject), DesiredAccess, FileOffset, NumberOfBytesToMap); } @@ -2583,7 +2583,7 @@ export function FreeUserPhysicalPages( export function MapUserPhysicalPages( VirtualAddress: Deno.PointerValue | Uint8Array /* ptr */, - NumberOfPages: Deno.PointerValue /* usize */, + NumberOfPages: bigint | number /* usize */, PageArray: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.MapUserPhysicalPages(util.toPointer(VirtualAddress), NumberOfPages, util.toPointer(PageArray))); @@ -2601,7 +2601,7 @@ export function AllocateUserPhysicalPagesNuma( export function VirtualAllocExNuma( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpAddress: Deno.PointerValue | Uint8Array /* ptr */, - dwSize: Deno.PointerValue /* usize */, + dwSize: bigint | number /* usize */, flAllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, flProtect: number /* u32 */, nndPreferred: number /* u32 */, @@ -2629,7 +2629,7 @@ export function UnregisterBadMemoryNotification( export function OfferVirtualMemory( VirtualAddress: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, Priority: OFFER_PRIORITY /* Windows.Win32.System.Memory.OFFER_PRIORITY */, ): number /* u32 */ { return libKERNEL32_dll.OfferVirtualMemory(util.toPointer(VirtualAddress), Size, Priority); @@ -2637,14 +2637,14 @@ export function OfferVirtualMemory( export function ReclaimVirtualMemory( VirtualAddress: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): number /* u32 */ { return libKERNEL32_dll.ReclaimVirtualMemory(util.toPointer(VirtualAddress), Size); } export function DiscardVirtualMemory( VirtualAddress: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): number /* u32 */ { return libKERNEL32_dll.DiscardVirtualMemory(util.toPointer(VirtualAddress), Size); } @@ -2652,7 +2652,7 @@ export function DiscardVirtualMemory( export function SetProcessValidCallTargets( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, VirtualAddress: Deno.PointerValue | Uint8Array /* ptr */, - RegionSize: Deno.PointerValue /* usize */, + RegionSize: bigint | number /* usize */, NumberOfOffsets: number /* u32 */, OffsetInformation: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -2662,18 +2662,18 @@ export function SetProcessValidCallTargets( export function SetProcessValidCallTargetsForMappedView( Process: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, VirtualAddress: Deno.PointerValue | Uint8Array /* ptr */, - RegionSize: Deno.PointerValue /* usize */, + RegionSize: bigint | number /* usize */, NumberOfOffsets: number /* u32 */, OffsetInformation: Deno.PointerValue | Uint8Array /* ptr */, Section: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - ExpectedFileOffset: Deno.PointerValue /* u64 */, + ExpectedFileOffset: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libapi_ms_win_core_memory_l1_1_7_dll.SetProcessValidCallTargetsForMappedView(util.toPointer(Process), util.toPointer(VirtualAddress), RegionSize, NumberOfOffsets, util.toPointer(OffsetInformation), util.toPointer(Section), ExpectedFileOffset)); } export function VirtualAllocFromApp( BaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, AllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, Protection: number /* u32 */, ): Deno.PointerValue /* ptr */ { @@ -2682,7 +2682,7 @@ export function VirtualAllocFromApp( export function VirtualProtectFromApp( Address: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, NewProtection: number /* u32 */, OldProtection: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -2702,7 +2702,7 @@ export function QueryVirtualMemoryInformation( VirtualAddress: Deno.PointerValue | Uint8Array /* ptr */, MemoryInformationClass: WIN32_MEMORY_INFORMATION_CLASS /* Windows.Win32.System.Memory.WIN32_MEMORY_INFORMATION_CLASS */, MemoryInformation: Deno.PointerValue | Uint8Array /* ptr */, - MemoryInformationSize: Deno.PointerValue /* usize */, + MemoryInformationSize: bigint | number /* usize */, ReturnSize: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libapi_ms_win_core_memory_l1_1_4_dll.QueryVirtualMemoryInformation(util.toPointer(Process), util.toPointer(VirtualAddress), MemoryInformationClass, util.toPointer(MemoryInformation), MemoryInformationSize, util.toPointer(ReturnSize))); @@ -2711,9 +2711,9 @@ export function QueryVirtualMemoryInformation( export function MapViewOfFileNuma2( FileMappingHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ProcessHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Offset: Deno.PointerValue /* u64 */, + Offset: bigint | number /* u64 */, BaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - ViewSize: Deno.PointerValue /* usize */, + ViewSize: bigint | number /* usize */, AllocationType: number /* u32 */, PageProtection: number /* u32 */, PreferredNode: number /* u32 */, @@ -2732,7 +2732,7 @@ export function UnmapViewOfFile2( export function VirtualUnlockEx( Process: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Address: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libapi_ms_win_core_memory_l1_1_5_dll.VirtualUnlockEx(util.toPointer(Process), util.toPointer(Address), Size)); } @@ -2740,7 +2740,7 @@ export function VirtualUnlockEx( export function VirtualAlloc2( Process: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, BaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, AllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, PageProtection: number /* u32 */, ExtendedParameters: Deno.PointerValue | Uint8Array /* ptr */, @@ -2753,8 +2753,8 @@ export function MapViewOfFile3( FileMapping: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Process: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, BaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - Offset: Deno.PointerValue /* u64 */, - ViewSize: Deno.PointerValue /* usize */, + Offset: bigint | number /* u64 */, + ViewSize: bigint | number /* usize */, AllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, PageProtection: number /* u32 */, ExtendedParameters: Deno.PointerValue | Uint8Array /* ptr */, @@ -2766,7 +2766,7 @@ export function MapViewOfFile3( export function VirtualAlloc2FromApp( Process: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, BaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, AllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, PageProtection: number /* u32 */, ExtendedParameters: Deno.PointerValue | Uint8Array /* ptr */, @@ -2779,8 +2779,8 @@ export function MapViewOfFile3FromApp( FileMapping: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Process: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, BaseAddress: Deno.PointerValue | Uint8Array /* ptr */, - Offset: Deno.PointerValue /* u64 */, - ViewSize: Deno.PointerValue /* usize */, + Offset: bigint | number /* u64 */, + ViewSize: bigint | number /* usize */, AllocationType: VIRTUAL_ALLOCATION_TYPE /* Windows.Win32.System.Memory.VIRTUAL_ALLOCATION_TYPE */, PageProtection: number /* u32 */, ExtendedParameters: Deno.PointerValue | Uint8Array /* ptr */, @@ -2795,7 +2795,7 @@ export function CreateFileMapping2( DesiredAccess: number /* u32 */, PageProtection: PAGE_PROTECTION_FLAGS /* Windows.Win32.System.Memory.PAGE_PROTECTION_FLAGS */, AllocationAttributes: number /* u32 */, - MaximumSize: Deno.PointerValue /* u64 */, + MaximumSize: bigint | number /* u64 */, Name: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ExtendedParameters: Deno.PointerValue | Uint8Array /* ptr */, ParameterCount: number /* u32 */, @@ -2815,7 +2815,7 @@ export function AllocateUserPhysicalPages2( export function OpenDedicatedMemoryPartition( Partition: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - DedicatedMemoryTypeId: Deno.PointerValue /* u64 */, + DedicatedMemoryTypeId: bigint | number /* u64 */, DesiredAccess: number /* u32 */, InheritHandle: boolean /* Windows.Win32.Foundation.BOOL */, ): Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */ { @@ -2834,14 +2834,14 @@ export function QueryPartitionInformation( export function RtlCompareMemory( Source1: Deno.PointerValue | Uint8Array /* ptr */, Source2: Deno.PointerValue | Uint8Array /* ptr */, - Length: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + Length: bigint | number /* usize */, +): bigint | number /* usize */ { return libKERNEL32_dll.RtlCompareMemory(util.toPointer(Source1), util.toPointer(Source2), Length); } export function RtlCrc32( Buffer: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, InitialCrc: number /* u32 */, ): number /* u32 */ { return libntdll_dll.RtlCrc32(util.toPointer(Buffer), Size, InitialCrc); @@ -2849,118 +2849,118 @@ export function RtlCrc32( export function RtlCrc64( Buffer: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, - InitialCrc: Deno.PointerValue /* u64 */, -): Deno.PointerValue /* u64 */ { + Size: bigint | number /* usize */, + InitialCrc: bigint | number /* u64 */, +): bigint | number /* u64 */ { return libntdll_dll.RtlCrc64(util.toPointer(Buffer), Size, InitialCrc); } export function RtlIsZeroMemory( Buffer: Deno.PointerValue | Uint8Array /* ptr */, - Length: Deno.PointerValue /* usize */, + Length: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.BOOLEAN */ { return libntdll_dll.RtlIsZeroMemory(util.toPointer(Buffer), Length); } export function GlobalAlloc( uFlags: GLOBAL_ALLOC_FLAGS /* Windows.Win32.System.Memory.GLOBAL_ALLOC_FLAGS */, - dwBytes: Deno.PointerValue /* usize */, -): Deno.PointerValue /* isize */ { + dwBytes: bigint | number /* usize */, +): bigint | number /* isize */ { return libKERNEL32_dll.GlobalAlloc(uFlags, dwBytes); } export function GlobalReAlloc( - hMem: Deno.PointerValue /* isize */, - dwBytes: Deno.PointerValue /* usize */, + hMem: bigint | number /* isize */, + dwBytes: bigint | number /* usize */, uFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libKERNEL32_dll.GlobalReAlloc(hMem, dwBytes, uFlags); } export function GlobalSize( - hMem: Deno.PointerValue /* isize */, -): Deno.PointerValue /* usize */ { + hMem: bigint | number /* isize */, +): bigint | number /* usize */ { return libKERNEL32_dll.GlobalSize(hMem); } export function GlobalUnlock( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.GlobalUnlock(hMem)); } export function GlobalLock( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.GlobalLock(hMem); } export function GlobalFlags( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): number /* u32 */ { return libKERNEL32_dll.GlobalFlags(hMem); } export function GlobalHandle( pMem: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libKERNEL32_dll.GlobalHandle(util.toPointer(pMem)); } export function GlobalFree( - hMem: Deno.PointerValue /* isize */, -): Deno.PointerValue /* isize */ { + hMem: bigint | number /* isize */, +): bigint | number /* isize */ { return libKERNEL32_dll.GlobalFree(hMem); } export function LocalAlloc( uFlags: LOCAL_ALLOC_FLAGS /* Windows.Win32.System.Memory.LOCAL_ALLOC_FLAGS */, - uBytes: Deno.PointerValue /* usize */, -): Deno.PointerValue /* isize */ { + uBytes: bigint | number /* usize */, +): bigint | number /* isize */ { return libKERNEL32_dll.LocalAlloc(uFlags, uBytes); } export function LocalReAlloc( - hMem: Deno.PointerValue /* isize */, - uBytes: Deno.PointerValue /* usize */, + hMem: bigint | number /* isize */, + uBytes: bigint | number /* usize */, uFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libKERNEL32_dll.LocalReAlloc(hMem, uBytes, uFlags); } export function LocalLock( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.LocalLock(hMem); } export function LocalHandle( pMem: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libKERNEL32_dll.LocalHandle(util.toPointer(pMem)); } export function LocalUnlock( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.LocalUnlock(hMem)); } export function LocalSize( - hMem: Deno.PointerValue /* isize */, -): Deno.PointerValue /* usize */ { + hMem: bigint | number /* isize */, +): bigint | number /* usize */ { return libKERNEL32_dll.LocalSize(hMem); } export function LocalFlags( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): number /* u32 */ { return libKERNEL32_dll.LocalFlags(hMem); } export function LocalFree( - hMem: Deno.PointerValue /* isize */, -): Deno.PointerValue /* isize */ { + hMem: bigint | number /* isize */, +): bigint | number /* isize */ { return libKERNEL32_dll.LocalFree(hMem); } @@ -3000,7 +3000,7 @@ export function MapViewOfFileExNuma( dwDesiredAccess: FILE_MAP /* Windows.Win32.System.Memory.FILE_MAP */, dwFileOffsetHigh: number /* u32 */, dwFileOffsetLow: number /* u32 */, - dwNumberOfBytesToMap: Deno.PointerValue /* usize */, + dwNumberOfBytesToMap: bigint | number /* usize */, lpBaseAddress: Deno.PointerValue | Uint8Array /* ptr */, nndPreferred: number /* u32 */, ): Deno.PointerValue /* ptr */ { @@ -3009,14 +3009,14 @@ export function MapViewOfFileExNuma( export function IsBadReadPtr( lp: Deno.PointerValue | Uint8Array /* ptr */, - ucb: Deno.PointerValue /* usize */, + ucb: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.IsBadReadPtr(util.toPointer(lp), ucb)); } export function IsBadWritePtr( lp: Deno.PointerValue | Uint8Array /* ptr */, - ucb: Deno.PointerValue /* usize */, + ucb: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.IsBadWritePtr(util.toPointer(lp), ucb)); } @@ -3029,21 +3029,21 @@ export function IsBadCodePtr( export function IsBadStringPtrA( lpsz: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - ucchMax: Deno.PointerValue /* usize */, + ucchMax: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.IsBadStringPtrA(util.pstrToFfi(lpsz), ucchMax)); } export function IsBadStringPtrW( lpsz: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - ucchMax: Deno.PointerValue /* usize */, + ucchMax: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.IsBadStringPtrW(util.pwstrToFfi(lpsz), ucchMax)); } export function MapUserPhysicalPagesScatter( VirtualAddresses: Deno.PointerValue | Uint8Array /* ptr */, - NumberOfPages: Deno.PointerValue /* usize */, + NumberOfPages: bigint | number /* usize */, PageArray: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.MapUserPhysicalPagesScatter(util.toPointer(VirtualAddresses), NumberOfPages, util.toPointer(PageArray))); diff --git a/api/System/Memory/NonVolatile.ts b/api/System/Memory/NonVolatile.ts index 72edd31..d76ed55 100644 --- a/api/System/Memory/NonVolatile.ts +++ b/api/System/Memory/NonVolatile.ts @@ -11,7 +11,7 @@ export interface NV_MEMORY_RANGE { /** ptr */ BaseAddress: Deno.PointerValue | Uint8Array; /** usize */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofNV_MEMORY_RANGE = 16; @@ -43,7 +43,7 @@ export class NV_MEMORY_RANGEView { } // 0x08: usize - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -53,7 +53,7 @@ export class NV_MEMORY_RANGEView { } // 0x08: usize - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -97,7 +97,7 @@ try { export function RtlGetNonVolatileToken( NvBuffer: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, NvToken: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libntdll_dll.RtlGetNonVolatileToken(util.toPointer(NvBuffer), Size, util.toPointer(NvToken)); @@ -112,7 +112,7 @@ export function RtlFreeNonVolatileToken( export function RtlFlushNonVolatileMemory( NvToken: Deno.PointerValue | Uint8Array /* ptr */, NvBuffer: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, Flags: number /* u32 */, ): number /* u32 */ { return libntdll_dll.RtlFlushNonVolatileMemory(util.toPointer(NvToken), util.toPointer(NvBuffer), Size, Flags); @@ -128,7 +128,7 @@ export function RtlWriteNonVolatileMemory( NvToken: Deno.PointerValue | Uint8Array /* ptr */, NvDestination: Deno.PointerValue | Uint8Array /* ptr */, Source: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, Flags: number /* u32 */, ): number /* u32 */ { return libntdll_dll.RtlWriteNonVolatileMemory(util.toPointer(NvToken), util.toPointer(NvDestination), util.toPointer(Source), Size, Flags); @@ -137,7 +137,7 @@ export function RtlWriteNonVolatileMemory( export function RtlFillNonVolatileMemory( NvToken: Deno.PointerValue | Uint8Array /* ptr */, NvDestination: Deno.PointerValue | Uint8Array /* ptr */, - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, Value: number /* u8 */, Flags: number /* u32 */, ): number /* u32 */ { @@ -147,7 +147,7 @@ export function RtlFillNonVolatileMemory( export function RtlFlushNonVolatileMemoryRanges( NvToken: Deno.PointerValue | Uint8Array /* ptr */, NvRanges: Deno.PointerValue | Uint8Array /* ptr */, - NumRanges: Deno.PointerValue /* usize */, + NumRanges: bigint | number /* usize */, Flags: number /* u32 */, ): number /* u32 */ { return libntdll_dll.RtlFlushNonVolatileMemoryRanges(util.toPointer(NvToken), util.toPointer(NvRanges), NumRanges, Flags); diff --git a/api/System/MixedReality.ts b/api/System/MixedReality.ts index 3aa2f6d..65f8c94 100644 --- a/api/System/MixedReality.ts +++ b/api/System/MixedReality.ts @@ -77,9 +77,9 @@ export class PERCEPTION_PAYLOAD_FIELDView { */ export interface PERCEPTION_STATE_STREAM_TIMESTAMPS { /** i64 */ - InputTimestampInQpcCounts: Deno.PointerValue; + InputTimestampInQpcCounts: bigint | number; /** i64 */ - AvailableTimestampInQpcCounts: Deno.PointerValue; + AvailableTimestampInQpcCounts: bigint | number; } export const sizeofPERCEPTION_STATE_STREAM_TIMESTAMPS = 16; @@ -105,22 +105,22 @@ export class PERCEPTION_STATE_STREAM_TIMESTAMPSView { } // 0x00: i64 - get InputTimestampInQpcCounts(): Deno.PointerValue { + get InputTimestampInQpcCounts(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get AvailableTimestampInQpcCounts(): Deno.PointerValue { + get AvailableTimestampInQpcCounts(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: i64 - set InputTimestampInQpcCounts(value: Deno.PointerValue) { + set InputTimestampInQpcCounts(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set AvailableTimestampInQpcCounts(value: Deno.PointerValue) { + set AvailableTimestampInQpcCounts(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } diff --git a/api/System/Mmc.ts b/api/System/Mmc.ts index 13ba1b9..8df1dcf 100644 --- a/api/System/Mmc.ts +++ b/api/System/Mmc.ts @@ -268,9 +268,9 @@ export type PWSTR = Deno.PointerValue | Uint8Array; */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -296,22 +296,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -615,7 +615,7 @@ export class MMCBUTTONView { export type BOOL = number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.System.Mmc.RESULTDATAITEM (size: 56) @@ -626,7 +626,7 @@ export interface RESULTDATAITEM { /** Windows.Win32.Foundation.BOOL */ bScopeItem: boolean; /** isize */ - itemID: Deno.PointerValue; + itemID: bigint | number; /** i32 */ nIndex: number; /** i32 */ @@ -696,7 +696,7 @@ export class RESULTDATAITEMView { } // 0x08: isize - get itemID(): Deno.PointerValue { + get itemID(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -750,7 +750,7 @@ export class RESULTDATAITEMView { } // 0x08: isize - set itemID(value: Deno.PointerValue) { + set itemID(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -884,9 +884,9 @@ export interface SCOPEDATAITEM { /** Windows.Win32.Foundation.LPARAM */ lParam: Uint8Array | Deno.PointerValue; /** isize */ - relativeID: Deno.PointerValue; + relativeID: bigint | number; /** isize */ - ID: Deno.PointerValue; + ID: bigint | number; } export const sizeofSCOPEDATAITEM = 56; @@ -969,12 +969,12 @@ export class SCOPEDATAITEMView { } // 0x28: isize - get relativeID(): Deno.PointerValue { + get relativeID(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get ID(): Deno.PointerValue { + get ID(): bigint | number { return Number(this.view.getBigInt64(48, true)); } @@ -1017,12 +1017,12 @@ export class SCOPEDATAITEMView { } // 0x28: isize - set relativeID(value: Deno.PointerValue) { + set relativeID(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set ID(value: Deno.PointerValue) { + set ID(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } } @@ -1297,7 +1297,7 @@ export interface MMC_RESTORE_VIEW { /** u32 */ dwSize: number; /** isize */ - cookie: Deno.PointerValue; + cookie: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pViewType: string | null | Uint8Array | Uint16Array; /** i32 */ @@ -1343,7 +1343,7 @@ export class MMC_RESTORE_VIEWView { // 0x04: pad4 // 0x08: isize - get cookie(): Deno.PointerValue { + get cookie(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -1368,7 +1368,7 @@ export class MMC_RESTORE_VIEWView { // 0x04: pad4 // 0x08: isize - set cookie(value: Deno.PointerValue) { + set cookie(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -1395,7 +1395,7 @@ export interface MMC_EXPANDSYNC_STRUCT { /** Windows.Win32.Foundation.BOOL */ bExpanding: boolean; /** isize */ - hItem: Deno.PointerValue; + hItem: bigint | number; } export const sizeofMMC_EXPANDSYNC_STRUCT = 16; @@ -1433,7 +1433,7 @@ export class MMC_EXPANDSYNC_STRUCTView { } // 0x08: isize - get hItem(): Deno.PointerValue { + get hItem(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -1448,7 +1448,7 @@ export class MMC_EXPANDSYNC_STRUCTView { } // 0x08: isize - set hItem(value: Deno.PointerValue) { + set hItem(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -2150,7 +2150,7 @@ export interface MMC_LISTPAD_INFO { /** Windows.Win32.Foundation.PWSTR */ szButtonText: string | null | Uint8Array | Uint16Array; /** isize */ - nCommandID: Deno.PointerValue; + nCommandID: bigint | number; } export const sizeofMMC_LISTPAD_INFO = 24; @@ -2196,7 +2196,7 @@ export class MMC_LISTPAD_INFOView { } // 0x10: isize - get nCommandID(): Deno.PointerValue { + get nCommandID(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -2213,7 +2213,7 @@ export class MMC_LISTPAD_INFOView { } // 0x10: isize - set nCommandID(value: Deno.PointerValue) { + set nCommandID(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -2229,7 +2229,7 @@ export interface MMC_COLUMN_DATA { /** i32 */ nWidth: number; /** usize */ - ulReserved: Deno.PointerValue; + ulReserved: bigint | number; } export const sizeofMMC_COLUMN_DATA = 24; @@ -2277,7 +2277,7 @@ export class MMC_COLUMN_DATAView { // 0x0c: pad4 // 0x10: usize - get ulReserved(): Deno.PointerValue { + get ulReserved(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2299,7 +2299,7 @@ export class MMC_COLUMN_DATAView { // 0x0c: pad4 // 0x10: usize - set ulReserved(value: Deno.PointerValue) { + set ulReserved(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -2381,7 +2381,7 @@ export interface MMC_SORT_DATA { /** u32 */ dwSortOptions: number; /** usize */ - ulReserved: Deno.PointerValue; + ulReserved: bigint | number; } export const sizeofMMC_SORT_DATA = 16; @@ -2419,7 +2419,7 @@ export class MMC_SORT_DATAView { } // 0x08: usize - get ulReserved(): Deno.PointerValue { + get ulReserved(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -2434,7 +2434,7 @@ export class MMC_SORT_DATAView { } // 0x08: usize - set ulReserved(value: Deno.PointerValue) { + set ulReserved(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2514,7 +2514,7 @@ export interface RDITEMHDR { /** u32 */ dwFlags: number; /** isize */ - cookie: Deno.PointerValue; + cookie: bigint | number; /** Windows.Win32.Foundation.LPARAM */ lpReserved: Uint8Array | Deno.PointerValue; } @@ -2552,7 +2552,7 @@ export class RDITEMHDRView { // 0x04: pad4 // 0x08: isize - get cookie(): Deno.PointerValue { + get cookie(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -2570,7 +2570,7 @@ export class RDITEMHDRView { // 0x04: pad4 // 0x08: isize - set cookie(value: Deno.PointerValue) { + set cookie(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } diff --git a/api/System/Ole.ts b/api/System/Ole.ts index 905fed6..41e775f 100644 --- a/api/System/Ole.ts +++ b/api/System/Ole.ts @@ -1866,9 +1866,9 @@ export class _wireBRECORDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1894,22 +1894,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2721,9 +2721,9 @@ export class OBJECTDESCRIPTORView { export type BOOL = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HACCEL = Deno.PointerValue; +export type HACCEL = bigint | number; /** * Windows.Win32.System.Ole.OLEINPLACEFRAMEINFO (size: 32) @@ -4183,7 +4183,7 @@ export class CADWORDView { } } -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; /** * Windows.Win32.System.Ole.QACONTAINER (size: 112) @@ -4772,7 +4772,7 @@ export interface CY { /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; /** i64 */ - int64: Deno.PointerValue; + int64: bigint | number; } export const sizeofCY = 16; @@ -4804,7 +4804,7 @@ export class CYView { } // 0x08: i64 - get int64(): Deno.PointerValue { + get int64(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -4814,7 +4814,7 @@ export class CYView { } // 0x08: i64 - set int64(value: Deno.PointerValue) { + set int64(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -5324,11 +5324,11 @@ export class OLECMDTEXTView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HRSRC = Deno.PointerValue; +export type HRSRC = bigint | number; /** * Windows.Win32.System.Ole.OLEUIINSERTOBJECTW (size: 160) @@ -5377,7 +5377,7 @@ export interface OLEUIINSERTOBJECTW { /** i32 */ sc: number; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; } export const sizeofOLEUIINSERTOBJECTW = 160; @@ -5578,7 +5578,7 @@ export class OLEUIINSERTOBJECTWView { // 0x94: pad4 // 0x98: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(152, true)); } @@ -5695,7 +5695,7 @@ export class OLEUIINSERTOBJECTWView { // 0x94: pad4 // 0x98: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(152, BigInt(value), true); } } @@ -5749,7 +5749,7 @@ export interface OLEUIINSERTOBJECTA { /** i32 */ sc: number; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; } export const sizeofOLEUIINSERTOBJECTA = 160; @@ -5950,7 +5950,7 @@ export class OLEUIINSERTOBJECTAView { // 0x94: pad4 // 0x98: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(152, true)); } @@ -6067,7 +6067,7 @@ export class OLEUIINSERTOBJECTAView { // 0x94: pad4 // 0x98: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(152, BigInt(value), true); } } @@ -6431,7 +6431,7 @@ export interface OLEUIPASTESPECIALW { /** Windows.Win32.Foundation.BOOL */ fLink: boolean; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; /** Windows.Win32.Foundation.SIZE */ sizel: Uint8Array | Deno.PointerValue; } @@ -6605,7 +6605,7 @@ export class OLEUIPASTESPECIALWView { } // 0x78: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(120, true)); } @@ -6710,7 +6710,7 @@ export class OLEUIPASTESPECIALWView { } // 0x78: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } @@ -6761,7 +6761,7 @@ export interface OLEUIPASTESPECIALA { /** Windows.Win32.Foundation.BOOL */ fLink: boolean; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; /** Windows.Win32.Foundation.SIZE */ sizel: Uint8Array | Deno.PointerValue; } @@ -6935,7 +6935,7 @@ export class OLEUIPASTESPECIALAView { } // 0x78: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(120, true)); } @@ -7040,7 +7040,7 @@ export class OLEUIPASTESPECIALAView { } // 0x78: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } @@ -7435,7 +7435,7 @@ export interface OLEUICHANGEICONW { /** Windows.Win32.Foundation.HRSRC */ hResource: Uint8Array | Deno.PointerValue; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; /** System.Guid */ clsid: Uint8Array | Deno.PointerValue; /** array */ @@ -7548,7 +7548,7 @@ export class OLEUICHANGEICONWView { } // 0x40: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -7619,7 +7619,7 @@ export class OLEUICHANGEICONWView { } // 0x40: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } @@ -7664,7 +7664,7 @@ export interface OLEUICHANGEICONA { /** Windows.Win32.Foundation.HRSRC */ hResource: Uint8Array | Deno.PointerValue; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; /** System.Guid */ clsid: Uint8Array | Deno.PointerValue; /** array */ @@ -7777,7 +7777,7 @@ export class OLEUICHANGEICONAView { } // 0x40: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(64, true)); } @@ -7848,7 +7848,7 @@ export class OLEUICHANGEICONAView { } // 0x40: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } @@ -7907,7 +7907,7 @@ export interface OLEUICONVERTW { /** Windows.Win32.Foundation.BOOL */ fIsLinkedObject: boolean; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; /** Windows.Win32.Foundation.PWSTR */ lpszUserType: string | null | Uint8Array | Uint16Array; /** Windows.Win32.Foundation.BOOL */ @@ -8091,7 +8091,7 @@ export class OLEUICONVERTWView { // 0x6a: pad6 // 0x70: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -8212,7 +8212,7 @@ export class OLEUICONVERTWView { // 0x6a: pad6 // 0x70: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } @@ -8285,7 +8285,7 @@ export interface OLEUICONVERTA { /** Windows.Win32.Foundation.BOOL */ fIsLinkedObject: boolean; /** isize */ - hMetaPict: Deno.PointerValue; + hMetaPict: bigint | number; /** Windows.Win32.Foundation.PSTR */ lpszUserType: string | null | Uint8Array; /** Windows.Win32.Foundation.BOOL */ @@ -8469,7 +8469,7 @@ export class OLEUICONVERTAView { // 0x6a: pad6 // 0x70: isize - get hMetaPict(): Deno.PointerValue { + get hMetaPict(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -8590,7 +8590,7 @@ export class OLEUICONVERTAView { // 0x6a: pad6 // 0x70: isize - set hMetaPict(value: Deno.PointerValue) { + set hMetaPict(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } @@ -8626,7 +8626,7 @@ export class OLEUICONVERTAView { } } -export type HTASK = Deno.PointerValue; +export type HTASK = bigint | number; /** * Windows.Win32.System.Ole.OLEUIBUSYW (size: 80) @@ -10824,15 +10824,15 @@ export type BSTR = Deno.PointerValue | Uint8Array; export type CHAR = number; -export type HMENU = Deno.PointerValue; +export type HMENU = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; -export type HCURSOR = Deno.PointerValue; +export type HCURSOR = bigint | number; // Native Libraries @@ -13016,7 +13016,7 @@ export function VarUI1FromI4( } export function VarUI1FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pbOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarUI1FromI8(i64In, util.toPointer(pbOut)); @@ -13096,7 +13096,7 @@ export function VarUI1FromUI4( } export function VarUI1FromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, pbOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarUI1FromUI8(ui64In, util.toPointer(pbOut)); @@ -13124,7 +13124,7 @@ export function VarI2FromI4( } export function VarI2FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, psOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarI2FromI8(i64In, util.toPointer(psOut)); @@ -13204,7 +13204,7 @@ export function VarI2FromUI4( } export function VarI2FromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, psOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarI2FromUI8(ui64In, util.toPointer(psOut)); @@ -13232,7 +13232,7 @@ export function VarI4FromI2( } export function VarI4FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, plOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarI4FromI8(i64In, util.toPointer(plOut)); @@ -13312,7 +13312,7 @@ export function VarI4FromUI4( } export function VarI4FromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, plOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarI4FromUI8(ui64In, util.toPointer(plOut)); @@ -13413,7 +13413,7 @@ export function VarI8FromUI4( } export function VarI8FromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, pi64Out: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarI8FromUI8(ui64In, util.toPointer(pi64Out)); @@ -13448,7 +13448,7 @@ export function VarR4FromI4( } export function VarR4FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pfltOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarR4FromI8(i64In, util.toPointer(pfltOut)); @@ -13521,7 +13521,7 @@ export function VarR4FromUI4( } export function VarR4FromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, pfltOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarR4FromUI8(ui64In, util.toPointer(pfltOut)); @@ -13556,7 +13556,7 @@ export function VarR8FromI4( } export function VarR8FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pdblOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarR8FromI8(i64In, util.toPointer(pdblOut)); @@ -13629,7 +13629,7 @@ export function VarR8FromUI4( } export function VarR8FromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, pdblOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarR8FromUI8(ui64In, util.toPointer(pdblOut)); @@ -13664,7 +13664,7 @@ export function VarDateFromI4( } export function VarDateFromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pdateOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarDateFromI8(i64In, util.toPointer(pdateOut)); @@ -13737,7 +13737,7 @@ export function VarDateFromUI4( } export function VarDateFromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, pdateOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarDateFromUI8(ui64In, util.toPointer(pdateOut)); @@ -13772,7 +13772,7 @@ export function VarCyFromI4( } export function VarCyFromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pcyOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarCyFromI8(i64In, util.toPointer(pcyOut)); @@ -13845,7 +13845,7 @@ export function VarCyFromUI4( } export function VarCyFromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, pcyOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarCyFromUI8(ui64In, util.toPointer(pcyOut)); @@ -13886,7 +13886,7 @@ export function VarBstrFromI4( } export function VarBstrFromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, lcid: number /* u32 */, dwFlags: number /* u32 */, pbstrOut: Deno.PointerValue | Uint8Array /* ptr */, @@ -13976,7 +13976,7 @@ export function VarBstrFromUI4( } export function VarBstrFromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, lcid: number /* u32 */, dwFlags: number /* u32 */, pbstrOut: Deno.PointerValue | Uint8Array /* ptr */, @@ -14015,7 +14015,7 @@ export function VarBoolFromI4( } export function VarBoolFromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pboolOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarBoolFromI8(i64In, util.toPointer(pboolOut)); @@ -14088,7 +14088,7 @@ export function VarBoolFromUI4( } export function VarBoolFromUI8( - i64In: Deno.PointerValue /* u64 */, + i64In: bigint | number /* u64 */, pboolOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarBoolFromUI8(i64In, util.toPointer(pboolOut)); @@ -14123,7 +14123,7 @@ export function VarI1FromI4( } export function VarI1FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pcOut: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarI1FromI8(i64In, util.pstrToFfi(pcOut)); @@ -14196,7 +14196,7 @@ export function VarI1FromUI4( } export function VarI1FromUI8( - i64In: Deno.PointerValue /* u64 */, + i64In: bigint | number /* u64 */, pcOut: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarI1FromUI8(i64In, util.pstrToFfi(pcOut)); @@ -14231,7 +14231,7 @@ export function VarUI2FromI4( } export function VarUI2FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, puiOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarUI2FromI8(i64In, util.toPointer(puiOut)); @@ -14304,7 +14304,7 @@ export function VarUI2FromUI4( } export function VarUI2FromUI8( - i64In: Deno.PointerValue /* u64 */, + i64In: bigint | number /* u64 */, puiOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarUI2FromUI8(i64In, util.toPointer(puiOut)); @@ -14339,7 +14339,7 @@ export function VarUI4FromI4( } export function VarUI4FromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, plOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarUI4FromI8(i64In, util.toPointer(plOut)); @@ -14412,7 +14412,7 @@ export function VarUI4FromUI2( } export function VarUI4FromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, plOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarUI4FromUI8(ui64In, util.toPointer(plOut)); @@ -14440,7 +14440,7 @@ export function VarUI8FromI2( } export function VarUI8FromI8( - ui64In: Deno.PointerValue /* i64 */, + ui64In: bigint | number /* i64 */, pi64Out: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarUI8FromI8(ui64In, util.toPointer(pi64Out)); @@ -14548,7 +14548,7 @@ export function VarDecFromI4( } export function VarDecFromI8( - i64In: Deno.PointerValue /* i64 */, + i64In: bigint | number /* i64 */, pdecOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarDecFromI8(i64In, util.toPointer(pdecOut)); @@ -14628,7 +14628,7 @@ export function VarDecFromUI4( } export function VarDecFromUI8( - ui64In: Deno.PointerValue /* u64 */, + ui64In: bigint | number /* u64 */, pdecOut: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarDecFromUI8(ui64In, util.toPointer(pdecOut)); @@ -14917,7 +14917,7 @@ export function VarCyMulI4( export function VarCyMulI8( cyLeft: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Com.CY */, - lRight: Deno.PointerValue /* i64 */, + lRight: bigint | number /* i64 */, pcyResult: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLEAUT32_dll.VarCyMulI8(util.toPointer(cyLeft), lRight, util.toPointer(pcyResult)); @@ -15305,7 +15305,7 @@ export function CreateStdDispatch( export function DispCallFunc( pvInstance: Deno.PointerValue | Uint8Array /* ptr */, - oVft: Deno.PointerValue /* usize */, + oVft: bigint | number /* usize */, cc: CALLCONV /* Windows.Win32.System.Com.CALLCONV */, vtReturn: VARENUM /* Windows.Win32.System.Com.VARENUM */, cActuals: number /* u32 */, @@ -15695,12 +15695,12 @@ export function OleIsCurrentClipboard( export function OleCreateMenuDescriptor( hmenuCombined: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HMENU */, lpMenuWidths: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libOLE32_dll.OleCreateMenuDescriptor(util.toPointer(hmenuCombined), util.toPointer(lpMenuWidths)); } export function OleSetMenuDescriptor( - holemenu: Deno.PointerValue /* isize */, + holemenu: bigint | number /* isize */, hwndFrame: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, hwndActiveObject: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, lpFrame: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Ole.IOleInPlaceFrame */, @@ -15710,7 +15710,7 @@ export function OleSetMenuDescriptor( } export function OleDestroyMenuDescriptor( - holemenu: Deno.PointerValue /* isize */, + holemenu: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLE32_dll.OleDestroyMenuDescriptor(holemenu); } @@ -15804,7 +15804,7 @@ export function IsAccelerator( export function OleGetIconOfFile( lpszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, fUseFileAsLabel: boolean /* Windows.Win32.Foundation.BOOL */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libole32_dll.OleGetIconOfFile(util.pwstrToFfi(lpszPath), util.boolToFfi(fUseFileAsLabel)); } @@ -15812,7 +15812,7 @@ export function OleGetIconOfClass( rclsid: Deno.PointerValue | Uint8Array /* ptr */, lpszLabel: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, fUseTypeAsLabel: boolean /* Windows.Win32.Foundation.BOOL */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libOLE32_dll.OleGetIconOfClass(util.toPointer(rclsid), util.pwstrToFfi(lpszLabel), util.boolToFfi(fUseTypeAsLabel)); } @@ -15821,7 +15821,7 @@ export function OleMetafilePictFromIconAndLabel( lpszLabel: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpszSourceFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, iIconIndex: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libole32_dll.OleMetafilePictFromIconAndLabel(util.toPointer(hIcon), util.pwstrToFfi(lpszLabel), util.pwstrToFfi(lpszSourceFile), iIconIndex); } diff --git a/api/System/Performance.ts b/api/System/Performance.ts index c80d99b..0b08d56 100644 --- a/api/System/Performance.ts +++ b/api/System/Performance.ts @@ -355,18 +355,18 @@ export const sysmonBatchAddFilesAutoCounters = 3; // Structs -export type PerfProviderHandle = Deno.PointerValue; +export type PerfProviderHandle = bigint | number; -export type PerfQueryHandle = Deno.PointerValue; +export type PerfQueryHandle = bigint | number; /** * _Anonymous_e__Struct (size: 16) */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -392,22 +392,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -486,7 +486,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -526,7 +526,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -541,7 +541,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -943,7 +943,7 @@ export interface HARDWARE_COUNTER_DATA { /** u32 */ Reserved: number; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofHARDWARE_COUNTER_DATA = 16; @@ -981,7 +981,7 @@ export class HARDWARE_COUNTER_DATAView { } // 0x08: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -996,7 +996,7 @@ export class HARDWARE_COUNTER_DATAView { } // 0x08: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1014,9 +1014,9 @@ export interface PERFORMANCE_DATA { /** u32 */ ContextSwitchCount: number; /** u64 */ - WaitReasonBitMap: Deno.PointerValue; + WaitReasonBitMap: bigint | number; /** u64 */ - CycleTime: Deno.PointerValue; + CycleTime: bigint | number; /** u32 */ RetryCount: number; /** u32 */ @@ -1082,12 +1082,12 @@ export class PERFORMANCE_DATAView { } // 0x08: u64 - get WaitReasonBitMap(): Deno.PointerValue { + get WaitReasonBitMap(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CycleTime(): Deno.PointerValue { + get CycleTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1128,12 +1128,12 @@ export class PERFORMANCE_DATAView { } // 0x08: u64 - set WaitReasonBitMap(value: Deno.PointerValue) { + set WaitReasonBitMap(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CycleTime(value: Deno.PointerValue) { + set CycleTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -1245,7 +1245,7 @@ export interface PERF_COUNTER_INFO { /** u32 */ Type: number; /** u64 */ - Attrib: Deno.PointerValue; + Attrib: bigint | number; /** u32 */ Size: number; /** u32 */ @@ -1299,7 +1299,7 @@ export class PERF_COUNTER_INFOView { } // 0x08: u64 - get Attrib(): Deno.PointerValue { + get Attrib(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1334,7 +1334,7 @@ export class PERF_COUNTER_INFOView { } // 0x08: u64 - set Attrib(value: Deno.PointerValue) { + set Attrib(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -1850,7 +1850,7 @@ export interface PERF_COUNTER_REG_INFO { /** u32 */ Type: number; /** u64 */ - Attrib: Deno.PointerValue; + Attrib: bigint | number; /** u32 */ DetailLevel: number; /** i32 */ @@ -1920,7 +1920,7 @@ export class PERF_COUNTER_REG_INFOView { } // 0x08: u64 - get Attrib(): Deno.PointerValue { + get Attrib(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1975,7 +1975,7 @@ export class PERF_COUNTER_REG_INFOView { } // 0x08: u64 - set Attrib(value: Deno.PointerValue) { + set Attrib(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2396,11 +2396,11 @@ export interface PERF_DATA_HEADER { /** u32 */ dwNumCounters: number; /** i64 */ - PerfTimeStamp: Deno.PointerValue; + PerfTimeStamp: bigint | number; /** i64 */ - PerfTime100NSec: Deno.PointerValue; + PerfTime100NSec: bigint | number; /** i64 */ - PerfFreq: Deno.PointerValue; + PerfFreq: bigint | number; /** Windows.Win32.Foundation.SYSTEMTIME */ SystemTime: Uint8Array | Deno.PointerValue; } @@ -2446,17 +2446,17 @@ export class PERF_DATA_HEADERView { } // 0x08: i64 - get PerfTimeStamp(): Deno.PointerValue { + get PerfTimeStamp(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get PerfTime100NSec(): Deno.PointerValue { + get PerfTime100NSec(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get PerfFreq(): Deno.PointerValue { + get PerfFreq(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -2477,17 +2477,17 @@ export class PERF_DATA_HEADERView { } // 0x08: i64 - set PerfTimeStamp(value: Deno.PointerValue) { + set PerfTimeStamp(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set PerfTime100NSec(value: Deno.PointerValue) { + set PerfTime100NSec(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set PerfFreq(value: Deno.PointerValue) { + set PerfFreq(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -3183,9 +3183,9 @@ export interface PDH_RAW_COUNTER { /** Windows.Win32.Foundation.FILETIME */ TimeStamp: Uint8Array | Deno.PointerValue; /** i64 */ - FirstValue: Deno.PointerValue; + FirstValue: bigint | number; /** i64 */ - SecondValue: Deno.PointerValue; + SecondValue: bigint | number; /** u32 */ MultiCount: number; } @@ -3234,12 +3234,12 @@ export class PDH_RAW_COUNTERView { } // 0x10: i64 - get FirstValue(): Deno.PointerValue { + get FirstValue(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: i64 - get SecondValue(): Deno.PointerValue { + get SecondValue(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -3263,12 +3263,12 @@ export class PDH_RAW_COUNTERView { } // 0x10: i64 - set FirstValue(value: Deno.PointerValue) { + set FirstValue(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: i64 - set SecondValue(value: Deno.PointerValue) { + set SecondValue(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -4219,9 +4219,9 @@ export interface PDH_COUNTER_INFO_A { /** i32 */ lDefaultScale: number; /** usize */ - dwUserData: Deno.PointerValue; + dwUserData: bigint | number; /** usize */ - dwQueryUserData: Deno.PointerValue; + dwQueryUserData: bigint | number; /** Windows.Win32.Foundation.PSTR */ szFullPath: string | null | Uint8Array; /** _Anonymous_e__Union */ @@ -4311,12 +4311,12 @@ export class PDH_COUNTER_INFO_AView { } // 0x18: usize - get dwUserData(): Deno.PointerValue { + get dwUserData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dwQueryUserData(): Deno.PointerValue { + get dwQueryUserData(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -4375,12 +4375,12 @@ export class PDH_COUNTER_INFO_AView { } // 0x18: usize - set dwUserData(value: Deno.PointerValue) { + set dwUserData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dwQueryUserData(value: Deno.PointerValue) { + set dwQueryUserData(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -4424,9 +4424,9 @@ export interface PDH_COUNTER_INFO_W { /** i32 */ lDefaultScale: number; /** usize */ - dwUserData: Deno.PointerValue; + dwUserData: bigint | number; /** usize */ - dwQueryUserData: Deno.PointerValue; + dwQueryUserData: bigint | number; /** Windows.Win32.Foundation.PWSTR */ szFullPath: string | null | Uint8Array | Uint16Array; /** _Anonymous_e__Union */ @@ -4516,12 +4516,12 @@ export class PDH_COUNTER_INFO_WView { } // 0x18: usize - get dwUserData(): Deno.PointerValue { + get dwUserData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dwQueryUserData(): Deno.PointerValue { + get dwQueryUserData(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -4580,12 +4580,12 @@ export class PDH_COUNTER_INFO_WView { } // 0x18: usize - set dwUserData(value: Deno.PointerValue) { + set dwUserData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dwQueryUserData(value: Deno.PointerValue) { + set dwQueryUserData(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -4617,9 +4617,9 @@ export class PDH_COUNTER_INFO_WView { */ export interface PDH_TIME_INFO { /** i64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** i64 */ - EndTime: Deno.PointerValue; + EndTime: bigint | number; /** u32 */ SampleCount: number; } @@ -4650,12 +4650,12 @@ export class PDH_TIME_INFOView { } // 0x00: i64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get EndTime(): Deno.PointerValue { + get EndTime(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -4667,12 +4667,12 @@ export class PDH_TIME_INFOView { // 0x14: pad4 // 0x00: i64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set EndTime(value: Deno.PointerValue) { + set EndTime(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -5115,7 +5115,7 @@ export class PDH_LOG_SERVICE_QUERY_INFO_WView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.System.Performance.PDH_BROWSE_DLG_CONFIG_HW (size: 72) @@ -5126,7 +5126,7 @@ export interface PDH_BROWSE_DLG_CONFIG_HW { /** Windows.Win32.Foundation.HWND */ hWndOwner: Deno.PointerValue; /** isize */ - hDataSource: Deno.PointerValue; + hDataSource: bigint | number; /** Windows.Win32.Foundation.PWSTR */ szReturnPathBuffer: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -5134,7 +5134,7 @@ export interface PDH_BROWSE_DLG_CONFIG_HW { /** Windows.Win32.System.Performance.CounterPathCallBack */ pCallBack: Uint8Array | Deno.PointerValue; /** usize */ - dwCallBackArg: Deno.PointerValue; + dwCallBackArg: bigint | number; /** i32 */ CallBackStatus: number; /** Windows.Win32.System.Performance.PERF_DETAIL */ @@ -5203,7 +5203,7 @@ export class PDH_BROWSE_DLG_CONFIG_HWView { } // 0x10: isize - get hDataSource(): Deno.PointerValue { + get hDataSource(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -5227,7 +5227,7 @@ export class PDH_BROWSE_DLG_CONFIG_HWView { } // 0x30: usize - get dwCallBackArg(): Deno.PointerValue { + get dwCallBackArg(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5260,7 +5260,7 @@ export class PDH_BROWSE_DLG_CONFIG_HWView { } // 0x10: isize - set hDataSource(value: Deno.PointerValue) { + set hDataSource(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -5283,7 +5283,7 @@ export class PDH_BROWSE_DLG_CONFIG_HWView { } // 0x30: usize - set dwCallBackArg(value: Deno.PointerValue) { + set dwCallBackArg(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5313,7 +5313,7 @@ export interface PDH_BROWSE_DLG_CONFIG_HA { /** Windows.Win32.Foundation.HWND */ hWndOwner: Deno.PointerValue; /** isize */ - hDataSource: Deno.PointerValue; + hDataSource: bigint | number; /** Windows.Win32.Foundation.PSTR */ szReturnPathBuffer: string | null | Uint8Array; /** u32 */ @@ -5321,7 +5321,7 @@ export interface PDH_BROWSE_DLG_CONFIG_HA { /** Windows.Win32.System.Performance.CounterPathCallBack */ pCallBack: Uint8Array | Deno.PointerValue; /** usize */ - dwCallBackArg: Deno.PointerValue; + dwCallBackArg: bigint | number; /** i32 */ CallBackStatus: number; /** Windows.Win32.System.Performance.PERF_DETAIL */ @@ -5390,7 +5390,7 @@ export class PDH_BROWSE_DLG_CONFIG_HAView { } // 0x10: isize - get hDataSource(): Deno.PointerValue { + get hDataSource(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -5414,7 +5414,7 @@ export class PDH_BROWSE_DLG_CONFIG_HAView { } // 0x30: usize - get dwCallBackArg(): Deno.PointerValue { + get dwCallBackArg(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5447,7 +5447,7 @@ export class PDH_BROWSE_DLG_CONFIG_HAView { } // 0x10: isize - set hDataSource(value: Deno.PointerValue) { + set hDataSource(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -5470,7 +5470,7 @@ export class PDH_BROWSE_DLG_CONFIG_HAView { } // 0x30: usize - set dwCallBackArg(value: Deno.PointerValue) { + set dwCallBackArg(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5508,7 +5508,7 @@ export interface PDH_BROWSE_DLG_CONFIG_W { /** Windows.Win32.System.Performance.CounterPathCallBack */ pCallBack: Uint8Array | Deno.PointerValue; /** usize */ - dwCallBackArg: Deno.PointerValue; + dwCallBackArg: bigint | number; /** i32 */ CallBackStatus: number; /** Windows.Win32.System.Performance.PERF_DETAIL */ @@ -5605,7 +5605,7 @@ export class PDH_BROWSE_DLG_CONFIG_WView { } // 0x30: usize - get dwCallBackArg(): Deno.PointerValue { + get dwCallBackArg(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5662,7 +5662,7 @@ export class PDH_BROWSE_DLG_CONFIG_WView { } // 0x30: usize - set dwCallBackArg(value: Deno.PointerValue) { + set dwCallBackArg(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5700,7 +5700,7 @@ export interface PDH_BROWSE_DLG_CONFIG_A { /** Windows.Win32.System.Performance.CounterPathCallBack */ pCallBack: Uint8Array | Deno.PointerValue; /** usize */ - dwCallBackArg: Deno.PointerValue; + dwCallBackArg: bigint | number; /** i32 */ CallBackStatus: number; /** Windows.Win32.System.Performance.PERF_DETAIL */ @@ -5797,7 +5797,7 @@ export class PDH_BROWSE_DLG_CONFIG_AView { } // 0x30: usize - get dwCallBackArg(): Deno.PointerValue { + get dwCallBackArg(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -5854,7 +5854,7 @@ export class PDH_BROWSE_DLG_CONFIG_AView { } // 0x30: usize - set dwCallBackArg(value: Deno.PointerValue) { + set dwCallBackArg(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -5877,7 +5877,7 @@ export class PDH_BROWSE_DLG_CONFIG_AView { export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type BOOLEAN = number; @@ -6460,7 +6460,7 @@ export function QueryPerformanceFrequency( export function InstallPerfDllW( szComputerName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, lpIniFile: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwFlags: Deno.PointerValue /* usize */, + dwFlags: bigint | number /* usize */, ): number /* u32 */ { return libloadperf_dll.InstallPerfDllW(util.pwstrToFfi(szComputerName), util.pwstrToFfi(lpIniFile), dwFlags); } @@ -6468,7 +6468,7 @@ export function InstallPerfDllW( export function InstallPerfDllA( szComputerName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, lpIniFile: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - dwFlags: Deno.PointerValue /* usize */, + dwFlags: bigint | number /* usize */, ): number /* u32 */ { return libloadperf_dll.InstallPerfDllA(util.pstrToFfi(szComputerName), util.pstrToFfi(lpIniFile), dwFlags); } @@ -6505,7 +6505,7 @@ export function UpdatePerfNameFilesA( szNewCtrFilePath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szNewHlpFilePath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szLanguageID: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - dwFlags: Deno.PointerValue /* usize */, + dwFlags: bigint | number /* usize */, ): number /* u32 */ { return libloadperf_dll.UpdatePerfNameFilesA(util.pstrToFfi(szNewCtrFilePath), util.pstrToFfi(szNewHlpFilePath), util.pstrToFfi(szLanguageID), dwFlags); } @@ -6514,7 +6514,7 @@ export function UpdatePerfNameFilesW( szNewCtrFilePath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szNewHlpFilePath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szLanguageID: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwFlags: Deno.PointerValue /* usize */, + dwFlags: bigint | number /* usize */, ): number /* u32 */ { return libloadperf_dll.UpdatePerfNameFilesW(util.pwstrToFfi(szNewCtrFilePath), util.pwstrToFfi(szNewHlpFilePath), util.pwstrToFfi(szLanguageID), dwFlags); } @@ -6624,7 +6624,7 @@ export function PerfSetULongLongCounterValue( Provider: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Instance: Deno.PointerValue | Uint8Array /* ptr */, CounterId: number /* u32 */, - Value: Deno.PointerValue /* u64 */, + Value: bigint | number /* u64 */, ): number /* u32 */ { return libADVAPI32_dll.PerfSetULongLongCounterValue(util.toPointer(Provider), util.toPointer(Instance), CounterId, Value); } @@ -6642,7 +6642,7 @@ export function PerfIncrementULongLongCounterValue( Provider: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Instance: Deno.PointerValue | Uint8Array /* ptr */, CounterId: number /* u32 */, - Value: Deno.PointerValue /* u64 */, + Value: bigint | number /* u64 */, ): number /* u32 */ { return libADVAPI32_dll.PerfIncrementULongLongCounterValue(util.toPointer(Provider), util.toPointer(Instance), CounterId, Value); } @@ -6660,7 +6660,7 @@ export function PerfDecrementULongLongCounterValue( Provider: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Instance: Deno.PointerValue | Uint8Array /* ptr */, CounterId: number /* u32 */, - Value: Deno.PointerValue /* u64 */, + Value: bigint | number /* u64 */, ): number /* u32 */ { return libADVAPI32_dll.PerfDecrementULongLongCounterValue(util.toPointer(Provider), util.toPointer(Instance), CounterId, Value); } @@ -6751,7 +6751,7 @@ export function PdhGetDllVersion( export function PdhOpenQueryW( szDataSource: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwUserData: Deno.PointerValue /* usize */, + dwUserData: bigint | number /* usize */, phQuery: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhOpenQueryW(util.pwstrToFfi(szDataSource), dwUserData, util.toPointer(phQuery)); @@ -6759,89 +6759,89 @@ export function PdhOpenQueryW( export function PdhOpenQueryA( szDataSource: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - dwUserData: Deno.PointerValue /* usize */, + dwUserData: bigint | number /* usize */, phQuery: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhOpenQueryA(util.pstrToFfi(szDataSource), dwUserData, util.toPointer(phQuery)); } export function PdhAddCounterW( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, szFullCounterPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwUserData: Deno.PointerValue /* usize */, + dwUserData: bigint | number /* usize */, phCounter: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhAddCounterW(hQuery, util.pwstrToFfi(szFullCounterPath), dwUserData, util.toPointer(phCounter)); } export function PdhAddCounterA( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, szFullCounterPath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - dwUserData: Deno.PointerValue /* usize */, + dwUserData: bigint | number /* usize */, phCounter: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhAddCounterA(hQuery, util.pstrToFfi(szFullCounterPath), dwUserData, util.toPointer(phCounter)); } export function PdhAddEnglishCounterW( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, szFullCounterPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - dwUserData: Deno.PointerValue /* usize */, + dwUserData: bigint | number /* usize */, phCounter: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhAddEnglishCounterW(hQuery, util.pwstrToFfi(szFullCounterPath), dwUserData, util.toPointer(phCounter)); } export function PdhAddEnglishCounterA( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, szFullCounterPath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, - dwUserData: Deno.PointerValue /* usize */, + dwUserData: bigint | number /* usize */, phCounter: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhAddEnglishCounterA(hQuery, util.pstrToFfi(szFullCounterPath), dwUserData, util.toPointer(phCounter)); } export function PdhCollectQueryDataWithTime( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, pllTimeStamp: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhCollectQueryDataWithTime(hQuery, util.toPointer(pllTimeStamp)); } export function PdhValidatePathExW( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szFullPathBuffer: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { return libpdh_dll.PdhValidatePathExW(hDataSource, util.pwstrToFfi(szFullPathBuffer)); } export function PdhValidatePathExA( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szFullPathBuffer: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { return libpdh_dll.PdhValidatePathExA(hDataSource, util.pstrToFfi(szFullPathBuffer)); } export function PdhRemoveCounter( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, ): number /* i32 */ { return libpdh_dll.PdhRemoveCounter(hCounter); } export function PdhCollectQueryData( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, ): number /* i32 */ { return libpdh_dll.PdhCollectQueryData(hQuery); } export function PdhCloseQuery( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, ): number /* i32 */ { return libpdh_dll.PdhCloseQuery(hQuery); } export function PdhGetFormattedCounterValue( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, dwFormat: PDH_FMT /* Windows.Win32.System.Performance.PDH_FMT */, lpdwType: Deno.PointerValue | Uint8Array /* ptr */, pValue: Deno.PointerValue | Uint8Array /* ptr */, @@ -6850,7 +6850,7 @@ export function PdhGetFormattedCounterValue( } export function PdhGetFormattedCounterArrayA( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, dwFormat: PDH_FMT /* Windows.Win32.System.Performance.PDH_FMT */, lpdwBufferSize: Deno.PointerValue | Uint8Array /* ptr */, lpdwItemCount: Deno.PointerValue | Uint8Array /* ptr */, @@ -6860,7 +6860,7 @@ export function PdhGetFormattedCounterArrayA( } export function PdhGetFormattedCounterArrayW( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, dwFormat: PDH_FMT /* Windows.Win32.System.Performance.PDH_FMT */, lpdwBufferSize: Deno.PointerValue | Uint8Array /* ptr */, lpdwItemCount: Deno.PointerValue | Uint8Array /* ptr */, @@ -6870,7 +6870,7 @@ export function PdhGetFormattedCounterArrayW( } export function PdhGetRawCounterValue( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, lpdwType: Deno.PointerValue | Uint8Array /* ptr */, pValue: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -6878,7 +6878,7 @@ export function PdhGetRawCounterValue( } export function PdhGetRawCounterArrayA( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, lpdwBufferSize: Deno.PointerValue | Uint8Array /* ptr */, lpdwItemCount: Deno.PointerValue | Uint8Array /* ptr */, ItemBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -6887,7 +6887,7 @@ export function PdhGetRawCounterArrayA( } export function PdhGetRawCounterArrayW( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, lpdwBufferSize: Deno.PointerValue | Uint8Array /* ptr */, lpdwItemCount: Deno.PointerValue | Uint8Array /* ptr */, ItemBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -6896,7 +6896,7 @@ export function PdhGetRawCounterArrayW( } export function PdhCalculateCounterFromRawValue( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, dwFormat: PDH_FMT /* Windows.Win32.System.Performance.PDH_FMT */, rawValue1: Deno.PointerValue | Uint8Array /* ptr */, rawValue2: Deno.PointerValue | Uint8Array /* ptr */, @@ -6906,7 +6906,7 @@ export function PdhCalculateCounterFromRawValue( } export function PdhComputeCounterStatistics( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, dwFormat: PDH_FMT /* Windows.Win32.System.Performance.PDH_FMT */, dwFirstEntry: number /* u32 */, dwNumEntries: number /* u32 */, @@ -6917,7 +6917,7 @@ export function PdhComputeCounterStatistics( } export function PdhGetCounterInfoW( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, bRetrieveExplainText: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.BOOLEAN */, pdwBufferSize: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -6926,7 +6926,7 @@ export function PdhGetCounterInfoW( } export function PdhGetCounterInfoA( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, bRetrieveExplainText: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.BOOLEAN */, pdwBufferSize: Deno.PointerValue | Uint8Array /* ptr */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, @@ -6935,7 +6935,7 @@ export function PdhGetCounterInfoA( } export function PdhSetCounterScaleFactor( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, lFactor: number /* i32 */, ): number /* i32 */ { return libpdh_dll.PdhSetCounterScaleFactor(hCounter, lFactor); @@ -7213,7 +7213,7 @@ export function PdhOpenLogW( szLogFileName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwAccessFlags: PDH_LOG /* Windows.Win32.System.Performance.PDH_LOG */, lpdwLogType: Deno.PointerValue | Uint8Array /* ptr */, - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, dwMaxSize: number /* u32 */, szUserCaption: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, phLog: Deno.PointerValue | Uint8Array /* ptr */, @@ -7225,7 +7225,7 @@ export function PdhOpenLogA( szLogFileName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwAccessFlags: PDH_LOG /* Windows.Win32.System.Performance.PDH_LOG */, lpdwLogType: Deno.PointerValue | Uint8Array /* ptr */, - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, dwMaxSize: number /* u32 */, szUserCaption: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, phLog: Deno.PointerValue | Uint8Array /* ptr */, @@ -7234,34 +7234,34 @@ export function PdhOpenLogA( } export function PdhUpdateLogW( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, szUserString: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): number /* i32 */ { return libpdh_dll.PdhUpdateLogW(hLog, util.pwstrToFfi(szUserString)); } export function PdhUpdateLogA( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, szUserString: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): number /* i32 */ { return libpdh_dll.PdhUpdateLogA(hLog, util.pstrToFfi(szUserString)); } export function PdhUpdateLogFileCatalog( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, ): number /* i32 */ { return libpdh_dll.PdhUpdateLogFileCatalog(hLog); } export function PdhGetLogFileSize( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, llSize: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhGetLogFileSize(hLog, util.toPointer(llSize)); } export function PdhCloseLog( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, dwFlags: number /* u32 */, ): number /* i32 */ { return libpdh_dll.PdhCloseLog(hLog, dwFlags); @@ -7286,13 +7286,13 @@ export function PdhSelectDataSourceA( } export function PdhIsRealTimeQuery( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libpdh_dll.PdhIsRealTimeQuery(hQuery)); } export function PdhSetQueryTimeRange( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, pInfo: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhSetQueryTimeRange(hQuery, util.toPointer(pInfo)); @@ -7317,7 +7317,7 @@ export function PdhGetDataSourceTimeRangeA( } export function PdhCollectQueryDataEx( - hQuery: Deno.PointerValue /* isize */, + hQuery: bigint | number /* isize */, dwIntervalTime: number /* u32 */, hNewDataEvent: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, ): number /* i32 */ { @@ -7336,14 +7336,14 @@ export function PdhFormatFromRawValue( } export function PdhGetCounterTimeBase( - hCounter: Deno.PointerValue /* isize */, + hCounter: bigint | number /* isize */, pTimeBase: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhGetCounterTimeBase(hCounter, util.toPointer(pTimeBase)); } export function PdhReadRawLogRecord( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, ftRecord: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.FILETIME */, pRawLogRecord: Deno.PointerValue | Uint8Array /* ptr */, pdwBufferLength: Deno.PointerValue | Uint8Array /* ptr */, @@ -7372,15 +7372,15 @@ export function PdhBindInputDataSourceA( } export function PdhOpenQueryH( - hDataSource: Deno.PointerValue /* isize */, - dwUserData: Deno.PointerValue /* usize */, + hDataSource: bigint | number /* isize */, + dwUserData: bigint | number /* usize */, phQuery: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { return libpdh_dll.PdhOpenQueryH(hDataSource, dwUserData, util.toPointer(phQuery)); } export function PdhEnumMachinesHW( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, mszMachineList: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchBufferSize: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -7388,7 +7388,7 @@ export function PdhEnumMachinesHW( } export function PdhEnumMachinesHA( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, mszMachineList: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchBufferSize: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -7396,7 +7396,7 @@ export function PdhEnumMachinesHA( } export function PdhEnumObjectsHW( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, mszObjectList: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchBufferSize: Deno.PointerValue | Uint8Array /* ptr */, @@ -7407,7 +7407,7 @@ export function PdhEnumObjectsHW( } export function PdhEnumObjectsHA( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, mszObjectList: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchBufferSize: Deno.PointerValue | Uint8Array /* ptr */, @@ -7418,7 +7418,7 @@ export function PdhEnumObjectsHA( } export function PdhEnumObjectItemsHW( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szObjectName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, mszCounterList: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -7432,7 +7432,7 @@ export function PdhEnumObjectItemsHW( } export function PdhEnumObjectItemsHA( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szObjectName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, mszCounterList: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -7446,7 +7446,7 @@ export function PdhEnumObjectItemsHA( } export function PdhExpandWildCardPathHW( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szWildCardPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, mszExpandedPathList: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchPathListLength: Deno.PointerValue | Uint8Array /* ptr */, @@ -7456,7 +7456,7 @@ export function PdhExpandWildCardPathHW( } export function PdhExpandWildCardPathHA( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szWildCardPath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, mszExpandedPathList: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchPathListLength: Deno.PointerValue | Uint8Array /* ptr */, @@ -7466,7 +7466,7 @@ export function PdhExpandWildCardPathHA( } export function PdhGetDataSourceTimeRangeH( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, pdwNumEntries: Deno.PointerValue | Uint8Array /* ptr */, pInfo: Deno.PointerValue | Uint8Array /* ptr */, pdwBufferSize: Deno.PointerValue | Uint8Array /* ptr */, @@ -7475,7 +7475,7 @@ export function PdhGetDataSourceTimeRangeH( } export function PdhGetDefaultPerfObjectHW( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szDefaultObjectName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchBufferSize: Deno.PointerValue | Uint8Array /* ptr */, @@ -7484,7 +7484,7 @@ export function PdhGetDefaultPerfObjectHW( } export function PdhGetDefaultPerfObjectHA( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szDefaultObjectName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchBufferSize: Deno.PointerValue | Uint8Array /* ptr */, @@ -7493,7 +7493,7 @@ export function PdhGetDefaultPerfObjectHA( } export function PdhGetDefaultPerfCounterHW( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szObjectName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, szDefaultCounterName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, @@ -7503,7 +7503,7 @@ export function PdhGetDefaultPerfCounterHW( } export function PdhGetDefaultPerfCounterHA( - hDataSource: Deno.PointerValue /* isize */, + hDataSource: bigint | number /* isize */, szMachineName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szObjectName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, szDefaultCounterName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, @@ -7565,7 +7565,7 @@ export function PdhEnumLogSetNamesA( } export function PdhGetLogSetGUID( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, pGuid: Deno.PointerValue | Uint8Array /* ptr */, pRunId: Deno.PointerValue | Uint8Array /* ptr */, ): number /* i32 */ { @@ -7573,7 +7573,7 @@ export function PdhGetLogSetGUID( } export function PdhSetLogSetRunID( - hLog: Deno.PointerValue /* isize */, + hLog: bigint | number /* isize */, RunId: number /* i32 */, ): number /* i32 */ { return libpdh_dll.PdhSetLogSetRunID(hLog, RunId); diff --git a/api/System/Performance/HardwareCounterProfiling.ts b/api/System/Performance/HardwareCounterProfiling.ts index e49f299..6921736 100644 --- a/api/System/Performance/HardwareCounterProfiling.ts +++ b/api/System/Performance/HardwareCounterProfiling.ts @@ -20,7 +20,7 @@ export interface HARDWARE_COUNTER_DATA { /** u32 */ Reserved: number; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofHARDWARE_COUNTER_DATA = 16; @@ -58,7 +58,7 @@ export class HARDWARE_COUNTER_DATAView { } // 0x08: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -73,7 +73,7 @@ export class HARDWARE_COUNTER_DATAView { } // 0x08: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -91,9 +91,9 @@ export interface PERFORMANCE_DATA { /** u32 */ ContextSwitchCount: number; /** u64 */ - WaitReasonBitMap: Deno.PointerValue; + WaitReasonBitMap: bigint | number; /** u64 */ - CycleTime: Deno.PointerValue; + CycleTime: bigint | number; /** u32 */ RetryCount: number; /** u32 */ @@ -159,12 +159,12 @@ export class PERFORMANCE_DATAView { } // 0x08: u64 - get WaitReasonBitMap(): Deno.PointerValue { + get WaitReasonBitMap(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CycleTime(): Deno.PointerValue { + get CycleTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -205,12 +205,12 @@ export class PERFORMANCE_DATAView { } // 0x08: u64 - set WaitReasonBitMap(value: Deno.PointerValue) { + set WaitReasonBitMap(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CycleTime(value: Deno.PointerValue) { + set CycleTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -230,7 +230,7 @@ export class PERFORMANCE_DATAView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -260,7 +260,7 @@ try { export function EnableThreadProfiling( ThreadHandle: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, Flags: number /* u32 */, - HardwareCounters: Deno.PointerValue /* u64 */, + HardwareCounters: bigint | number /* u64 */, PerformanceDataHandle: Deno.PointerValue | Uint8Array /* ptr */, ): number /* u32 */ { return libKERNEL32_dll.EnableThreadProfiling(util.toPointer(ThreadHandle), Flags, HardwareCounters, util.toPointer(PerformanceDataHandle)); diff --git a/api/System/Pipes.ts b/api/System/Pipes.ts index ae7b973..fe4f301 100644 --- a/api/System/Pipes.ts +++ b/api/System/Pipes.ts @@ -71,7 +71,7 @@ export const SECURITY_VALID_SQOS_FLAGS = 2031616; export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; diff --git a/api/System/Power.ts b/api/System/Power.ts index 44bd1c5..e220438 100644 --- a/api/System/Power.ts +++ b/api/System/Power.ts @@ -376,17 +376,17 @@ export const KEY_ALL_ACCESS = 983103; */ export interface PROCESSOR_POWER_INFORMATION { /** u64 */ - Number: Deno.PointerValue; + Number: bigint | number; /** u64 */ - MaxMhz: Deno.PointerValue; + MaxMhz: bigint | number; /** u64 */ - CurrentMhz: Deno.PointerValue; + CurrentMhz: bigint | number; /** u64 */ - MhzLimit: Deno.PointerValue; + MhzLimit: bigint | number; /** u64 */ - MaxIdleState: Deno.PointerValue; + MaxIdleState: bigint | number; /** u64 */ - CurrentIdleState: Deno.PointerValue; + CurrentIdleState: bigint | number; } export const sizeofPROCESSOR_POWER_INFORMATION = 48; @@ -420,62 +420,62 @@ export class PROCESSOR_POWER_INFORMATIONView { } // 0x00: u64 - get Number(): Deno.PointerValue { + get Number(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get MaxMhz(): Deno.PointerValue { + get MaxMhz(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get CurrentMhz(): Deno.PointerValue { + get CurrentMhz(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get MhzLimit(): Deno.PointerValue { + get MhzLimit(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get MaxIdleState(): Deno.PointerValue { + get MaxIdleState(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get CurrentIdleState(): Deno.PointerValue { + get CurrentIdleState(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set Number(value: Deno.PointerValue) { + set Number(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set MaxMhz(value: Deno.PointerValue) { + set MaxMhz(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set CurrentMhz(value: Deno.PointerValue) { + set CurrentMhz(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set MhzLimit(value: Deno.PointerValue) { + set MhzLimit(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set MaxIdleState(value: Deno.PointerValue) { + set MaxIdleState(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set CurrentIdleState(value: Deno.PointerValue) { + set CurrentIdleState(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -485,11 +485,11 @@ export class PROCESSOR_POWER_INFORMATIONView { */ export interface SYSTEM_POWER_INFORMATION { /** u64 */ - MaxIdlenessAllowed: Deno.PointerValue; + MaxIdlenessAllowed: bigint | number; /** u64 */ - Idleness: Deno.PointerValue; + Idleness: bigint | number; /** u64 */ - TimeRemaining: Deno.PointerValue; + TimeRemaining: bigint | number; /** Windows.Win32.System.Power.POWER_COOLING_MODE */ CoolingMode: POWER_COOLING_MODE; } @@ -522,17 +522,17 @@ export class SYSTEM_POWER_INFORMATIONView { } // 0x00: u64 - get MaxIdlenessAllowed(): Deno.PointerValue { + get MaxIdlenessAllowed(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Idleness(): Deno.PointerValue { + get Idleness(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get TimeRemaining(): Deno.PointerValue { + get TimeRemaining(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -544,17 +544,17 @@ export class SYSTEM_POWER_INFORMATIONView { // 0x1a: pad6 // 0x00: u64 - set MaxIdlenessAllowed(value: Deno.PointerValue) { + set MaxIdlenessAllowed(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Idleness(value: Deno.PointerValue) { + set Idleness(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set TimeRemaining(value: Deno.PointerValue) { + set TimeRemaining(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -625,7 +625,7 @@ export class DEVPROPKEYView { // 0x0c: pad4 } -export type HPOWERNOTIFY = Deno.PointerValue; +export type HPOWERNOTIFY = bigint | number; /** * Windows.Win32.System.Power.GLOBAL_MACHINE_POWER_POLICY (size: 16) @@ -2508,7 +2508,7 @@ export interface BATTERY_USB_CHARGER_STATUS { /** Windows.Win32.System.Power.USB_CHARGER_PORT */ PortType: USB_CHARGER_PORT; /** u64 */ - PortId: Deno.PointerValue; + PortId: bigint | number; /** ptr */ PowerSourceInformation: Deno.PointerValue | Uint8Array; /** System.Guid */ @@ -2582,7 +2582,7 @@ export class BATTERY_USB_CHARGER_STATUSView { } // 0x18: u64 - get PortId(): Deno.PointerValue { + get PortId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -2629,7 +2629,7 @@ export class BATTERY_USB_CHARGER_STATUSView { } // 0x18: u64 - set PortId(value: Deno.PointerValue) { + set PortId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -2908,7 +2908,7 @@ export interface THERMAL_INFORMATION { /** u32 */ ThermalConstant2: number; /** usize */ - Processors: Deno.PointerValue; + Processors: bigint | number; /** u32 */ SamplingPeriod: number; /** u32 */ @@ -2981,7 +2981,7 @@ export class THERMAL_INFORMATIONView { // 0x0c: pad4 // 0x10: usize - get Processors(): Deno.PointerValue { + get Processors(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3036,7 +3036,7 @@ export class THERMAL_INFORMATIONView { // 0x0c: pad4 // 0x10: usize - set Processors(value: Deno.PointerValue) { + set Processors(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -3800,9 +3800,9 @@ export class EMI_METADATA_SIZEView { */ export interface EMI_CHANNEL_MEASUREMENT_DATA { /** u64 */ - AbsoluteEnergy: Deno.PointerValue; + AbsoluteEnergy: bigint | number; /** u64 */ - AbsoluteTime: Deno.PointerValue; + AbsoluteTime: bigint | number; } export const sizeofEMI_CHANNEL_MEASUREMENT_DATA = 16; @@ -3828,22 +3828,22 @@ export class EMI_CHANNEL_MEASUREMENT_DATAView { } // 0x00: u64 - get AbsoluteEnergy(): Deno.PointerValue { + get AbsoluteEnergy(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get AbsoluteTime(): Deno.PointerValue { + get AbsoluteTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set AbsoluteEnergy(value: Deno.PointerValue) { + set AbsoluteEnergy(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set AbsoluteTime(value: Deno.PointerValue) { + set AbsoluteTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6212,13 +6212,13 @@ export class SYSTEM_POWER_STATUSView { export type NTSTATUS = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; export type HRESULT = number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; export type BOOL = number; diff --git a/api/System/ProcessStatus.ts b/api/System/ProcessStatus.ts index f2a33eb..aa6564f 100644 --- a/api/System/ProcessStatus.ts +++ b/api/System/ProcessStatus.ts @@ -150,9 +150,9 @@ export interface PSAPI_WS_WATCH_INFORMATION_EX { /** Windows.Win32.System.ProcessStatus.PSAPI_WS_WATCH_INFORMATION */ BasicInfo: Uint8Array | Deno.PointerValue; /** usize */ - FaultingThreadId: Deno.PointerValue; + FaultingThreadId: bigint | number; /** usize */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofPSAPI_WS_WATCH_INFORMATION_EX = 24; @@ -186,12 +186,12 @@ export class PSAPI_WS_WATCH_INFORMATION_EXView { } // 0x08: usize - get FaultingThreadId(): Deno.PointerValue { + get FaultingThreadId(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -201,12 +201,12 @@ export class PSAPI_WS_WATCH_INFORMATION_EXView { } // 0x08: usize - set FaultingThreadId(value: Deno.PointerValue) { + set FaultingThreadId(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -216,9 +216,9 @@ export class PSAPI_WS_WATCH_INFORMATION_EXView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -244,22 +244,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -269,7 +269,7 @@ export class _Anonymous_e__StructView { */ export interface PSAPI_WORKING_SET_BLOCK { /** usize */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** _Anonymous_e__Struct */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -297,7 +297,7 @@ export class PSAPI_WORKING_SET_BLOCKView { } // 0x00: usize - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -308,7 +308,7 @@ export class PSAPI_WORKING_SET_BLOCKView { } // 0x00: usize - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -323,7 +323,7 @@ export class PSAPI_WORKING_SET_BLOCKView { */ export interface PSAPI_WORKING_SET_INFORMATION { /** usize */ - NumberOfEntries: Deno.PointerValue; + NumberOfEntries: bigint | number; /** array */ WorkingSetInfo: Deno.PointerValue; } @@ -351,7 +351,7 @@ export class PSAPI_WORKING_SET_INFORMATIONView { } // 0x00: usize - get NumberOfEntries(): Deno.PointerValue { + get NumberOfEntries(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -362,7 +362,7 @@ export class PSAPI_WORKING_SET_INFORMATIONView { } // 0x00: usize - set NumberOfEntries(value: Deno.PointerValue) { + set NumberOfEntries(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -432,7 +432,7 @@ export class _Anonymous_e__UnionView { */ export interface PSAPI_WORKING_SET_EX_BLOCK { /** usize */ - Flags: Deno.PointerValue; + Flags: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; } @@ -460,7 +460,7 @@ export class PSAPI_WORKING_SET_EX_BLOCKView { } // 0x00: usize - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -471,7 +471,7 @@ export class PSAPI_WORKING_SET_EX_BLOCKView { } // 0x00: usize - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -545,21 +545,21 @@ export interface PROCESS_MEMORY_COUNTERS { /** u32 */ PageFaultCount: number; /** usize */ - PeakWorkingSetSize: Deno.PointerValue; + PeakWorkingSetSize: bigint | number; /** usize */ - WorkingSetSize: Deno.PointerValue; + WorkingSetSize: bigint | number; /** usize */ - QuotaPeakPagedPoolUsage: Deno.PointerValue; + QuotaPeakPagedPoolUsage: bigint | number; /** usize */ - QuotaPagedPoolUsage: Deno.PointerValue; + QuotaPagedPoolUsage: bigint | number; /** usize */ - QuotaPeakNonPagedPoolUsage: Deno.PointerValue; + QuotaPeakNonPagedPoolUsage: bigint | number; /** usize */ - QuotaNonPagedPoolUsage: Deno.PointerValue; + QuotaNonPagedPoolUsage: bigint | number; /** usize */ - PagefileUsage: Deno.PointerValue; + PagefileUsage: bigint | number; /** usize */ - PeakPagefileUsage: Deno.PointerValue; + PeakPagefileUsage: bigint | number; } export const sizeofPROCESS_MEMORY_COUNTERS = 72; @@ -611,42 +611,42 @@ export class PROCESS_MEMORY_COUNTERSView { } // 0x08: usize - get PeakWorkingSetSize(): Deno.PointerValue { + get PeakWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get WorkingSetSize(): Deno.PointerValue { + get WorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get QuotaPeakPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get QuotaPagedPoolUsage(): Deno.PointerValue { + get QuotaPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get QuotaPeakNonPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get QuotaNonPagedPoolUsage(): Deno.PointerValue { + get QuotaNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get PagefileUsage(): Deno.PointerValue { + get PagefileUsage(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get PeakPagefileUsage(): Deno.PointerValue { + get PeakPagefileUsage(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -661,42 +661,42 @@ export class PROCESS_MEMORY_COUNTERSView { } // 0x08: usize - set PeakWorkingSetSize(value: Deno.PointerValue) { + set PeakWorkingSetSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set WorkingSetSize(value: Deno.PointerValue) { + set WorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set QuotaPeakPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set QuotaPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set QuotaPeakNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set QuotaNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set PagefileUsage(value: Deno.PointerValue) { + set PagefileUsage(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set PeakPagefileUsage(value: Deno.PointerValue) { + set PeakPagefileUsage(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -710,23 +710,23 @@ export interface PROCESS_MEMORY_COUNTERS_EX { /** u32 */ PageFaultCount: number; /** usize */ - PeakWorkingSetSize: Deno.PointerValue; + PeakWorkingSetSize: bigint | number; /** usize */ - WorkingSetSize: Deno.PointerValue; + WorkingSetSize: bigint | number; /** usize */ - QuotaPeakPagedPoolUsage: Deno.PointerValue; + QuotaPeakPagedPoolUsage: bigint | number; /** usize */ - QuotaPagedPoolUsage: Deno.PointerValue; + QuotaPagedPoolUsage: bigint | number; /** usize */ - QuotaPeakNonPagedPoolUsage: Deno.PointerValue; + QuotaPeakNonPagedPoolUsage: bigint | number; /** usize */ - QuotaNonPagedPoolUsage: Deno.PointerValue; + QuotaNonPagedPoolUsage: bigint | number; /** usize */ - PagefileUsage: Deno.PointerValue; + PagefileUsage: bigint | number; /** usize */ - PeakPagefileUsage: Deno.PointerValue; + PeakPagefileUsage: bigint | number; /** usize */ - PrivateUsage: Deno.PointerValue; + PrivateUsage: bigint | number; } export const sizeofPROCESS_MEMORY_COUNTERS_EX = 80; @@ -780,47 +780,47 @@ export class PROCESS_MEMORY_COUNTERS_EXView { } // 0x08: usize - get PeakWorkingSetSize(): Deno.PointerValue { + get PeakWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get WorkingSetSize(): Deno.PointerValue { + get WorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get QuotaPeakPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get QuotaPagedPoolUsage(): Deno.PointerValue { + get QuotaPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get QuotaPeakNonPagedPoolUsage(): Deno.PointerValue { + get QuotaPeakNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get QuotaNonPagedPoolUsage(): Deno.PointerValue { + get QuotaNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get PagefileUsage(): Deno.PointerValue { + get PagefileUsage(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get PeakPagefileUsage(): Deno.PointerValue { + get PeakPagefileUsage(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get PrivateUsage(): Deno.PointerValue { + get PrivateUsage(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -835,47 +835,47 @@ export class PROCESS_MEMORY_COUNTERS_EXView { } // 0x08: usize - set PeakWorkingSetSize(value: Deno.PointerValue) { + set PeakWorkingSetSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set WorkingSetSize(value: Deno.PointerValue) { + set WorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set QuotaPeakPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set QuotaPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set QuotaPeakNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPeakNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set QuotaNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set PagefileUsage(value: Deno.PointerValue) { + set PagefileUsage(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set PeakPagefileUsage(value: Deno.PointerValue) { + set PeakPagefileUsage(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set PrivateUsage(value: Deno.PointerValue) { + set PrivateUsage(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } } @@ -887,25 +887,25 @@ export interface PERFORMANCE_INFORMATION { /** u32 */ cb: number; /** usize */ - CommitTotal: Deno.PointerValue; + CommitTotal: bigint | number; /** usize */ - CommitLimit: Deno.PointerValue; + CommitLimit: bigint | number; /** usize */ - CommitPeak: Deno.PointerValue; + CommitPeak: bigint | number; /** usize */ - PhysicalTotal: Deno.PointerValue; + PhysicalTotal: bigint | number; /** usize */ - PhysicalAvailable: Deno.PointerValue; + PhysicalAvailable: bigint | number; /** usize */ - SystemCache: Deno.PointerValue; + SystemCache: bigint | number; /** usize */ - KernelTotal: Deno.PointerValue; + KernelTotal: bigint | number; /** usize */ - KernelPaged: Deno.PointerValue; + KernelPaged: bigint | number; /** usize */ - KernelNonpaged: Deno.PointerValue; + KernelNonpaged: bigint | number; /** usize */ - PageSize: Deno.PointerValue; + PageSize: bigint | number; /** u32 */ HandleCount: number; /** u32 */ @@ -970,52 +970,52 @@ export class PERFORMANCE_INFORMATIONView { // 0x04: pad4 // 0x08: usize - get CommitTotal(): Deno.PointerValue { + get CommitTotal(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get CommitLimit(): Deno.PointerValue { + get CommitLimit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get CommitPeak(): Deno.PointerValue { + get CommitPeak(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get PhysicalTotal(): Deno.PointerValue { + get PhysicalTotal(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get PhysicalAvailable(): Deno.PointerValue { + get PhysicalAvailable(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get SystemCache(): Deno.PointerValue { + get SystemCache(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get KernelTotal(): Deno.PointerValue { + get KernelTotal(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get KernelPaged(): Deno.PointerValue { + get KernelPaged(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get KernelNonpaged(): Deno.PointerValue { + get KernelNonpaged(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: usize - get PageSize(): Deno.PointerValue { + get PageSize(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -1044,52 +1044,52 @@ export class PERFORMANCE_INFORMATIONView { // 0x04: pad4 // 0x08: usize - set CommitTotal(value: Deno.PointerValue) { + set CommitTotal(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set CommitLimit(value: Deno.PointerValue) { + set CommitLimit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set CommitPeak(value: Deno.PointerValue) { + set CommitPeak(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set PhysicalTotal(value: Deno.PointerValue) { + set PhysicalTotal(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set PhysicalAvailable(value: Deno.PointerValue) { + set PhysicalAvailable(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set SystemCache(value: Deno.PointerValue) { + set SystemCache(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set KernelTotal(value: Deno.PointerValue) { + set KernelTotal(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set KernelPaged(value: Deno.PointerValue) { + set KernelPaged(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set KernelNonpaged(value: Deno.PointerValue) { + set KernelNonpaged(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: usize - set PageSize(value: Deno.PointerValue) { + set PageSize(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -1120,11 +1120,11 @@ export interface ENUM_PAGE_FILE_INFORMATION { /** u32 */ Reserved: number; /** usize */ - TotalSize: Deno.PointerValue; + TotalSize: bigint | number; /** usize */ - TotalInUse: Deno.PointerValue; + TotalInUse: bigint | number; /** usize */ - PeakUsage: Deno.PointerValue; + PeakUsage: bigint | number; } export const sizeofENUM_PAGE_FILE_INFORMATION = 32; @@ -1166,17 +1166,17 @@ export class ENUM_PAGE_FILE_INFORMATIONView { } // 0x08: usize - get TotalSize(): Deno.PointerValue { + get TotalSize(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get TotalInUse(): Deno.PointerValue { + get TotalInUse(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get PeakUsage(): Deno.PointerValue { + get PeakUsage(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -1191,26 +1191,26 @@ export class ENUM_PAGE_FILE_INFORMATIONView { } // 0x08: usize - set TotalSize(value: Deno.PointerValue) { + set TotalSize(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set TotalInUse(value: Deno.PointerValue) { + set TotalInUse(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set PeakUsage(value: Deno.PointerValue) { + set PeakUsage(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; diff --git a/api/System/Recovery.ts b/api/System/Recovery.ts index dd140b5..779e467 100644 --- a/api/System/Recovery.ts +++ b/api/System/Recovery.ts @@ -17,7 +17,7 @@ export type HRESULT = number; export type PWSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type BOOL = number; diff --git a/api/System/Registry.ts b/api/System/Registry.ts index 7ff3f4a..7cb3f9d 100644 --- a/api/System/Registry.ts +++ b/api/System/Registry.ts @@ -4186,7 +4186,7 @@ export const ERROR_QUERY_STORAGE_ERROR = 2151284737; // Structs -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; /** * Windows.Win32.System.Registry.val_context (size: 24) @@ -4588,7 +4588,7 @@ export interface VALENTA { /** u32 */ ve_valuelen: number; /** usize */ - ve_valueptr: Deno.PointerValue; + ve_valueptr: bigint | number; /** Windows.Win32.System.Registry.REG_VALUE_TYPE */ ve_type: REG_VALUE_TYPE; } @@ -4638,7 +4638,7 @@ export class VALENTAView { // 0x0c: pad4 // 0x10: usize - get ve_valueptr(): Deno.PointerValue { + get ve_valueptr(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4663,7 +4663,7 @@ export class VALENTAView { // 0x0c: pad4 // 0x10: usize - set ve_valueptr(value: Deno.PointerValue) { + set ve_valueptr(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4684,7 +4684,7 @@ export interface VALENTW { /** u32 */ ve_valuelen: number; /** usize */ - ve_valueptr: Deno.PointerValue; + ve_valueptr: bigint | number; /** Windows.Win32.System.Registry.REG_VALUE_TYPE */ ve_type: REG_VALUE_TYPE; } @@ -4734,7 +4734,7 @@ export class VALENTWView { // 0x0c: pad4 // 0x10: usize - get ve_valueptr(): Deno.PointerValue { + get ve_valueptr(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -4759,7 +4759,7 @@ export class VALENTWView { // 0x0c: pad4 // 0x10: usize - set ve_valueptr(value: Deno.PointerValue) { + set ve_valueptr(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -4927,7 +4927,7 @@ export class DSKTLSYSTEMTIMEView { // 0x12: pad6 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; diff --git a/api/System/RemoteDesktop.ts b/api/System/RemoteDesktop.ts index 0e2be4e..1caa7da 100644 --- a/api/System/RemoteDesktop.ts +++ b/api/System/RemoteDesktop.ts @@ -627,13 +627,13 @@ export const MB_MISCMASK = 49152; */ export interface AE_CURRENT_POSITION { /** u64 */ - u64DevicePosition: Deno.PointerValue; + u64DevicePosition: bigint | number; /** u64 */ - u64StreamPosition: Deno.PointerValue; + u64StreamPosition: bigint | number; /** u64 */ - u64PaddingFrames: Deno.PointerValue; + u64PaddingFrames: bigint | number; /** i64 */ - hnsQPCPosition: Deno.PointerValue; + hnsQPCPosition: bigint | number; /** f32 */ f32FramesPerSecond: number; /** Windows.Win32.System.RemoteDesktop.AE_POSITION_FLAGS */ @@ -671,22 +671,22 @@ export class AE_CURRENT_POSITIONView { } // 0x00: u64 - get u64DevicePosition(): Deno.PointerValue { + get u64DevicePosition(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get u64StreamPosition(): Deno.PointerValue { + get u64StreamPosition(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get u64PaddingFrames(): Deno.PointerValue { + get u64PaddingFrames(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: i64 - get hnsQPCPosition(): Deno.PointerValue { + get hnsQPCPosition(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -701,22 +701,22 @@ export class AE_CURRENT_POSITIONView { } // 0x00: u64 - set u64DevicePosition(value: Deno.PointerValue) { + set u64DevicePosition(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set u64StreamPosition(value: Deno.PointerValue) { + set u64StreamPosition(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set u64PaddingFrames(value: Deno.PointerValue) { + set u64PaddingFrames(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: i64 - set hnsQPCPosition(value: Deno.PointerValue) { + set hnsQPCPosition(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -731,7 +731,7 @@ export class AE_CURRENT_POSITIONView { } } -export type HwtsVirtualChannelHandle = Deno.PointerValue; +export type HwtsVirtualChannelHandle = bigint | number; export type BSTR = Deno.PointerValue | Uint8Array; @@ -2074,9 +2074,9 @@ export class WTSCONFIGINFOAView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2102,22 +2102,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2194,7 +2194,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -2234,7 +2234,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -2249,7 +2249,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -9071,7 +9071,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -14467,7 +14467,7 @@ export class WTSSESSION_NOTIFICATIONView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; diff --git a/api/System/RemoteManagement.ts b/api/System/RemoteManagement.ts index 355b388..5d697a1 100644 --- a/api/System/RemoteManagement.ts +++ b/api/System/RemoteManagement.ts @@ -780,9 +780,9 @@ export class WSMAN_DATA_BINARYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -808,22 +808,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2861,7 +2861,7 @@ export class WSMAN_CERTIFICATE_DETAILSView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.RemoteManagement.WSMAN_SENDER_DETAILS (size: 40) diff --git a/api/System/RestartManager.ts b/api/System/RestartManager.ts index f5cd244..85b6d99 100644 --- a/api/System/RestartManager.ts +++ b/api/System/RestartManager.ts @@ -295,9 +295,9 @@ export class RM_PROCESS_INFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -323,22 +323,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/System/Restore.ts b/api/System/Restore.ts index eafaf29..3463463 100644 --- a/api/System/Restore.ts +++ b/api/System/Restore.ts @@ -49,7 +49,7 @@ export interface RESTOREPOINTINFOA { /** Windows.Win32.System.Restore.RESTOREPOINTINFO_TYPE */ dwRestorePtType: RESTOREPOINTINFO_TYPE; /** i64 */ - llSequenceNumber: Deno.PointerValue; + llSequenceNumber: bigint | number; /** array */ szDescription: Deno.PointerValue; } @@ -91,7 +91,7 @@ export class RESTOREPOINTINFOAView { } // 0x08: i64 - get llSequenceNumber(): Deno.PointerValue { + get llSequenceNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -112,7 +112,7 @@ export class RESTOREPOINTINFOAView { } // 0x08: i64 - set llSequenceNumber(value: Deno.PointerValue) { + set llSequenceNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -131,7 +131,7 @@ export interface RESTOREPOINTINFOW { /** Windows.Win32.System.Restore.RESTOREPOINTINFO_TYPE */ dwRestorePtType: RESTOREPOINTINFO_TYPE; /** i64 */ - llSequenceNumber: Deno.PointerValue; + llSequenceNumber: bigint | number; /** array */ szDescription: Deno.PointerValue; } @@ -173,7 +173,7 @@ export class RESTOREPOINTINFOWView { } // 0x08: i64 - get llSequenceNumber(): Deno.PointerValue { + get llSequenceNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -194,7 +194,7 @@ export class RESTOREPOINTINFOWView { } // 0x08: i64 - set llSequenceNumber(value: Deno.PointerValue) { + set llSequenceNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -366,7 +366,7 @@ export interface STATEMGRSTATUS { /** u32 */ nStatus: number; /** i64 */ - llSequenceNumber: Deno.PointerValue; + llSequenceNumber: bigint | number; } export const sizeofSTATEMGRSTATUS = 16; @@ -400,7 +400,7 @@ export class STATEMGRSTATUSView { // 0x04: pad4 // 0x08: i64 - get llSequenceNumber(): Deno.PointerValue { + get llSequenceNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -412,7 +412,7 @@ export class STATEMGRSTATUSView { // 0x04: pad4 // 0x08: i64 - set llSequenceNumber(value: Deno.PointerValue) { + set llSequenceNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } diff --git a/api/System/Rpc.ts b/api/System/Rpc.ts index 4adcd6c..c695022 100644 --- a/api/System/Rpc.ts +++ b/api/System/Rpc.ts @@ -2490,7 +2490,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -6040,7 +6040,7 @@ export interface RPC_DISPATCH_TABLE { /** Windows.Win32.System.Rpc.RPC_DISPATCH_FUNCTION */ DispatchTable: Uint8Array | Deno.PointerValue; /** isize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; } export const sizeofRPC_DISPATCH_TABLE = 24; @@ -6082,7 +6082,7 @@ export class RPC_DISPATCH_TABLEView { } // 0x10: isize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6099,7 +6099,7 @@ export class RPC_DISPATCH_TABLEView { } // 0x10: isize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -6348,7 +6348,7 @@ export interface RPC_CLIENT_INTERFACE { /** ptr */ RpcProtseqEndpoint: Deno.PointerValue | Uint8Array; /** usize */ - Reserved: Deno.PointerValue; + Reserved: bigint | number; /** ptr */ InterpreterInfo: Deno.PointerValue | Uint8Array; /** u32 */ @@ -6433,7 +6433,7 @@ export class RPC_CLIENT_INTERFACEView { } // 0x30: usize - get Reserved(): Deno.PointerValue { + get Reserved(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -6485,7 +6485,7 @@ export class RPC_CLIENT_INTERFACEView { } // 0x30: usize - set Reserved(value: Deno.PointerValue) { + set Reserved(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -7179,7 +7179,7 @@ export interface _IOC_e__Struct { /** u32 */ dwNumberOfBytesTransferred: number; /** usize */ - dwCompletionKey: Deno.PointerValue; + dwCompletionKey: bigint | number; /** ptr */ lpOverlapped: Deno.PointerValue | Uint8Array; } @@ -7225,7 +7225,7 @@ export class _IOC_e__StructView { // 0x0c: pad4 // 0x10: usize - get dwCompletionKey(): Deno.PointerValue { + get dwCompletionKey(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7248,7 +7248,7 @@ export class _IOC_e__StructView { // 0x0c: pad4 // 0x10: usize - set dwCompletionKey(value: Deno.PointerValue) { + set dwCompletionKey(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7258,7 +7258,7 @@ export class _IOC_e__StructView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * _IntPtr_e__Struct (size: 16) @@ -10006,15 +10006,15 @@ export interface MIDL_STUB_MESSAGE { /** u16 */ UniquePtrCount: number; /** usize */ - MaxCount: Deno.PointerValue; + MaxCount: bigint | number; /** u32 */ Offset: number; /** u32 */ ActualCount: number; /** isize */ - pfnAllocate: Deno.PointerValue; + pfnAllocate: bigint | number; /** isize */ - pfnFree: Deno.PointerValue; + pfnFree: bigint | number; /** ptr */ StackTop: Deno.PointerValue | Uint8Array; /** ptr */ @@ -10066,13 +10066,13 @@ export interface MIDL_STUB_MESSAGE { /** ptr */ pMemoryList: Deno.PointerValue | Uint8Array; /** isize */ - pCSInfo: Deno.PointerValue; + pCSInfo: bigint | number; /** ptr */ ConformanceMark: Deno.PointerValue | Uint8Array; /** ptr */ VarianceMark: Deno.PointerValue | Uint8Array; /** isize */ - Unused: Deno.PointerValue; + Unused: bigint | number; /** ptr */ pContext: Deno.PointerValue | Uint8Array; /** ptr */ @@ -10080,11 +10080,11 @@ export interface MIDL_STUB_MESSAGE { /** ptr */ pUserMarshalList: Deno.PointerValue | Uint8Array; /** isize */ - Reserved51_3: Deno.PointerValue; + Reserved51_3: bigint | number; /** isize */ - Reserved51_4: Deno.PointerValue; + Reserved51_4: bigint | number; /** isize */ - Reserved51_5: Deno.PointerValue; + Reserved51_5: bigint | number; } export const sizeofMIDL_STUB_MESSAGE = 400; @@ -10336,7 +10336,7 @@ export class MIDL_STUB_MESSAGEView { // 0x64: pad4 // 0x68: usize - get MaxCount(): Deno.PointerValue { + get MaxCount(): bigint | number { return Number(this.view.getBigUint64(104, true)); } @@ -10351,12 +10351,12 @@ export class MIDL_STUB_MESSAGEView { } // 0x78: isize - get pfnAllocate(): Deno.PointerValue { + get pfnAllocate(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: isize - get pfnFree(): Deno.PointerValue { + get pfnFree(): bigint | number { return Number(this.view.getBigInt64(128, true)); } @@ -10509,7 +10509,7 @@ export class MIDL_STUB_MESSAGEView { } // 0x140: isize - get pCSInfo(): Deno.PointerValue { + get pCSInfo(): bigint | number { return Number(this.view.getBigInt64(320, true)); } @@ -10526,7 +10526,7 @@ export class MIDL_STUB_MESSAGEView { } // 0x158: isize - get Unused(): Deno.PointerValue { + get Unused(): bigint | number { return Number(this.view.getBigInt64(344, true)); } @@ -10549,17 +10549,17 @@ export class MIDL_STUB_MESSAGEView { } // 0x178: isize - get Reserved51_3(): Deno.PointerValue { + get Reserved51_3(): bigint | number { return Number(this.view.getBigInt64(376, true)); } // 0x180: isize - get Reserved51_4(): Deno.PointerValue { + get Reserved51_4(): bigint | number { return Number(this.view.getBigInt64(384, true)); } // 0x188: isize - get Reserved51_5(): Deno.PointerValue { + get Reserved51_5(): bigint | number { return Number(this.view.getBigInt64(392, true)); } @@ -10663,7 +10663,7 @@ export class MIDL_STUB_MESSAGEView { // 0x64: pad4 // 0x68: usize - set MaxCount(value: Deno.PointerValue) { + set MaxCount(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } @@ -10678,12 +10678,12 @@ export class MIDL_STUB_MESSAGEView { } // 0x78: isize - set pfnAllocate(value: Deno.PointerValue) { + set pfnAllocate(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: isize - set pfnFree(value: Deno.PointerValue) { + set pfnFree(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } @@ -10817,7 +10817,7 @@ export class MIDL_STUB_MESSAGEView { } // 0x140: isize - set pCSInfo(value: Deno.PointerValue) { + set pCSInfo(value: bigint | number) { this.view.setBigInt64(320, BigInt(value), true); } @@ -10832,7 +10832,7 @@ export class MIDL_STUB_MESSAGEView { } // 0x158: isize - set Unused(value: Deno.PointerValue) { + set Unused(value: bigint | number) { this.view.setBigInt64(344, BigInt(value), true); } @@ -10852,17 +10852,17 @@ export class MIDL_STUB_MESSAGEView { } // 0x178: isize - set Reserved51_3(value: Deno.PointerValue) { + set Reserved51_3(value: bigint | number) { this.view.setBigInt64(376, BigInt(value), true); } // 0x180: isize - set Reserved51_4(value: Deno.PointerValue) { + set Reserved51_4(value: bigint | number) { this.view.setBigInt64(384, BigInt(value), true); } // 0x188: isize - set Reserved51_5(value: Deno.PointerValue) { + set Reserved51_5(value: bigint | number) { this.view.setBigInt64(392, BigInt(value), true); } } @@ -11318,9 +11318,9 @@ export class USER_MARSHAL_CBView { */ export interface MALLOC_FREE_STRUCT { /** isize */ - pfnAllocate: Deno.PointerValue; + pfnAllocate: bigint | number; /** isize */ - pfnFree: Deno.PointerValue; + pfnFree: bigint | number; } export const sizeofMALLOC_FREE_STRUCT = 16; @@ -11346,22 +11346,22 @@ export class MALLOC_FREE_STRUCTView { } // 0x00: isize - get pfnAllocate(): Deno.PointerValue { + get pfnAllocate(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get pfnFree(): Deno.PointerValue { + get pfnFree(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: isize - set pfnAllocate(value: Deno.PointerValue) { + set pfnAllocate(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set pfnFree(value: Deno.PointerValue) { + set pfnFree(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -11696,9 +11696,9 @@ export interface MIDL_STUB_DESC { /** ptr */ RpcInterfaceInformation: Deno.PointerValue | Uint8Array; /** isize */ - pfnAllocate: Deno.PointerValue; + pfnAllocate: bigint | number; /** isize */ - pfnFree: Deno.PointerValue; + pfnFree: bigint | number; /** _IMPLICIT_HANDLE_INFO_e__Union */ IMPLICIT_HANDLE_INFO: Uint8Array | Deno.PointerValue; /** ptr */ @@ -11726,7 +11726,7 @@ export interface MIDL_STUB_DESC { /** ptr */ NotifyRoutineTable: Deno.PointerValue | Uint8Array; /** usize */ - mFlags: Deno.PointerValue; + mFlags: bigint | number; /** ptr */ CsRoutineTables: Deno.PointerValue | Uint8Array; /** ptr */ @@ -11801,12 +11801,12 @@ export class MIDL_STUB_DESCView { } // 0x08: isize - get pfnAllocate(): Deno.PointerValue { + get pfnAllocate(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get pfnFree(): Deno.PointerValue { + get pfnFree(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -11888,7 +11888,7 @@ export class MIDL_STUB_DESCView { } // 0x78: usize - get mFlags(): Deno.PointerValue { + get mFlags(): bigint | number { return Number(this.view.getBigUint64(120, true)); } @@ -11916,12 +11916,12 @@ export class MIDL_STUB_DESCView { } // 0x08: isize - set pfnAllocate(value: Deno.PointerValue) { + set pfnAllocate(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set pfnFree(value: Deno.PointerValue) { + set pfnFree(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -11993,7 +11993,7 @@ export class MIDL_STUB_DESCView { } // 0x78: usize - set mFlags(value: Deno.PointerValue) { + set mFlags(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } @@ -12079,7 +12079,7 @@ export interface MIDL_METHOD_PROPERTY { /** u32 */ Id: number; /** usize */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofMIDL_METHOD_PROPERTY = 16; @@ -12113,7 +12113,7 @@ export class MIDL_METHOD_PROPERTYView { // 0x04: pad4 // 0x08: usize - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -12125,7 +12125,7 @@ export class MIDL_METHOD_PROPERTYView { // 0x04: pad4 // 0x08: usize - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12265,7 +12265,7 @@ export interface MIDL_SERVER_INFO { /** ptr */ pTransferSyntax: Deno.PointerValue | Uint8Array; /** usize */ - nCount: Deno.PointerValue; + nCount: bigint | number; /** ptr */ pSyntaxInfo: Deno.PointerValue | Uint8Array; } @@ -12341,7 +12341,7 @@ export class MIDL_SERVER_INFOView { } // 0x30: usize - get nCount(): Deno.PointerValue { + get nCount(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -12382,7 +12382,7 @@ export class MIDL_SERVER_INFOView { } // 0x30: usize - set nCount(value: Deno.PointerValue) { + set nCount(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -12405,7 +12405,7 @@ export interface MIDL_STUBLESS_PROXY_INFO { /** ptr */ pTransferSyntax: Deno.PointerValue | Uint8Array; /** usize */ - nCount: Deno.PointerValue; + nCount: bigint | number; /** ptr */ pSyntaxInfo: Deno.PointerValue | Uint8Array; } @@ -12465,7 +12465,7 @@ export class MIDL_STUBLESS_PROXY_INFOView { } // 0x20: usize - get nCount(): Deno.PointerValue { + get nCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -12496,7 +12496,7 @@ export class MIDL_STUBLESS_PROXY_INFOView { } // 0x20: usize - set nCount(value: Deno.PointerValue) { + set nCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -12525,7 +12525,7 @@ export interface MIDL_SYNTAX_INFO { /** ptr */ pMethodProperties: Deno.PointerValue | Uint8Array; /** usize */ - pReserved2: Deno.PointerValue; + pReserved2: bigint | number; } export const sizeofMIDL_SYNTAX_INFO = 64; @@ -12605,7 +12605,7 @@ export class MIDL_SYNTAX_INFOView { } // 0x38: usize - get pReserved2(): Deno.PointerValue { + get pReserved2(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -12645,7 +12645,7 @@ export class MIDL_SYNTAX_INFOView { } // 0x38: usize - set pReserved2(value: Deno.PointerValue) { + set pReserved2(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -12657,7 +12657,7 @@ export interface CLIENT_CALL_RETURN { /** ptr */ Pointer: Deno.PointerValue | Uint8Array; /** isize */ - Simple: Deno.PointerValue; + Simple: bigint | number; } export const sizeofCLIENT_CALL_RETURN = 16; @@ -12689,7 +12689,7 @@ export class CLIENT_CALL_RETURNView { } // 0x08: isize - get Simple(): Deno.PointerValue { + get Simple(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -12699,7 +12699,7 @@ export class CLIENT_CALL_RETURNView { } // 0x08: isize - set Simple(value: Deno.PointerValue) { + set Simple(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -13011,9 +13011,9 @@ export interface NDR_USER_MARSHAL_INFO_LEVEL1 { /** u32 */ BufferSize: number; /** isize */ - pfnAllocate: Deno.PointerValue; + pfnAllocate: bigint | number; /** isize */ - pfnFree: Deno.PointerValue; + pfnFree: bigint | number; /** Windows.Win32.System.Com.IRpcChannelBuffer */ pRpcChannelBuffer: Uint8Array | Deno.PointerValue; /** array */ @@ -13065,12 +13065,12 @@ export class NDR_USER_MARSHAL_INFO_LEVEL1View { // 0x0c: pad4 // 0x10: isize - get pfnAllocate(): Deno.PointerValue { + get pfnAllocate(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get pfnFree(): Deno.PointerValue { + get pfnFree(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -13099,12 +13099,12 @@ export class NDR_USER_MARSHAL_INFO_LEVEL1View { // 0x0c: pad4 // 0x10: isize - set pfnAllocate(value: Deno.PointerValue) { + set pfnAllocate(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set pfnFree(value: Deno.PointerValue) { + set pfnFree(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -13124,9 +13124,9 @@ export class NDR_USER_MARSHAL_INFO_LEVEL1View { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -13152,22 +13152,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13722,9 +13722,9 @@ export interface NDR64_RANGE_FORMAT { /** u16 */ Reserved: number; /** i64 */ - MinValue: Deno.PointerValue; + MinValue: bigint | number; /** i64 */ - MaxValue: Deno.PointerValue; + MaxValue: bigint | number; } export const sizeofNDR64_RANGE_FORMAT = 24; @@ -13774,12 +13774,12 @@ export class NDR64_RANGE_FORMATView { // 0x04: pad4 // 0x08: i64 - get MinValue(): Deno.PointerValue { + get MinValue(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get MaxValue(): Deno.PointerValue { + get MaxValue(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -13801,12 +13801,12 @@ export class NDR64_RANGE_FORMATView { // 0x04: pad4 // 0x08: i64 - set MinValue(value: Deno.PointerValue) { + set MinValue(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set MaxValue(value: Deno.PointerValue) { + set MaxValue(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -16436,7 +16436,7 @@ export class NDR64_UNION_ARM_SELECTORView { */ export interface NDR64_UNION_ARM { /** i64 */ - CaseValue: Deno.PointerValue; + CaseValue: bigint | number; /** ptr */ Type: Deno.PointerValue | Uint8Array; /** u32 */ @@ -16469,7 +16469,7 @@ export class NDR64_UNION_ARMView { } // 0x00: i64 - get CaseValue(): Deno.PointerValue { + get CaseValue(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -16487,7 +16487,7 @@ export class NDR64_UNION_ARMView { // 0x14: pad4 // 0x00: i64 - set CaseValue(value: Deno.PointerValue) { + set CaseValue(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -17501,9 +17501,9 @@ export interface NDR64_RANGED_STRING_FORMAT { /** u32 */ Reserved: number; /** u64 */ - Min: Deno.PointerValue; + Min: bigint | number; /** u64 */ - Max: Deno.PointerValue; + Max: bigint | number; } export const sizeofNDR64_RANGED_STRING_FORMAT = 32; @@ -17547,12 +17547,12 @@ export class NDR64_RANGED_STRING_FORMATView { // 0x0c: pad4 // 0x10: u64 - get Min(): Deno.PointerValue { + get Min(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get Max(): Deno.PointerValue { + get Max(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -17569,12 +17569,12 @@ export class NDR64_RANGED_STRING_FORMATView { // 0x0c: pad4 // 0x10: u64 - set Min(value: Deno.PointerValue) { + set Min(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set Max(value: Deno.PointerValue) { + set Max(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -17852,7 +17852,7 @@ export interface NDR64_EXPR_CONST64 { /** u16 */ Reserved1: number; /** i64 */ - ConstValue: Deno.PointerValue; + ConstValue: bigint | number; } export const sizeofNDR64_EXPR_CONST64 = 16; @@ -17900,7 +17900,7 @@ export class NDR64_EXPR_CONST64View { // 0x04: pad4 // 0x08: i64 - get ConstValue(): Deno.PointerValue { + get ConstValue(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -17922,7 +17922,7 @@ export class NDR64_EXPR_CONST64View { // 0x04: pad4 // 0x08: i64 - set ConstValue(value: Deno.PointerValue) { + set ConstValue(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -21026,7 +21026,7 @@ export function RpcBindingFree( export function RpcBindingSetOption( hBinding: Deno.PointerValue | Uint8Array /* ptr */, option: number /* u32 */, - optionValue: Deno.PointerValue /* usize */, + optionValue: bigint | number /* usize */, ): RPC_STATUS /* Windows.Win32.System.Rpc.RPC_STATUS */ { return libRPCRT4_dll.RpcBindingSetOption(util.toPointer(hBinding), option, optionValue); } @@ -22499,7 +22499,7 @@ export function I_RpcBindingIsServerLocal( export function I_RpcBindingSetPrivateOption( hBinding: Deno.PointerValue | Uint8Array /* ptr */, option: number /* u32 */, - optionValue: Deno.PointerValue /* usize */, + optionValue: bigint | number /* usize */, ): RPC_STATUS /* Windows.Win32.System.Rpc.RPC_STATUS */ { return libRPCRT4_dll.I_RpcBindingSetPrivateOption(util.toPointer(hBinding), option, optionValue); } @@ -23095,7 +23095,7 @@ export function RpcErrorSaveErrorInfo( export function RpcErrorLoadErrorInfo( ErrorBlob: Deno.PointerValue | Uint8Array /* ptr */, - BlobSize: Deno.PointerValue /* usize */, + BlobSize: bigint | number /* usize */, EnumHandle: Deno.PointerValue | Uint8Array /* ptr */, ): RPC_STATUS /* Windows.Win32.System.Rpc.RPC_STATUS */ { return libRPCRT4_dll.RpcErrorLoadErrorInfo(util.toPointer(ErrorBlob), BlobSize, util.toPointer(EnumHandle)); @@ -23245,13 +23245,13 @@ export function I_RpcReBindBuffer( } export function NDRCContextBinding( - CContext: Deno.PointerValue /* isize */, + CContext: bigint | number /* isize */, ): Deno.PointerValue /* ptr */ { return libRPCRT4_dll.NDRCContextBinding(CContext); } export function NDRCContextMarshall( - CContext: Deno.PointerValue /* isize */, + CContext: bigint | number /* isize */, pBuff: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { return libRPCRT4_dll.NDRCContextMarshall(CContext, util.toPointer(pBuff)); @@ -23479,7 +23479,7 @@ export function NdrInterfacePointerMarshall( export function NdrClientContextMarshall( pStubMsg: Deno.PointerValue | Uint8Array /* ptr */, - ContextHandle: Deno.PointerValue /* isize */, + ContextHandle: bigint | number /* isize */, fCheck: number /* i32 */, ): void /* void */ { return libRPCRT4_dll.NdrClientContextMarshall(util.toPointer(pStubMsg), ContextHandle, fCheck); @@ -24315,7 +24315,7 @@ export function NdrMapCommAndFaultStatus( } export function RpcSsAllocate( - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libRPCRT4_dll.RpcSsAllocate(Size); } @@ -24361,7 +24361,7 @@ export function RpcSsSwapClientAllocFree( } export function RpcSmAllocate( - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, pStatus: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* ptr */ { return libRPCRT4_dll.RpcSmAllocate(Size, util.toPointer(pStatus)); @@ -24440,7 +24440,7 @@ export function NdrRpcSmSetClientToOsf( } export function NdrRpcSmClientAllocate( - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libRPCRT4_dll.NdrRpcSmClientAllocate(Size); } @@ -24452,7 +24452,7 @@ export function NdrRpcSmClientFree( } export function NdrRpcSsDefaultAllocate( - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libRPCRT4_dll.NdrRpcSsDefaultAllocate(Size); } @@ -24478,7 +24478,7 @@ export function NdrFullPointerXlatFree( export function NdrAllocate( pStubMsg: Deno.PointerValue | Uint8Array /* ptr */, - Len: Deno.PointerValue /* usize */, + Len: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libRPCRT4_dll.NdrAllocate(util.toPointer(pStubMsg), Len); } @@ -24492,7 +24492,7 @@ export function NdrClearOutParameters( } export function NdrOleAllocate( - Size: Deno.PointerValue /* usize */, + Size: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libRPCRT4_dll.NdrOleAllocate(Size); } @@ -24700,7 +24700,7 @@ export function MesInqProcEncodingId( export function NdrMesSimpleTypeAlignSize( param0: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libRPCRT4_dll.NdrMesSimpleTypeAlignSize(util.toPointer(param0)); } @@ -24726,7 +24726,7 @@ export function NdrMesTypeAlignSize( pStubDesc: Deno.PointerValue | Uint8Array /* ptr */, pFormatString: Deno.PointerValue | Uint8Array /* ptr */, pObject: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libRPCRT4_dll.NdrMesTypeAlignSize(util.toPointer(Handle), util.toPointer(pStubDesc), util.toPointer(pFormatString), util.toPointer(pObject)); } @@ -24754,7 +24754,7 @@ export function NdrMesTypeAlignSize2( pStubDesc: Deno.PointerValue | Uint8Array /* ptr */, pFormatString: Deno.PointerValue | Uint8Array /* ptr */, pObject: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libRPCRT4_dll.NdrMesTypeAlignSize2(util.toPointer(Handle), util.toPointer(pPicklingInfo), util.toPointer(pStubDesc), util.toPointer(pFormatString), util.toPointer(pObject)); } @@ -24811,7 +24811,7 @@ export function NdrMesTypeAlignSize3( ArrTypeOffset: Deno.PointerValue | Uint8Array /* ptr */, nTypeIndex: number /* u32 */, pObject: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libRPCRT4_dll.NdrMesTypeAlignSize3(util.toPointer(Handle), util.toPointer(pPicklingInfo), util.toPointer(pProxyInfo), util.toPointer(ArrTypeOffset), nTypeIndex, util.toPointer(pObject)); } @@ -24878,7 +24878,7 @@ export function NdrMesSimpleTypeEncodeAll( export function NdrMesSimpleTypeAlignSizeAll( Handle: Deno.PointerValue | Uint8Array /* ptr */, pProxyInfo: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libRPCRT4_dll.NdrMesSimpleTypeAlignSizeAll(util.toPointer(Handle), util.toPointer(pProxyInfo)); } diff --git a/api/System/Search.ts b/api/System/Search.ts index 4c15a77..f6b5454 100644 --- a/api/System/Search.ts +++ b/api/System/Search.ts @@ -4500,14 +4500,14 @@ export const COP_APPLICATION_SPECIFIC = 14; // Structs -export type HACCESSOR = Deno.PointerValue; +export type HACCESSOR = bigint | number; /** * Windows.Win32.System.Search.DBVECTOR (size: 16) */ export interface DBVECTOR { /** usize */ - size: Deno.PointerValue; + size: bigint | number; /** ptr */ ptr: Deno.PointerValue | Uint8Array; } @@ -4535,7 +4535,7 @@ export class DBVECTORView { } // 0x00: usize - get size(): Deno.PointerValue { + get size(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -4546,7 +4546,7 @@ export class DBVECTORView { } // 0x00: usize - set size(value: Deno.PointerValue) { + set size(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -5123,7 +5123,7 @@ export interface DBBINDEXT { /** ptr */ pExtension: Deno.PointerValue | Uint8Array; /** usize */ - ulExtension: Deno.PointerValue; + ulExtension: bigint | number; } export const sizeofDBBINDEXT = 16; @@ -5155,7 +5155,7 @@ export class DBBINDEXTView { } // 0x08: usize - get ulExtension(): Deno.PointerValue { + get ulExtension(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5165,7 +5165,7 @@ export class DBBINDEXTView { } // 0x08: usize - set ulExtension(value: Deno.PointerValue) { + set ulExtension(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5175,13 +5175,13 @@ export class DBBINDEXTView { */ export interface DBBINDING { /** usize */ - iOrdinal: Deno.PointerValue; + iOrdinal: bigint | number; /** usize */ - obValue: Deno.PointerValue; + obValue: bigint | number; /** usize */ - obLength: Deno.PointerValue; + obLength: bigint | number; /** usize */ - obStatus: Deno.PointerValue; + obStatus: bigint | number; /** Windows.Win32.System.Com.ITypeInfo */ pTypeInfo: Uint8Array | Deno.PointerValue; /** ptr */ @@ -5195,7 +5195,7 @@ export interface DBBINDING { /** u32 */ eParamIO: number; /** usize */ - cbMaxLen: Deno.PointerValue; + cbMaxLen: bigint | number; /** u32 */ dwFlags: number; /** u16 */ @@ -5256,22 +5256,22 @@ export class DBBINDINGView { } // 0x00: usize - get iOrdinal(): Deno.PointerValue { + get iOrdinal(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get obValue(): Deno.PointerValue { + get obValue(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get obLength(): Deno.PointerValue { + get obLength(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get obStatus(): Deno.PointerValue { + get obStatus(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -5311,7 +5311,7 @@ export class DBBINDINGView { // 0x44: pad4 // 0x48: usize - get cbMaxLen(): Deno.PointerValue { + get cbMaxLen(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -5336,22 +5336,22 @@ export class DBBINDINGView { } // 0x00: usize - set iOrdinal(value: Deno.PointerValue) { + set iOrdinal(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set obValue(value: Deno.PointerValue) { + set obValue(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set obLength(value: Deno.PointerValue) { + set obLength(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set obStatus(value: Deno.PointerValue) { + set obStatus(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -5388,7 +5388,7 @@ export class DBBINDINGView { // 0x44: pad4 // 0x48: usize - set cbMaxLen(value: Deno.PointerValue) { + set cbMaxLen(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -5420,9 +5420,9 @@ export type HRESULT = number; */ export interface DBFAILUREINFO { /** usize */ - hRow: Deno.PointerValue; + hRow: bigint | number; /** usize */ - iColumn: Deno.PointerValue; + iColumn: bigint | number; /** Windows.Win32.Foundation.HRESULT */ failure: Uint8Array | Deno.PointerValue; } @@ -5452,12 +5452,12 @@ export class DBFAILUREINFOView { } // 0x00: usize - get hRow(): Deno.PointerValue { + get hRow(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get iColumn(): Deno.PointerValue { + get iColumn(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5468,12 +5468,12 @@ export class DBFAILUREINFOView { } // 0x00: usize - set hRow(value: Deno.PointerValue) { + set hRow(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set iColumn(value: Deno.PointerValue) { + set iColumn(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5492,11 +5492,11 @@ export interface DBCOLUMNINFO { /** Windows.Win32.System.Com.ITypeInfo */ pTypeInfo: Uint8Array | Deno.PointerValue; /** usize */ - iOrdinal: Deno.PointerValue; + iOrdinal: bigint | number; /** u32 */ dwFlags: number; /** usize */ - ulColumnSize: Deno.PointerValue; + ulColumnSize: bigint | number; /** u16 */ wType: number; /** u8 */ @@ -5561,7 +5561,7 @@ export class DBCOLUMNINFOView { } // 0x10: usize - get iOrdinal(): Deno.PointerValue { + get iOrdinal(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -5573,7 +5573,7 @@ export class DBCOLUMNINFOView { // 0x1c: pad4 // 0x20: usize - get ulColumnSize(): Deno.PointerValue { + get ulColumnSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -5612,7 +5612,7 @@ export class DBCOLUMNINFOView { } // 0x10: usize - set iOrdinal(value: Deno.PointerValue) { + set iOrdinal(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -5624,7 +5624,7 @@ export class DBCOLUMNINFOView { // 0x1c: pad4 // 0x20: usize - set ulColumnSize(value: Deno.PointerValue) { + set ulColumnSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -5658,7 +5658,7 @@ export interface DBPARAMS { /** ptr */ pData: Deno.PointerValue | Uint8Array; /** usize */ - cParamSets: Deno.PointerValue; + cParamSets: bigint | number; /** Windows.Win32.System.Search.HACCESSOR */ hAccessor: Uint8Array | Deno.PointerValue; } @@ -5694,7 +5694,7 @@ export class DBPARAMSView { } // 0x08: usize - get cParamSets(): Deno.PointerValue { + get cParamSets(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5710,7 +5710,7 @@ export class DBPARAMSView { } // 0x08: usize - set cParamSets(value: Deno.PointerValue) { + set cParamSets(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5727,13 +5727,13 @@ export interface DBPARAMINFO { /** u32 */ dwFlags: number; /** usize */ - iOrdinal: Deno.PointerValue; + iOrdinal: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pwszName: string | null | Uint8Array | Uint16Array; /** Windows.Win32.System.Com.ITypeInfo */ pTypeInfo: Uint8Array | Deno.PointerValue; /** usize */ - ulParamSize: Deno.PointerValue; + ulParamSize: bigint | number; /** u16 */ wType: number; /** u8 */ @@ -5789,7 +5789,7 @@ export class DBPARAMINFOView { // 0x04: pad4 // 0x08: usize - get iOrdinal(): Deno.PointerValue { + get iOrdinal(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5806,7 +5806,7 @@ export class DBPARAMINFOView { } // 0x20: usize - get ulParamSize(): Deno.PointerValue { + get ulParamSize(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -5835,7 +5835,7 @@ export class DBPARAMINFOView { // 0x04: pad4 // 0x08: usize - set iOrdinal(value: Deno.PointerValue) { + set iOrdinal(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5851,7 +5851,7 @@ export class DBPARAMINFOView { } // 0x20: usize - set ulParamSize(value: Deno.PointerValue) { + set ulParamSize(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -5952,9 +5952,9 @@ export class DBPROPIDSETView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -5980,22 +5980,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6525,7 +6525,7 @@ export interface DBCOLUMNDESC { /** u32 */ cPropertySets: number; /** usize */ - ulColumnSize: Deno.PointerValue; + ulColumnSize: bigint | number; /** Windows.Win32.Storage.IndexServer.DBID */ dbcid: Uint8Array | Deno.PointerValue; /** u16 */ @@ -6611,7 +6611,7 @@ export class DBCOLUMNDESCView { // 0x24: pad4 // 0x28: usize - get ulColumnSize(): Deno.PointerValue { + get ulColumnSize(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -6667,7 +6667,7 @@ export class DBCOLUMNDESCView { // 0x24: pad4 // 0x28: usize - set ulColumnSize(value: Deno.PointerValue) { + set ulColumnSize(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -6703,13 +6703,13 @@ export interface DBCOLUMNACCESS { /** Windows.Win32.Storage.IndexServer.DBID */ columnid: Uint8Array | Deno.PointerValue; /** usize */ - cbDataLen: Deno.PointerValue; + cbDataLen: bigint | number; /** u32 */ dwStatus: number; /** usize */ - cbMaxLen: Deno.PointerValue; + cbMaxLen: bigint | number; /** usize */ - dwReserved: Deno.PointerValue; + dwReserved: bigint | number; /** u16 */ wType: number; /** u8 */ @@ -6769,7 +6769,7 @@ export class DBCOLUMNACCESSView { } // 0x10: usize - get cbDataLen(): Deno.PointerValue { + get cbDataLen(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6781,12 +6781,12 @@ export class DBCOLUMNACCESSView { // 0x1c: pad4 // 0x20: usize - get cbMaxLen(): Deno.PointerValue { + get cbMaxLen(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get dwReserved(): Deno.PointerValue { + get dwReserved(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -6818,7 +6818,7 @@ export class DBCOLUMNACCESSView { } // 0x10: usize - set cbDataLen(value: Deno.PointerValue) { + set cbDataLen(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -6830,12 +6830,12 @@ export class DBCOLUMNACCESSView { // 0x1c: pad4 // 0x20: usize - set cbMaxLen(value: Deno.PointerValue) { + set cbMaxLen(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set dwReserved(value: Deno.PointerValue) { + set dwReserved(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -6866,13 +6866,13 @@ export interface DBCONSTRAINTDESC { /** u32 */ ConstraintType: number; /** usize */ - cColumns: Deno.PointerValue; + cColumns: bigint | number; /** ptr */ rgColumnList: Deno.PointerValue | Uint8Array; /** ptr */ pReferencedTableID: Deno.PointerValue | Uint8Array; /** usize */ - cForeignKeyColumns: Deno.PointerValue; + cForeignKeyColumns: bigint | number; /** ptr */ rgForeignKeyColumnList: Deno.PointerValue | Uint8Array; /** Windows.Win32.Foundation.PWSTR */ @@ -6886,7 +6886,7 @@ export interface DBCONSTRAINTDESC { /** u32 */ Deferrability: number; /** usize */ - cReserved: Deno.PointerValue; + cReserved: bigint | number; /** ptr */ rgReserved: Deno.PointerValue | Uint8Array; } @@ -6955,7 +6955,7 @@ export class DBCONSTRAINTDESCView { // 0x0c: pad4 // 0x10: usize - get cColumns(): Deno.PointerValue { + get cColumns(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -6972,7 +6972,7 @@ export class DBCONSTRAINTDESCView { } // 0x28: usize - get cForeignKeyColumns(): Deno.PointerValue { + get cForeignKeyColumns(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -7009,7 +7009,7 @@ export class DBCONSTRAINTDESCView { } // 0x50: usize - get cReserved(): Deno.PointerValue { + get cReserved(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -7032,7 +7032,7 @@ export class DBCONSTRAINTDESCView { // 0x0c: pad4 // 0x10: usize - set cColumns(value: Deno.PointerValue) { + set cColumns(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7047,7 +7047,7 @@ export class DBCONSTRAINTDESCView { } // 0x28: usize - set cForeignKeyColumns(value: Deno.PointerValue) { + set cForeignKeyColumns(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -7083,7 +7083,7 @@ export class DBCONSTRAINTDESCView { } // 0x50: usize - set cReserved(value: Deno.PointerValue) { + set cReserved(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -7098,13 +7098,13 @@ export class DBCONSTRAINTDESCView { */ export interface MDAXISINFO { /** usize */ - cbSize: Deno.PointerValue; + cbSize: bigint | number; /** usize */ - iAxis: Deno.PointerValue; + iAxis: bigint | number; /** usize */ - cDimensions: Deno.PointerValue; + cDimensions: bigint | number; /** usize */ - cCoordinates: Deno.PointerValue; + cCoordinates: bigint | number; /** ptr */ rgcColumns: Deno.PointerValue | Uint8Array; /** ptr */ @@ -7142,22 +7142,22 @@ export class MDAXISINFOView { } // 0x00: usize - get cbSize(): Deno.PointerValue { + get cbSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get iAxis(): Deno.PointerValue { + get iAxis(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get cDimensions(): Deno.PointerValue { + get cDimensions(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get cCoordinates(): Deno.PointerValue { + get cCoordinates(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -7174,22 +7174,22 @@ export class MDAXISINFOView { } // 0x00: usize - set cbSize(value: Deno.PointerValue) { + set cbSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set iAxis(value: Deno.PointerValue) { + set iAxis(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set cDimensions(value: Deno.PointerValue) { + set cDimensions(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set cCoordinates(value: Deno.PointerValue) { + set cCoordinates(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -7466,7 +7466,7 @@ export interface DBPARAMBINDINFO { /** Windows.Win32.Foundation.PWSTR */ pwszName: string | null | Uint8Array | Uint16Array; /** usize */ - ulParamSize: Deno.PointerValue; + ulParamSize: bigint | number; /** u32 */ dwFlags: number; /** u8 */ @@ -7525,7 +7525,7 @@ export class DBPARAMBINDINFOView { } // 0x10: usize - get ulParamSize(): Deno.PointerValue { + get ulParamSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7559,7 +7559,7 @@ export class DBPARAMBINDINFOView { } // 0x10: usize - set ulParamSize(value: Deno.PointerValue) { + set ulParamSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7825,13 +7825,13 @@ export class ERRORINFOView { */ export interface DBROWWATCHCHANGE { /** usize */ - hRegion: Deno.PointerValue; + hRegion: bigint | number; /** u32 */ eChangeKind: number; /** usize */ - hRow: Deno.PointerValue; + hRow: bigint | number; /** usize */ - iRow: Deno.PointerValue; + iRow: bigint | number; } export const sizeofDBROWWATCHCHANGE = 32; @@ -7862,7 +7862,7 @@ export class DBROWWATCHCHANGEView { } // 0x00: usize - get hRegion(): Deno.PointerValue { + get hRegion(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7874,17 +7874,17 @@ export class DBROWWATCHCHANGEView { // 0x0c: pad4 // 0x10: usize - get hRow(): Deno.PointerValue { + get hRow(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get iRow(): Deno.PointerValue { + get iRow(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: usize - set hRegion(value: Deno.PointerValue) { + set hRegion(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7896,12 +7896,12 @@ export class DBROWWATCHCHANGEView { // 0x0c: pad4 // 0x10: usize - set hRow(value: Deno.PointerValue) { + set hRow(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set iRow(value: Deno.PointerValue) { + set iRow(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -12707,11 +12707,11 @@ export class CATEGORIZATIONSETView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -12763,7 +12763,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12774,7 +12774,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12810,7 +12810,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -12821,7 +12821,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12858,7 +12858,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -12887,7 +12887,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -12899,7 +12899,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13246,7 +13246,7 @@ export class SSERRORINFOView { export type PSTR = Deno.PointerValue | Uint8Array; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -14952,7 +14952,7 @@ export function SQLCloseEnumServers( export function SQLDriverConnect( hdbc: Deno.PointerValue | Uint8Array /* ptr */, - hwnd: Deno.PointerValue /* isize */, + hwnd: bigint | number /* isize */, szConnStrIn: Deno.PointerValue | Uint8Array /* ptr */, cchConnStrIn: number /* i16 */, szConnStrOut: Deno.PointerValue | Uint8Array /* ptr */, @@ -15338,7 +15338,7 @@ export function SQLDataSourcesW( export function SQLDriverConnectW( hdbc: Deno.PointerValue | Uint8Array /* ptr */, - hwnd: Deno.PointerValue /* isize */, + hwnd: bigint | number /* isize */, szConnStrIn: Deno.PointerValue | Uint8Array /* ptr */, cchConnStrIn: number /* i16 */, szConnStrOut: Deno.PointerValue | Uint8Array /* ptr */, @@ -15705,7 +15705,7 @@ export function SQLDataSourcesA( export function SQLDriverConnectA( hdbc: Deno.PointerValue | Uint8Array /* ptr */, - hwnd: Deno.PointerValue /* isize */, + hwnd: bigint | number /* isize */, szConnStrIn: Deno.PointerValue | Uint8Array /* ptr */, cbConnStrIn: number /* i16 */, szConnStrOut: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/System/SecurityCenter.ts b/api/System/SecurityCenter.ts index 15a4b36..160c0a2 100644 --- a/api/System/SecurityCenter.ts +++ b/api/System/SecurityCenter.ts @@ -42,7 +42,7 @@ export const WSC_SECURITY_PROVIDER_HEALTH_SNOOZE = 3; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/System/Services.ts b/api/System/Services.ts index f69106f..fcbc6f4 100644 --- a/api/System/Services.ts +++ b/api/System/Services.ts @@ -246,7 +246,7 @@ export const UNPROTECTED_SACL_SECURITY_INFORMATION = 268435456; // Structs -export type SERVICE_STATUS_HANDLE = Deno.PointerValue; +export type SERVICE_STATUS_HANDLE = bigint | number; /** * Windows.Win32.System.Services.SERVICE_TRIGGER_CUSTOM_STATE_ID (size: 8) @@ -472,7 +472,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -2249,9 +2249,9 @@ export class SERVICE_PREFERRED_NODE_INFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2277,22 +2277,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2369,7 +2369,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -2409,7 +2409,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -2424,7 +2424,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -4378,7 +4378,7 @@ export class SERVICE_START_REASONView { // 0x04: pad4 } -export type SC_HANDLE = Deno.PointerValue; +export type SC_HANDLE = bigint | number; export type PSECURITY_DESCRIPTOR = Deno.PointerValue | Uint8Array; diff --git a/api/System/Shutdown.ts b/api/System/Shutdown.ts index 3ba3ba1..775b105 100644 --- a/api/System/Shutdown.ts +++ b/api/System/Shutdown.ts @@ -106,7 +106,7 @@ export type PWSTR = Deno.PointerValue | Uint8Array; export type BOOLEAN = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries diff --git a/api/System/StationsAndDesktops.ts b/api/System/StationsAndDesktops.ts index 0d58d3d..e322aed 100644 --- a/api/System/StationsAndDesktops.ts +++ b/api/System/StationsAndDesktops.ts @@ -33,9 +33,9 @@ export const DF_ALLOWOTHERACCOUNTHOOK = 1; // Structs -export type HWINSTA = Deno.PointerValue; +export type HWINSTA = bigint | number; -export type HDESK = Deno.PointerValue; +export type HDESK = bigint | number; export type BOOL = number; @@ -111,7 +111,7 @@ export class USEROBJECTFLAGSView { // 0x0c: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Foundation.LUID (size: 8) @@ -259,11 +259,11 @@ export type PSTR = Deno.PointerValue | Uint8Array; export type PWSTR = Deno.PointerValue | Uint8Array; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; // Native Libraries diff --git a/api/System/SubsystemForLinux.ts b/api/System/SubsystemForLinux.ts index f5a3581..1338585 100644 --- a/api/System/SubsystemForLinux.ts +++ b/api/System/SubsystemForLinux.ts @@ -19,7 +19,7 @@ export type BOOL = number; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries diff --git a/api/System/SystemInformation.ts b/api/System/SystemInformation.ts index 17f6073..925c71d 100644 --- a/api/System/SystemInformation.ts +++ b/api/System/SystemInformation.ts @@ -400,7 +400,7 @@ export type FIRMWARE_TABLE_ID = number; */ export interface GROUP_AFFINITY { /** usize */ - Mask: Deno.PointerValue; + Mask: bigint | number; /** u16 */ Group: number; /** array */ @@ -433,7 +433,7 @@ export class GROUP_AFFINITYView { } // 0x00: usize - get Mask(): Deno.PointerValue { + get Mask(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -451,7 +451,7 @@ export class GROUP_AFFINITYView { } // 0x00: usize - set Mask(value: Deno.PointerValue) { + set Mask(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -473,9 +473,9 @@ export class GROUP_AFFINITYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -501,22 +501,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -589,7 +589,7 @@ export interface SYSTEM_INFO { /** ptr */ lpMaximumApplicationAddress: Deno.PointerValue | Uint8Array; /** usize */ - dwActiveProcessorMask: Deno.PointerValue; + dwActiveProcessorMask: bigint | number; /** u32 */ dwNumberOfProcessors: number; /** u32 */ @@ -667,7 +667,7 @@ export class SYSTEM_INFOView { } // 0x20: usize - get dwActiveProcessorMask(): Deno.PointerValue { + get dwActiveProcessorMask(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -719,7 +719,7 @@ export class SYSTEM_INFOView { } // 0x20: usize - set dwActiveProcessorMask(value: Deno.PointerValue) { + set dwActiveProcessorMask(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -758,19 +758,19 @@ export interface MEMORYSTATUSEX { /** u32 */ dwMemoryLoad: number; /** u64 */ - ullTotalPhys: Deno.PointerValue; + ullTotalPhys: bigint | number; /** u64 */ - ullAvailPhys: Deno.PointerValue; + ullAvailPhys: bigint | number; /** u64 */ - ullTotalPageFile: Deno.PointerValue; + ullTotalPageFile: bigint | number; /** u64 */ - ullAvailPageFile: Deno.PointerValue; + ullAvailPageFile: bigint | number; /** u64 */ - ullTotalVirtual: Deno.PointerValue; + ullTotalVirtual: bigint | number; /** u64 */ - ullAvailVirtual: Deno.PointerValue; + ullAvailVirtual: bigint | number; /** u64 */ - ullAvailExtendedVirtual: Deno.PointerValue; + ullAvailExtendedVirtual: bigint | number; } export const sizeofMEMORYSTATUSEX = 64; @@ -820,37 +820,37 @@ export class MEMORYSTATUSEXView { } // 0x08: u64 - get ullTotalPhys(): Deno.PointerValue { + get ullTotalPhys(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ullAvailPhys(): Deno.PointerValue { + get ullAvailPhys(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ullTotalPageFile(): Deno.PointerValue { + get ullTotalPageFile(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get ullAvailPageFile(): Deno.PointerValue { + get ullAvailPageFile(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get ullTotalVirtual(): Deno.PointerValue { + get ullTotalVirtual(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get ullAvailVirtual(): Deno.PointerValue { + get ullAvailVirtual(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get ullAvailExtendedVirtual(): Deno.PointerValue { + get ullAvailExtendedVirtual(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -865,37 +865,37 @@ export class MEMORYSTATUSEXView { } // 0x08: u64 - set ullTotalPhys(value: Deno.PointerValue) { + set ullTotalPhys(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ullAvailPhys(value: Deno.PointerValue) { + set ullAvailPhys(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ullTotalPageFile(value: Deno.PointerValue) { + set ullTotalPageFile(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set ullAvailPageFile(value: Deno.PointerValue) { + set ullAvailPageFile(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set ullTotalVirtual(value: Deno.PointerValue) { + set ullTotalVirtual(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set ullAvailVirtual(value: Deno.PointerValue) { + set ullAvailVirtual(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set ullAvailExtendedVirtual(value: Deno.PointerValue) { + set ullAvailExtendedVirtual(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -1005,7 +1005,7 @@ export class CACHE_DESCRIPTORView { */ export interface SYSTEM_LOGICAL_PROCESSOR_INFORMATION { /** usize */ - ProcessorMask: Deno.PointerValue; + ProcessorMask: bigint | number; /** Windows.Win32.System.SystemInformation.LOGICAL_PROCESSOR_RELATIONSHIP */ Relationship: LOGICAL_PROCESSOR_RELATIONSHIP; /** _Anonymous_e__Union */ @@ -1038,7 +1038,7 @@ export class SYSTEM_LOGICAL_PROCESSOR_INFORMATIONView { } // 0x00: usize - get ProcessorMask(): Deno.PointerValue { + get ProcessorMask(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -1056,7 +1056,7 @@ export class SYSTEM_LOGICAL_PROCESSOR_INFORMATIONView { } // 0x00: usize - set ProcessorMask(value: Deno.PointerValue) { + set ProcessorMask(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -1433,7 +1433,7 @@ export interface PROCESSOR_GROUP_INFO { /** array */ Reserved: Deno.PointerValue; /** usize */ - ActiveProcessorMask: Deno.PointerValue; + ActiveProcessorMask: bigint | number; } export const sizeofPROCESSOR_GROUP_INFO = 24; @@ -1482,7 +1482,7 @@ export class PROCESSOR_GROUP_INFOView { } // 0x10: usize - get ActiveProcessorMask(): Deno.PointerValue { + get ActiveProcessorMask(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -1504,7 +1504,7 @@ export class PROCESSOR_GROUP_INFOView { } // 0x10: usize - set ActiveProcessorMask(value: Deno.PointerValue) { + set ActiveProcessorMask(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -1780,7 +1780,7 @@ export class SYSTEM_POOL_ZEROING_INFORMATIONView { */ export interface SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION { /** u64 */ - CycleTime: Deno.PointerValue; + CycleTime: bigint | number; } export const sizeofSYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION = 8; @@ -1804,12 +1804,12 @@ export class SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATIONView { } // 0x00: u64 - get CycleTime(): Deno.PointerValue { + get CycleTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set CycleTime(value: Deno.PointerValue) { + set CycleTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -2467,17 +2467,17 @@ export interface MEMORYSTATUS { /** u32 */ dwMemoryLoad: number; /** usize */ - dwTotalPhys: Deno.PointerValue; + dwTotalPhys: bigint | number; /** usize */ - dwAvailPhys: Deno.PointerValue; + dwAvailPhys: bigint | number; /** usize */ - dwTotalPageFile: Deno.PointerValue; + dwTotalPageFile: bigint | number; /** usize */ - dwAvailPageFile: Deno.PointerValue; + dwAvailPageFile: bigint | number; /** usize */ - dwTotalVirtual: Deno.PointerValue; + dwTotalVirtual: bigint | number; /** usize */ - dwAvailVirtual: Deno.PointerValue; + dwAvailVirtual: bigint | number; } export const sizeofMEMORYSTATUS = 56; @@ -2525,32 +2525,32 @@ export class MEMORYSTATUSView { } // 0x08: usize - get dwTotalPhys(): Deno.PointerValue { + get dwTotalPhys(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwAvailPhys(): Deno.PointerValue { + get dwAvailPhys(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get dwTotalPageFile(): Deno.PointerValue { + get dwTotalPageFile(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get dwAvailPageFile(): Deno.PointerValue { + get dwAvailPageFile(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: usize - get dwTotalVirtual(): Deno.PointerValue { + get dwTotalVirtual(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: usize - get dwAvailVirtual(): Deno.PointerValue { + get dwAvailVirtual(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -2565,32 +2565,32 @@ export class MEMORYSTATUSView { } // 0x08: usize - set dwTotalPhys(value: Deno.PointerValue) { + set dwTotalPhys(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwAvailPhys(value: Deno.PointerValue) { + set dwAvailPhys(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set dwTotalPageFile(value: Deno.PointerValue) { + set dwTotalPageFile(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set dwAvailPageFile(value: Deno.PointerValue) { + set dwAvailPageFile(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: usize - set dwTotalVirtual(value: Deno.PointerValue) { + set dwTotalVirtual(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: usize - set dwAvailVirtual(value: Deno.PointerValue) { + set dwAvailVirtual(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -2603,7 +2603,7 @@ export type PWSTR = Deno.PointerValue | Uint8Array; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; // Native Libraries @@ -2949,7 +2949,7 @@ export function GetTickCount(): number /* u32 */ { return libKERNEL32_dll.GetTickCount(); } -export function GetTickCount64(): Deno.PointerValue /* u64 */ { +export function GetTickCount64(): bigint | number /* u64 */ { return libKERNEL32_dll.GetTickCount64(); } @@ -3090,10 +3090,10 @@ export function GetProductInfo( } export function VerSetConditionMask( - ConditionMask: Deno.PointerValue /* u64 */, + ConditionMask: bigint | number /* u64 */, TypeMask: VER_FLAGS /* Windows.Win32.System.SystemInformation.VER_FLAGS */, Condition: number /* u8 */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libKERNEL32_dll.VerSetConditionMask(ConditionMask, TypeMask, Condition); } @@ -3150,7 +3150,7 @@ export function SetSystemTimeAdjustment( } export function SetSystemTimeAdjustmentPrecise( - dwTimeAdjustment: Deno.PointerValue /* u64 */, + dwTimeAdjustment: bigint | number /* u64 */, bTimeAdjustmentDisabled: boolean /* Windows.Win32.Foundation.BOOL */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libapi_ms_win_core_sysinfo_l1_2_4_dll.SetSystemTimeAdjustmentPrecise(dwTimeAdjustment, util.boolToFfi(bTimeAdjustmentDisabled))); @@ -3286,7 +3286,7 @@ export function RtlConvertDeviceFamilyInfoToString( export function RtlSwitchedVVI( VersionInfo: Deno.PointerValue | Uint8Array /* ptr */, TypeMask: number /* u32 */, - ConditionMask: Deno.PointerValue /* u64 */, + ConditionMask: bigint | number /* u64 */, ): number /* u32 */ { return libntdll_dll.RtlSwitchedVVI(util.toPointer(VersionInfo), TypeMask, ConditionMask); } @@ -3310,7 +3310,7 @@ export function GetFirmwareType( export function VerifyVersionInfoA( lpVersionInformation: Deno.PointerValue | Uint8Array /* ptr */, dwTypeMask: VER_FLAGS /* Windows.Win32.System.SystemInformation.VER_FLAGS */, - dwlConditionMask: Deno.PointerValue /* u64 */, + dwlConditionMask: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.VerifyVersionInfoA(util.toPointer(lpVersionInformation), dwTypeMask, dwlConditionMask)); } @@ -3318,7 +3318,7 @@ export function VerifyVersionInfoA( export function VerifyVersionInfoW( lpVersionInformation: Deno.PointerValue | Uint8Array /* ptr */, dwTypeMask: VER_FLAGS /* Windows.Win32.System.SystemInformation.VER_FLAGS */, - dwlConditionMask: Deno.PointerValue /* u64 */, + dwlConditionMask: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.VerifyVersionInfoW(util.toPointer(lpVersionInformation), dwTypeMask, dwlConditionMask)); } diff --git a/api/System/SystemServices.ts b/api/System/SystemServices.ts index dbf7406..a76313b 100644 --- a/api/System/SystemServices.ts +++ b/api/System/SystemServices.ts @@ -17,7 +17,7 @@ export type DEV_BROADCAST_VOLUME_FLAGS = number; export type MODIFIERKEYS_FLAGS = number; export type STATIC_STYLES = number; export type RECO_FLAGS = number; -export type SFGAO_FLAGS = Deno.PointerValue; +export type SFGAO_FLAGS = bigint | number; export type DESKTOP_ACCESS_FLAGS = number; export type ACCESS_REASON_TYPE = number; export type SE_IMAGE_SIGNATURE_TYPE = number; @@ -4882,9 +4882,9 @@ export class DEVICE_EVENT_BECOMING_READYView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4910,22 +4910,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4939,7 +4939,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -4979,7 +4979,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -4994,7 +4994,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -6436,7 +6436,7 @@ export class DEV_BROADCAST_DEVICEINTERFACE_WView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.SystemServices.DEV_BROADCAST_HANDLE (size: 56) @@ -6749,9 +6749,9 @@ export interface DEV_BROADCAST_HANDLE64 { /** u32 */ dbch_reserved: number; /** u64 */ - dbch_handle: Deno.PointerValue; + dbch_handle: bigint | number; /** u64 */ - dbch_hdevnotify: Deno.PointerValue; + dbch_hdevnotify: bigint | number; /** System.Guid */ dbch_eventguid: Uint8Array | Deno.PointerValue; /** i32 */ @@ -6814,12 +6814,12 @@ export class DEV_BROADCAST_HANDLE64View { // 0x0c: pad4 // 0x10: u64 - get dbch_handle(): Deno.PointerValue { + get dbch_handle(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get dbch_hdevnotify(): Deno.PointerValue { + get dbch_hdevnotify(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -6860,12 +6860,12 @@ export class DEV_BROADCAST_HANDLE64View { // 0x0c: pad4 // 0x10: u64 - set dbch_handle(value: Deno.PointerValue) { + set dbch_handle(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set dbch_hdevnotify(value: Deno.PointerValue) { + set dbch_hdevnotify(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -6947,9 +6947,9 @@ export class _DEV_BROADCAST_USERDEFINEDView { */ export interface REARRANGE_FILE_DATA32 { /** u64 */ - SourceStartingOffset: Deno.PointerValue; + SourceStartingOffset: bigint | number; /** u64 */ - TargetOffset: Deno.PointerValue; + TargetOffset: bigint | number; /** u32 */ SourceFileHandle: number; /** u32 */ @@ -6988,12 +6988,12 @@ export class REARRANGE_FILE_DATA32View { } // 0x00: u64 - get SourceStartingOffset(): Deno.PointerValue { + get SourceStartingOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TargetOffset(): Deno.PointerValue { + get TargetOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7015,12 +7015,12 @@ export class REARRANGE_FILE_DATA32View { // 0x1c: pad4 // 0x00: u64 - set SourceStartingOffset(value: Deno.PointerValue) { + set SourceStartingOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TargetOffset(value: Deno.PointerValue) { + set TargetOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -7047,9 +7047,9 @@ export class REARRANGE_FILE_DATA32View { */ export interface XSAVE_CET_U_FORMAT { /** u64 */ - Ia32CetUMsr: Deno.PointerValue; + Ia32CetUMsr: bigint | number; /** u64 */ - Ia32Pl3SspMsr: Deno.PointerValue; + Ia32Pl3SspMsr: bigint | number; } export const sizeofXSAVE_CET_U_FORMAT = 16; @@ -7075,22 +7075,22 @@ export class XSAVE_CET_U_FORMATView { } // 0x00: u64 - get Ia32CetUMsr(): Deno.PointerValue { + get Ia32CetUMsr(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Ia32Pl3SspMsr(): Deno.PointerValue { + get Ia32Pl3SspMsr(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Ia32CetUMsr(value: Deno.PointerValue) { + set Ia32CetUMsr(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Ia32Pl3SspMsr(value: Deno.PointerValue) { + set Ia32Pl3SspMsr(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7155,9 +7155,9 @@ export class _Anonymous_e__UnionView { */ export interface KERNEL_CET_CONTEXT { /** u64 */ - Ssp: Deno.PointerValue; + Ssp: bigint | number; /** u64 */ - Rip: Deno.PointerValue; + Rip: bigint | number; /** u16 */ SegCs: number; /** _Anonymous_e__Union */ @@ -7196,12 +7196,12 @@ export class KERNEL_CET_CONTEXTView { } // 0x00: u64 - get Ssp(): Deno.PointerValue { + get Ssp(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Rip(): Deno.PointerValue { + get Rip(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7225,12 +7225,12 @@ export class KERNEL_CET_CONTEXTView { } // 0x00: u64 - set Ssp(value: Deno.PointerValue) { + set Ssp(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Rip(value: Deno.PointerValue) { + set Rip(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -7670,11 +7670,11 @@ export class SECURITY_OBJECT_AI_PARAMSView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -7726,7 +7726,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7737,7 +7737,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -7773,7 +7773,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7784,7 +7784,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -7821,7 +7821,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -7850,7 +7850,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7862,7 +7862,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -8161,19 +8161,19 @@ export class NT_TIB32View { */ export interface NT_TIB64 { /** u64 */ - ExceptionList: Deno.PointerValue; + ExceptionList: bigint | number; /** u64 */ - StackBase: Deno.PointerValue; + StackBase: bigint | number; /** u64 */ - StackLimit: Deno.PointerValue; + StackLimit: bigint | number; /** u64 */ - SubSystemTib: Deno.PointerValue; + SubSystemTib: bigint | number; /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** u64 */ - ArbitraryUserPointer: Deno.PointerValue; + ArbitraryUserPointer: bigint | number; /** u64 */ - Self: Deno.PointerValue; + Self: bigint | number; } export const sizeofNT_TIB64 = 56; @@ -8209,22 +8209,22 @@ export class NT_TIB64View { } // 0x00: u64 - get ExceptionList(): Deno.PointerValue { + get ExceptionList(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get StackBase(): Deno.PointerValue { + get StackBase(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get StackLimit(): Deno.PointerValue { + get StackLimit(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get SubSystemTib(): Deno.PointerValue { + get SubSystemTib(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8235,32 +8235,32 @@ export class NT_TIB64View { } // 0x28: u64 - get ArbitraryUserPointer(): Deno.PointerValue { + get ArbitraryUserPointer(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get Self(): Deno.PointerValue { + get Self(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x00: u64 - set ExceptionList(value: Deno.PointerValue) { + set ExceptionList(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set StackBase(value: Deno.PointerValue) { + set StackBase(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set StackLimit(value: Deno.PointerValue) { + set StackLimit(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set SubSystemTib(value: Deno.PointerValue) { + set SubSystemTib(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -8270,12 +8270,12 @@ export class NT_TIB64View { } // 0x28: u64 - set ArbitraryUserPointer(value: Deno.PointerValue) { + set ArbitraryUserPointer(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set Self(value: Deno.PointerValue) { + set Self(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -8462,25 +8462,25 @@ export class RATE_QUOTA_LIMITView { */ export interface QUOTA_LIMITS_EX { /** usize */ - PagedPoolLimit: Deno.PointerValue; + PagedPoolLimit: bigint | number; /** usize */ - NonPagedPoolLimit: Deno.PointerValue; + NonPagedPoolLimit: bigint | number; /** usize */ - MinimumWorkingSetSize: Deno.PointerValue; + MinimumWorkingSetSize: bigint | number; /** usize */ - MaximumWorkingSetSize: Deno.PointerValue; + MaximumWorkingSetSize: bigint | number; /** usize */ - PagefileLimit: Deno.PointerValue; + PagefileLimit: bigint | number; /** Windows.Win32.Foundation.LARGE_INTEGER */ TimeLimit: Uint8Array | Deno.PointerValue; /** usize */ - WorkingSetLimit: Deno.PointerValue; + WorkingSetLimit: bigint | number; /** usize */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** usize */ - Reserved3: Deno.PointerValue; + Reserved3: bigint | number; /** usize */ - Reserved4: Deno.PointerValue; + Reserved4: bigint | number; /** u32 */ Flags: number; /** Windows.Win32.System.SystemServices.RATE_QUOTA_LIMIT */ @@ -8531,27 +8531,27 @@ export class QUOTA_LIMITS_EXView { } // 0x00: usize - get PagedPoolLimit(): Deno.PointerValue { + get PagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get NonPagedPoolLimit(): Deno.PointerValue { + get NonPagedPoolLimit(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get MinimumWorkingSetSize(): Deno.PointerValue { + get MinimumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: usize - get MaximumWorkingSetSize(): Deno.PointerValue { + get MaximumWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: usize - get PagefileLimit(): Deno.PointerValue { + get PagefileLimit(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -8562,22 +8562,22 @@ export class QUOTA_LIMITS_EXView { } // 0x30: usize - get WorkingSetLimit(): Deno.PointerValue { + get WorkingSetLimit(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: usize - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(56, true)); } // 0x40: usize - get Reserved3(): Deno.PointerValue { + get Reserved3(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get Reserved4(): Deno.PointerValue { + get Reserved4(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -8595,27 +8595,27 @@ export class QUOTA_LIMITS_EXView { } // 0x00: usize - set PagedPoolLimit(value: Deno.PointerValue) { + set PagedPoolLimit(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set NonPagedPoolLimit(value: Deno.PointerValue) { + set NonPagedPoolLimit(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set MinimumWorkingSetSize(value: Deno.PointerValue) { + set MinimumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: usize - set MaximumWorkingSetSize(value: Deno.PointerValue) { + set MaximumWorkingSetSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: usize - set PagefileLimit(value: Deno.PointerValue) { + set PagefileLimit(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -8625,22 +8625,22 @@ export class QUOTA_LIMITS_EXView { } // 0x30: usize - set WorkingSetLimit(value: Deno.PointerValue) { + set WorkingSetLimit(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: usize - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } // 0x40: usize - set Reserved3(value: Deno.PointerValue) { + set Reserved3(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set Reserved4(value: Deno.PointerValue) { + set Reserved4(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -9317,11 +9317,11 @@ export class PROCESS_MITIGATION_REDIRECTION_TRUST_POLICYView { */ export interface JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V1 { /** i64 */ - MaxIops: Deno.PointerValue; + MaxIops: bigint | number; /** i64 */ - MaxBandwidth: Deno.PointerValue; + MaxBandwidth: bigint | number; /** i64 */ - ReservationIops: Deno.PointerValue; + ReservationIops: bigint | number; /** Windows.Win32.Foundation.PWSTR */ VolumeName: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -9369,17 +9369,17 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V1View { } // 0x00: i64 - get MaxIops(): Deno.PointerValue { + get MaxIops(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get MaxBandwidth(): Deno.PointerValue { + get MaxBandwidth(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get ReservationIops(): Deno.PointerValue { + get ReservationIops(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -9407,17 +9407,17 @@ export class JOBOBJECT_IO_RATE_CONTROL_INFORMATION_NATIVE_V1View { // 0x2a: pad6 // 0x00: i64 - set MaxIops(value: Deno.PointerValue) { + set MaxIops(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set MaxBandwidth(value: Deno.PointerValue) { + set MaxBandwidth(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set ReservationIops(value: Deno.PointerValue) { + set ReservationIops(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -9673,7 +9673,7 @@ export interface MEMORY_PARTITION_DEDICATED_MEMORY_ATTRIBUTE { /** u32 */ Reserved: number; /** u64 */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofMEMORY_PARTITION_DEDICATED_MEMORY_ATTRIBUTE = 16; @@ -9711,7 +9711,7 @@ export class MEMORY_PARTITION_DEDICATED_MEMORY_ATTRIBUTEView { } // 0x08: u64 - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -9726,7 +9726,7 @@ export class MEMORY_PARTITION_DEDICATED_MEMORY_ATTRIBUTEView { } // 0x08: u64 - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -9748,7 +9748,7 @@ export interface MEMORY_PARTITION_DEDICATED_MEMORY_INFORMATION { /** u32 */ Reserved: number; /** u64 */ - TypeId: Deno.PointerValue; + TypeId: bigint | number; } export const sizeofMEMORY_PARTITION_DEDICATED_MEMORY_INFORMATION = 32; @@ -9814,7 +9814,7 @@ export class MEMORY_PARTITION_DEDICATED_MEMORY_INFORMATIONView { } // 0x18: u64 - get TypeId(): Deno.PointerValue { + get TypeId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -9849,7 +9849,7 @@ export class MEMORY_PARTITION_DEDICATED_MEMORY_INFORMATIONView { } // 0x18: u64 - set TypeId(value: Deno.PointerValue) { + set TypeId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -9976,9 +9976,9 @@ export class SCRUB_DATA_INPUTView { */ export interface SCRUB_PARITY_EXTENT { /** i64 */ - Offset: Deno.PointerValue; + Offset: bigint | number; /** u64 */ - Length: Deno.PointerValue; + Length: bigint | number; } export const sizeofSCRUB_PARITY_EXTENT = 16; @@ -10004,22 +10004,22 @@ export class SCRUB_PARITY_EXTENTView { } // 0x00: i64 - get Offset(): Deno.PointerValue { + get Offset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: u64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: i64 - set Offset(value: Deno.PointerValue) { + set Offset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: u64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -10131,15 +10131,15 @@ export interface SCRUB_DATA_OUTPUT { /** u32 */ Status: number; /** u64 */ - ErrorFileOffset: Deno.PointerValue; + ErrorFileOffset: bigint | number; /** u64 */ - ErrorLength: Deno.PointerValue; + ErrorLength: bigint | number; /** u64 */ - NumberOfBytesRepaired: Deno.PointerValue; + NumberOfBytesRepaired: bigint | number; /** u64 */ - NumberOfBytesFailed: Deno.PointerValue; + NumberOfBytesFailed: bigint | number; /** u64 */ - InternalFileReference: Deno.PointerValue; + InternalFileReference: bigint | number; /** u16 */ ResumeContextLength: number; /** u16 */ @@ -10147,29 +10147,29 @@ export interface SCRUB_DATA_OUTPUT { /** array */ Reserved: Deno.PointerValue; /** u64 */ - NumberOfMetadataBytesProcessed: Deno.PointerValue; + NumberOfMetadataBytesProcessed: bigint | number; /** u64 */ - NumberOfDataBytesProcessed: Deno.PointerValue; + NumberOfDataBytesProcessed: bigint | number; /** u64 */ - TotalNumberOfMetadataBytesInUse: Deno.PointerValue; + TotalNumberOfMetadataBytesInUse: bigint | number; /** u64 */ - TotalNumberOfDataBytesInUse: Deno.PointerValue; + TotalNumberOfDataBytesInUse: bigint | number; /** u64 */ - DataBytesSkippedDueToNoAllocation: Deno.PointerValue; + DataBytesSkippedDueToNoAllocation: bigint | number; /** u64 */ - DataBytesSkippedDueToInvalidRun: Deno.PointerValue; + DataBytesSkippedDueToInvalidRun: bigint | number; /** u64 */ - DataBytesSkippedDueToIntegrityStream: Deno.PointerValue; + DataBytesSkippedDueToIntegrityStream: bigint | number; /** u64 */ - DataBytesSkippedDueToRegionBeingClean: Deno.PointerValue; + DataBytesSkippedDueToRegionBeingClean: bigint | number; /** u64 */ - DataBytesSkippedDueToLockConflict: Deno.PointerValue; + DataBytesSkippedDueToLockConflict: bigint | number; /** u64 */ - DataBytesSkippedDueToNoScrubDataFlag: Deno.PointerValue; + DataBytesSkippedDueToNoScrubDataFlag: bigint | number; /** u64 */ - DataBytesSkippedDueToNoScrubNonIntegrityStreamFlag: Deno.PointerValue; + DataBytesSkippedDueToNoScrubNonIntegrityStreamFlag: bigint | number; /** u64 */ - DataBytesScrubbed: Deno.PointerValue; + DataBytesScrubbed: bigint | number; /** array */ ResumeContext: Deno.PointerValue; } @@ -10260,27 +10260,27 @@ export class SCRUB_DATA_OUTPUTView { // 0x0c: pad4 // 0x10: u64 - get ErrorFileOffset(): Deno.PointerValue { + get ErrorFileOffset(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ErrorLength(): Deno.PointerValue { + get ErrorLength(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get NumberOfBytesRepaired(): Deno.PointerValue { + get NumberOfBytesRepaired(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get NumberOfBytesFailed(): Deno.PointerValue { + get NumberOfBytesFailed(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x30: u64 - get InternalFileReference(): Deno.PointerValue { + get InternalFileReference(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -10303,62 +10303,62 @@ export class SCRUB_DATA_OUTPUTView { } // 0x48: u64 - get NumberOfMetadataBytesProcessed(): Deno.PointerValue { + get NumberOfMetadataBytesProcessed(): bigint | number { return Number(this.view.getBigUint64(72, true)); } // 0x50: u64 - get NumberOfDataBytesProcessed(): Deno.PointerValue { + get NumberOfDataBytesProcessed(): bigint | number { return Number(this.view.getBigUint64(80, true)); } // 0x58: u64 - get TotalNumberOfMetadataBytesInUse(): Deno.PointerValue { + get TotalNumberOfMetadataBytesInUse(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: u64 - get TotalNumberOfDataBytesInUse(): Deno.PointerValue { + get TotalNumberOfDataBytesInUse(): bigint | number { return Number(this.view.getBigUint64(96, true)); } // 0x68: u64 - get DataBytesSkippedDueToNoAllocation(): Deno.PointerValue { + get DataBytesSkippedDueToNoAllocation(): bigint | number { return Number(this.view.getBigUint64(104, true)); } // 0x70: u64 - get DataBytesSkippedDueToInvalidRun(): Deno.PointerValue { + get DataBytesSkippedDueToInvalidRun(): bigint | number { return Number(this.view.getBigUint64(112, true)); } // 0x78: u64 - get DataBytesSkippedDueToIntegrityStream(): Deno.PointerValue { + get DataBytesSkippedDueToIntegrityStream(): bigint | number { return Number(this.view.getBigUint64(120, true)); } // 0x80: u64 - get DataBytesSkippedDueToRegionBeingClean(): Deno.PointerValue { + get DataBytesSkippedDueToRegionBeingClean(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: u64 - get DataBytesSkippedDueToLockConflict(): Deno.PointerValue { + get DataBytesSkippedDueToLockConflict(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: u64 - get DataBytesSkippedDueToNoScrubDataFlag(): Deno.PointerValue { + get DataBytesSkippedDueToNoScrubDataFlag(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: u64 - get DataBytesSkippedDueToNoScrubNonIntegrityStreamFlag(): Deno.PointerValue { + get DataBytesSkippedDueToNoScrubNonIntegrityStreamFlag(): bigint | number { return Number(this.view.getBigUint64(152, true)); } // 0xa0: u64 - get DataBytesScrubbed(): Deno.PointerValue { + get DataBytesScrubbed(): bigint | number { return Number(this.view.getBigUint64(160, true)); } @@ -10386,27 +10386,27 @@ export class SCRUB_DATA_OUTPUTView { // 0x0c: pad4 // 0x10: u64 - set ErrorFileOffset(value: Deno.PointerValue) { + set ErrorFileOffset(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ErrorLength(value: Deno.PointerValue) { + set ErrorLength(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set NumberOfBytesRepaired(value: Deno.PointerValue) { + set NumberOfBytesRepaired(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set NumberOfBytesFailed(value: Deno.PointerValue) { + set NumberOfBytesFailed(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } // 0x30: u64 - set InternalFileReference(value: Deno.PointerValue) { + set InternalFileReference(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -10428,62 +10428,62 @@ export class SCRUB_DATA_OUTPUTView { } // 0x48: u64 - set NumberOfMetadataBytesProcessed(value: Deno.PointerValue) { + set NumberOfMetadataBytesProcessed(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } // 0x50: u64 - set NumberOfDataBytesProcessed(value: Deno.PointerValue) { + set NumberOfDataBytesProcessed(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } // 0x58: u64 - set TotalNumberOfMetadataBytesInUse(value: Deno.PointerValue) { + set TotalNumberOfMetadataBytesInUse(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: u64 - set TotalNumberOfDataBytesInUse(value: Deno.PointerValue) { + set TotalNumberOfDataBytesInUse(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } // 0x68: u64 - set DataBytesSkippedDueToNoAllocation(value: Deno.PointerValue) { + set DataBytesSkippedDueToNoAllocation(value: bigint | number) { this.view.setBigUint64(104, BigInt(value), true); } // 0x70: u64 - set DataBytesSkippedDueToInvalidRun(value: Deno.PointerValue) { + set DataBytesSkippedDueToInvalidRun(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } // 0x78: u64 - set DataBytesSkippedDueToIntegrityStream(value: Deno.PointerValue) { + set DataBytesSkippedDueToIntegrityStream(value: bigint | number) { this.view.setBigUint64(120, BigInt(value), true); } // 0x80: u64 - set DataBytesSkippedDueToRegionBeingClean(value: Deno.PointerValue) { + set DataBytesSkippedDueToRegionBeingClean(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: u64 - set DataBytesSkippedDueToLockConflict(value: Deno.PointerValue) { + set DataBytesSkippedDueToLockConflict(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: u64 - set DataBytesSkippedDueToNoScrubDataFlag(value: Deno.PointerValue) { + set DataBytesSkippedDueToNoScrubDataFlag(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: u64 - set DataBytesSkippedDueToNoScrubNonIntegrityStreamFlag(value: Deno.PointerValue) { + set DataBytesSkippedDueToNoScrubNonIntegrityStreamFlag(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } // 0xa0: u64 - set DataBytesScrubbed(value: Deno.PointerValue) { + set DataBytesScrubbed(value: bigint | number) { this.view.setBigUint64(160, BigInt(value), true); } @@ -10551,9 +10551,9 @@ export class SHARED_VIRTUAL_DISK_SUPPORTView { */ export interface REARRANGE_FILE_DATA { /** u64 */ - SourceStartingOffset: Deno.PointerValue; + SourceStartingOffset: bigint | number; /** u64 */ - TargetOffset: Deno.PointerValue; + TargetOffset: bigint | number; /** Windows.Win32.Foundation.HANDLE */ SourceFileHandle: Uint8Array | Deno.PointerValue; /** u32 */ @@ -10591,12 +10591,12 @@ export class REARRANGE_FILE_DATAView { } // 0x00: u64 - get SourceStartingOffset(): Deno.PointerValue { + get SourceStartingOffset(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get TargetOffset(): Deno.PointerValue { + get TargetOffset(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10617,12 +10617,12 @@ export class REARRANGE_FILE_DATAView { } // 0x00: u64 - set SourceStartingOffset(value: Deno.PointerValue) { + set SourceStartingOffset(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set TargetOffset(value: Deno.PointerValue) { + set TargetOffset(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -10647,9 +10647,9 @@ export class REARRANGE_FILE_DATAView { */ export interface SHUFFLE_FILE_DATA { /** i64 */ - StartingOffset: Deno.PointerValue; + StartingOffset: bigint | number; /** i64 */ - Length: Deno.PointerValue; + Length: bigint | number; /** u32 */ Flags: number; } @@ -10680,12 +10680,12 @@ export class SHUFFLE_FILE_DATAView { } // 0x00: i64 - get StartingOffset(): Deno.PointerValue { + get StartingOffset(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: i64 - get Length(): Deno.PointerValue { + get Length(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -10697,12 +10697,12 @@ export class SHUFFLE_FILE_DATAView { // 0x14: pad4 // 0x00: i64 - set StartingOffset(value: Deno.PointerValue) { + set StartingOffset(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: i64 - set Length(value: Deno.PointerValue) { + set Length(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -10932,7 +10932,7 @@ export interface POWER_SESSION_RIT_STATE { /** Windows.Win32.Foundation.BOOLEAN */ Active: Uint8Array | Deno.PointerValue; /** u64 */ - LastInputTime: Deno.PointerValue; + LastInputTime: bigint | number; } export const sizeofPOWER_SESSION_RIT_STATE = 16; @@ -10964,7 +10964,7 @@ export class POWER_SESSION_RIT_STATEView { } // 0x08: u64 - get LastInputTime(): Deno.PointerValue { + get LastInputTime(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -10974,7 +10974,7 @@ export class POWER_SESSION_RIT_STATEView { } // 0x08: u64 - set LastInputTime(value: Deno.PointerValue) { + set LastInputTime(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -11212,9 +11212,9 @@ export interface RESUME_PERFORMANCE { /** u32 */ PostTimeMs: number; /** u64 */ - TotalResumeTimeMs: Deno.PointerValue; + TotalResumeTimeMs: bigint | number; /** u64 */ - ResumeCompleteTimestamp: Deno.PointerValue; + ResumeCompleteTimestamp: bigint | number; } export const sizeofRESUME_PERFORMANCE = 24; @@ -11250,12 +11250,12 @@ export class RESUME_PERFORMANCEView { // 0x04: pad4 // 0x08: u64 - get TotalResumeTimeMs(): Deno.PointerValue { + get TotalResumeTimeMs(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ResumeCompleteTimestamp(): Deno.PointerValue { + get ResumeCompleteTimestamp(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -11267,12 +11267,12 @@ export class RESUME_PERFORMANCEView { // 0x04: pad4 // 0x08: u64 - set TotalResumeTimeMs(value: Deno.PointerValue) { + set TotalResumeTimeMs(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ResumeCompleteTimestamp(value: Deno.PointerValue) { + set ResumeCompleteTimestamp(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -11689,7 +11689,7 @@ export interface PPM_WMI_IDLE_STATES { /** u32 */ OldState: number; /** u64 */ - TargetProcessors: Deno.PointerValue; + TargetProcessors: bigint | number; /** array */ State: Deno.PointerValue; } @@ -11745,7 +11745,7 @@ export class PPM_WMI_IDLE_STATESView { } // 0x10: u64 - get TargetProcessors(): Deno.PointerValue { + get TargetProcessors(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -11776,7 +11776,7 @@ export class PPM_WMI_IDLE_STATESView { } // 0x10: u64 - set TargetProcessors(value: Deno.PointerValue) { + set TargetProcessors(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -11918,17 +11918,17 @@ export interface PPM_WMI_PERF_STATE { /** u32 */ DecreaseTime: number; /** u64 */ - Control: Deno.PointerValue; + Control: bigint | number; /** u64 */ - Status: Deno.PointerValue; + Status: bigint | number; /** u32 */ HitCount: number; /** u32 */ Reserved1: number; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** u64 */ - Reserved3: Deno.PointerValue; + Reserved3: bigint | number; } export const sizeofPPM_WMI_PERF_STATE = 64; @@ -12021,12 +12021,12 @@ export class PPM_WMI_PERF_STATEView { // 0x14: pad4 // 0x18: u64 - get Control(): Deno.PointerValue { + get Control(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get Status(): Deno.PointerValue { + get Status(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -12041,12 +12041,12 @@ export class PPM_WMI_PERF_STATEView { } // 0x30: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(48, true)); } // 0x38: u64 - get Reserved3(): Deno.PointerValue { + get Reserved3(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -12093,12 +12093,12 @@ export class PPM_WMI_PERF_STATEView { // 0x14: pad4 // 0x18: u64 - set Control(value: Deno.PointerValue) { + set Control(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set Status(value: Deno.PointerValue) { + set Status(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -12113,12 +12113,12 @@ export class PPM_WMI_PERF_STATEView { } // 0x30: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } // 0x38: u64 - set Reserved3(value: Deno.PointerValue) { + set Reserved3(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } } @@ -12152,7 +12152,7 @@ export interface PPM_WMI_PERF_STATES { /** u32 */ TimerInterval: number; /** u64 */ - TargetProcessors: Deno.PointerValue; + TargetProcessors: bigint | number; /** u32 */ PStateHandler: number; /** u32 */ @@ -12166,7 +12166,7 @@ export interface PPM_WMI_PERF_STATES { /** u32 */ Reserved1: number; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** array */ State: Deno.PointerValue; } @@ -12295,7 +12295,7 @@ export class PPM_WMI_PERF_STATESView { // 0x24: pad4 // 0x28: u64 - get TargetProcessors(): Deno.PointerValue { + get TargetProcessors(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -12330,7 +12330,7 @@ export class PPM_WMI_PERF_STATESView { } // 0x48: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -12403,7 +12403,7 @@ export class PPM_WMI_PERF_STATESView { // 0x24: pad4 // 0x28: u64 - set TargetProcessors(value: Deno.PointerValue) { + set TargetProcessors(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -12438,7 +12438,7 @@ export class PPM_WMI_PERF_STATESView { } // 0x48: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -12491,7 +12491,7 @@ export interface PPM_WMI_PERF_STATES_EX { /** u32 */ Reserved1: number; /** u64 */ - Reserved2: Deno.PointerValue; + Reserved2: bigint | number; /** array */ State: Deno.PointerValue; } @@ -12656,7 +12656,7 @@ export class PPM_WMI_PERF_STATES_EXView { } // 0x48: u64 - get Reserved2(): Deno.PointerValue { + get Reserved2(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -12764,7 +12764,7 @@ export class PPM_WMI_PERF_STATES_EXView { } // 0x48: u64 - set Reserved2(value: Deno.PointerValue) { + set Reserved2(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -12785,7 +12785,7 @@ export interface PPM_IDLE_STATE_ACCOUNTING { /** u32 */ InvalidBucketIndex: number; /** u64 */ - TotalTime: Deno.PointerValue; + TotalTime: bigint | number; /** array */ IdleTimeBuckets: Deno.PointerValue; } @@ -12837,7 +12837,7 @@ export class PPM_IDLE_STATE_ACCOUNTINGView { // 0x0c: pad4 // 0x10: u64 - get TotalTime(): Deno.PointerValue { + get TotalTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12865,7 +12865,7 @@ export class PPM_IDLE_STATE_ACCOUNTINGView { // 0x0c: pad4 // 0x10: u64 - set TotalTime(value: Deno.PointerValue) { + set TotalTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12886,7 +12886,7 @@ export interface PPM_IDLE_ACCOUNTING { /** u32 */ ResetCount: number; /** u64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** array */ State: Deno.PointerValue; } @@ -12938,7 +12938,7 @@ export class PPM_IDLE_ACCOUNTINGView { // 0x0c: pad4 // 0x10: u64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -12966,7 +12966,7 @@ export class PPM_IDLE_ACCOUNTINGView { // 0x0c: pad4 // 0x10: u64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -12981,7 +12981,7 @@ export class PPM_IDLE_ACCOUNTINGView { */ export interface PPM_IDLE_STATE_BUCKET_EX { /** u64 */ - TotalTimeUs: Deno.PointerValue; + TotalTimeUs: bigint | number; /** u32 */ MinTimeUs: number; /** u32 */ @@ -13018,7 +13018,7 @@ export class PPM_IDLE_STATE_BUCKET_EXView { } // 0x00: u64 - get TotalTimeUs(): Deno.PointerValue { + get TotalTimeUs(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -13040,7 +13040,7 @@ export class PPM_IDLE_STATE_BUCKET_EXView { // 0x14: pad4 // 0x00: u64 - set TotalTimeUs(value: Deno.PointerValue) { + set TotalTimeUs(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13067,7 +13067,7 @@ export class PPM_IDLE_STATE_BUCKET_EXView { */ export interface PPM_IDLE_STATE_ACCOUNTING_EX { /** u64 */ - TotalTime: Deno.PointerValue; + TotalTime: bigint | number; /** u32 */ IdleTransitions: number; /** u32 */ @@ -13119,7 +13119,7 @@ export class PPM_IDLE_STATE_ACCOUNTING_EXView { } // 0x00: u64 - get TotalTime(): Deno.PointerValue { + get TotalTime(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -13160,7 +13160,7 @@ export class PPM_IDLE_STATE_ACCOUNTING_EXView { } // 0x00: u64 - set TotalTime(value: Deno.PointerValue) { + set TotalTime(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -13213,7 +13213,7 @@ export interface PPM_IDLE_ACCOUNTING_EX { /** u32 */ AbortCount: number; /** u64 */ - StartTime: Deno.PointerValue; + StartTime: bigint | number; /** array */ State: Deno.PointerValue; } @@ -13269,7 +13269,7 @@ export class PPM_IDLE_ACCOUNTING_EXView { } // 0x10: u64 - get StartTime(): Deno.PointerValue { + get StartTime(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -13300,7 +13300,7 @@ export class PPM_IDLE_ACCOUNTING_EXView { } // 0x10: u64 - set StartTime(value: Deno.PointerValue) { + set StartTime(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -13421,7 +13421,7 @@ export interface PPM_PERFSTATE_DOMAIN_EVENT { /** u32 */ Speed: number; /** u64 */ - Processors: Deno.PointerValue; + Processors: bigint | number; } export const sizeofPPM_PERFSTATE_DOMAIN_EVENT = 24; @@ -13469,7 +13469,7 @@ export class PPM_PERFSTATE_DOMAIN_EVENTView { // 0x0c: pad4 // 0x10: u64 - get Processors(): Deno.PointerValue { + get Processors(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -13491,7 +13491,7 @@ export class PPM_PERFSTATE_DOMAIN_EVENTView { // 0x0c: pad4 // 0x10: u64 - set Processors(value: Deno.PointerValue) { + set Processors(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -13505,7 +13505,7 @@ export interface PPM_IDLESTATE_EVENT { /** u32 */ OldState: number; /** u64 */ - Processors: Deno.PointerValue; + Processors: bigint | number; } export const sizeofPPM_IDLESTATE_EVENT = 16; @@ -13543,7 +13543,7 @@ export class PPM_IDLESTATE_EVENTView { } // 0x08: u64 - get Processors(): Deno.PointerValue { + get Processors(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13558,7 +13558,7 @@ export class PPM_IDLESTATE_EVENTView { } // 0x08: u64 - set Processors(value: Deno.PointerValue) { + set Processors(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13570,7 +13570,7 @@ export interface PPM_THERMALCHANGE_EVENT { /** u32 */ ThermalConstraint: number; /** u64 */ - Processors: Deno.PointerValue; + Processors: bigint | number; } export const sizeofPPM_THERMALCHANGE_EVENT = 16; @@ -13604,7 +13604,7 @@ export class PPM_THERMALCHANGE_EVENTView { // 0x04: pad4 // 0x08: u64 - get Processors(): Deno.PointerValue { + get Processors(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13616,7 +13616,7 @@ export class PPM_THERMALCHANGE_EVENTView { // 0x04: pad4 // 0x08: u64 - set Processors(value: Deno.PointerValue) { + set Processors(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -13628,7 +13628,7 @@ export interface PPM_THERMAL_POLICY_EVENT { /** u8 */ Mode: number; /** u64 */ - Processors: Deno.PointerValue; + Processors: bigint | number; } export const sizeofPPM_THERMAL_POLICY_EVENT = 16; @@ -13662,7 +13662,7 @@ export class PPM_THERMAL_POLICY_EVENTView { // 0x01: pad7 // 0x08: u64 - get Processors(): Deno.PointerValue { + get Processors(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -13674,7 +13674,7 @@ export class PPM_THERMAL_POLICY_EVENTView { // 0x01: pad7 // 0x08: u64 - set Processors(value: Deno.PointerValue) { + set Processors(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -14099,7 +14099,7 @@ export class PROCESSOR_PERFSTATE_POLICYView { */ export interface HIBERFILE_BUCKET { /** u64 */ - MaxPhysicalMemory: Deno.PointerValue; + MaxPhysicalMemory: bigint | number; /** array */ PhysicalMemoryPercent: Deno.PointerValue; } @@ -14127,7 +14127,7 @@ export class HIBERFILE_BUCKETView { } // 0x00: u64 - get MaxPhysicalMemory(): Deno.PointerValue { + get MaxPhysicalMemory(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -14138,7 +14138,7 @@ export class HIBERFILE_BUCKETView { } // 0x00: u64 - set MaxPhysicalMemory(value: Deno.PointerValue) { + set MaxPhysicalMemory(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -18127,13 +18127,13 @@ export class IMAGE_IMPORT_BY_NAMEView { */ export interface IMAGE_TLS_DIRECTORY64 { /** u64 */ - StartAddressOfRawData: Deno.PointerValue; + StartAddressOfRawData: bigint | number; /** u64 */ - EndAddressOfRawData: Deno.PointerValue; + EndAddressOfRawData: bigint | number; /** u64 */ - AddressOfIndex: Deno.PointerValue; + AddressOfIndex: bigint | number; /** u64 */ - AddressOfCallBacks: Deno.PointerValue; + AddressOfCallBacks: bigint | number; /** u32 */ SizeOfZeroFill: number; /** _Anonymous_e__Union */ @@ -18172,22 +18172,22 @@ export class IMAGE_TLS_DIRECTORY64View { } // 0x00: u64 - get StartAddressOfRawData(): Deno.PointerValue { + get StartAddressOfRawData(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get EndAddressOfRawData(): Deno.PointerValue { + get EndAddressOfRawData(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get AddressOfIndex(): Deno.PointerValue { + get AddressOfIndex(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get AddressOfCallBacks(): Deno.PointerValue { + get AddressOfCallBacks(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -18205,22 +18205,22 @@ export class IMAGE_TLS_DIRECTORY64View { } // 0x00: u64 - set StartAddressOfRawData(value: Deno.PointerValue) { + set StartAddressOfRawData(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set EndAddressOfRawData(value: Deno.PointerValue) { + set EndAddressOfRawData(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set AddressOfIndex(value: Deno.PointerValue) { + set AddressOfIndex(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set AddressOfCallBacks(value: Deno.PointerValue) { + set AddressOfCallBacks(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -19056,7 +19056,7 @@ export class IMAGE_DYNAMIC_RELOCATION32View { */ export interface IMAGE_DYNAMIC_RELOCATION64 { /** u64 */ - Symbol: Deno.PointerValue; + Symbol: bigint | number; /** u32 */ BaseRelocSize: number; } @@ -19085,7 +19085,7 @@ export class IMAGE_DYNAMIC_RELOCATION64View { } // 0x00: u64 - get Symbol(): Deno.PointerValue { + get Symbol(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -19097,7 +19097,7 @@ export class IMAGE_DYNAMIC_RELOCATION64View { // 0x0c: pad4 // 0x00: u64 - set Symbol(value: Deno.PointerValue) { + set Symbol(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -19218,7 +19218,7 @@ export interface IMAGE_DYNAMIC_RELOCATION64_V2 { /** u32 */ FixupInfoSize: number; /** u64 */ - Symbol: Deno.PointerValue; + Symbol: bigint | number; /** u32 */ SymbolGroup: number; /** u32 */ @@ -19264,7 +19264,7 @@ export class IMAGE_DYNAMIC_RELOCATION64_V2View { } // 0x08: u64 - get Symbol(): Deno.PointerValue { + get Symbol(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -19289,7 +19289,7 @@ export class IMAGE_DYNAMIC_RELOCATION64_V2View { } // 0x08: u64 - set Symbol(value: Deno.PointerValue) { + set Symbol(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -20057,15 +20057,15 @@ export class IMAGE_ARM64_RUNTIME_FUNCTION_ENTRY_XDATAView { */ export interface IMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRY { /** u64 */ - BeginAddress: Deno.PointerValue; + BeginAddress: bigint | number; /** u64 */ - EndAddress: Deno.PointerValue; + EndAddress: bigint | number; /** u64 */ - ExceptionHandler: Deno.PointerValue; + ExceptionHandler: bigint | number; /** u64 */ - HandlerData: Deno.PointerValue; + HandlerData: bigint | number; /** u64 */ - PrologEndAddress: Deno.PointerValue; + PrologEndAddress: bigint | number; } export const sizeofIMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRY = 40; @@ -20097,52 +20097,52 @@ export class IMAGE_ALPHA64_RUNTIME_FUNCTION_ENTRYView { } // 0x00: u64 - get BeginAddress(): Deno.PointerValue { + get BeginAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get EndAddress(): Deno.PointerValue { + get EndAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get ExceptionHandler(): Deno.PointerValue { + get ExceptionHandler(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get HandlerData(): Deno.PointerValue { + get HandlerData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get PrologEndAddress(): Deno.PointerValue { + get PrologEndAddress(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x00: u64 - set BeginAddress(value: Deno.PointerValue) { + set BeginAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set EndAddress(value: Deno.PointerValue) { + set EndAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set ExceptionHandler(value: Deno.PointerValue) { + set ExceptionHandler(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set HandlerData(value: Deno.PointerValue) { + set HandlerData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set PrologEndAddress(value: Deno.PointerValue) { + set PrologEndAddress(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -20574,7 +20574,7 @@ export interface NON_PAGED_DEBUG_INFO { /** u32 */ SizeOfImage: number; /** u64 */ - ImageBase: Deno.PointerValue; + ImageBase: bigint | number; } export const sizeofNON_PAGED_DEBUG_INFO = 32; @@ -20654,7 +20654,7 @@ export class NON_PAGED_DEBUG_INFOView { } // 0x18: u64 - get ImageBase(): Deno.PointerValue { + get ImageBase(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -20699,7 +20699,7 @@ export class NON_PAGED_DEBUG_INFOView { } // 0x18: u64 - set ImageBase(value: Deno.PointerValue) { + set ImageBase(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -21998,7 +21998,7 @@ export interface IMAGE_POLICY_METADATA { /** array */ Reserved0: Deno.PointerValue; /** u64 */ - ApplicationId: Deno.PointerValue; + ApplicationId: bigint | number; /** array */ Policies: Deno.PointerValue; } @@ -22044,7 +22044,7 @@ export class IMAGE_POLICY_METADATAView { } // 0x10: u64 - get ApplicationId(): Deno.PointerValue { + get ApplicationId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -22067,7 +22067,7 @@ export class IMAGE_POLICY_METADATAView { } // 0x10: u64 - set ApplicationId(value: Deno.PointerValue) { + set ApplicationId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -22193,7 +22193,7 @@ export class SUPPORTED_OS_INFOView { */ export interface MAXVERSIONTESTED_INFO { /** u64 */ - MaxVersionTested: Deno.PointerValue; + MaxVersionTested: bigint | number; } export const sizeofMAXVERSIONTESTED_INFO = 8; @@ -22217,12 +22217,12 @@ export class MAXVERSIONTESTED_INFOView { } // 0x00: u64 - get MaxVersionTested(): Deno.PointerValue { + get MaxVersionTested(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set MaxVersionTested(value: Deno.PointerValue) { + set MaxVersionTested(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -23096,7 +23096,7 @@ export class TRANSACTIONMANAGER_LOGPATH_INFORMATIONView { */ export interface TRANSACTIONMANAGER_RECOVERY_INFORMATION { /** u64 */ - LastRecoveredLsn: Deno.PointerValue; + LastRecoveredLsn: bigint | number; } export const sizeofTRANSACTIONMANAGER_RECOVERY_INFORMATION = 8; @@ -23120,12 +23120,12 @@ export class TRANSACTIONMANAGER_RECOVERY_INFORMATIONView { } // 0x00: u64 - get LastRecoveredLsn(): Deno.PointerValue { + get LastRecoveredLsn(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x00: u64 - set LastRecoveredLsn(value: Deno.PointerValue) { + set LastRecoveredLsn(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } } @@ -23556,7 +23556,7 @@ export interface RESOURCEMANAGER_COMPLETION_INFORMATION { /** Windows.Win32.Foundation.HANDLE */ IoCompletionPortHandle: Uint8Array | Deno.PointerValue; /** usize */ - CompletionKey: Deno.PointerValue; + CompletionKey: bigint | number; } export const sizeofRESOURCEMANAGER_COMPLETION_INFORMATION = 16; @@ -23588,7 +23588,7 @@ export class RESOURCEMANAGER_COMPLETION_INFORMATIONView { } // 0x08: usize - get CompletionKey(): Deno.PointerValue { + get CompletionKey(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -23598,7 +23598,7 @@ export class RESOURCEMANAGER_COMPLETION_INFORMATIONView { } // 0x08: usize - set CompletionKey(value: Deno.PointerValue) { + set CompletionKey(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/System/Threading.ts b/api/System/Threading.ts index f103920..4cf168b 100644 --- a/api/System/Threading.ts +++ b/api/System/Threading.ts @@ -3607,17 +3607,17 @@ export const TOKEN_ALL_ACCESS = 983295; // Structs -export type TimerQueueHandle = Deno.PointerValue; +export type TimerQueueHandle = bigint | number; -export type PTP_POOL = Deno.PointerValue; +export type PTP_POOL = bigint | number; -export type NamespaceHandle = Deno.PointerValue; +export type NamespaceHandle = bigint | number; -export type BoundaryDescriptorHandle = Deno.PointerValue; +export type BoundaryDescriptorHandle = bigint | number; export type LPPROC_THREAD_ATTRIBUTE_LIST = Deno.PointerValue | Uint8Array; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; /** * _Detailed_e__Struct (size: 24) @@ -3831,7 +3831,7 @@ export class REASON_CONTEXTView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Threading.PROCESS_INFORMATION (size: 24) @@ -4651,13 +4651,13 @@ export class THREAD_POWER_THROTTLING_STATEView { */ export interface APP_MEMORY_INFORMATION { /** u64 */ - AvailableCommit: Deno.PointerValue; + AvailableCommit: bigint | number; /** u64 */ - PrivateCommitUsage: Deno.PointerValue; + PrivateCommitUsage: bigint | number; /** u64 */ - PeakPrivateCommitUsage: Deno.PointerValue; + PeakPrivateCommitUsage: bigint | number; /** u64 */ - TotalCommitUsage: Deno.PointerValue; + TotalCommitUsage: bigint | number; } export const sizeofAPP_MEMORY_INFORMATION = 32; @@ -4687,42 +4687,42 @@ export class APP_MEMORY_INFORMATIONView { } // 0x00: u64 - get AvailableCommit(): Deno.PointerValue { + get AvailableCommit(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get PrivateCommitUsage(): Deno.PointerValue { + get PrivateCommitUsage(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get PeakPrivateCommitUsage(): Deno.PointerValue { + get PeakPrivateCommitUsage(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get TotalCommitUsage(): Deno.PointerValue { + get TotalCommitUsage(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x00: u64 - set AvailableCommit(value: Deno.PointerValue) { + set AvailableCommit(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set PrivateCommitUsage(value: Deno.PointerValue) { + set PrivateCommitUsage(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set PeakPrivateCommitUsage(value: Deno.PointerValue) { + set PeakPrivateCommitUsage(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set TotalCommitUsage(value: Deno.PointerValue) { + set TotalCommitUsage(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -4805,7 +4805,7 @@ export interface PROCESS_MEMORY_EXHAUSTION_INFO { /** Windows.Win32.System.Threading.PROCESS_MEMORY_EXHAUSTION_TYPE */ Type: PROCESS_MEMORY_EXHAUSTION_TYPE; /** usize */ - Value: Deno.PointerValue; + Value: bigint | number; } export const sizeofPROCESS_MEMORY_EXHAUSTION_INFO = 16; @@ -4850,7 +4850,7 @@ export class PROCESS_MEMORY_EXHAUSTION_INFOView { } // 0x08: usize - get Value(): Deno.PointerValue { + get Value(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -4870,7 +4870,7 @@ export class PROCESS_MEMORY_EXHAUSTION_INFOView { } // 0x08: usize - set Value(value: Deno.PointerValue) { + set Value(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5049,9 +5049,9 @@ export class PROCESS_LEAP_SECOND_INFOView { */ export interface PROCESS_DYNAMIC_EH_CONTINUATION_TARGET { /** usize */ - TargetAddress: Deno.PointerValue; + TargetAddress: bigint | number; /** usize */ - Flags: Deno.PointerValue; + Flags: bigint | number; } export const sizeofPROCESS_DYNAMIC_EH_CONTINUATION_TARGET = 16; @@ -5077,22 +5077,22 @@ export class PROCESS_DYNAMIC_EH_CONTINUATION_TARGETView { } // 0x00: usize - get TargetAddress(): Deno.PointerValue { + get TargetAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get Flags(): Deno.PointerValue { + get Flags(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set TargetAddress(value: Deno.PointerValue) { + set TargetAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set Flags(value: Deno.PointerValue) { + set Flags(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5184,9 +5184,9 @@ export class PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATIONView { */ export interface PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGE { /** usize */ - BaseAddress: Deno.PointerValue; + BaseAddress: bigint | number; /** usize */ - Size: Deno.PointerValue; + Size: bigint | number; /** u32 */ Flags: number; } @@ -5217,12 +5217,12 @@ export class PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGEView { } // 0x00: usize - get BaseAddress(): Deno.PointerValue { + get BaseAddress(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get Size(): Deno.PointerValue { + get Size(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5234,12 +5234,12 @@ export class PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGEView { // 0x14: pad4 // 0x00: usize - set BaseAddress(value: Deno.PointerValue) { + set BaseAddress(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set Size(value: Deno.PointerValue) { + set Size(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -5338,17 +5338,17 @@ export class PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGES_INFORMATIONView { */ export interface IO_COUNTERS { /** u64 */ - ReadOperationCount: Deno.PointerValue; + ReadOperationCount: bigint | number; /** u64 */ - WriteOperationCount: Deno.PointerValue; + WriteOperationCount: bigint | number; /** u64 */ - OtherOperationCount: Deno.PointerValue; + OtherOperationCount: bigint | number; /** u64 */ - ReadTransferCount: Deno.PointerValue; + ReadTransferCount: bigint | number; /** u64 */ - WriteTransferCount: Deno.PointerValue; + WriteTransferCount: bigint | number; /** u64 */ - OtherTransferCount: Deno.PointerValue; + OtherTransferCount: bigint | number; } export const sizeofIO_COUNTERS = 48; @@ -5382,62 +5382,62 @@ export class IO_COUNTERSView { } // 0x00: u64 - get ReadOperationCount(): Deno.PointerValue { + get ReadOperationCount(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get WriteOperationCount(): Deno.PointerValue { + get WriteOperationCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: u64 - get OtherOperationCount(): Deno.PointerValue { + get OtherOperationCount(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get ReadTransferCount(): Deno.PointerValue { + get ReadTransferCount(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get WriteTransferCount(): Deno.PointerValue { + get WriteTransferCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } // 0x28: u64 - get OtherTransferCount(): Deno.PointerValue { + get OtherTransferCount(): bigint | number { return Number(this.view.getBigUint64(40, true)); } // 0x00: u64 - set ReadOperationCount(value: Deno.PointerValue) { + set ReadOperationCount(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set WriteOperationCount(value: Deno.PointerValue) { + set WriteOperationCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: u64 - set OtherOperationCount(value: Deno.PointerValue) { + set OtherOperationCount(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set ReadTransferCount(value: Deno.PointerValue) { + set ReadTransferCount(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set WriteTransferCount(value: Deno.PointerValue) { + set WriteTransferCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } // 0x28: u64 - set OtherTransferCount(value: Deno.PointerValue) { + set OtherTransferCount(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } } @@ -5806,7 +5806,7 @@ export interface RTL_CRITICAL_SECTION { /** Windows.Win32.Foundation.HANDLE */ LockSemaphore: Uint8Array | Deno.PointerValue; /** usize */ - SpinCount: Deno.PointerValue; + SpinCount: bigint | number; } export const sizeofRTL_CRITICAL_SECTION = 40; @@ -5868,7 +5868,7 @@ export class RTL_CRITICAL_SECTIONView { } // 0x20: usize - get SpinCount(): Deno.PointerValue { + get SpinCount(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -5898,7 +5898,7 @@ export class RTL_CRITICAL_SECTIONView { } // 0x20: usize - set SpinCount(value: Deno.PointerValue) { + set SpinCount(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -5988,9 +5988,9 @@ export class RTL_CONDITION_VARIABLEView { */ export interface TP_POOL_STACK_INFORMATION { /** usize */ - StackReserve: Deno.PointerValue; + StackReserve: bigint | number; /** usize */ - StackCommit: Deno.PointerValue; + StackCommit: bigint | number; } export const sizeofTP_POOL_STACK_INFORMATION = 16; @@ -6016,22 +6016,22 @@ export class TP_POOL_STACK_INFORMATIONView { } // 0x00: usize - get StackReserve(): Deno.PointerValue { + get StackReserve(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: usize - get StackCommit(): Deno.PointerValue { + get StackCommit(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: usize - set StackReserve(value: Deno.PointerValue) { + set StackReserve(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: usize - set StackCommit(value: Deno.PointerValue) { + set StackCommit(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -7011,13 +7011,13 @@ export interface TP_CALLBACK_ENVIRON_V3 { /** Windows.Win32.System.Threading.PTP_POOL */ Pool: Uint8Array | Deno.PointerValue; /** isize */ - CleanupGroup: Deno.PointerValue; + CleanupGroup: bigint | number; /** Windows.Win32.System.Threading.PTP_CLEANUP_GROUP_CANCEL_CALLBACK */ CleanupGroupCancelCallback: Uint8Array | Deno.PointerValue; /** ptr */ RaceDll: Deno.PointerValue | Uint8Array; /** isize */ - ActivationContext: Deno.PointerValue; + ActivationContext: bigint | number; /** Windows.Win32.System.Threading.PTP_SIMPLE_CALLBACK */ FinalizationCallback: Uint8Array | Deno.PointerValue; /** _u_e__Union */ @@ -7081,7 +7081,7 @@ export class TP_CALLBACK_ENVIRON_V3View { } // 0x10: isize - get CleanupGroup(): Deno.PointerValue { + get CleanupGroup(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -7098,7 +7098,7 @@ export class TP_CALLBACK_ENVIRON_V3View { } // 0x28: isize - get ActivationContext(): Deno.PointerValue { + get ActivationContext(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -7137,7 +7137,7 @@ export class TP_CALLBACK_ENVIRON_V3View { } // 0x10: isize - set CleanupGroup(value: Deno.PointerValue) { + set CleanupGroup(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -7152,7 +7152,7 @@ export class TP_CALLBACK_ENVIRON_V3View { } // 0x28: isize - set ActivationContext(value: Deno.PointerValue) { + set ActivationContext(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } @@ -7271,9 +7271,9 @@ export class UMS_SCHEDULER_STARTUP_INFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -7299,22 +7299,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8106,7 +8106,7 @@ export interface PROCESS_BASIC_INFORMATION { /** array */ Reserved2: Deno.PointerValue; /** usize */ - UniqueProcessId: Deno.PointerValue; + UniqueProcessId: bigint | number; /** ptr */ Reserved3: Deno.PointerValue | Uint8Array; } @@ -8158,7 +8158,7 @@ export class PROCESS_BASIC_INFORMATIONView { } // 0x18: usize - get UniqueProcessId(): Deno.PointerValue { + get UniqueProcessId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -8184,7 +8184,7 @@ export class PROCESS_BASIC_INFORMATIONView { } // 0x18: usize - set UniqueProcessId(value: Deno.PointerValue) { + set UniqueProcessId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -9443,8 +9443,8 @@ export function GetProcessWorkingSetSize( export function SetProcessWorkingSetSize( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwMinimumWorkingSetSize: Deno.PointerValue /* usize */, - dwMaximumWorkingSetSize: Deno.PointerValue /* usize */, + dwMinimumWorkingSetSize: bigint | number /* usize */, + dwMaximumWorkingSetSize: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetProcessWorkingSetSize(util.toPointer(hProcess), dwMinimumWorkingSetSize, dwMaximumWorkingSetSize)); } @@ -9886,7 +9886,7 @@ export function Sleep( export function WaitOnAddress( Address: Deno.PointerValue | Uint8Array /* ptr */, CompareAddress: Deno.PointerValue | Uint8Array /* ptr */, - AddressSize: Deno.PointerValue /* usize */, + AddressSize: bigint | number /* usize */, dwMilliseconds: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libapi_ms_win_core_synch_l1_2_0_dll.WaitOnAddress(util.toPointer(Address), util.toPointer(CompareAddress), AddressSize, dwMilliseconds)); @@ -9973,7 +9973,7 @@ export function QueryDepthSList( export function QueueUserAPC( pfnAPC: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.PAPCFUNC */, hThread: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwData: Deno.PointerValue /* usize */, + dwData: bigint | number /* usize */, ): number /* u32 */ { return libKERNEL32_dll.QueueUserAPC(util.toPointer(pfnAPC), util.toPointer(hThread), dwData); } @@ -9981,7 +9981,7 @@ export function QueueUserAPC( export function QueueUserAPC2( ApcRoutine: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.PAPCFUNC */, Thread: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - Data: Deno.PointerValue /* usize */, + Data: bigint | number /* usize */, Flags: QUEUE_USER_APC_FLAGS /* Windows.Win32.System.Threading.QUEUE_USER_APC_FLAGS */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.QueueUserAPC2(util.toPointer(ApcRoutine), util.toPointer(Thread), Data, Flags)); @@ -10031,7 +10031,7 @@ export function SwitchToThread(): boolean /* Windows.Win32.Foundation.BOOL */ { export function CreateThread( lpThreadAttributes: Deno.PointerValue | Uint8Array /* ptr */, - dwStackSize: Deno.PointerValue /* usize */, + dwStackSize: bigint | number /* usize */, lpStartAddress: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Threading.LPTHREAD_START_ROUTINE */, lpParameter: Deno.PointerValue | Uint8Array /* ptr */, dwCreationFlags: THREAD_CREATION_FLAGS /* Windows.Win32.System.Threading.THREAD_CREATION_FLAGS */, @@ -10043,7 +10043,7 @@ export function CreateThread( export function CreateRemoteThread( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpThreadAttributes: Deno.PointerValue | Uint8Array /* ptr */, - dwStackSize: Deno.PointerValue /* usize */, + dwStackSize: bigint | number /* usize */, lpStartAddress: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Threading.LPTHREAD_START_ROUTINE */, lpParameter: Deno.PointerValue | Uint8Array /* ptr */, dwCreationFlags: number /* u32 */, @@ -10298,9 +10298,9 @@ export function DeleteProcThreadAttributeList( export function UpdateProcThreadAttribute( lpAttributeList: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Threading.LPPROC_THREAD_ATTRIBUTE_LIST */, dwFlags: number /* u32 */, - Attribute: Deno.PointerValue /* usize */, + Attribute: bigint | number /* usize */, lpValue: Deno.PointerValue | Uint8Array /* ptr */, - cbSize: Deno.PointerValue /* usize */, + cbSize: bigint | number /* usize */, lpPreviousValue: Deno.PointerValue | Uint8Array /* ptr */, lpReturnSize: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -10340,7 +10340,7 @@ export function QueryProcessAffinityUpdateMode( export function CreateRemoteThreadEx( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, lpThreadAttributes: Deno.PointerValue | Uint8Array /* ptr */, - dwStackSize: Deno.PointerValue /* usize */, + dwStackSize: bigint | number /* usize */, lpStartAddress: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Threading.LPTHREAD_START_ROUTINE */, lpParameter: Deno.PointerValue | Uint8Array /* ptr */, dwCreationFlags: number /* u32 */, @@ -10361,7 +10361,7 @@ export function GetProcessMitigationPolicy( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, MitigationPolicy: PROCESS_MITIGATION_POLICY /* Windows.Win32.System.Threading.PROCESS_MITIGATION_POLICY */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - dwLength: Deno.PointerValue /* usize */, + dwLength: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.GetProcessMitigationPolicy(util.toPointer(hProcess), MitigationPolicy, util.toPointer(lpBuffer), dwLength)); } @@ -10369,7 +10369,7 @@ export function GetProcessMitigationPolicy( export function SetProcessMitigationPolicy( MitigationPolicy: PROCESS_MITIGATION_POLICY /* Windows.Win32.System.Threading.PROCESS_MITIGATION_POLICY */, lpBuffer: Deno.PointerValue | Uint8Array /* ptr */, - dwLength: Deno.PointerValue /* usize */, + dwLength: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetProcessMitigationPolicy(MitigationPolicy, util.toPointer(lpBuffer), dwLength)); } @@ -10486,7 +10486,7 @@ export function IsProcessCritical( export function SetProtectedPolicy( PolicyGuid: Deno.PointerValue | Uint8Array /* ptr */, - PolicyValue: Deno.PointerValue /* usize */, + PolicyValue: bigint | number /* usize */, OldPolicyValue: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetProtectedPolicy(util.toPointer(PolicyGuid), PolicyValue, util.toPointer(OldPolicyValue))); @@ -10737,12 +10737,12 @@ export function CloseThreadpool( return libKERNEL32_dll.CloseThreadpool(util.toPointer(ptpp)); } -export function CreateThreadpoolCleanupGroup(): Deno.PointerValue /* isize */ { +export function CreateThreadpoolCleanupGroup(): bigint | number /* isize */ { return libKERNEL32_dll.CreateThreadpoolCleanupGroup(); } export function CloseThreadpoolCleanupGroupMembers( - ptpcg: Deno.PointerValue /* isize */, + ptpcg: bigint | number /* isize */, fCancelPendingCallbacks: boolean /* Windows.Win32.Foundation.BOOL */, pvCleanupContext: Deno.PointerValue | Uint8Array /* ptr */, ): void /* void */ { @@ -10750,7 +10750,7 @@ export function CloseThreadpoolCleanupGroupMembers( } export function CloseThreadpoolCleanupGroup( - ptpcg: Deno.PointerValue /* isize */, + ptpcg: bigint | number /* isize */, ): void /* void */ { return libKERNEL32_dll.CloseThreadpoolCleanupGroup(ptpcg); } @@ -11225,7 +11225,7 @@ export function GetProcessAffinityMask( export function SetProcessAffinityMask( hProcess: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwProcessAffinityMask: Deno.PointerValue /* usize */, + dwProcessAffinityMask: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.SetProcessAffinityMask(util.toPointer(hProcess), dwProcessAffinityMask)); } @@ -11254,8 +11254,8 @@ export function ConvertFiberToThread(): boolean /* Windows.Win32.Foundation.BOOL } export function CreateFiberEx( - dwStackCommitSize: Deno.PointerValue /* usize */, - dwStackReserveSize: Deno.PointerValue /* usize */, + dwStackCommitSize: bigint | number /* usize */, + dwStackReserveSize: bigint | number /* usize */, dwFlags: number /* u32 */, lpStartAddress: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Threading.LPFIBER_START_ROUTINE */, lpParameter: Deno.PointerValue | Uint8Array /* ptr */, @@ -11271,7 +11271,7 @@ export function ConvertThreadToFiberEx( } export function CreateFiber( - dwStackSize: Deno.PointerValue /* usize */, + dwStackSize: bigint | number /* usize */, lpStartAddress: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Threading.LPFIBER_START_ROUTINE */, lpParameter: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* ptr */ { @@ -11379,8 +11379,8 @@ export function GetUmsSystemThreadInformation( export function SetThreadAffinityMask( hThread: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HANDLE */, - dwThreadAffinityMask: Deno.PointerValue /* usize */, -): Deno.PointerValue /* usize */ { + dwThreadAffinityMask: bigint | number /* usize */, +): bigint | number /* usize */ { return libKERNEL32_dll.SetThreadAffinityMask(util.toPointer(hThread), dwThreadAffinityMask); } diff --git a/api/System/TpmBaseServices.ts b/api/System/TpmBaseServices.ts index 643bf13..f935022 100644 --- a/api/System/TpmBaseServices.ts +++ b/api/System/TpmBaseServices.ts @@ -96,9 +96,9 @@ export class TBS_CONTEXT_PARAMSView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -124,22 +124,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/System/UserAccessLogging.ts b/api/System/UserAccessLogging.ts index da9d221..2a6dd80 100644 --- a/api/System/UserAccessLogging.ts +++ b/api/System/UserAccessLogging.ts @@ -13,7 +13,7 @@ export interface SOCKADDR_STORAGE { /** array */ __ss_pad1: Deno.PointerValue; /** i64 */ - __ss_align: Deno.PointerValue; + __ss_align: bigint | number; /** array */ __ss_pad2: Deno.PointerValue; } @@ -59,7 +59,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - get __ss_align(): Deno.PointerValue { + get __ss_align(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -82,7 +82,7 @@ export class SOCKADDR_STORAGEView { } // 0x10: i64 - set __ss_align(value: Deno.PointerValue) { + set __ss_align(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } diff --git a/api/System/VirtualDosMachines.ts b/api/System/VirtualDosMachines.ts index 64a858f..9a4e514 100644 --- a/api/System/VirtualDosMachines.ts +++ b/api/System/VirtualDosMachines.ts @@ -1492,7 +1492,7 @@ export class IMAGE_NOTEView { // 0x14: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.VirtualDosMachines.MODULEENTRY (size: 48) diff --git a/api/System/WinRT.ts b/api/System/WinRT.ts index 9d9449b..2c36405 100644 --- a/api/System/WinRT.ts +++ b/api/System/WinRT.ts @@ -110,7 +110,7 @@ export const XAML_REFERENCETRACKER_DISCONNECT_SUSPEND = 1; */ export interface EventRegistrationToken { /** i64 */ - value: Deno.PointerValue; + value: bigint | number; } export const sizeofEventRegistrationToken = 8; @@ -134,12 +134,12 @@ export class EventRegistrationTokenView { } // 0x00: i64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x00: i64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } } @@ -157,7 +157,7 @@ export interface HSTRING_HEADER { /** u32 */ padding2: number; /** isize */ - data: Deno.PointerValue; + data: bigint | number; } export const sizeofHSTRING_HEADER = 24; @@ -209,7 +209,7 @@ export class HSTRING_HEADERView { } // 0x10: isize - get data(): Deno.PointerValue { + get data(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -234,18 +234,18 @@ export class HSTRING_HEADERView { } // 0x10: isize - set data(value: Deno.PointerValue) { + set data(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } -export type HSTRING = Deno.PointerValue; +export type HSTRING = bigint | number; -export type HSTRING_BUFFER = Deno.PointerValue; +export type HSTRING_BUFFER = bigint | number; -export type ROPARAMIIDHANDLE = Deno.PointerValue; +export type ROPARAMIIDHANDLE = bigint | number; -export type APARTMENT_SHUTDOWN_REGISTRATION_COOKIE = Deno.PointerValue; +export type APARTMENT_SHUTDOWN_REGISTRATION_COOKIE = bigint | number; /** * Windows.Win32.System.WinRT.ServerInformation (size: 16) @@ -256,7 +256,7 @@ export interface ServerInformation { /** u32 */ dwServerTid: number; /** u64 */ - ui64ServerAddress: Deno.PointerValue; + ui64ServerAddress: bigint | number; } export const sizeofServerInformation = 16; @@ -294,7 +294,7 @@ export class ServerInformationView { } // 0x08: u64 - get ui64ServerAddress(): Deno.PointerValue { + get ui64ServerAddress(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -309,7 +309,7 @@ export class ServerInformationView { } // 0x08: u64 - set ui64ServerAddress(value: Deno.PointerValue) { + set ui64ServerAddress(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -1051,7 +1051,7 @@ try { export function CoDecodeProxy( dwClientPid: number /* u32 */, - ui64ProxyAddress: Deno.PointerValue /* u64 */, + ui64ProxyAddress: bigint | number /* u64 */, pServerInformation: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libOLE32_dll.CoDecodeProxy(dwClientPid, ui64ProxyAddress, util.toPointer(pServerInformation)); @@ -1264,7 +1264,7 @@ export function WindowsDeleteStringBuffer( } export function WindowsInspectString( - targetHString: Deno.PointerValue /* usize */, + targetHString: bigint | number /* usize */, machine: number /* u16 */, callback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.WinRT.PINSPECT_HSTRING_CALLBACK */, context: Deno.PointerValue | Uint8Array /* ptr */, @@ -1275,7 +1275,7 @@ export function WindowsInspectString( } export function WindowsInspectString2( - targetHString: Deno.PointerValue /* u64 */, + targetHString: bigint | number /* u64 */, machine: number /* u16 */, callback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.WinRT.PINSPECT_HSTRING_CALLBACK2 */, context: Deno.PointerValue | Uint8Array /* ptr */, @@ -1319,7 +1319,7 @@ export function RoRegisterActivationFactories( } export function RoRevokeActivationFactories( - cookie: Deno.PointerValue /* isize */, + cookie: bigint | number /* isize */, ): void /* void */ { return libapi_ms_win_core_winrt_l1_1_0_dll.RoRevokeActivationFactories(cookie); } @@ -1452,7 +1452,7 @@ export function RoReportUnhandledError( } export function RoInspectThreadErrorInfo( - targetTebAddress: Deno.PointerValue /* usize */, + targetTebAddress: bigint | number /* usize */, machine: number /* u16 */, readMemoryCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.WinRT.PINSPECT_MEMORY_CALLBACK */, context: Deno.PointerValue | Uint8Array /* ptr */, @@ -1462,7 +1462,7 @@ export function RoInspectThreadErrorInfo( } export function RoInspectCapturedStackBackTrace( - targetErrorInfoAddress: Deno.PointerValue /* usize */, + targetErrorInfoAddress: bigint | number /* usize */, machine: number /* u16 */, readMemoryCallback: Uint8Array | Deno.PointerValue /* Windows.Win32.System.WinRT.PINSPECT_MEMORY_CALLBACK */, context: Deno.PointerValue | Uint8Array /* ptr */, diff --git a/api/System/WindowsProgramming.ts b/api/System/WindowsProgramming.ts index 18ed672..058bbee 100644 --- a/api/System/WindowsProgramming.ts +++ b/api/System/WindowsProgramming.ts @@ -3903,11 +3903,11 @@ export const ERROR_QUERY_STORAGE_ERROR = 2151284737; // Structs -export type HWINWATCH = Deno.PointerValue; +export type HWINWATCH = bigint | number; -export type FEATURE_STATE_CHANGE_SUBSCRIPTION = Deno.PointerValue; +export type FEATURE_STATE_CHANGE_SUBSCRIPTION = bigint | number; -export type FH_SERVICE_PIPE_HANDLE = Deno.PointerValue; +export type FH_SERVICE_PIPE_HANDLE = bigint | number; /** * Windows.Win32.System.WindowsProgramming.TDIEntityID (size: 8) @@ -4525,9 +4525,9 @@ export class IMAGE_THUNK_DATA32View { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -4553,22 +4553,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4853,11 +4853,11 @@ export interface JIT_DEBUG_INFO { /** u32 */ dwReserved0: number; /** u64 */ - lpExceptionAddress: Deno.PointerValue; + lpExceptionAddress: bigint | number; /** u64 */ - lpExceptionRecord: Deno.PointerValue; + lpExceptionRecord: bigint | number; /** u64 */ - lpContextRecord: Deno.PointerValue; + lpContextRecord: bigint | number; } export const sizeofJIT_DEBUG_INFO = 40; @@ -4913,17 +4913,17 @@ export class JIT_DEBUG_INFOView { } // 0x10: u64 - get lpExceptionAddress(): Deno.PointerValue { + get lpExceptionAddress(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: u64 - get lpExceptionRecord(): Deno.PointerValue { + get lpExceptionRecord(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: u64 - get lpContextRecord(): Deno.PointerValue { + get lpContextRecord(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -4948,17 +4948,17 @@ export class JIT_DEBUG_INFOView { } // 0x10: u64 - set lpExceptionAddress(value: Deno.PointerValue) { + set lpExceptionAddress(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: u64 - set lpExceptionRecord(value: Deno.PointerValue) { + set lpExceptionRecord(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: u64 - set lpContextRecord(value: Deno.PointerValue) { + set lpContextRecord(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -5111,7 +5111,7 @@ export class HW_PROFILE_INFOWView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.WindowsProgramming.ACTCTX_SECTION_KEYED_DATA_2600 (size: 72) @@ -6108,7 +6108,7 @@ export interface IO_STATUS_BLOCK { /** _Anonymous_e__Union */ Anonymous: Uint8Array | Deno.PointerValue; /** usize */ - Information: Deno.PointerValue; + Information: bigint | number; } export const sizeofIO_STATUS_BLOCK = 16; @@ -6140,7 +6140,7 @@ export class IO_STATUS_BLOCKView { } // 0x08: usize - get Information(): Deno.PointerValue { + get Information(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -6150,7 +6150,7 @@ export class IO_STATUS_BLOCKView { } // 0x08: usize - set Information(value: Deno.PointerValue) { + set Information(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -6227,7 +6227,7 @@ export interface LARGE_INTEGER { /** _u_e__Struct */ u: Uint8Array | Deno.PointerValue; /** i64 */ - QuadPart: Deno.PointerValue; + QuadPart: bigint | number; } export const sizeofLARGE_INTEGER = 24; @@ -6267,7 +6267,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - get QuadPart(): Deno.PointerValue { + get QuadPart(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -6282,7 +6282,7 @@ export class LARGE_INTEGERView { } // 0x10: i64 - set QuadPart(value: Deno.PointerValue) { + set QuadPart(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -6416,29 +6416,29 @@ export interface SYSTEM_PROCESS_INFORMATION { /** ptr */ Reserved3: Deno.PointerValue | Uint8Array; /** usize */ - PeakVirtualSize: Deno.PointerValue; + PeakVirtualSize: bigint | number; /** usize */ - VirtualSize: Deno.PointerValue; + VirtualSize: bigint | number; /** u32 */ Reserved4: number; /** usize */ - PeakWorkingSetSize: Deno.PointerValue; + PeakWorkingSetSize: bigint | number; /** usize */ - WorkingSetSize: Deno.PointerValue; + WorkingSetSize: bigint | number; /** ptr */ Reserved5: Deno.PointerValue | Uint8Array; /** usize */ - QuotaPagedPoolUsage: Deno.PointerValue; + QuotaPagedPoolUsage: bigint | number; /** ptr */ Reserved6: Deno.PointerValue | Uint8Array; /** usize */ - QuotaNonPagedPoolUsage: Deno.PointerValue; + QuotaNonPagedPoolUsage: bigint | number; /** usize */ - PagefileUsage: Deno.PointerValue; + PagefileUsage: bigint | number; /** usize */ - PeakPagefileUsage: Deno.PointerValue; + PeakPagefileUsage: bigint | number; /** usize */ - PrivatePageCount: Deno.PointerValue; + PrivatePageCount: bigint | number; /** array */ Reserved7: Deno.PointerValue; } @@ -6567,12 +6567,12 @@ export class SYSTEM_PROCESS_INFORMATIONView { } // 0x40: usize - get PeakVirtualSize(): Deno.PointerValue { + get PeakVirtualSize(): bigint | number { return Number(this.view.getBigUint64(64, true)); } // 0x48: usize - get VirtualSize(): Deno.PointerValue { + get VirtualSize(): bigint | number { return Number(this.view.getBigUint64(72, true)); } @@ -6584,12 +6584,12 @@ export class SYSTEM_PROCESS_INFORMATIONView { // 0x54: pad4 // 0x58: usize - get PeakWorkingSetSize(): Deno.PointerValue { + get PeakWorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(88, true)); } // 0x60: usize - get WorkingSetSize(): Deno.PointerValue { + get WorkingSetSize(): bigint | number { return Number(this.view.getBigUint64(96, true)); } @@ -6600,7 +6600,7 @@ export class SYSTEM_PROCESS_INFORMATIONView { } // 0x70: usize - get QuotaPagedPoolUsage(): Deno.PointerValue { + get QuotaPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(112, true)); } @@ -6611,22 +6611,22 @@ export class SYSTEM_PROCESS_INFORMATIONView { } // 0x80: usize - get QuotaNonPagedPoolUsage(): Deno.PointerValue { + get QuotaNonPagedPoolUsage(): bigint | number { return Number(this.view.getBigUint64(128, true)); } // 0x88: usize - get PagefileUsage(): Deno.PointerValue { + get PagefileUsage(): bigint | number { return Number(this.view.getBigUint64(136, true)); } // 0x90: usize - get PeakPagefileUsage(): Deno.PointerValue { + get PeakPagefileUsage(): bigint | number { return Number(this.view.getBigUint64(144, true)); } // 0x98: usize - get PrivatePageCount(): Deno.PointerValue { + get PrivatePageCount(): bigint | number { return Number(this.view.getBigUint64(152, true)); } @@ -6689,12 +6689,12 @@ export class SYSTEM_PROCESS_INFORMATIONView { } // 0x40: usize - set PeakVirtualSize(value: Deno.PointerValue) { + set PeakVirtualSize(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } // 0x48: usize - set VirtualSize(value: Deno.PointerValue) { + set VirtualSize(value: bigint | number) { this.view.setBigUint64(72, BigInt(value), true); } @@ -6706,12 +6706,12 @@ export class SYSTEM_PROCESS_INFORMATIONView { // 0x54: pad4 // 0x58: usize - set PeakWorkingSetSize(value: Deno.PointerValue) { + set PeakWorkingSetSize(value: bigint | number) { this.view.setBigUint64(88, BigInt(value), true); } // 0x60: usize - set WorkingSetSize(value: Deno.PointerValue) { + set WorkingSetSize(value: bigint | number) { this.view.setBigUint64(96, BigInt(value), true); } @@ -6721,7 +6721,7 @@ export class SYSTEM_PROCESS_INFORMATIONView { } // 0x70: usize - set QuotaPagedPoolUsage(value: Deno.PointerValue) { + set QuotaPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(112, BigInt(value), true); } @@ -6731,22 +6731,22 @@ export class SYSTEM_PROCESS_INFORMATIONView { } // 0x80: usize - set QuotaNonPagedPoolUsage(value: Deno.PointerValue) { + set QuotaNonPagedPoolUsage(value: bigint | number) { this.view.setBigUint64(128, BigInt(value), true); } // 0x88: usize - set PagefileUsage(value: Deno.PointerValue) { + set PagefileUsage(value: bigint | number) { this.view.setBigUint64(136, BigInt(value), true); } // 0x90: usize - set PeakPagefileUsage(value: Deno.PointerValue) { + set PeakPagefileUsage(value: bigint | number) { this.view.setBigUint64(144, BigInt(value), true); } // 0x98: usize - set PrivatePageCount(value: Deno.PointerValue) { + set PrivatePageCount(value: bigint | number) { this.view.setBigUint64(152, BigInt(value), true); } @@ -8277,7 +8277,7 @@ export interface DCISURFACEINFO { /** u32 */ dwBitCount: number; /** usize */ - dwOffSurface: Deno.PointerValue; + dwOffSurface: bigint | number; /** u16 */ wSelSurface: number; /** u16 */ @@ -8289,11 +8289,11 @@ export interface DCISURFACEINFO { /** u32 */ dwReserved3: number; /** isize */ - BeginAccess: Deno.PointerValue; + BeginAccess: bigint | number; /** isize */ - EndAccess: Deno.PointerValue; + EndAccess: bigint | number; /** isize */ - DestroySurface: Deno.PointerValue; + DestroySurface: bigint | number; } export const sizeofDCISURFACEINFO = 88; @@ -8393,7 +8393,7 @@ export class DCISURFACEINFOView { } // 0x28: usize - get dwOffSurface(): Deno.PointerValue { + get dwOffSurface(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -8423,17 +8423,17 @@ export class DCISURFACEINFOView { } // 0x40: isize - get BeginAccess(): Deno.PointerValue { + get BeginAccess(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get EndAccess(): Deno.PointerValue { + get EndAccess(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get DestroySurface(): Deno.PointerValue { + get DestroySurface(): bigint | number { return Number(this.view.getBigInt64(80, true)); } @@ -8480,7 +8480,7 @@ export class DCISURFACEINFOView { } // 0x28: usize - set dwOffSurface(value: Deno.PointerValue) { + set dwOffSurface(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -8510,17 +8510,17 @@ export class DCISURFACEINFOView { } // 0x40: isize - set BeginAccess(value: Deno.PointerValue) { + set BeginAccess(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set EndAccess(value: Deno.PointerValue) { + set EndAccess(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set DestroySurface(value: Deno.PointerValue) { + set DestroySurface(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } } @@ -8617,7 +8617,7 @@ export interface DCIENUMINPUT { /** Windows.Win32.Foundation.RECT */ rDst: Uint8Array | Deno.PointerValue; /** isize */ - EnumCallback: Deno.PointerValue; + EnumCallback: bigint | number; /** ptr */ lpContext: Deno.PointerValue | Uint8Array; } @@ -8669,7 +8669,7 @@ export class DCIENUMINPUTView { } // 0x18: isize - get EnumCallback(): Deno.PointerValue { + get EnumCallback(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -8695,7 +8695,7 @@ export class DCIENUMINPUTView { } // 0x18: isize - set EnumCallback(value: Deno.PointerValue) { + set EnumCallback(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -8712,11 +8712,11 @@ export interface DCIOFFSCREEN { /** Windows.Win32.System.WindowsProgramming.DCISURFACEINFO */ dciInfo: Uint8Array | Deno.PointerValue; /** isize */ - Draw: Deno.PointerValue; + Draw: bigint | number; /** isize */ - SetClipList: Deno.PointerValue; + SetClipList: bigint | number; /** isize */ - SetDestination: Deno.PointerValue; + SetDestination: bigint | number; } export const sizeofDCIOFFSCREEN = 32; @@ -8752,17 +8752,17 @@ export class DCIOFFSCREENView { } // 0x08: isize - get Draw(): Deno.PointerValue { + get Draw(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get SetClipList(): Deno.PointerValue { + get SetClipList(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get SetDestination(): Deno.PointerValue { + get SetDestination(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -8772,17 +8772,17 @@ export class DCIOFFSCREENView { } // 0x08: isize - set Draw(value: Deno.PointerValue) { + set Draw(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set SetClipList(value: Deno.PointerValue) { + set SetClipList(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set SetDestination(value: Deno.PointerValue) { + set SetDestination(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -9619,9 +9619,9 @@ export class PERUSERSECTIONWView { } } -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.System.WindowsProgramming.IMESTRUCT (size: 56) @@ -10209,7 +10209,7 @@ export class DATETIMEView { // 0x0c: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.System.WindowsProgramming.IMEPROA (size: 48) @@ -11174,13 +11174,13 @@ export type NTSTATUS = number; export type BOOLEAN = number; -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; // Native Libraries @@ -12212,7 +12212,7 @@ export function uaw_wcsicmp( export function uaw_wcslen( String: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libKERNEL32_dll.uaw_wcslen(util.toPointer(String)); } @@ -12223,7 +12223,7 @@ export function uaw_wcsrchr( return libKERNEL32_dll.uaw_wcsrchr(util.toPointer(String), util.toPointer(Character)); } -export function RtlGetReturnAddressHijackTarget(): Deno.PointerValue /* usize */ { +export function RtlGetReturnAddressHijackTarget(): bigint | number /* usize */ { return libntdll_dll.RtlGetReturnAddressHijackTarget(); } @@ -12299,7 +12299,7 @@ export function QueryAuxiliaryCounterFrequency( } export function ConvertAuxiliaryCounterToPerformanceCounter( - ullAuxiliaryCounterValue: Deno.PointerValue /* u64 */, + ullAuxiliaryCounterValue: bigint | number /* u64 */, lpPerformanceCounterValue: Deno.PointerValue | Uint8Array /* ptr */, lpConversionError: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -12307,7 +12307,7 @@ export function ConvertAuxiliaryCounterToPerformanceCounter( } export function ConvertPerformanceCounterToAuxiliaryCounter( - ullPerformanceCounterValue: Deno.PointerValue /* u64 */, + ullPerformanceCounterValue: bigint | number /* u64 */, lpAuxiliaryCounterValue: Deno.PointerValue | Uint8Array /* ptr */, lpConversionError: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -12316,44 +12316,44 @@ export function ConvertPerformanceCounterToAuxiliaryCounter( export function GlobalCompact( dwMinFree: number /* u32 */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libKERNEL32_dll.GlobalCompact(dwMinFree); } export function GlobalFix( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): void /* void */ { return libKERNEL32_dll.GlobalFix(hMem); } export function GlobalUnfix( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): void /* void */ { return libKERNEL32_dll.GlobalUnfix(hMem); } export function GlobalWire( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): Deno.PointerValue /* ptr */ { return libKERNEL32_dll.GlobalWire(hMem); } export function GlobalUnWire( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.GlobalUnWire(hMem)); } export function LocalShrink( - hMem: Deno.PointerValue /* isize */, + hMem: bigint | number /* isize */, cbNewSize: number /* u32 */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libKERNEL32_dll.LocalShrink(hMem, cbNewSize); } export function LocalCompact( uMinFree: number /* u32 */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libKERNEL32_dll.LocalCompact(uMinFree); } @@ -12843,14 +12843,14 @@ export function WritePrivateProfileStructW( export function IsBadHugeReadPtr( lp: Deno.PointerValue | Uint8Array /* ptr */, - ucb: Deno.PointerValue /* usize */, + ucb: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.IsBadHugeReadPtr(util.toPointer(lp), ucb)); } export function IsBadHugeWritePtr( lp: Deno.PointerValue | Uint8Array /* ptr */, - ucb: Deno.PointerValue /* usize */, + ucb: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.IsBadHugeWritePtr(util.toPointer(lp), ucb)); } @@ -12932,12 +12932,12 @@ export function ReplacePartitionUnit( return util.boolFromFfi(libKERNEL32_dll.ReplacePartitionUnit(util.pwstrToFfi(TargetPartition), util.pwstrToFfi(SparePartition), Flags)); } -export function GetThreadEnabledXStateFeatures(): Deno.PointerValue /* u64 */ { +export function GetThreadEnabledXStateFeatures(): bigint | number /* u64 */ { return libKERNEL32_dll.GetThreadEnabledXStateFeatures(); } export function EnableProcessOptionalXStateFeatures( - Features: Deno.PointerValue /* u64 */, + Features: bigint | number /* u64 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libKERNEL32_dll.EnableProcessOptionalXStateFeatures(Features)); } diff --git a/api/System/WindowsSync.ts b/api/System/WindowsSync.ts index 8eed936..d1efecf 100644 --- a/api/System/WindowsSync.ts +++ b/api/System/WindowsSync.ts @@ -346,7 +346,7 @@ export interface SYNC_VERSION { /** u32 */ dwLastUpdatingReplicaKey: number; /** u64 */ - ullTickCount: Deno.PointerValue; + ullTickCount: bigint | number; } export const sizeofSYNC_VERSION = 16; @@ -380,7 +380,7 @@ export class SYNC_VERSIONView { // 0x04: pad4 // 0x08: u64 - get ullTickCount(): Deno.PointerValue { + get ullTickCount(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -392,7 +392,7 @@ export class SYNC_VERSIONView { // 0x04: pad4 // 0x08: u64 - set ullTickCount(value: Deno.PointerValue) { + set ullTickCount(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/System/Wmi.ts b/api/System/Wmi.ts index 635dd50..b599b7e 100644 --- a/api/System/Wmi.ts +++ b/api/System/Wmi.ts @@ -1428,7 +1428,7 @@ export class EXCEPTION_DEBUG_INFOView { // 0x0c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.System.Diagnostics.Debug.CREATE_THREAD_DEBUG_INFO (size: 24) @@ -4239,9 +4239,9 @@ export interface MI_Value { /** i32 */ sint32: number; /** u64 */ - uint64: Deno.PointerValue; + uint64: bigint | number; /** i64 */ - sint64: Deno.PointerValue; + sint64: bigint | number; /** f32 */ real32: number; /** f64 */ @@ -4417,12 +4417,12 @@ export class MI_ValueView { // 0x0f: pad1 // 0x10: u64 - get uint64(): Deno.PointerValue { + get uint64(): bigint | number { return Number(this.view.getBigUint64(16, true)); } // 0x18: i64 - get sint64(): Deno.PointerValue { + get sint64(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -4609,12 +4609,12 @@ export class MI_ValueView { // 0x0f: pad1 // 0x10: u64 - set uint64(value: Deno.PointerValue) { + set uint64(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } // 0x18: i64 - set sint64(value: Deno.PointerValue) { + set sint64(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -5252,7 +5252,7 @@ export class MI_Uint32FieldView { */ export interface MI_Sint64Field { /** i64 */ - value: Deno.PointerValue; + value: bigint | number; /** u8 */ exists: number; /** u8 */ @@ -5285,7 +5285,7 @@ export class MI_Sint64FieldView { } // 0x00: i64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -5302,7 +5302,7 @@ export class MI_Sint64FieldView { // 0x0a: pad6 // 0x00: i64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -5324,7 +5324,7 @@ export class MI_Sint64FieldView { */ export interface MI_Uint64Field { /** u64 */ - value: Deno.PointerValue; + value: bigint | number; /** u8 */ exists: number; /** u8 */ @@ -5357,7 +5357,7 @@ export class MI_Uint64FieldView { } // 0x00: u64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -5374,7 +5374,7 @@ export class MI_Uint64FieldView { // 0x0a: pad6 // 0x00: u64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -7649,7 +7649,7 @@ export class MI_ConstUint32FieldView { */ export interface MI_ConstSint64Field { /** i64 */ - value: Deno.PointerValue; + value: bigint | number; /** u8 */ exists: number; /** u8 */ @@ -7682,7 +7682,7 @@ export class MI_ConstSint64FieldView { } // 0x00: i64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigInt64(0, true)); } @@ -7699,7 +7699,7 @@ export class MI_ConstSint64FieldView { // 0x0a: pad6 // 0x00: i64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } @@ -7721,7 +7721,7 @@ export class MI_ConstSint64FieldView { */ export interface MI_ConstUint64Field { /** u64 */ - value: Deno.PointerValue; + value: bigint | number; /** u8 */ exists: number; /** u8 */ @@ -7754,7 +7754,7 @@ export class MI_ConstUint64FieldView { } // 0x00: u64 - get value(): Deno.PointerValue { + get value(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -7771,7 +7771,7 @@ export class MI_ConstUint64FieldView { // 0x0a: pad6 // 0x00: u64 - set value(value: Deno.PointerValue) { + set value(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -9469,9 +9469,9 @@ export class MI_ConstInstanceAFieldView { */ export interface MI_ServerFT { /** isize */ - GetVersion: Deno.PointerValue; + GetVersion: bigint | number; /** isize */ - GetSystemName: Deno.PointerValue; + GetSystemName: bigint | number; } export const sizeofMI_ServerFT = 16; @@ -9497,22 +9497,22 @@ export class MI_ServerFTView { } // 0x00: isize - get GetVersion(): Deno.PointerValue { + get GetVersion(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetSystemName(): Deno.PointerValue { + get GetSystemName(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: isize - set GetVersion(value: Deno.PointerValue) { + set GetVersion(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetSystemName(value: Deno.PointerValue) { + set GetSystemName(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -9622,9 +9622,9 @@ export class MI_ServerView { */ export interface MI_FilterFT { /** isize */ - Evaluate: Deno.PointerValue; + Evaluate: bigint | number; /** isize */ - GetExpression: Deno.PointerValue; + GetExpression: bigint | number; } export const sizeofMI_FilterFT = 16; @@ -9650,22 +9650,22 @@ export class MI_FilterFTView { } // 0x00: isize - get Evaluate(): Deno.PointerValue { + get Evaluate(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetExpression(): Deno.PointerValue { + get GetExpression(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: isize - set Evaluate(value: Deno.PointerValue) { + set Evaluate(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetExpression(value: Deno.PointerValue) { + set GetExpression(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -9730,21 +9730,21 @@ export class MI_FilterView { */ export interface MI_PropertySetFT { /** isize */ - GetElementCount: Deno.PointerValue; + GetElementCount: bigint | number; /** isize */ - ContainsElement: Deno.PointerValue; + ContainsElement: bigint | number; /** isize */ - AddElement: Deno.PointerValue; + AddElement: bigint | number; /** isize */ - GetElementAt: Deno.PointerValue; + GetElementAt: bigint | number; /** isize */ - Clear: Deno.PointerValue; + Clear: bigint | number; /** isize */ - Destruct: Deno.PointerValue; + Destruct: bigint | number; /** isize */ - Delete: Deno.PointerValue; + Delete: bigint | number; /** isize */ - Clone: Deno.PointerValue; + Clone: bigint | number; } export const sizeofMI_PropertySetFT = 64; @@ -9782,82 +9782,82 @@ export class MI_PropertySetFTView { } // 0x00: isize - get GetElementCount(): Deno.PointerValue { + get GetElementCount(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get ContainsElement(): Deno.PointerValue { + get ContainsElement(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get AddElement(): Deno.PointerValue { + get AddElement(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get GetElementAt(): Deno.PointerValue { + get GetElementAt(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get Clear(): Deno.PointerValue { + get Clear(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get Destruct(): Deno.PointerValue { + get Destruct(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get Delete(): Deno.PointerValue { + get Delete(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get Clone(): Deno.PointerValue { + get Clone(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x00: isize - set GetElementCount(value: Deno.PointerValue) { + set GetElementCount(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set ContainsElement(value: Deno.PointerValue) { + set ContainsElement(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set AddElement(value: Deno.PointerValue) { + set AddElement(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set GetElementAt(value: Deno.PointerValue) { + set GetElementAt(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set Clear(value: Deno.PointerValue) { + set Clear(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set Destruct(value: Deno.PointerValue) { + set Destruct(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set Delete(value: Deno.PointerValue) { + set Delete(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set Clone(value: Deno.PointerValue) { + set Clone(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } } @@ -11663,41 +11663,41 @@ export class MI_ModuleView { */ export interface MI_InstanceFT { /** isize */ - Clone: Deno.PointerValue; + Clone: bigint | number; /** isize */ - Destruct: Deno.PointerValue; + Destruct: bigint | number; /** isize */ - Delete: Deno.PointerValue; + Delete: bigint | number; /** isize */ - IsA: Deno.PointerValue; + IsA: bigint | number; /** isize */ - GetClassNameA: Deno.PointerValue; + GetClassNameA: bigint | number; /** isize */ - SetNameSpace: Deno.PointerValue; + SetNameSpace: bigint | number; /** isize */ - GetNameSpace: Deno.PointerValue; + GetNameSpace: bigint | number; /** isize */ - GetElementCount: Deno.PointerValue; + GetElementCount: bigint | number; /** isize */ - AddElement: Deno.PointerValue; + AddElement: bigint | number; /** isize */ - SetElement: Deno.PointerValue; + SetElement: bigint | number; /** isize */ - SetElementAt: Deno.PointerValue; + SetElementAt: bigint | number; /** isize */ - GetElement: Deno.PointerValue; + GetElement: bigint | number; /** isize */ - GetElementAt: Deno.PointerValue; + GetElementAt: bigint | number; /** isize */ - ClearElement: Deno.PointerValue; + ClearElement: bigint | number; /** isize */ - ClearElementAt: Deno.PointerValue; + ClearElementAt: bigint | number; /** isize */ - GetServerName: Deno.PointerValue; + GetServerName: bigint | number; /** isize */ - SetServerName: Deno.PointerValue; + SetServerName: bigint | number; /** isize */ - GetClass: Deno.PointerValue; + GetClass: bigint | number; } export const sizeofMI_InstanceFT = 144; @@ -11755,182 +11755,182 @@ export class MI_InstanceFTView { } // 0x00: isize - get Clone(): Deno.PointerValue { + get Clone(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get Destruct(): Deno.PointerValue { + get Destruct(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get Delete(): Deno.PointerValue { + get Delete(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get IsA(): Deno.PointerValue { + get IsA(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get GetClassNameA(): Deno.PointerValue { + get GetClassNameA(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get SetNameSpace(): Deno.PointerValue { + get SetNameSpace(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get GetNameSpace(): Deno.PointerValue { + get GetNameSpace(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get GetElementCount(): Deno.PointerValue { + get GetElementCount(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get AddElement(): Deno.PointerValue { + get AddElement(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get SetElement(): Deno.PointerValue { + get SetElement(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get SetElementAt(): Deno.PointerValue { + get SetElementAt(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get GetElement(): Deno.PointerValue { + get GetElement(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get GetElementAt(): Deno.PointerValue { + get GetElementAt(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get ClearElement(): Deno.PointerValue { + get ClearElement(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get ClearElementAt(): Deno.PointerValue { + get ClearElementAt(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x78: isize - get GetServerName(): Deno.PointerValue { + get GetServerName(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: isize - get SetServerName(): Deno.PointerValue { + get SetServerName(): bigint | number { return Number(this.view.getBigInt64(128, true)); } // 0x88: isize - get GetClass(): Deno.PointerValue { + get GetClass(): bigint | number { return Number(this.view.getBigInt64(136, true)); } // 0x00: isize - set Clone(value: Deno.PointerValue) { + set Clone(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set Destruct(value: Deno.PointerValue) { + set Destruct(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set Delete(value: Deno.PointerValue) { + set Delete(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set IsA(value: Deno.PointerValue) { + set IsA(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set GetClassNameA(value: Deno.PointerValue) { + set GetClassNameA(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set SetNameSpace(value: Deno.PointerValue) { + set SetNameSpace(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set GetNameSpace(value: Deno.PointerValue) { + set GetNameSpace(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set GetElementCount(value: Deno.PointerValue) { + set GetElementCount(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set AddElement(value: Deno.PointerValue) { + set AddElement(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set SetElement(value: Deno.PointerValue) { + set SetElement(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set SetElementAt(value: Deno.PointerValue) { + set SetElementAt(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set GetElement(value: Deno.PointerValue) { + set GetElement(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set GetElementAt(value: Deno.PointerValue) { + set GetElementAt(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set ClearElement(value: Deno.PointerValue) { + set ClearElement(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set ClearElementAt(value: Deno.PointerValue) { + set ClearElementAt(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } // 0x78: isize - set GetServerName(value: Deno.PointerValue) { + set GetServerName(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: isize - set SetServerName(value: Deno.PointerValue) { + set SetServerName(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } // 0x88: isize - set GetClass(value: Deno.PointerValue) { + set GetClass(value: bigint | number) { this.view.setBigInt64(136, BigInt(value), true); } } @@ -11942,7 +11942,7 @@ export interface MI_InstanceExFT { /** Windows.Win32.System.Wmi.MI_InstanceFT */ parent: Uint8Array | Deno.PointerValue; /** isize */ - Normalize: Deno.PointerValue; + Normalize: bigint | number; } export const sizeofMI_InstanceExFT = 16; @@ -11974,7 +11974,7 @@ export class MI_InstanceExFTView { } // 0x08: isize - get Normalize(): Deno.PointerValue { + get Normalize(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -11984,7 +11984,7 @@ export class MI_InstanceExFTView { } // 0x08: isize - set Normalize(value: Deno.PointerValue) { + set Normalize(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -12094,65 +12094,65 @@ export class MI_InstanceView { */ export interface MI_ContextFT { /** isize */ - PostResult: Deno.PointerValue; + PostResult: bigint | number; /** isize */ - PostInstance: Deno.PointerValue; + PostInstance: bigint | number; /** isize */ - PostIndication: Deno.PointerValue; + PostIndication: bigint | number; /** isize */ - ConstructInstance: Deno.PointerValue; + ConstructInstance: bigint | number; /** isize */ - ConstructParameters: Deno.PointerValue; + ConstructParameters: bigint | number; /** isize */ - NewInstance: Deno.PointerValue; + NewInstance: bigint | number; /** isize */ - NewDynamicInstance: Deno.PointerValue; + NewDynamicInstance: bigint | number; /** isize */ - NewParameters: Deno.PointerValue; + NewParameters: bigint | number; /** isize */ - Canceled: Deno.PointerValue; + Canceled: bigint | number; /** isize */ - GetLocale: Deno.PointerValue; + GetLocale: bigint | number; /** isize */ - RegisterCancel: Deno.PointerValue; + RegisterCancel: bigint | number; /** isize */ - RequestUnload: Deno.PointerValue; + RequestUnload: bigint | number; /** isize */ - RefuseUnload: Deno.PointerValue; + RefuseUnload: bigint | number; /** isize */ - GetLocalSession: Deno.PointerValue; + GetLocalSession: bigint | number; /** isize */ - SetStringOption: Deno.PointerValue; + SetStringOption: bigint | number; /** isize */ - GetStringOption: Deno.PointerValue; + GetStringOption: bigint | number; /** isize */ - GetNumberOption: Deno.PointerValue; + GetNumberOption: bigint | number; /** isize */ - GetCustomOption: Deno.PointerValue; + GetCustomOption: bigint | number; /** isize */ - GetCustomOptionCount: Deno.PointerValue; + GetCustomOptionCount: bigint | number; /** isize */ - GetCustomOptionAt: Deno.PointerValue; + GetCustomOptionAt: bigint | number; /** isize */ - WriteMessage: Deno.PointerValue; + WriteMessage: bigint | number; /** isize */ - WriteProgress: Deno.PointerValue; + WriteProgress: bigint | number; /** isize */ - WriteStreamParameter: Deno.PointerValue; + WriteStreamParameter: bigint | number; /** isize */ - WriteCimError: Deno.PointerValue; + WriteCimError: bigint | number; /** isize */ - PromptUser: Deno.PointerValue; + PromptUser: bigint | number; /** isize */ - ShouldProcess: Deno.PointerValue; + ShouldProcess: bigint | number; /** isize */ - ShouldContinue: Deno.PointerValue; + ShouldContinue: bigint | number; /** isize */ - PostError: Deno.PointerValue; + PostError: bigint | number; /** isize */ - PostCimError: Deno.PointerValue; + PostCimError: bigint | number; /** isize */ - WriteError: Deno.PointerValue; + WriteError: bigint | number; } export const sizeofMI_ContextFT = 240; @@ -12234,302 +12234,302 @@ export class MI_ContextFTView { } // 0x00: isize - get PostResult(): Deno.PointerValue { + get PostResult(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get PostInstance(): Deno.PointerValue { + get PostInstance(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get PostIndication(): Deno.PointerValue { + get PostIndication(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get ConstructInstance(): Deno.PointerValue { + get ConstructInstance(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get ConstructParameters(): Deno.PointerValue { + get ConstructParameters(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get NewInstance(): Deno.PointerValue { + get NewInstance(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get NewDynamicInstance(): Deno.PointerValue { + get NewDynamicInstance(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get NewParameters(): Deno.PointerValue { + get NewParameters(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get Canceled(): Deno.PointerValue { + get Canceled(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get GetLocale(): Deno.PointerValue { + get GetLocale(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get RegisterCancel(): Deno.PointerValue { + get RegisterCancel(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get RequestUnload(): Deno.PointerValue { + get RequestUnload(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get RefuseUnload(): Deno.PointerValue { + get RefuseUnload(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get GetLocalSession(): Deno.PointerValue { + get GetLocalSession(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get SetStringOption(): Deno.PointerValue { + get SetStringOption(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x78: isize - get GetStringOption(): Deno.PointerValue { + get GetStringOption(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: isize - get GetNumberOption(): Deno.PointerValue { + get GetNumberOption(): bigint | number { return Number(this.view.getBigInt64(128, true)); } // 0x88: isize - get GetCustomOption(): Deno.PointerValue { + get GetCustomOption(): bigint | number { return Number(this.view.getBigInt64(136, true)); } // 0x90: isize - get GetCustomOptionCount(): Deno.PointerValue { + get GetCustomOptionCount(): bigint | number { return Number(this.view.getBigInt64(144, true)); } // 0x98: isize - get GetCustomOptionAt(): Deno.PointerValue { + get GetCustomOptionAt(): bigint | number { return Number(this.view.getBigInt64(152, true)); } // 0xa0: isize - get WriteMessage(): Deno.PointerValue { + get WriteMessage(): bigint | number { return Number(this.view.getBigInt64(160, true)); } // 0xa8: isize - get WriteProgress(): Deno.PointerValue { + get WriteProgress(): bigint | number { return Number(this.view.getBigInt64(168, true)); } // 0xb0: isize - get WriteStreamParameter(): Deno.PointerValue { + get WriteStreamParameter(): bigint | number { return Number(this.view.getBigInt64(176, true)); } // 0xb8: isize - get WriteCimError(): Deno.PointerValue { + get WriteCimError(): bigint | number { return Number(this.view.getBigInt64(184, true)); } // 0xc0: isize - get PromptUser(): Deno.PointerValue { + get PromptUser(): bigint | number { return Number(this.view.getBigInt64(192, true)); } // 0xc8: isize - get ShouldProcess(): Deno.PointerValue { + get ShouldProcess(): bigint | number { return Number(this.view.getBigInt64(200, true)); } // 0xd0: isize - get ShouldContinue(): Deno.PointerValue { + get ShouldContinue(): bigint | number { return Number(this.view.getBigInt64(208, true)); } // 0xd8: isize - get PostError(): Deno.PointerValue { + get PostError(): bigint | number { return Number(this.view.getBigInt64(216, true)); } // 0xe0: isize - get PostCimError(): Deno.PointerValue { + get PostCimError(): bigint | number { return Number(this.view.getBigInt64(224, true)); } // 0xe8: isize - get WriteError(): Deno.PointerValue { + get WriteError(): bigint | number { return Number(this.view.getBigInt64(232, true)); } // 0x00: isize - set PostResult(value: Deno.PointerValue) { + set PostResult(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set PostInstance(value: Deno.PointerValue) { + set PostInstance(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set PostIndication(value: Deno.PointerValue) { + set PostIndication(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set ConstructInstance(value: Deno.PointerValue) { + set ConstructInstance(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set ConstructParameters(value: Deno.PointerValue) { + set ConstructParameters(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set NewInstance(value: Deno.PointerValue) { + set NewInstance(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set NewDynamicInstance(value: Deno.PointerValue) { + set NewDynamicInstance(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set NewParameters(value: Deno.PointerValue) { + set NewParameters(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set Canceled(value: Deno.PointerValue) { + set Canceled(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set GetLocale(value: Deno.PointerValue) { + set GetLocale(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set RegisterCancel(value: Deno.PointerValue) { + set RegisterCancel(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set RequestUnload(value: Deno.PointerValue) { + set RequestUnload(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set RefuseUnload(value: Deno.PointerValue) { + set RefuseUnload(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set GetLocalSession(value: Deno.PointerValue) { + set GetLocalSession(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set SetStringOption(value: Deno.PointerValue) { + set SetStringOption(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } // 0x78: isize - set GetStringOption(value: Deno.PointerValue) { + set GetStringOption(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: isize - set GetNumberOption(value: Deno.PointerValue) { + set GetNumberOption(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } // 0x88: isize - set GetCustomOption(value: Deno.PointerValue) { + set GetCustomOption(value: bigint | number) { this.view.setBigInt64(136, BigInt(value), true); } // 0x90: isize - set GetCustomOptionCount(value: Deno.PointerValue) { + set GetCustomOptionCount(value: bigint | number) { this.view.setBigInt64(144, BigInt(value), true); } // 0x98: isize - set GetCustomOptionAt(value: Deno.PointerValue) { + set GetCustomOptionAt(value: bigint | number) { this.view.setBigInt64(152, BigInt(value), true); } // 0xa0: isize - set WriteMessage(value: Deno.PointerValue) { + set WriteMessage(value: bigint | number) { this.view.setBigInt64(160, BigInt(value), true); } // 0xa8: isize - set WriteProgress(value: Deno.PointerValue) { + set WriteProgress(value: bigint | number) { this.view.setBigInt64(168, BigInt(value), true); } // 0xb0: isize - set WriteStreamParameter(value: Deno.PointerValue) { + set WriteStreamParameter(value: bigint | number) { this.view.setBigInt64(176, BigInt(value), true); } // 0xb8: isize - set WriteCimError(value: Deno.PointerValue) { + set WriteCimError(value: bigint | number) { this.view.setBigInt64(184, BigInt(value), true); } // 0xc0: isize - set PromptUser(value: Deno.PointerValue) { + set PromptUser(value: bigint | number) { this.view.setBigInt64(192, BigInt(value), true); } // 0xc8: isize - set ShouldProcess(value: Deno.PointerValue) { + set ShouldProcess(value: bigint | number) { this.view.setBigInt64(200, BigInt(value), true); } // 0xd0: isize - set ShouldContinue(value: Deno.PointerValue) { + set ShouldContinue(value: bigint | number) { this.view.setBigInt64(208, BigInt(value), true); } // 0xd8: isize - set PostError(value: Deno.PointerValue) { + set PostError(value: bigint | number) { this.view.setBigInt64(216, BigInt(value), true); } // 0xe0: isize - set PostCimError(value: Deno.PointerValue) { + set PostCimError(value: bigint | number) { this.view.setBigInt64(224, BigInt(value), true); } // 0xe8: isize - set WriteError(value: Deno.PointerValue) { + set WriteError(value: bigint | number) { this.view.setBigInt64(232, BigInt(value), true); } } @@ -12594,11 +12594,11 @@ export class MI_ContextView { */ export interface MI_QualifierSetFT { /** isize */ - GetQualifierCount: Deno.PointerValue; + GetQualifierCount: bigint | number; /** isize */ - GetQualifierAt: Deno.PointerValue; + GetQualifierAt: bigint | number; /** isize */ - GetQualifier: Deno.PointerValue; + GetQualifier: bigint | number; } export const sizeofMI_QualifierSetFT = 24; @@ -12626,32 +12626,32 @@ export class MI_QualifierSetFTView { } // 0x00: isize - get GetQualifierCount(): Deno.PointerValue { + get GetQualifierCount(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetQualifierAt(): Deno.PointerValue { + get GetQualifierAt(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get GetQualifier(): Deno.PointerValue { + get GetQualifier(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x00: isize - set GetQualifierCount(value: Deno.PointerValue) { + set GetQualifierCount(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetQualifierAt(value: Deno.PointerValue) { + set GetQualifierAt(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set GetQualifier(value: Deno.PointerValue) { + set GetQualifier(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -12661,9 +12661,9 @@ export class MI_QualifierSetFTView { */ export interface MI_QualifierSet { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -12693,12 +12693,12 @@ export class MI_QualifierSetView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -12709,12 +12709,12 @@ export class MI_QualifierSetView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -12729,13 +12729,13 @@ export class MI_QualifierSetView { */ export interface MI_ParameterSetFT { /** isize */ - GetMethodReturnType: Deno.PointerValue; + GetMethodReturnType: bigint | number; /** isize */ - GetParameterCount: Deno.PointerValue; + GetParameterCount: bigint | number; /** isize */ - GetParameterAt: Deno.PointerValue; + GetParameterAt: bigint | number; /** isize */ - GetParameter: Deno.PointerValue; + GetParameter: bigint | number; } export const sizeofMI_ParameterSetFT = 32; @@ -12765,42 +12765,42 @@ export class MI_ParameterSetFTView { } // 0x00: isize - get GetMethodReturnType(): Deno.PointerValue { + get GetMethodReturnType(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetParameterCount(): Deno.PointerValue { + get GetParameterCount(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get GetParameterAt(): Deno.PointerValue { + get GetParameterAt(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get GetParameter(): Deno.PointerValue { + get GetParameter(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x00: isize - set GetMethodReturnType(value: Deno.PointerValue) { + set GetMethodReturnType(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetParameterCount(value: Deno.PointerValue) { + set GetParameterCount(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set GetParameterAt(value: Deno.PointerValue) { + set GetParameterAt(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set GetParameter(value: Deno.PointerValue) { + set GetParameter(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } @@ -12810,9 +12810,9 @@ export class MI_ParameterSetFTView { */ export interface MI_ParameterSet { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -12842,12 +12842,12 @@ export class MI_ParameterSetView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -12858,12 +12858,12 @@ export class MI_ParameterSetView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -12878,33 +12878,33 @@ export class MI_ParameterSetView { */ export interface MI_ClassFT { /** isize */ - GetClassNameA: Deno.PointerValue; + GetClassNameA: bigint | number; /** isize */ - GetNameSpace: Deno.PointerValue; + GetNameSpace: bigint | number; /** isize */ - GetServerName: Deno.PointerValue; + GetServerName: bigint | number; /** isize */ - GetElementCount: Deno.PointerValue; + GetElementCount: bigint | number; /** isize */ - GetElement: Deno.PointerValue; + GetElement: bigint | number; /** isize */ - GetElementAt: Deno.PointerValue; + GetElementAt: bigint | number; /** isize */ - GetClassQualifierSet: Deno.PointerValue; + GetClassQualifierSet: bigint | number; /** isize */ - GetMethodCount: Deno.PointerValue; + GetMethodCount: bigint | number; /** isize */ - GetMethodAt: Deno.PointerValue; + GetMethodAt: bigint | number; /** isize */ - GetMethod: Deno.PointerValue; + GetMethod: bigint | number; /** isize */ - GetParentClassName: Deno.PointerValue; + GetParentClassName: bigint | number; /** isize */ - GetParentClass: Deno.PointerValue; + GetParentClass: bigint | number; /** isize */ - Delete: Deno.PointerValue; + Delete: bigint | number; /** isize */ - Clone: Deno.PointerValue; + Clone: bigint | number; } export const sizeofMI_ClassFT = 112; @@ -12954,142 +12954,142 @@ export class MI_ClassFTView { } // 0x00: isize - get GetClassNameA(): Deno.PointerValue { + get GetClassNameA(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetNameSpace(): Deno.PointerValue { + get GetNameSpace(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get GetServerName(): Deno.PointerValue { + get GetServerName(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get GetElementCount(): Deno.PointerValue { + get GetElementCount(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get GetElement(): Deno.PointerValue { + get GetElement(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get GetElementAt(): Deno.PointerValue { + get GetElementAt(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get GetClassQualifierSet(): Deno.PointerValue { + get GetClassQualifierSet(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get GetMethodCount(): Deno.PointerValue { + get GetMethodCount(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get GetMethodAt(): Deno.PointerValue { + get GetMethodAt(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get GetMethod(): Deno.PointerValue { + get GetMethod(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get GetParentClassName(): Deno.PointerValue { + get GetParentClassName(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get GetParentClass(): Deno.PointerValue { + get GetParentClass(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get Delete(): Deno.PointerValue { + get Delete(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get Clone(): Deno.PointerValue { + get Clone(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x00: isize - set GetClassNameA(value: Deno.PointerValue) { + set GetClassNameA(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetNameSpace(value: Deno.PointerValue) { + set GetNameSpace(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set GetServerName(value: Deno.PointerValue) { + set GetServerName(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set GetElementCount(value: Deno.PointerValue) { + set GetElementCount(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set GetElement(value: Deno.PointerValue) { + set GetElement(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set GetElementAt(value: Deno.PointerValue) { + set GetElementAt(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set GetClassQualifierSet(value: Deno.PointerValue) { + set GetClassQualifierSet(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set GetMethodCount(value: Deno.PointerValue) { + set GetMethodCount(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set GetMethodAt(value: Deno.PointerValue) { + set GetMethodAt(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set GetMethod(value: Deno.PointerValue) { + set GetMethod(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set GetParentClassName(value: Deno.PointerValue) { + set GetParentClassName(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set GetParentClass(value: Deno.PointerValue) { + set GetParentClass(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set Delete(value: Deno.PointerValue) { + set Delete(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set Clone(value: Deno.PointerValue) { + set Clone(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } } @@ -13361,9 +13361,9 @@ export interface MI_SessionCallbacks { /** ptr */ callbackContext: Deno.PointerValue | Uint8Array; /** isize */ - writeMessage: Deno.PointerValue; + writeMessage: bigint | number; /** isize */ - writeError: Deno.PointerValue; + writeError: bigint | number; } export const sizeofMI_SessionCallbacks = 24; @@ -13397,12 +13397,12 @@ export class MI_SessionCallbacksView { } // 0x08: isize - get writeMessage(): Deno.PointerValue { + get writeMessage(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get writeError(): Deno.PointerValue { + get writeError(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -13412,12 +13412,12 @@ export class MI_SessionCallbacksView { } // 0x08: isize - set writeMessage(value: Deno.PointerValue) { + set writeMessage(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set writeError(value: Deno.PointerValue) { + set writeError(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -13607,39 +13607,39 @@ export class MI_UserCredentialsView { */ export interface MI_SubscriptionDeliveryOptionsFT { /** isize */ - SetString: Deno.PointerValue; + SetString: bigint | number; /** isize */ - SetNumber: Deno.PointerValue; + SetNumber: bigint | number; /** isize */ - SetDateTime: Deno.PointerValue; + SetDateTime: bigint | number; /** isize */ - SetInterval: Deno.PointerValue; + SetInterval: bigint | number; /** isize */ - AddCredentials: Deno.PointerValue; + AddCredentials: bigint | number; /** isize */ - Delete: Deno.PointerValue; + Delete: bigint | number; /** isize */ - GetString: Deno.PointerValue; + GetString: bigint | number; /** isize */ - GetNumber: Deno.PointerValue; + GetNumber: bigint | number; /** isize */ - GetDateTime: Deno.PointerValue; + GetDateTime: bigint | number; /** isize */ - GetInterval: Deno.PointerValue; + GetInterval: bigint | number; /** isize */ - GetOptionCount: Deno.PointerValue; + GetOptionCount: bigint | number; /** isize */ - GetOptionAt: Deno.PointerValue; + GetOptionAt: bigint | number; /** isize */ - GetOption: Deno.PointerValue; + GetOption: bigint | number; /** isize */ - GetCredentialsCount: Deno.PointerValue; + GetCredentialsCount: bigint | number; /** isize */ - GetCredentialsAt: Deno.PointerValue; + GetCredentialsAt: bigint | number; /** isize */ - GetCredentialsPasswordAt: Deno.PointerValue; + GetCredentialsPasswordAt: bigint | number; /** isize */ - Clone: Deno.PointerValue; + Clone: bigint | number; } export const sizeofMI_SubscriptionDeliveryOptionsFT = 136; @@ -13695,172 +13695,172 @@ export class MI_SubscriptionDeliveryOptionsFTView { } // 0x00: isize - get SetString(): Deno.PointerValue { + get SetString(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get SetNumber(): Deno.PointerValue { + get SetNumber(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get SetDateTime(): Deno.PointerValue { + get SetDateTime(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get SetInterval(): Deno.PointerValue { + get SetInterval(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get AddCredentials(): Deno.PointerValue { + get AddCredentials(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get Delete(): Deno.PointerValue { + get Delete(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get GetString(): Deno.PointerValue { + get GetString(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get GetNumber(): Deno.PointerValue { + get GetNumber(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get GetDateTime(): Deno.PointerValue { + get GetDateTime(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get GetInterval(): Deno.PointerValue { + get GetInterval(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get GetOptionCount(): Deno.PointerValue { + get GetOptionCount(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get GetOptionAt(): Deno.PointerValue { + get GetOptionAt(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get GetOption(): Deno.PointerValue { + get GetOption(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get GetCredentialsCount(): Deno.PointerValue { + get GetCredentialsCount(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get GetCredentialsAt(): Deno.PointerValue { + get GetCredentialsAt(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x78: isize - get GetCredentialsPasswordAt(): Deno.PointerValue { + get GetCredentialsPasswordAt(): bigint | number { return Number(this.view.getBigInt64(120, true)); } // 0x80: isize - get Clone(): Deno.PointerValue { + get Clone(): bigint | number { return Number(this.view.getBigInt64(128, true)); } // 0x00: isize - set SetString(value: Deno.PointerValue) { + set SetString(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set SetNumber(value: Deno.PointerValue) { + set SetNumber(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set SetDateTime(value: Deno.PointerValue) { + set SetDateTime(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set SetInterval(value: Deno.PointerValue) { + set SetInterval(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set AddCredentials(value: Deno.PointerValue) { + set AddCredentials(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set Delete(value: Deno.PointerValue) { + set Delete(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set GetString(value: Deno.PointerValue) { + set GetString(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set GetNumber(value: Deno.PointerValue) { + set GetNumber(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set GetDateTime(value: Deno.PointerValue) { + set GetDateTime(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set GetInterval(value: Deno.PointerValue) { + set GetInterval(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set GetOptionCount(value: Deno.PointerValue) { + set GetOptionCount(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set GetOptionAt(value: Deno.PointerValue) { + set GetOptionAt(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set GetOption(value: Deno.PointerValue) { + set GetOption(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set GetCredentialsCount(value: Deno.PointerValue) { + set GetCredentialsCount(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set GetCredentialsAt(value: Deno.PointerValue) { + set GetCredentialsAt(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } // 0x78: isize - set GetCredentialsPasswordAt(value: Deno.PointerValue) { + set GetCredentialsPasswordAt(value: bigint | number) { this.view.setBigInt64(120, BigInt(value), true); } // 0x80: isize - set Clone(value: Deno.PointerValue) { + set Clone(value: bigint | number) { this.view.setBigInt64(128, BigInt(value), true); } } @@ -13870,9 +13870,9 @@ export class MI_SubscriptionDeliveryOptionsFTView { */ export interface MI_SubscriptionDeliveryOptions { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -13902,12 +13902,12 @@ export class MI_SubscriptionDeliveryOptionsView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -13918,12 +13918,12 @@ export class MI_SubscriptionDeliveryOptionsView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -13938,9 +13938,9 @@ export class MI_SubscriptionDeliveryOptionsView { */ export interface MI_Serializer { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; } export const sizeofMI_Serializer = 16; @@ -13966,22 +13966,22 @@ export class MI_SerializerView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -13991,9 +13991,9 @@ export class MI_SerializerView { */ export interface MI_Deserializer { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; } export const sizeofMI_Deserializer = 16; @@ -14019,22 +14019,22 @@ export class MI_DeserializerView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -14044,11 +14044,11 @@ export class MI_DeserializerView { */ export interface MI_SerializerFT { /** isize */ - Close: Deno.PointerValue; + Close: bigint | number; /** isize */ - SerializeClass: Deno.PointerValue; + SerializeClass: bigint | number; /** isize */ - SerializeInstance: Deno.PointerValue; + SerializeInstance: bigint | number; } export const sizeofMI_SerializerFT = 24; @@ -14076,32 +14076,32 @@ export class MI_SerializerFTView { } // 0x00: isize - get Close(): Deno.PointerValue { + get Close(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get SerializeClass(): Deno.PointerValue { + get SerializeClass(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get SerializeInstance(): Deno.PointerValue { + get SerializeInstance(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x00: isize - set Close(value: Deno.PointerValue) { + set Close(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set SerializeClass(value: Deno.PointerValue) { + set SerializeClass(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set SerializeInstance(value: Deno.PointerValue) { + set SerializeInstance(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -14111,17 +14111,17 @@ export class MI_SerializerFTView { */ export interface MI_DeserializerFT { /** isize */ - Close: Deno.PointerValue; + Close: bigint | number; /** isize */ - DeserializeClass: Deno.PointerValue; + DeserializeClass: bigint | number; /** isize */ - Class_GetClassName: Deno.PointerValue; + Class_GetClassName: bigint | number; /** isize */ - Class_GetParentClassName: Deno.PointerValue; + Class_GetParentClassName: bigint | number; /** isize */ - DeserializeInstance: Deno.PointerValue; + DeserializeInstance: bigint | number; /** isize */ - Instance_GetClassName: Deno.PointerValue; + Instance_GetClassName: bigint | number; } export const sizeofMI_DeserializerFT = 48; @@ -14155,62 +14155,62 @@ export class MI_DeserializerFTView { } // 0x00: isize - get Close(): Deno.PointerValue { + get Close(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get DeserializeClass(): Deno.PointerValue { + get DeserializeClass(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get Class_GetClassName(): Deno.PointerValue { + get Class_GetClassName(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get Class_GetParentClassName(): Deno.PointerValue { + get Class_GetParentClassName(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get DeserializeInstance(): Deno.PointerValue { + get DeserializeInstance(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get Instance_GetClassName(): Deno.PointerValue { + get Instance_GetClassName(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x00: isize - set Close(value: Deno.PointerValue) { + set Close(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set DeserializeClass(value: Deno.PointerValue) { + set DeserializeClass(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set Class_GetClassName(value: Deno.PointerValue) { + set Class_GetClassName(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set Class_GetParentClassName(value: Deno.PointerValue) { + set Class_GetParentClassName(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set DeserializeInstance(value: Deno.PointerValue) { + set DeserializeInstance(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set Instance_GetClassName(value: Deno.PointerValue) { + set Instance_GetClassName(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } } @@ -14220,27 +14220,27 @@ export class MI_DeserializerFTView { */ export interface MI_ApplicationFT { /** isize */ - Close: Deno.PointerValue; + Close: bigint | number; /** isize */ - NewSession: Deno.PointerValue; + NewSession: bigint | number; /** isize */ - NewHostedProvider: Deno.PointerValue; + NewHostedProvider: bigint | number; /** isize */ - NewInstance: Deno.PointerValue; + NewInstance: bigint | number; /** isize */ - NewDestinationOptions: Deno.PointerValue; + NewDestinationOptions: bigint | number; /** isize */ - NewOperationOptions: Deno.PointerValue; + NewOperationOptions: bigint | number; /** isize */ - NewSubscriptionDeliveryOptions: Deno.PointerValue; + NewSubscriptionDeliveryOptions: bigint | number; /** isize */ - NewSerializer: Deno.PointerValue; + NewSerializer: bigint | number; /** isize */ - NewDeserializer: Deno.PointerValue; + NewDeserializer: bigint | number; /** isize */ - NewInstanceFromClass: Deno.PointerValue; + NewInstanceFromClass: bigint | number; /** isize */ - NewClass: Deno.PointerValue; + NewClass: bigint | number; } export const sizeofMI_ApplicationFT = 88; @@ -14284,112 +14284,112 @@ export class MI_ApplicationFTView { } // 0x00: isize - get Close(): Deno.PointerValue { + get Close(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get NewSession(): Deno.PointerValue { + get NewSession(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get NewHostedProvider(): Deno.PointerValue { + get NewHostedProvider(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get NewInstance(): Deno.PointerValue { + get NewInstance(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get NewDestinationOptions(): Deno.PointerValue { + get NewDestinationOptions(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get NewOperationOptions(): Deno.PointerValue { + get NewOperationOptions(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get NewSubscriptionDeliveryOptions(): Deno.PointerValue { + get NewSubscriptionDeliveryOptions(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get NewSerializer(): Deno.PointerValue { + get NewSerializer(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get NewDeserializer(): Deno.PointerValue { + get NewDeserializer(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get NewInstanceFromClass(): Deno.PointerValue { + get NewInstanceFromClass(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get NewClass(): Deno.PointerValue { + get NewClass(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x00: isize - set Close(value: Deno.PointerValue) { + set Close(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set NewSession(value: Deno.PointerValue) { + set NewSession(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set NewHostedProvider(value: Deno.PointerValue) { + set NewHostedProvider(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set NewInstance(value: Deno.PointerValue) { + set NewInstance(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set NewDestinationOptions(value: Deno.PointerValue) { + set NewDestinationOptions(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set NewOperationOptions(value: Deno.PointerValue) { + set NewOperationOptions(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set NewSubscriptionDeliveryOptions(value: Deno.PointerValue) { + set NewSubscriptionDeliveryOptions(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set NewSerializer(value: Deno.PointerValue) { + set NewSerializer(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set NewDeserializer(value: Deno.PointerValue) { + set NewDeserializer(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set NewInstanceFromClass(value: Deno.PointerValue) { + set NewInstanceFromClass(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set NewClass(value: Deno.PointerValue) { + set NewClass(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } } @@ -14399,9 +14399,9 @@ export class MI_ApplicationFTView { */ export interface MI_HostedProviderFT { /** isize */ - Close: Deno.PointerValue; + Close: bigint | number; /** isize */ - GetApplication: Deno.PointerValue; + GetApplication: bigint | number; } export const sizeofMI_HostedProviderFT = 16; @@ -14427,22 +14427,22 @@ export class MI_HostedProviderFTView { } // 0x00: isize - get Close(): Deno.PointerValue { + get Close(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetApplication(): Deno.PointerValue { + get GetApplication(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: isize - set Close(value: Deno.PointerValue) { + set Close(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetApplication(value: Deno.PointerValue) { + set GetApplication(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -14452,35 +14452,35 @@ export class MI_HostedProviderFTView { */ export interface MI_SessionFT { /** isize */ - Close: Deno.PointerValue; + Close: bigint | number; /** isize */ - GetApplication: Deno.PointerValue; + GetApplication: bigint | number; /** isize */ - GetInstance: Deno.PointerValue; + GetInstance: bigint | number; /** isize */ - ModifyInstance: Deno.PointerValue; + ModifyInstance: bigint | number; /** isize */ - CreateInstance: Deno.PointerValue; + CreateInstance: bigint | number; /** isize */ - DeleteInstance: Deno.PointerValue; + DeleteInstance: bigint | number; /** isize */ - Invoke: Deno.PointerValue; + Invoke: bigint | number; /** isize */ - EnumerateInstances: Deno.PointerValue; + EnumerateInstances: bigint | number; /** isize */ - QueryInstances: Deno.PointerValue; + QueryInstances: bigint | number; /** isize */ - AssociatorInstances: Deno.PointerValue; + AssociatorInstances: bigint | number; /** isize */ - ReferenceInstances: Deno.PointerValue; + ReferenceInstances: bigint | number; /** isize */ - Subscribe: Deno.PointerValue; + Subscribe: bigint | number; /** isize */ - GetClass: Deno.PointerValue; + GetClass: bigint | number; /** isize */ - EnumerateClasses: Deno.PointerValue; + EnumerateClasses: bigint | number; /** isize */ - TestConnection: Deno.PointerValue; + TestConnection: bigint | number; } export const sizeofMI_SessionFT = 120; @@ -14532,152 +14532,152 @@ export class MI_SessionFTView { } // 0x00: isize - get Close(): Deno.PointerValue { + get Close(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get GetApplication(): Deno.PointerValue { + get GetApplication(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get GetInstance(): Deno.PointerValue { + get GetInstance(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get ModifyInstance(): Deno.PointerValue { + get ModifyInstance(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get CreateInstance(): Deno.PointerValue { + get CreateInstance(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get DeleteInstance(): Deno.PointerValue { + get DeleteInstance(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get Invoke(): Deno.PointerValue { + get Invoke(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get EnumerateInstances(): Deno.PointerValue { + get EnumerateInstances(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get QueryInstances(): Deno.PointerValue { + get QueryInstances(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get AssociatorInstances(): Deno.PointerValue { + get AssociatorInstances(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get ReferenceInstances(): Deno.PointerValue { + get ReferenceInstances(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get Subscribe(): Deno.PointerValue { + get Subscribe(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get GetClass(): Deno.PointerValue { + get GetClass(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get EnumerateClasses(): Deno.PointerValue { + get EnumerateClasses(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get TestConnection(): Deno.PointerValue { + get TestConnection(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x00: isize - set Close(value: Deno.PointerValue) { + set Close(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set GetApplication(value: Deno.PointerValue) { + set GetApplication(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set GetInstance(value: Deno.PointerValue) { + set GetInstance(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set ModifyInstance(value: Deno.PointerValue) { + set ModifyInstance(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set CreateInstance(value: Deno.PointerValue) { + set CreateInstance(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set DeleteInstance(value: Deno.PointerValue) { + set DeleteInstance(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set Invoke(value: Deno.PointerValue) { + set Invoke(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set EnumerateInstances(value: Deno.PointerValue) { + set EnumerateInstances(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set QueryInstances(value: Deno.PointerValue) { + set QueryInstances(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set AssociatorInstances(value: Deno.PointerValue) { + set AssociatorInstances(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set ReferenceInstances(value: Deno.PointerValue) { + set ReferenceInstances(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set Subscribe(value: Deno.PointerValue) { + set Subscribe(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set GetClass(value: Deno.PointerValue) { + set GetClass(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set EnumerateClasses(value: Deno.PointerValue) { + set EnumerateClasses(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set TestConnection(value: Deno.PointerValue) { + set TestConnection(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -14687,17 +14687,17 @@ export class MI_SessionFTView { */ export interface MI_OperationFT { /** isize */ - Close: Deno.PointerValue; + Close: bigint | number; /** isize */ - Cancel: Deno.PointerValue; + Cancel: bigint | number; /** isize */ - GetSession: Deno.PointerValue; + GetSession: bigint | number; /** isize */ - GetInstance: Deno.PointerValue; + GetInstance: bigint | number; /** isize */ - GetIndication: Deno.PointerValue; + GetIndication: bigint | number; /** isize */ - GetClass: Deno.PointerValue; + GetClass: bigint | number; } export const sizeofMI_OperationFT = 48; @@ -14731,62 +14731,62 @@ export class MI_OperationFTView { } // 0x00: isize - get Close(): Deno.PointerValue { + get Close(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get Cancel(): Deno.PointerValue { + get Cancel(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get GetSession(): Deno.PointerValue { + get GetSession(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get GetInstance(): Deno.PointerValue { + get GetInstance(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get GetIndication(): Deno.PointerValue { + get GetIndication(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get GetClass(): Deno.PointerValue { + get GetClass(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x00: isize - set Close(value: Deno.PointerValue) { + set Close(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set Cancel(value: Deno.PointerValue) { + set Cancel(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set GetSession(value: Deno.PointerValue) { + set GetSession(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set GetInstance(value: Deno.PointerValue) { + set GetInstance(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set GetIndication(value: Deno.PointerValue) { + set GetIndication(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set GetClass(value: Deno.PointerValue) { + set GetClass(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } } @@ -14796,35 +14796,35 @@ export class MI_OperationFTView { */ export interface MI_DestinationOptionsFT { /** isize */ - Delete: Deno.PointerValue; + Delete: bigint | number; /** isize */ - SetString: Deno.PointerValue; + SetString: bigint | number; /** isize */ - SetNumber: Deno.PointerValue; + SetNumber: bigint | number; /** isize */ - AddCredentials: Deno.PointerValue; + AddCredentials: bigint | number; /** isize */ - GetString: Deno.PointerValue; + GetString: bigint | number; /** isize */ - GetNumber: Deno.PointerValue; + GetNumber: bigint | number; /** isize */ - GetOptionCount: Deno.PointerValue; + GetOptionCount: bigint | number; /** isize */ - GetOptionAt: Deno.PointerValue; + GetOptionAt: bigint | number; /** isize */ - GetOption: Deno.PointerValue; + GetOption: bigint | number; /** isize */ - GetCredentialsCount: Deno.PointerValue; + GetCredentialsCount: bigint | number; /** isize */ - GetCredentialsAt: Deno.PointerValue; + GetCredentialsAt: bigint | number; /** isize */ - GetCredentialsPasswordAt: Deno.PointerValue; + GetCredentialsPasswordAt: bigint | number; /** isize */ - Clone: Deno.PointerValue; + Clone: bigint | number; /** isize */ - SetInterval: Deno.PointerValue; + SetInterval: bigint | number; /** isize */ - GetInterval: Deno.PointerValue; + GetInterval: bigint | number; } export const sizeofMI_DestinationOptionsFT = 120; @@ -14876,152 +14876,152 @@ export class MI_DestinationOptionsFTView { } // 0x00: isize - get Delete(): Deno.PointerValue { + get Delete(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get SetString(): Deno.PointerValue { + get SetString(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get SetNumber(): Deno.PointerValue { + get SetNumber(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get AddCredentials(): Deno.PointerValue { + get AddCredentials(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get GetString(): Deno.PointerValue { + get GetString(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get GetNumber(): Deno.PointerValue { + get GetNumber(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get GetOptionCount(): Deno.PointerValue { + get GetOptionCount(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get GetOptionAt(): Deno.PointerValue { + get GetOptionAt(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get GetOption(): Deno.PointerValue { + get GetOption(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get GetCredentialsCount(): Deno.PointerValue { + get GetCredentialsCount(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get GetCredentialsAt(): Deno.PointerValue { + get GetCredentialsAt(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get GetCredentialsPasswordAt(): Deno.PointerValue { + get GetCredentialsPasswordAt(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get Clone(): Deno.PointerValue { + get Clone(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x68: isize - get SetInterval(): Deno.PointerValue { + get SetInterval(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get GetInterval(): Deno.PointerValue { + get GetInterval(): bigint | number { return Number(this.view.getBigInt64(112, true)); } // 0x00: isize - set Delete(value: Deno.PointerValue) { + set Delete(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set SetString(value: Deno.PointerValue) { + set SetString(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set SetNumber(value: Deno.PointerValue) { + set SetNumber(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set AddCredentials(value: Deno.PointerValue) { + set AddCredentials(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set GetString(value: Deno.PointerValue) { + set GetString(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set GetNumber(value: Deno.PointerValue) { + set GetNumber(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set GetOptionCount(value: Deno.PointerValue) { + set GetOptionCount(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set GetOptionAt(value: Deno.PointerValue) { + set GetOptionAt(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set GetOption(value: Deno.PointerValue) { + set GetOption(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set GetCredentialsCount(value: Deno.PointerValue) { + set GetCredentialsCount(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set GetCredentialsAt(value: Deno.PointerValue) { + set GetCredentialsAt(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set GetCredentialsPasswordAt(value: Deno.PointerValue) { + set GetCredentialsPasswordAt(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set Clone(value: Deno.PointerValue) { + set Clone(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } // 0x68: isize - set SetInterval(value: Deno.PointerValue) { + set SetInterval(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set GetInterval(value: Deno.PointerValue) { + set GetInterval(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -15031,31 +15031,31 @@ export class MI_DestinationOptionsFTView { */ export interface MI_OperationOptionsFT { /** isize */ - Delete: Deno.PointerValue; + Delete: bigint | number; /** isize */ - SetString: Deno.PointerValue; + SetString: bigint | number; /** isize */ - SetNumber: Deno.PointerValue; + SetNumber: bigint | number; /** isize */ - SetCustomOption: Deno.PointerValue; + SetCustomOption: bigint | number; /** isize */ - GetString: Deno.PointerValue; + GetString: bigint | number; /** isize */ - GetNumber: Deno.PointerValue; + GetNumber: bigint | number; /** isize */ - GetOptionCount: Deno.PointerValue; + GetOptionCount: bigint | number; /** isize */ - GetOptionAt: Deno.PointerValue; + GetOptionAt: bigint | number; /** isize */ - GetOption: Deno.PointerValue; + GetOption: bigint | number; /** isize */ - GetEnabledChannels: Deno.PointerValue; + GetEnabledChannels: bigint | number; /** isize */ - Clone: Deno.PointerValue; + Clone: bigint | number; /** isize */ - SetInterval: Deno.PointerValue; + SetInterval: bigint | number; /** isize */ - GetInterval: Deno.PointerValue; + GetInterval: bigint | number; } export const sizeofMI_OperationOptionsFT = 104; @@ -15103,132 +15103,132 @@ export class MI_OperationOptionsFTView { } // 0x00: isize - get Delete(): Deno.PointerValue { + get Delete(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get SetString(): Deno.PointerValue { + get SetString(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: isize - get SetNumber(): Deno.PointerValue { + get SetNumber(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get SetCustomOption(): Deno.PointerValue { + get SetCustomOption(): bigint | number { return Number(this.view.getBigInt64(24, true)); } // 0x20: isize - get GetString(): Deno.PointerValue { + get GetString(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: isize - get GetNumber(): Deno.PointerValue { + get GetNumber(): bigint | number { return Number(this.view.getBigInt64(40, true)); } // 0x30: isize - get GetOptionCount(): Deno.PointerValue { + get GetOptionCount(): bigint | number { return Number(this.view.getBigInt64(48, true)); } // 0x38: isize - get GetOptionAt(): Deno.PointerValue { + get GetOptionAt(): bigint | number { return Number(this.view.getBigInt64(56, true)); } // 0x40: isize - get GetOption(): Deno.PointerValue { + get GetOption(): bigint | number { return Number(this.view.getBigInt64(64, true)); } // 0x48: isize - get GetEnabledChannels(): Deno.PointerValue { + get GetEnabledChannels(): bigint | number { return Number(this.view.getBigInt64(72, true)); } // 0x50: isize - get Clone(): Deno.PointerValue { + get Clone(): bigint | number { return Number(this.view.getBigInt64(80, true)); } // 0x58: isize - get SetInterval(): Deno.PointerValue { + get SetInterval(): bigint | number { return Number(this.view.getBigInt64(88, true)); } // 0x60: isize - get GetInterval(): Deno.PointerValue { + get GetInterval(): bigint | number { return Number(this.view.getBigInt64(96, true)); } // 0x00: isize - set Delete(value: Deno.PointerValue) { + set Delete(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set SetString(value: Deno.PointerValue) { + set SetString(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: isize - set SetNumber(value: Deno.PointerValue) { + set SetNumber(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set SetCustomOption(value: Deno.PointerValue) { + set SetCustomOption(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } // 0x20: isize - set GetString(value: Deno.PointerValue) { + set GetString(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: isize - set GetNumber(value: Deno.PointerValue) { + set GetNumber(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } // 0x30: isize - set GetOptionCount(value: Deno.PointerValue) { + set GetOptionCount(value: bigint | number) { this.view.setBigInt64(48, BigInt(value), true); } // 0x38: isize - set GetOptionAt(value: Deno.PointerValue) { + set GetOptionAt(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } // 0x40: isize - set GetOption(value: Deno.PointerValue) { + set GetOption(value: bigint | number) { this.view.setBigInt64(64, BigInt(value), true); } // 0x48: isize - set GetEnabledChannels(value: Deno.PointerValue) { + set GetEnabledChannels(value: bigint | number) { this.view.setBigInt64(72, BigInt(value), true); } // 0x50: isize - set Clone(value: Deno.PointerValue) { + set Clone(value: bigint | number) { this.view.setBigInt64(80, BigInt(value), true); } // 0x58: isize - set SetInterval(value: Deno.PointerValue) { + set SetInterval(value: bigint | number) { this.view.setBigInt64(88, BigInt(value), true); } // 0x60: isize - set GetInterval(value: Deno.PointerValue) { + set GetInterval(value: bigint | number) { this.view.setBigInt64(96, BigInt(value), true); } } @@ -15238,9 +15238,9 @@ export class MI_OperationOptionsFTView { */ export interface MI_Application { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -15270,12 +15270,12 @@ export class MI_ApplicationView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15286,12 +15286,12 @@ export class MI_ApplicationView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -15306,9 +15306,9 @@ export class MI_ApplicationView { */ export interface MI_Session { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -15338,12 +15338,12 @@ export class MI_SessionView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15354,12 +15354,12 @@ export class MI_SessionView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -15374,9 +15374,9 @@ export class MI_SessionView { */ export interface MI_Operation { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -15406,12 +15406,12 @@ export class MI_OperationView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15422,12 +15422,12 @@ export class MI_OperationView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -15442,9 +15442,9 @@ export class MI_OperationView { */ export interface MI_HostedProvider { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -15474,12 +15474,12 @@ export class MI_HostedProviderView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15490,12 +15490,12 @@ export class MI_HostedProviderView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -15510,9 +15510,9 @@ export class MI_HostedProviderView { */ export interface MI_DestinationOptions { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -15542,12 +15542,12 @@ export class MI_DestinationOptionsView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15558,12 +15558,12 @@ export class MI_DestinationOptionsView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -15578,9 +15578,9 @@ export class MI_DestinationOptionsView { */ export interface MI_OperationOptions { /** u64 */ - reserved1: Deno.PointerValue; + reserved1: bigint | number; /** isize */ - reserved2: Deno.PointerValue; + reserved2: bigint | number; /** ptr */ ft: Deno.PointerValue | Uint8Array; } @@ -15610,12 +15610,12 @@ export class MI_OperationOptionsView { } // 0x00: u64 - get reserved1(): Deno.PointerValue { + get reserved1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: isize - get reserved2(): Deno.PointerValue { + get reserved2(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -15626,12 +15626,12 @@ export class MI_OperationOptionsView { } // 0x00: u64 - set reserved1(value: Deno.PointerValue) { + set reserved1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: isize - set reserved2(value: Deno.PointerValue) { + set reserved2(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -15646,9 +15646,9 @@ export class MI_OperationOptionsView { */ export interface MI_UtilitiesFT { /** isize */ - MapErrorToMiErrorCategory: Deno.PointerValue; + MapErrorToMiErrorCategory: bigint | number; /** isize */ - CimErrorFromErrorCode: Deno.PointerValue; + CimErrorFromErrorCode: bigint | number; } export const sizeofMI_UtilitiesFT = 16; @@ -15674,22 +15674,22 @@ export class MI_UtilitiesFTView { } // 0x00: isize - get MapErrorToMiErrorCategory(): Deno.PointerValue { + get MapErrorToMiErrorCategory(): bigint | number { return Number(this.view.getBigInt64(0, true)); } // 0x08: isize - get CimErrorFromErrorCode(): Deno.PointerValue { + get CimErrorFromErrorCode(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: isize - set MapErrorToMiErrorCategory(value: Deno.PointerValue) { + set MapErrorToMiErrorCategory(value: bigint | number) { this.view.setBigInt64(0, BigInt(value), true); } // 0x08: isize - set CimErrorFromErrorCode(value: Deno.PointerValue) { + set CimErrorFromErrorCode(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -16024,9 +16024,9 @@ export interface SWbemRpnConst { /** f64 */ m_dblVal: number; /** i64 */ - m_lVal64: Deno.PointerValue; + m_lVal64: bigint | number; /** i64 */ - m_uVal64: Deno.PointerValue; + m_uVal64: bigint | number; } export const sizeofSWbemRpnConst = 48; @@ -16094,12 +16094,12 @@ export class SWbemRpnConstView { } // 0x20: i64 - get m_lVal64(): Deno.PointerValue { + get m_lVal64(): bigint | number { return Number(this.view.getBigInt64(32, true)); } // 0x28: i64 - get m_uVal64(): Deno.PointerValue { + get m_uVal64(): bigint | number { return Number(this.view.getBigInt64(40, true)); } @@ -16132,12 +16132,12 @@ export class SWbemRpnConstView { } // 0x20: i64 - set m_lVal64(value: Deno.PointerValue) { + set m_lVal64(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } // 0x28: i64 - set m_uVal64(value: Deno.PointerValue) { + set m_uVal64(value: bigint | number) { this.view.setBigInt64(40, BigInt(value), true); } } @@ -16440,7 +16440,7 @@ export interface SWbemRpnEncodedQuery { /** u32 */ m_uTokenType: number; /** u64 */ - m_uParsedFeatureMask: Deno.PointerValue; + m_uParsedFeatureMask: bigint | number; /** u32 */ m_uDetectedArraySize: number; /** ptr */ @@ -16547,7 +16547,7 @@ export class SWbemRpnEncodedQueryView { } // 0x08: u64 - get m_uParsedFeatureMask(): Deno.PointerValue { + get m_uParsedFeatureMask(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -16656,7 +16656,7 @@ export class SWbemRpnEncodedQueryView { } // 0x08: u64 - set m_uParsedFeatureMask(value: Deno.PointerValue) { + set m_uParsedFeatureMask(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } diff --git a/api/UI/Accessibility.ts b/api/UI/Accessibility.ts index a364d0d..b930b96 100644 --- a/api/UI/Accessibility.ts +++ b/api/UI/Accessibility.ts @@ -922,15 +922,15 @@ export const PT_TOUCHPAD = 5; // Structs -export type HWINEVENTHOOK = Deno.PointerValue; +export type HWINEVENTHOOK = bigint | number; -export type HUIANODE = Deno.PointerValue; +export type HUIANODE = bigint | number; -export type HUIAPATTERNOBJECT = Deno.PointerValue; +export type HUIAPATTERNOBJECT = bigint | number; -export type HUIATEXTRANGE = Deno.PointerValue; +export type HUIATEXTRANGE = bigint | number; -export type HUIAEVENT = Deno.PointerValue; +export type HUIAEVENT = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; @@ -1145,9 +1145,9 @@ export class UiaPointView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -1173,22 +1173,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4286,13 +4286,13 @@ export class TOGGLEKEYSView { } } -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; export type HRESULT = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Foundation.POINT (size: 8) @@ -4347,9 +4347,9 @@ export class POINTView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; // Native Libraries diff --git a/api/UI/Animation.ts b/api/UI/Animation.ts index f7582a4..165343e 100644 --- a/api/UI/Animation.ts +++ b/api/UI/Animation.ts @@ -63,7 +63,7 @@ export const UI_ANIMATION_TIMER_CLIENT_BUSY = 1; // Structs -export type UI_ANIMATION_KEYFRAME = Deno.PointerValue; +export type UI_ANIMATION_KEYFRAME = bigint | number; // Native Libraries diff --git a/api/UI/ColorSystem.ts b/api/UI/ColorSystem.ts index d8fd907..fdbb03f 100644 --- a/api/UI/ColorSystem.ts +++ b/api/UI/ColorSystem.ts @@ -315,7 +315,7 @@ export const MicrosoftHardwareColorV2 = 2; // Structs -export type HCOLORSPACE = Deno.PointerValue; +export type HCOLORSPACE = bigint | number; /** * Windows.Win32.Graphics.Gdi.CIEXYZ (size: 16) @@ -2564,9 +2564,9 @@ export class HiFiCOLORView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2592,22 +2592,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3805,9 +3805,9 @@ export class ENUMTYPEWView { // 0x64: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.UI.ColorSystem.COLORMATCHSETUPW (size: 136) @@ -4654,9 +4654,9 @@ export class WCS_DEVICE_MHC2_CAPABILITIESView { // 0x14: pad4 } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; export type COLORREF = number; @@ -5386,7 +5386,7 @@ export function OpenColorProfileA( dwDesiredAccess: number /* u32 */, dwShareMode: number /* u32 */, dwCreationMode: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.OpenColorProfileA(util.toPointer(pProfile), dwDesiredAccess, dwShareMode, dwCreationMode); } @@ -5395,18 +5395,18 @@ export function OpenColorProfileW( dwDesiredAccess: number /* u32 */, dwShareMode: number /* u32 */, dwCreationMode: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.OpenColorProfileW(util.toPointer(pProfile), dwDesiredAccess, dwShareMode, dwCreationMode); } export function CloseColorProfile( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmscms_dll.CloseColorProfile(hProfile)); } export function GetColorProfileFromHandle( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, pProfile: Deno.PointerValue | Uint8Array /* ptr */, pcbProfile: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -5414,7 +5414,7 @@ export function GetColorProfileFromHandle( } export function IsColorProfileValid( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, pbValid: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmscms_dll.IsColorProfileValid(hProfile, util.toPointer(pbValid))); @@ -5435,21 +5435,21 @@ export function CreateProfileFromLogColorSpaceW( } export function GetCountColorProfileElements( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, pnElementCount: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmscms_dll.GetCountColorProfileElements(hProfile, util.toPointer(pnElementCount))); } export function GetColorProfileHeader( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, pHeader: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmscms_dll.GetColorProfileHeader(hProfile, util.toPointer(pHeader))); } export function GetColorProfileElementTag( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, dwIndex: number /* u32 */, pTag: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -5457,7 +5457,7 @@ export function GetColorProfileElementTag( } export function IsColorProfileTagPresent( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, tag: number /* u32 */, pbPresent: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -5465,7 +5465,7 @@ export function IsColorProfileTagPresent( } export function GetColorProfileElement( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, tag: number /* u32 */, dwOffset: number /* u32 */, pcbElement: Deno.PointerValue | Uint8Array /* ptr */, @@ -5476,14 +5476,14 @@ export function GetColorProfileElement( } export function SetColorProfileHeader( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, pHeader: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmscms_dll.SetColorProfileHeader(hProfile, util.toPointer(pHeader))); } export function SetColorProfileElementSize( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, tagType: number /* u32 */, pcbElement: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -5491,7 +5491,7 @@ export function SetColorProfileElementSize( } export function SetColorProfileElement( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, tag: number /* u32 */, dwOffset: number /* u32 */, pcbElement: Deno.PointerValue | Uint8Array /* ptr */, @@ -5501,7 +5501,7 @@ export function SetColorProfileElement( } export function SetColorProfileElementReference( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, newTag: number /* u32 */, refTag: number /* u32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -5509,7 +5509,7 @@ export function SetColorProfileElementReference( } export function GetPS2ColorSpaceArray( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, dwIntent: number /* u32 */, dwCSAType: number /* u32 */, pPS2ColorSpaceArray: Deno.PointerValue | Uint8Array /* ptr */, @@ -5520,7 +5520,7 @@ export function GetPS2ColorSpaceArray( } export function GetPS2ColorRenderingIntent( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, dwIntent: number /* u32 */, pBuffer: Deno.PointerValue | Uint8Array /* ptr */, pcbPS2ColorRenderingIntent: Deno.PointerValue | Uint8Array /* ptr */, @@ -5529,7 +5529,7 @@ export function GetPS2ColorRenderingIntent( } export function GetPS2ColorRenderingDictionary( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, dwIntent: number /* u32 */, pPS2ColorRenderingDictionary: Deno.PointerValue | Uint8Array /* ptr */, pcbPS2ColorRenderingDictionary: Deno.PointerValue | Uint8Array /* ptr */, @@ -5539,14 +5539,14 @@ export function GetPS2ColorRenderingDictionary( } export function GetNamedProfileInfo( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, pNamedProfileInfo: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmscms_dll.GetNamedProfileInfo(hProfile, util.toPointer(pNamedProfileInfo))); } export function ConvertColorNameToIndex( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, paColorName: Deno.PointerValue | Uint8Array /* ptr */, paIndex: Deno.PointerValue | Uint8Array /* ptr */, dwCount: number /* u32 */, @@ -5555,7 +5555,7 @@ export function ConvertColorNameToIndex( } export function ConvertIndexToColorName( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, paIndex: Deno.PointerValue | Uint8Array /* ptr */, paColorName: Deno.PointerValue | Uint8Array /* ptr */, dwCount: number /* u32 */, @@ -5577,19 +5577,19 @@ export function CreateDeviceLinkProfile( export function CreateColorTransformA( pLogColorSpace: Deno.PointerValue | Uint8Array /* ptr */, - hDestProfile: Deno.PointerValue /* isize */, - hTargetProfile: Deno.PointerValue /* isize */, + hDestProfile: bigint | number /* isize */, + hTargetProfile: bigint | number /* isize */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.CreateColorTransformA(util.toPointer(pLogColorSpace), hDestProfile, hTargetProfile, dwFlags); } export function CreateColorTransformW( pLogColorSpace: Deno.PointerValue | Uint8Array /* ptr */, - hDestProfile: Deno.PointerValue /* isize */, - hTargetProfile: Deno.PointerValue /* isize */, + hDestProfile: bigint | number /* isize */, + hTargetProfile: bigint | number /* isize */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.CreateColorTransformW(util.toPointer(pLogColorSpace), hDestProfile, hTargetProfile, dwFlags); } @@ -5600,18 +5600,18 @@ export function CreateMultiProfileTransform( nIntents: number /* u32 */, dwFlags: number /* u32 */, indexPreferredCMM: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.CreateMultiProfileTransform(util.toPointer(pahProfiles), nProfiles, util.toPointer(padwIntent), nIntents, dwFlags, indexPreferredCMM); } export function DeleteColorTransform( - hxform: Deno.PointerValue /* isize */, + hxform: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libmscms_dll.DeleteColorTransform(hxform)); } export function TranslateBitmapBits( - hColorTransform: Deno.PointerValue /* isize */, + hColorTransform: bigint | number /* isize */, pSrcBits: Deno.PointerValue | Uint8Array /* ptr */, bmInput: BMFORMAT /* Windows.Win32.UI.ColorSystem.BMFORMAT */, dwWidth: number /* u32 */, @@ -5627,7 +5627,7 @@ export function TranslateBitmapBits( } export function CheckBitmapBits( - hColorTransform: Deno.PointerValue /* isize */, + hColorTransform: bigint | number /* isize */, pSrcBits: Deno.PointerValue | Uint8Array /* ptr */, bmInput: BMFORMAT /* Windows.Win32.UI.ColorSystem.BMFORMAT */, dwWidth: number /* u32 */, @@ -5641,7 +5641,7 @@ export function CheckBitmapBits( } export function TranslateColors( - hColorTransform: Deno.PointerValue /* isize */, + hColorTransform: bigint | number /* isize */, paInputColors: Deno.PointerValue | Uint8Array /* ptr */, nColors: number /* u32 */, ctInput: COLORTYPE /* Windows.Win32.UI.ColorSystem.COLORTYPE */, @@ -5652,7 +5652,7 @@ export function TranslateColors( } export function CheckColors( - hColorTransform: Deno.PointerValue /* isize */, + hColorTransform: bigint | number /* isize */, paInputColors: Deno.PointerValue | Uint8Array /* ptr */, nColors: number /* u32 */, ctInput: COLORTYPE /* Windows.Win32.UI.ColorSystem.COLORTYPE */, @@ -5662,7 +5662,7 @@ export function CheckColors( } export function GetCMMInfo( - hColorTransform: Deno.PointerValue /* isize */, + hColorTransform: bigint | number /* isize */, param1: number /* u32 */, ): number /* u32 */ { return libmscms_dll.GetCMMInfo(hColorTransform, param1); @@ -5947,7 +5947,7 @@ export function WcsSetUsePerUserProfiles( } export function WcsTranslateColors( - hColorTransform: Deno.PointerValue /* isize */, + hColorTransform: bigint | number /* isize */, nColors: number /* u32 */, nInputChannels: number /* u32 */, cdtInput: COLORDATATYPE /* Windows.Win32.UI.ColorSystem.COLORDATATYPE */, @@ -5962,7 +5962,7 @@ export function WcsTranslateColors( } export function WcsCheckColors( - hColorTransform: Deno.PointerValue /* isize */, + hColorTransform: bigint | number /* isize */, nColors: number /* u32 */, nInputChannels: number /* u32 */, cdtInput: COLORDATATYPE /* Windows.Win32.UI.ColorSystem.COLORDATATYPE */, @@ -5974,7 +5974,7 @@ export function WcsCheckColors( } export function CMCheckColors( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, lpaInputColors: Deno.PointerValue | Uint8Array /* ptr */, nColors: number /* u32 */, ctInput: COLORTYPE /* Windows.Win32.UI.ColorSystem.COLORTYPE */, @@ -5984,7 +5984,7 @@ export function CMCheckColors( } export function CMCheckRGBs( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, lpSrcBits: Deno.PointerValue | Uint8Array /* ptr */, bmInput: BMFORMAT /* Windows.Win32.UI.ColorSystem.BMFORMAT */, dwWidth: number /* u32 */, @@ -5998,7 +5998,7 @@ export function CMCheckRGBs( } export function CMConvertColorNameToIndex( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, paColorName: Deno.PointerValue | Uint8Array /* ptr */, paIndex: Deno.PointerValue | Uint8Array /* ptr */, dwCount: number /* u32 */, @@ -6007,7 +6007,7 @@ export function CMConvertColorNameToIndex( } export function CMConvertIndexToColorName( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, paIndex: Deno.PointerValue | Uint8Array /* ptr */, paColorName: Deno.PointerValue | Uint8Array /* ptr */, dwCount: number /* u32 */, @@ -6032,7 +6032,7 @@ export function CMCreateMultiProfileTransform( padwIntents: Deno.PointerValue | Uint8Array /* ptr */, nIntents: number /* u32 */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libICM32_dll.CMCreateMultiProfileTransform(util.toPointer(pahProfiles), nProfiles, util.toPointer(padwIntents), nIntents, dwFlags); } @@ -6047,7 +6047,7 @@ export function CMCreateTransform( lpColorSpace: Deno.PointerValue | Uint8Array /* ptr */, lpDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, lpTargetDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libICM32_dll.CMCreateTransform(util.toPointer(lpColorSpace), util.toPointer(lpDevCharacter), util.toPointer(lpTargetDevCharacter)); } @@ -6055,7 +6055,7 @@ export function CMCreateTransformW( lpColorSpace: Deno.PointerValue | Uint8Array /* ptr */, lpDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, lpTargetDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libICM32_dll.CMCreateTransformW(util.toPointer(lpColorSpace), util.toPointer(lpDevCharacter), util.toPointer(lpTargetDevCharacter)); } @@ -6064,12 +6064,12 @@ export function CMCreateTransformExt( lpDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, lpTargetDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libICM32_dll.CMCreateTransformExt(util.toPointer(lpColorSpace), util.toPointer(lpDevCharacter), util.toPointer(lpTargetDevCharacter), dwFlags); } export function CMCheckColorsInGamut( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, lpaRGBTriple: Deno.PointerValue | Uint8Array /* ptr */, lpaResult: Deno.PointerValue | Uint8Array /* ptr */, nCount: number /* u32 */, @@ -6085,7 +6085,7 @@ export function CMCreateProfile( } export function CMTranslateRGB( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, ColorRef: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.COLORREF */, lpColorRef: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, @@ -6094,7 +6094,7 @@ export function CMTranslateRGB( } export function CMTranslateRGBs( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, lpSrcBits: Deno.PointerValue | Uint8Array /* ptr */, bmInput: BMFORMAT /* Windows.Win32.UI.ColorSystem.BMFORMAT */, dwWidth: number /* u32 */, @@ -6112,12 +6112,12 @@ export function CMCreateTransformExtW( lpDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, lpTargetDevCharacter: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libICM32_dll.CMCreateTransformExtW(util.toPointer(lpColorSpace), util.toPointer(lpDevCharacter), util.toPointer(lpTargetDevCharacter), dwFlags); } export function CMDeleteTransform( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libICM32_dll.CMDeleteTransform(hcmTransform)); } @@ -6129,21 +6129,21 @@ export function CMGetInfo( } export function CMGetNamedProfileInfo( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, pNamedProfileInfo: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libICM32_dll.CMGetNamedProfileInfo(hProfile, util.toPointer(pNamedProfileInfo))); } export function CMIsProfileValid( - hProfile: Deno.PointerValue /* isize */, + hProfile: bigint | number /* isize */, lpbValid: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libICM32_dll.CMIsProfileValid(hProfile, util.toPointer(lpbValid))); } export function CMTranslateColors( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, lpaInputColors: Deno.PointerValue | Uint8Array /* ptr */, nColors: number /* u32 */, ctInput: COLORTYPE /* Windows.Win32.UI.ColorSystem.COLORTYPE */, @@ -6154,7 +6154,7 @@ export function CMTranslateColors( } export function CMTranslateRGBsExt( - hcmTransform: Deno.PointerValue /* isize */, + hcmTransform: bigint | number /* isize */, lpSrcBits: Deno.PointerValue | Uint8Array /* ptr */, bmInput: BMFORMAT /* Windows.Win32.UI.ColorSystem.BMFORMAT */, dwWidth: number /* u32 */, @@ -6177,7 +6177,7 @@ export function WcsOpenColorProfileA( dwShareMode: number /* u32 */, dwCreationMode: number /* u32 */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.WcsOpenColorProfileA(util.toPointer(pCDMPProfile), util.toPointer(pCAMPProfile), util.toPointer(pGMMPProfile), dwDesireAccess, dwShareMode, dwCreationMode, dwFlags); } @@ -6189,14 +6189,14 @@ export function WcsOpenColorProfileW( dwShareMode: number /* u32 */, dwCreationMode: number /* u32 */, dwFlags: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.WcsOpenColorProfileW(util.toPointer(pCDMPProfile), util.toPointer(pCAMPProfile), util.toPointer(pGMMPProfile), dwDesireAccess, dwShareMode, dwCreationMode, dwFlags); } export function WcsCreateIccProfile( - hWcsProfile: Deno.PointerValue /* isize */, + hWcsProfile: bigint | number /* isize */, dwOptions: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libmscms_dll.WcsCreateIccProfile(hWcsProfile, dwOptions); } diff --git a/api/UI/Controls.ts b/api/UI/Controls.ts index 82ea81f..989bf0b 100644 --- a/api/UI/Controls.ts +++ b/api/UI/Controls.ts @@ -5891,17 +5891,17 @@ export const BF_TOPRIGHT = 6; // Structs -export type HPROPSHEETPAGE = Deno.PointerValue; +export type HPROPSHEETPAGE = bigint | number; -export type HIMAGELIST = Deno.PointerValue; +export type HIMAGELIST = bigint | number; -export type HSYNTHETICPOINTERDEVICE = Deno.PointerValue; +export type HSYNTHETICPOINTERDEVICE = bigint | number; -export type HTREEITEM = Deno.PointerValue; +export type HTREEITEM = bigint | number; -export type HDSA = Deno.PointerValue; +export type HDSA = bigint | number; -export type HDPA = Deno.PointerValue; +export type HDPA = bigint | number; /** * Windows.Win32.UI.Controls.TBBUTTON (size: 40) @@ -5918,9 +5918,9 @@ export interface TBBUTTON { /** array */ bReserved: Deno.PointerValue; /** usize */ - dwData: Deno.PointerValue; + dwData: bigint | number; /** isize */ - iString: Deno.PointerValue; + iString: bigint | number; } export const sizeofTBBUTTON = 40; @@ -5985,12 +5985,12 @@ export class TBBUTTONView { } // 0x18: usize - get dwData(): Deno.PointerValue { + get dwData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } // 0x20: isize - get iString(): Deno.PointerValue { + get iString(): bigint | number { return Number(this.view.getBigInt64(32, true)); } @@ -6022,23 +6022,23 @@ export class TBBUTTONView { } // 0x18: usize - set dwData(value: Deno.PointerValue) { + set dwData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } // 0x20: isize - set iString(value: Deno.PointerValue) { + set iString(value: bigint | number) { this.view.setBigInt64(32, BigInt(value), true); } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.UI.Controls.Dialogs.OPENFILENAME_NT4A (size: 136) @@ -7591,7 +7591,7 @@ export interface NMHDR { /** Windows.Win32.Foundation.HWND */ hwndFrom: Deno.PointerValue; /** usize */ - idFrom: Deno.PointerValue; + idFrom: bigint | number; /** u32 */ code: number; } @@ -7628,7 +7628,7 @@ export class NMHDRView { } // 0x08: usize - get idFrom(): Deno.PointerValue { + get idFrom(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -7645,7 +7645,7 @@ export class NMHDRView { } // 0x08: usize - set idFrom(value: Deno.PointerValue) { + set idFrom(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -8747,7 +8747,7 @@ export class FINDREPLACEWView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.UI.Controls.Dialogs.CHOOSEFONTA (size: 104) @@ -9310,9 +9310,9 @@ export interface PRINTDLGA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -9340,9 +9340,9 @@ export interface PRINTDLGA { /** Windows.Win32.Foundation.PSTR */ lpSetupTemplateName: string | null | Uint8Array; /** isize */ - hPrintTemplate: Deno.PointerValue; + hPrintTemplate: bigint | number; /** isize */ - hSetupTemplate: Deno.PointerValue; + hSetupTemplate: bigint | number; } export const sizeofPRINTDLGA = 120; @@ -9423,12 +9423,12 @@ export class PRINTDLGAView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -9507,12 +9507,12 @@ export class PRINTDLGAView { } // 0x68: isize - get hPrintTemplate(): Deno.PointerValue { + get hPrintTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get hSetupTemplate(): Deno.PointerValue { + get hSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -9529,12 +9529,12 @@ export class PRINTDLGAView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -9608,12 +9608,12 @@ export class PRINTDLGAView { } // 0x68: isize - set hPrintTemplate(value: Deno.PointerValue) { + set hPrintTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set hSetupTemplate(value: Deno.PointerValue) { + set hSetupTemplate(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -9627,9 +9627,9 @@ export interface PRINTDLGW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -9657,9 +9657,9 @@ export interface PRINTDLGW { /** Windows.Win32.Foundation.PWSTR */ lpSetupTemplateName: string | null | Uint8Array | Uint16Array; /** isize */ - hPrintTemplate: Deno.PointerValue; + hPrintTemplate: bigint | number; /** isize */ - hSetupTemplate: Deno.PointerValue; + hSetupTemplate: bigint | number; } export const sizeofPRINTDLGW = 120; @@ -9740,12 +9740,12 @@ export class PRINTDLGWView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -9824,12 +9824,12 @@ export class PRINTDLGWView { } // 0x68: isize - get hPrintTemplate(): Deno.PointerValue { + get hPrintTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get hSetupTemplate(): Deno.PointerValue { + get hSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -9846,12 +9846,12 @@ export class PRINTDLGWView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -9925,12 +9925,12 @@ export class PRINTDLGWView { } // 0x68: isize - set hPrintTemplate(value: Deno.PointerValue) { + set hPrintTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set hSetupTemplate(value: Deno.PointerValue) { + set hSetupTemplate(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -9997,9 +9997,9 @@ export interface PRINTDLGEXA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -10117,12 +10117,12 @@ export class PRINTDLGEXAView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -10236,12 +10236,12 @@ export class PRINTDLGEXAView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -10347,9 +10347,9 @@ export interface PRINTDLGEXW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -10467,12 +10467,12 @@ export class PRINTDLGEXWView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -10586,12 +10586,12 @@ export class PRINTDLGEXWView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -10912,9 +10912,9 @@ export interface PAGESETUPDLGA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.UI.Controls.Dialogs.PAGESETUPDLG_FLAGS */ Flags: PAGESETUPDLG_FLAGS; /** Windows.Win32.Foundation.POINT */ @@ -10934,7 +10934,7 @@ export interface PAGESETUPDLGA { /** Windows.Win32.Foundation.PSTR */ lpPageSetupTemplateName: string | null | Uint8Array; /** isize */ - hPageSetupTemplate: Deno.PointerValue; + hPageSetupTemplate: bigint | number; } export const sizeofPAGESETUPDLGA = 112; @@ -11002,12 +11002,12 @@ export class PAGESETUPDLGAView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -11067,7 +11067,7 @@ export class PAGESETUPDLGAView { } // 0x68: isize - get hPageSetupTemplate(): Deno.PointerValue { + get hPageSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -11084,12 +11084,12 @@ export class PAGESETUPDLGAView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -11142,7 +11142,7 @@ export class PAGESETUPDLGAView { } // 0x68: isize - set hPageSetupTemplate(value: Deno.PointerValue) { + set hPageSetupTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } } @@ -11156,9 +11156,9 @@ export interface PAGESETUPDLGW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.UI.Controls.Dialogs.PAGESETUPDLG_FLAGS */ Flags: PAGESETUPDLG_FLAGS; /** Windows.Win32.Foundation.POINT */ @@ -11178,7 +11178,7 @@ export interface PAGESETUPDLGW { /** Windows.Win32.Foundation.PWSTR */ lpPageSetupTemplateName: string | null | Uint8Array | Uint16Array; /** isize */ - hPageSetupTemplate: Deno.PointerValue; + hPageSetupTemplate: bigint | number; } export const sizeofPAGESETUPDLGW = 112; @@ -11246,12 +11246,12 @@ export class PAGESETUPDLGWView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -11311,7 +11311,7 @@ export class PAGESETUPDLGWView { } // 0x68: isize - get hPageSetupTemplate(): Deno.PointerValue { + get hPageSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -11328,12 +11328,12 @@ export class PAGESETUPDLGWView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -11386,7 +11386,7 @@ export class PAGESETUPDLGWView { } // 0x68: isize - set hPageSetupTemplate(value: Deno.PointerValue) { + set hPageSetupTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } } @@ -11396,11 +11396,11 @@ export class PAGESETUPDLGWView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -11452,7 +11452,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11463,7 +11463,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -11499,7 +11499,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11510,7 +11510,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -11547,7 +11547,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -11576,7 +11576,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -11588,7 +11588,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -11992,7 +11992,7 @@ export class PROPSHEETPAGEA_V2View { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.UI.Controls.PROPSHEETPAGEA_V3 (size: 96) @@ -13635,7 +13635,7 @@ export class _Anonymous4_e__UnionView { } } -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; /** * _Anonymous5_e__Union (size: 24) @@ -14601,9 +14601,9 @@ export interface NMMOUSE { /** Windows.Win32.UI.Controls.NMHDR */ hdr: Uint8Array | Deno.PointerValue; /** usize */ - dwItemSpec: Deno.PointerValue; + dwItemSpec: bigint | number; /** usize */ - dwItemData: Deno.PointerValue; + dwItemData: bigint | number; /** Windows.Win32.Foundation.POINT */ pt: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.LPARAM */ @@ -14645,12 +14645,12 @@ export class NMMOUSEView { } // 0x08: usize - get dwItemSpec(): Deno.PointerValue { + get dwItemSpec(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x10: usize - get dwItemData(): Deno.PointerValue { + get dwItemData(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -14672,12 +14672,12 @@ export class NMMOUSEView { } // 0x08: usize - set dwItemSpec(value: Deno.PointerValue) { + set dwItemSpec(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } // 0x10: usize - set dwItemData(value: Deno.PointerValue) { + set dwItemData(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -15123,7 +15123,7 @@ export interface NMCUSTOMDRAW { /** Windows.Win32.Foundation.RECT */ rc: Uint8Array | Deno.PointerValue; /** usize */ - dwItemSpec: Deno.PointerValue; + dwItemSpec: bigint | number; /** Windows.Win32.UI.Controls.NMCUSTOMDRAW_DRAW_STATE_FLAGS */ uItemState: NMCUSTOMDRAW_DRAW_STATE_FLAGS; /** Windows.Win32.Foundation.LPARAM */ @@ -15190,7 +15190,7 @@ export class NMCUSTOMDRAWView { } // 0x20: usize - get dwItemSpec(): Deno.PointerValue { + get dwItemSpec(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -15230,7 +15230,7 @@ export class NMCUSTOMDRAWView { } // 0x20: usize - set dwItemSpec(value: Deno.PointerValue) { + set dwItemSpec(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -15669,7 +15669,7 @@ export class IMAGELISTDRAWPARAMSView { } } -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.UI.Controls.IMAGEINFO (size: 32) @@ -16995,9 +16995,9 @@ export class COLORMAPView { } } -export type HBRUSH = Deno.PointerValue; +export type HBRUSH = bigint | number; -export type HPEN = Deno.PointerValue; +export type HPEN = bigint | number; /** * Windows.Win32.UI.Controls.NMTBCUSTOMDRAW (size: 104) @@ -17243,7 +17243,7 @@ export interface TBADDBITMAP { /** Windows.Win32.Foundation.HINSTANCE */ hInst: Uint8Array | Deno.PointerValue; /** usize */ - nID: Deno.PointerValue; + nID: bigint | number; } export const sizeofTBADDBITMAP = 16; @@ -17275,7 +17275,7 @@ export class TBADDBITMAPView { } // 0x08: usize - get nID(): Deno.PointerValue { + get nID(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17285,12 +17285,12 @@ export class TBADDBITMAPView { } // 0x08: usize - set nID(value: Deno.PointerValue) { + set nID(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; /** * Windows.Win32.UI.Controls.TBSAVEPARAMSA (size: 24) @@ -17508,11 +17508,11 @@ export interface TBREPLACEBITMAP { /** Windows.Win32.Foundation.HINSTANCE */ hInstOld: Uint8Array | Deno.PointerValue; /** usize */ - nIDOld: Deno.PointerValue; + nIDOld: bigint | number; /** Windows.Win32.Foundation.HINSTANCE */ hInstNew: Uint8Array | Deno.PointerValue; /** usize */ - nIDNew: Deno.PointerValue; + nIDNew: bigint | number; /** i32 */ nButtons: number; } @@ -17553,7 +17553,7 @@ export class TBREPLACEBITMAPView { } // 0x08: usize - get nIDOld(): Deno.PointerValue { + get nIDOld(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -17564,7 +17564,7 @@ export class TBREPLACEBITMAPView { } // 0x18: usize - get nIDNew(): Deno.PointerValue { + get nIDNew(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -17581,7 +17581,7 @@ export class TBREPLACEBITMAPView { } // 0x08: usize - set nIDOld(value: Deno.PointerValue) { + set nIDOld(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -17591,7 +17591,7 @@ export class TBREPLACEBITMAPView { } // 0x18: usize - set nIDNew(value: Deno.PointerValue) { + set nIDNew(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -17622,7 +17622,7 @@ export interface TBBUTTONINFOA { /** u16 */ cx: number; /** usize */ - lParam: Deno.PointerValue; + lParam: bigint | number; /** Windows.Win32.Foundation.PSTR */ pszText: string | null | Uint8Array; /** i32 */ @@ -17710,7 +17710,7 @@ export class TBBUTTONINFOAView { // 0x14: pad4 // 0x18: usize - get lParam(): Deno.PointerValue { + get lParam(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -17765,7 +17765,7 @@ export class TBBUTTONINFOAView { // 0x14: pad4 // 0x18: usize - set lParam(value: Deno.PointerValue) { + set lParam(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -17802,7 +17802,7 @@ export interface TBBUTTONINFOW { /** u16 */ cx: number; /** usize */ - lParam: Deno.PointerValue; + lParam: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszText: string | null | Uint8Array | Uint16Array; /** i32 */ @@ -17890,7 +17890,7 @@ export class TBBUTTONINFOWView { // 0x14: pad4 // 0x18: usize - get lParam(): Deno.PointerValue { + get lParam(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -17945,7 +17945,7 @@ export class TBBUTTONINFOWView { // 0x14: pad4 // 0x18: usize - set lParam(value: Deno.PointerValue) { + set lParam(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -18675,7 +18675,7 @@ export interface NMTBDISPINFOA { /** i32 */ idCommand: number; /** usize */ - lParam: Deno.PointerValue; + lParam: bigint | number; /** i32 */ iImage: number; /** Windows.Win32.Foundation.PSTR */ @@ -18738,7 +18738,7 @@ export class NMTBDISPINFOAView { } // 0x10: usize - get lParam(): Deno.PointerValue { + get lParam(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -18778,7 +18778,7 @@ export class NMTBDISPINFOAView { } // 0x10: usize - set lParam(value: Deno.PointerValue) { + set lParam(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -18814,7 +18814,7 @@ export interface NMTBDISPINFOW { /** i32 */ idCommand: number; /** usize */ - lParam: Deno.PointerValue; + lParam: bigint | number; /** i32 */ iImage: number; /** Windows.Win32.Foundation.PWSTR */ @@ -18877,7 +18877,7 @@ export class NMTBDISPINFOWView { } // 0x10: usize - get lParam(): Deno.PointerValue { + get lParam(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -18917,7 +18917,7 @@ export class NMTBDISPINFOWView { } // 0x10: usize - set lParam(value: Deno.PointerValue) { + set lParam(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -20677,7 +20677,7 @@ export interface TTTOOLINFOA { /** Windows.Win32.Foundation.HWND */ hwnd: Deno.PointerValue; /** usize */ - uId: Deno.PointerValue; + uId: bigint | number; /** Windows.Win32.Foundation.RECT */ rect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.HINSTANCE */ @@ -20746,7 +20746,7 @@ export class TTTOOLINFOAView { } // 0x10: usize - get uId(): Deno.PointerValue { + get uId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -20796,7 +20796,7 @@ export class TTTOOLINFOAView { } // 0x10: usize - set uId(value: Deno.PointerValue) { + set uId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -20838,7 +20838,7 @@ export interface TTTOOLINFOW { /** Windows.Win32.Foundation.HWND */ hwnd: Deno.PointerValue; /** usize */ - uId: Deno.PointerValue; + uId: bigint | number; /** Windows.Win32.Foundation.RECT */ rect: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.HINSTANCE */ @@ -20907,7 +20907,7 @@ export class TTTOOLINFOWView { } // 0x10: usize - get uId(): Deno.PointerValue { + get uId(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -20957,7 +20957,7 @@ export class TTTOOLINFOWView { } // 0x10: usize - set uId(value: Deno.PointerValue) { + set uId(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -27346,9 +27346,9 @@ export class TVITEMEXWView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -27374,22 +27374,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -28865,7 +28865,7 @@ export interface COMBOBOXEXITEMA { /** Windows.Win32.UI.Controls.COMBOBOX_EX_ITEM_FLAGS */ mask: COMBOBOX_EX_ITEM_FLAGS; /** isize */ - iItem: Deno.PointerValue; + iItem: bigint | number; /** Windows.Win32.Foundation.PSTR */ pszText: string | null | Uint8Array; /** i32 */ @@ -28931,7 +28931,7 @@ export class COMBOBOXEXITEMAView { // 0x04: pad4 // 0x08: isize - get iItem(): Deno.PointerValue { + get iItem(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -28982,7 +28982,7 @@ export class COMBOBOXEXITEMAView { // 0x04: pad4 // 0x08: isize - set iItem(value: Deno.PointerValue) { + set iItem(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -29032,7 +29032,7 @@ export interface COMBOBOXEXITEMW { /** Windows.Win32.UI.Controls.COMBOBOX_EX_ITEM_FLAGS */ mask: COMBOBOX_EX_ITEM_FLAGS; /** isize */ - iItem: Deno.PointerValue; + iItem: bigint | number; /** Windows.Win32.Foundation.PWSTR */ pszText: string | null | Uint8Array | Uint16Array; /** i32 */ @@ -29098,7 +29098,7 @@ export class COMBOBOXEXITEMWView { // 0x04: pad4 // 0x08: isize - get iItem(): Deno.PointerValue { + get iItem(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -29149,7 +29149,7 @@ export class COMBOBOXEXITEMWView { // 0x04: pad4 // 0x08: isize - set iItem(value: Deno.PointerValue) { + set iItem(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -30611,7 +30611,7 @@ export interface MCGRIDINFO { /** Windows.Win32.Foundation.PWSTR */ pszName: string | null | Uint8Array | Uint16Array; /** usize */ - cchName: Deno.PointerValue; + cchName: bigint | number; } export const sizeofMCGRIDINFO = 72; @@ -30722,7 +30722,7 @@ export class MCGRIDINFOView { } // 0x40: usize - get cchName(): Deno.PointerValue { + get cchName(): bigint | number { return Number(this.view.getBigUint64(64, true)); } @@ -30785,7 +30785,7 @@ export class MCGRIDINFOView { } // 0x40: usize - set cchName(value: Deno.PointerValue) { + set cchName(value: bigint | number) { this.view.setBigUint64(64, BigInt(value), true); } } @@ -32937,7 +32937,7 @@ export interface TASKDIALOGCONFIG { /** Windows.Win32.UI.Controls.PFTASKDIALOGCALLBACK */ pfCallback: Uint8Array | Deno.PointerValue; /** isize */ - lpCallbackData: Deno.PointerValue; + lpCallbackData: bigint | number; /** u32 */ cxWidth: number; } @@ -33168,7 +33168,7 @@ export class TASKDIALOGCONFIGView { } // 0xa0: isize - get lpCallbackData(): Deno.PointerValue { + get lpCallbackData(): bigint | number { return Number(this.view.getBigInt64(160, true)); } @@ -33304,7 +33304,7 @@ export class TASKDIALOGCONFIGView { } // 0xa0: isize - set lpCallbackData(value: Deno.PointerValue) { + set lpCallbackData(value: bigint | number) { this.view.setBigInt64(160, BigInt(value), true); } @@ -37097,7 +37097,7 @@ export class TEXTRANGEWView { */ export interface EDITSTREAM { /** usize */ - dwCookie: Deno.PointerValue; + dwCookie: bigint | number; /** u32 */ dwError: number; /** Windows.Win32.UI.Controls.RichEdit.EDITSTREAMCALLBACK */ @@ -37130,7 +37130,7 @@ export class EDITSTREAMView { } // 0x00: usize - get dwCookie(): Deno.PointerValue { + get dwCookie(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -37148,7 +37148,7 @@ export class EDITSTREAMView { } // 0x00: usize - set dwCookie(value: Deno.PointerValue) { + set dwCookie(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -37939,7 +37939,7 @@ export class PARAFORMAT2View { } } -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; /** * Windows.Win32.UI.Controls.RichEdit.MSGFILTER (size: 32) @@ -39159,7 +39159,7 @@ export interface REPASTESPECIAL { /** Windows.Win32.System.Com.DVASPECT */ dwAspect: DVASPECT; /** usize */ - dwParam: Deno.PointerValue; + dwParam: bigint | number; } export const sizeofREPASTESPECIAL = 16; @@ -39193,7 +39193,7 @@ export class REPASTESPECIALView { // 0x04: pad4 // 0x08: usize - get dwParam(): Deno.PointerValue { + get dwParam(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -39205,7 +39205,7 @@ export class REPASTESPECIALView { // 0x04: pad4 // 0x08: usize - set dwParam(value: Deno.PointerValue) { + set dwParam(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -39566,7 +39566,7 @@ export interface HYPHENATEINFO { /** i16 */ dxHyphenateZone: number; /** isize */ - pfnHyphenate: Deno.PointerValue; + pfnHyphenate: bigint | number; } export const sizeofHYPHENATEINFO = 16; @@ -39607,7 +39607,7 @@ export class HYPHENATEINFOView { // 0x04: pad4 // 0x08: isize - get pfnHyphenate(): Deno.PointerValue { + get pfnHyphenate(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -39624,7 +39624,7 @@ export class HYPHENATEINFOView { // 0x04: pad4 // 0x08: isize - set pfnHyphenate(value: Deno.PointerValue) { + set pfnHyphenate(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -39937,7 +39937,7 @@ export interface MEASUREITEMSTRUCT { /** u32 */ itemHeight: number; /** usize */ - itemData: Deno.PointerValue; + itemData: bigint | number; } export const sizeofMEASUREITEMSTRUCT = 32; @@ -39999,7 +39999,7 @@ export class MEASUREITEMSTRUCTView { // 0x14: pad4 // 0x18: usize - get itemData(): Deno.PointerValue { + get itemData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -40031,7 +40031,7 @@ export class MEASUREITEMSTRUCTView { // 0x14: pad4 // 0x18: usize - set itemData(value: Deno.PointerValue) { + set itemData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -40057,7 +40057,7 @@ export interface DRAWITEMSTRUCT { /** Windows.Win32.Foundation.RECT */ rcItem: Uint8Array | Deno.PointerValue; /** usize */ - itemData: Deno.PointerValue; + itemData: bigint | number; } export const sizeofDRAWITEMSTRUCT = 56; @@ -40143,7 +40143,7 @@ export class DRAWITEMSTRUCTView { } // 0x30: usize - get itemData(): Deno.PointerValue { + get itemData(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -40190,7 +40190,7 @@ export class DRAWITEMSTRUCTView { } // 0x30: usize - set itemData(value: Deno.PointerValue) { + set itemData(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } } @@ -40208,7 +40208,7 @@ export interface DELETEITEMSTRUCT { /** Windows.Win32.Foundation.HWND */ hwndItem: Deno.PointerValue; /** usize */ - itemData: Deno.PointerValue; + itemData: bigint | number; } export const sizeofDELETEITEMSTRUCT = 32; @@ -40264,7 +40264,7 @@ export class DELETEITEMSTRUCTView { } // 0x18: usize - get itemData(): Deno.PointerValue { + get itemData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -40291,7 +40291,7 @@ export class DELETEITEMSTRUCTView { } // 0x18: usize - set itemData(value: Deno.PointerValue) { + set itemData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -40309,11 +40309,11 @@ export interface COMPAREITEMSTRUCT { /** u32 */ itemID1: number; /** usize */ - itemData1: Deno.PointerValue; + itemData1: bigint | number; /** u32 */ itemID2: number; /** usize */ - itemData2: Deno.PointerValue; + itemData2: bigint | number; /** u32 */ dwLocaleId: number; } @@ -40379,7 +40379,7 @@ export class COMPAREITEMSTRUCTView { // 0x14: pad4 // 0x18: usize - get itemData1(): Deno.PointerValue { + get itemData1(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -40391,7 +40391,7 @@ export class COMPAREITEMSTRUCTView { // 0x24: pad4 // 0x28: usize - get itemData2(): Deno.PointerValue { + get itemData2(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -40425,7 +40425,7 @@ export class COMPAREITEMSTRUCTView { // 0x14: pad4 // 0x18: usize - set itemData1(value: Deno.PointerValue) { + set itemData1(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -40437,7 +40437,7 @@ export class COMPAREITEMSTRUCTView { // 0x24: pad4 // 0x28: usize - set itemData2(value: Deno.PointerValue) { + set itemData2(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -40983,7 +40983,7 @@ export class COMBOBOXINFOView { } } -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; /** * Windows.Win32.UI.Controls.POINTER_DEVICE_INFO (size: 48) @@ -41321,13 +41321,13 @@ export class POINTER_DEVICE_CURSOR_INFOView { } } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; -export type HMENU = Deno.PointerValue; +export type HMENU = bigint | number; -export type HRGN = Deno.PointerValue; +export type HRGN = bigint | number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; // Native Libraries @@ -42229,13 +42229,13 @@ export function DestroyPropertySheetPage( export function PropertySheetA( param0: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libCOMCTL32_dll.PropertySheetA(util.toPointer(param0)); } export function PropertySheetW( param0: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libCOMCTL32_dll.PropertySheetW(util.toPointer(param0)); } @@ -42554,7 +42554,7 @@ export function CreateToolbarEx( wID: number /* u32 */, nBitmaps: number /* i32 */, hBMInst: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, - wBMID: Deno.PointerValue /* usize */, + wBMID: bigint | number /* usize */, lpButtons: Deno.PointerValue | Uint8Array /* ptr */, iNumButtons: number /* i32 */, dxButton: number /* i32 */, @@ -42568,7 +42568,7 @@ export function CreateToolbarEx( export function CreateMappedBitmap( hInstance: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.HINSTANCE */, - idBitmap: Deno.PointerValue /* isize */, + idBitmap: bigint | number /* isize */, wFlags: number /* u32 */, lpColorMap: Deno.PointerValue | Uint8Array /* ptr */, iNumMaps: number /* i32 */, @@ -42626,7 +42626,7 @@ export function MenuHelp( export function ShowHideMenuCtl( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, - uFlags: Deno.PointerValue /* usize */, + uFlags: bigint | number /* usize */, lpInfo: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCOMCTL32_dll.ShowHideMenuCtl((hWnd), uFlags, util.toPointer(lpInfo))); @@ -42792,7 +42792,7 @@ export function DSA_Clone( export function DSA_GetSize( hdsa: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.Controls.HDSA */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libCOMCTL32_dll.DSA_GetSize(util.toPointer(hdsa)); } @@ -42884,7 +42884,7 @@ export function DPA_SetPtr( export function DPA_GetPtr( hdpa: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.Controls.HDPA */, - i: Deno.PointerValue /* isize */, + i: bigint | number /* isize */, ): Deno.PointerValue /* ptr */ { return libCOMCTL32_dll.DPA_GetPtr(util.toPointer(hdpa), i); } @@ -42898,7 +42898,7 @@ export function DPA_GetPtrIndex( export function DPA_GetSize( hdpa: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.Controls.HDPA */, -): Deno.PointerValue /* u64 */ { +): bigint | number /* u64 */ { return libCOMCTL32_dll.DPA_GetSize(util.toPointer(hdpa)); } @@ -43036,7 +43036,7 @@ export function FlatSB_SetScrollRange( export function FlatSB_SetScrollProp( param0: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, index: WSB_PROP /* Windows.Win32.UI.Controls.WSB_PROP */, - newValue: Deno.PointerValue /* isize */, + newValue: bigint | number /* isize */, param3: boolean /* Windows.Win32.Foundation.BOOL */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCOMCTL32_dll.FlatSB_SetScrollProp((param0), index, newValue, util.boolToFfi(param3))); @@ -43119,7 +43119,7 @@ export function EndPanningFeedback( } export function GetThemeAnimationProperty( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iStoryboardId: number /* i32 */, iTargetId: number /* i32 */, eProperty: TA_PROPERTY /* Windows.Win32.UI.Controls.TA_PROPERTY */, @@ -43131,7 +43131,7 @@ export function GetThemeAnimationProperty( } export function GetThemeAnimationTransform( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iStoryboardId: number /* i32 */, iTargetId: number /* i32 */, dwTransformIndex: number /* u32 */, @@ -43143,7 +43143,7 @@ export function GetThemeAnimationTransform( } export function GetThemeTimingFunction( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iTimingFunctionId: number /* i32 */, pTimingFunction: Deno.PointerValue | Uint8Array /* ptr */, cbSize: number /* u32 */, @@ -43155,7 +43155,7 @@ export function GetThemeTimingFunction( export function OpenThemeData( hwnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, pszClassList: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUXTHEME_dll.OpenThemeData((hwnd), util.pwstrToFfi(pszClassList)); } @@ -43163,18 +43163,18 @@ export function OpenThemeDataEx( hwnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, pszClassList: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: OPEN_THEME_DATA_FLAGS /* Windows.Win32.UI.Controls.OPEN_THEME_DATA_FLAGS */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUXTHEME_dll.OpenThemeDataEx((hwnd), util.pwstrToFfi(pszClassList), dwFlags); } export function CloseThemeData( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libUXTHEME_dll.CloseThemeData(hTheme); } export function DrawThemeBackground( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43185,7 +43185,7 @@ export function DrawThemeBackground( } export function DrawThemeBackgroundEx( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43196,7 +43196,7 @@ export function DrawThemeBackgroundEx( } export function DrawThemeText( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43210,7 +43210,7 @@ export function DrawThemeText( } export function GetThemeBackgroundContentRect( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43221,7 +43221,7 @@ export function GetThemeBackgroundContentRect( } export function GetThemeBackgroundExtent( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43232,7 +43232,7 @@ export function GetThemeBackgroundExtent( } export function GetThemeBackgroundRegion( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43243,7 +43243,7 @@ export function GetThemeBackgroundRegion( } export function GetThemePartSize( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43255,7 +43255,7 @@ export function GetThemePartSize( } export function GetThemeTextExtent( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43269,7 +43269,7 @@ export function GetThemeTextExtent( } export function GetThemeTextMetrics( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43279,7 +43279,7 @@ export function GetThemeTextMetrics( } export function HitTestThemeBackground( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43293,7 +43293,7 @@ export function HitTestThemeBackground( } export function DrawThemeEdge( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43306,7 +43306,7 @@ export function DrawThemeEdge( } export function DrawThemeIcon( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43318,7 +43318,7 @@ export function DrawThemeIcon( } export function IsThemePartDefined( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -43326,7 +43326,7 @@ export function IsThemePartDefined( } export function IsThemeBackgroundPartiallyTransparent( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, ): boolean /* Windows.Win32.Foundation.BOOL */ { @@ -43334,7 +43334,7 @@ export function IsThemeBackgroundPartiallyTransparent( } export function GetThemeColor( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43344,7 +43344,7 @@ export function GetThemeColor( } export function GetThemeMetric( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43355,7 +43355,7 @@ export function GetThemeMetric( } export function GetThemeString( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: number /* i32 */, @@ -43366,7 +43366,7 @@ export function GetThemeString( } export function GetThemeBool( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43376,7 +43376,7 @@ export function GetThemeBool( } export function GetThemeInt( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43386,7 +43386,7 @@ export function GetThemeInt( } export function GetThemeEnumValue( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43396,7 +43396,7 @@ export function GetThemeEnumValue( } export function GetThemePosition( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43406,7 +43406,7 @@ export function GetThemePosition( } export function GetThemeFont( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43417,7 +43417,7 @@ export function GetThemeFont( } export function GetThemeRect( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: number /* i32 */, @@ -43427,7 +43427,7 @@ export function GetThemeRect( } export function GetThemeMargins( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43439,7 +43439,7 @@ export function GetThemeMargins( } export function GetThemeIntList( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43449,7 +43449,7 @@ export function GetThemeIntList( } export function GetThemePropertyOrigin( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: number /* i32 */, @@ -43467,7 +43467,7 @@ export function SetWindowTheme( } export function GetThemeFilename( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43478,35 +43478,35 @@ export function GetThemeFilename( } export function GetThemeSysColor( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iColorId: number /* i32 */, ): Deno.PointerValue /* Windows.Win32.Foundation.COLORREF */ { return libUxTheme_dll.GetThemeSysColor(hTheme, iColorId); } export function GetThemeSysColorBrush( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iColorId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, ): Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HBRUSH */ { return libUxTheme_dll.GetThemeSysColorBrush(hTheme, iColorId); } export function GetThemeSysBool( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iBoolId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUxTheme_dll.GetThemeSysBool(hTheme, iBoolId)); } export function GetThemeSysSize( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iSizeId: number /* i32 */, ): number /* i32 */ { return libUxTheme_dll.GetThemeSysSize(hTheme, iSizeId); } export function GetThemeSysFont( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iFontId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, plf: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -43514,7 +43514,7 @@ export function GetThemeSysFont( } export function GetThemeSysString( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iStringId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, pszStringBuff: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cchMaxStringChars: number /* i32 */, @@ -43523,7 +43523,7 @@ export function GetThemeSysString( } export function GetThemeSysInt( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iIntId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, piValue: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -43540,7 +43540,7 @@ export function IsAppThemed(): boolean /* Windows.Win32.Foundation.BOOL */ { export function GetWindowTheme( hwnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUXTHEME_dll.GetWindowTheme((hwnd)); } @@ -43620,7 +43620,7 @@ export function SetWindowThemeAttribute( } export function DrawThemeTextEx( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, hdc: Uint8Array | Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */, iPartId: number /* i32 */, iStateId: number /* i32 */, @@ -43634,7 +43634,7 @@ export function DrawThemeTextEx( } export function GetThemeBitmap( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: THEME_PROPERTY_SYMBOL_ID /* Windows.Win32.UI.Controls.THEME_PROPERTY_SYMBOL_ID */, @@ -43645,7 +43645,7 @@ export function GetThemeBitmap( } export function GetThemeStream( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateId: number /* i32 */, iPropId: number /* i32 */, @@ -43670,38 +43670,38 @@ export function BeginBufferedPaint( dwFormat: BP_BUFFERFORMAT /* Windows.Win32.UI.Controls.BP_BUFFERFORMAT */, pPaintParams: Deno.PointerValue | Uint8Array /* ptr */, phdc: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUXTHEME_dll.BeginBufferedPaint(util.toPointer(hdcTarget), util.toPointer(prcTarget), dwFormat, util.toPointer(pPaintParams), util.toPointer(phdc)); } export function EndBufferedPaint( - hBufferedPaint: Deno.PointerValue /* isize */, + hBufferedPaint: bigint | number /* isize */, fUpdateTarget: boolean /* Windows.Win32.Foundation.BOOL */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libUXTHEME_dll.EndBufferedPaint(hBufferedPaint, util.boolToFfi(fUpdateTarget)); } export function GetBufferedPaintTargetRect( - hBufferedPaint: Deno.PointerValue /* isize */, + hBufferedPaint: bigint | number /* isize */, prc: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libUxTheme_dll.GetBufferedPaintTargetRect(hBufferedPaint, util.toPointer(prc)); } export function GetBufferedPaintTargetDC( - hBufferedPaint: Deno.PointerValue /* isize */, + hBufferedPaint: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */ { return libUxTheme_dll.GetBufferedPaintTargetDC(hBufferedPaint); } export function GetBufferedPaintDC( - hBufferedPaint: Deno.PointerValue /* isize */, + hBufferedPaint: bigint | number /* isize */, ): Deno.PointerValue /* Windows.Win32.Graphics.Gdi.HDC */ { return libUxTheme_dll.GetBufferedPaintDC(hBufferedPaint); } export function GetBufferedPaintBits( - hBufferedPaint: Deno.PointerValue /* isize */, + hBufferedPaint: bigint | number /* isize */, ppbBuffer: Deno.PointerValue | Uint8Array /* ptr */, pcxRow: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -43709,14 +43709,14 @@ export function GetBufferedPaintBits( } export function BufferedPaintClear( - hBufferedPaint: Deno.PointerValue /* isize */, + hBufferedPaint: bigint | number /* isize */, prc: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libUXTHEME_dll.BufferedPaintClear(hBufferedPaint, util.toPointer(prc)); } export function BufferedPaintSetAlpha( - hBufferedPaint: Deno.PointerValue /* isize */, + hBufferedPaint: bigint | number /* isize */, prc: Deno.PointerValue | Uint8Array /* ptr */, alpha: number /* u8 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -43738,12 +43738,12 @@ export function BeginBufferedAnimation( pAnimationParams: Deno.PointerValue | Uint8Array /* ptr */, phdcFrom: Deno.PointerValue | Uint8Array /* ptr */, phdcTo: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUxTheme_dll.BeginBufferedAnimation((hwnd), util.toPointer(hdcTarget), util.toPointer(prcTarget), dwFormat, util.toPointer(pPaintParams), util.toPointer(pAnimationParams), util.toPointer(phdcFrom), util.toPointer(phdcTo)); } export function EndBufferedAnimation( - hbpAnimation: Deno.PointerValue /* isize */, + hbpAnimation: bigint | number /* isize */, fUpdateTarget: boolean /* Windows.Win32.Foundation.BOOL */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libUxTheme_dll.EndBufferedAnimation(hbpAnimation, util.boolToFfi(fUpdateTarget)); @@ -43761,7 +43761,7 @@ export function IsCompositionActive(): boolean /* Windows.Win32.Foundation.BOOL } export function GetThemeTransitionDuration( - hTheme: Deno.PointerValue /* isize */, + hTheme: bigint | number /* isize */, iPartId: number /* i32 */, iStateIdFrom: number /* i32 */, iStateIdTo: number /* i32 */, diff --git a/api/UI/Controls/Dialogs.ts b/api/UI/Controls/Dialogs.ts index 93c9ae6..4f00858 100644 --- a/api/UI/Controls/Dialogs.ts +++ b/api/UI/Controls/Dialogs.ts @@ -286,13 +286,13 @@ export const NUM_CUSTOM_COLORS = 16; // Structs -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.UI.Controls.Dialogs.OPENFILENAME_NT4A (size: 136) @@ -1845,7 +1845,7 @@ export interface NMHDR { /** Windows.Win32.Foundation.HWND */ hwndFrom: Deno.PointerValue; /** usize */ - idFrom: Deno.PointerValue; + idFrom: bigint | number; /** u32 */ code: number; } @@ -1882,7 +1882,7 @@ export class NMHDRView { } // 0x08: usize - get idFrom(): Deno.PointerValue { + get idFrom(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1899,7 +1899,7 @@ export class NMHDRView { } // 0x08: usize - set idFrom(value: Deno.PointerValue) { + set idFrom(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -3001,7 +3001,7 @@ export class FINDREPLACEWView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.UI.Controls.Dialogs.CHOOSEFONTA (size: 104) @@ -3564,9 +3564,9 @@ export interface PRINTDLGA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -3594,9 +3594,9 @@ export interface PRINTDLGA { /** Windows.Win32.Foundation.PSTR */ lpSetupTemplateName: string | null | Uint8Array; /** isize */ - hPrintTemplate: Deno.PointerValue; + hPrintTemplate: bigint | number; /** isize */ - hSetupTemplate: Deno.PointerValue; + hSetupTemplate: bigint | number; } export const sizeofPRINTDLGA = 120; @@ -3677,12 +3677,12 @@ export class PRINTDLGAView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -3761,12 +3761,12 @@ export class PRINTDLGAView { } // 0x68: isize - get hPrintTemplate(): Deno.PointerValue { + get hPrintTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get hSetupTemplate(): Deno.PointerValue { + get hSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -3783,12 +3783,12 @@ export class PRINTDLGAView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -3862,12 +3862,12 @@ export class PRINTDLGAView { } // 0x68: isize - set hPrintTemplate(value: Deno.PointerValue) { + set hPrintTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set hSetupTemplate(value: Deno.PointerValue) { + set hSetupTemplate(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -3881,9 +3881,9 @@ export interface PRINTDLGW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -3911,9 +3911,9 @@ export interface PRINTDLGW { /** Windows.Win32.Foundation.PWSTR */ lpSetupTemplateName: string | null | Uint8Array | Uint16Array; /** isize */ - hPrintTemplate: Deno.PointerValue; + hPrintTemplate: bigint | number; /** isize */ - hSetupTemplate: Deno.PointerValue; + hSetupTemplate: bigint | number; } export const sizeofPRINTDLGW = 120; @@ -3994,12 +3994,12 @@ export class PRINTDLGWView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -4078,12 +4078,12 @@ export class PRINTDLGWView { } // 0x68: isize - get hPrintTemplate(): Deno.PointerValue { + get hPrintTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } // 0x70: isize - get hSetupTemplate(): Deno.PointerValue { + get hSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(112, true)); } @@ -4100,12 +4100,12 @@ export class PRINTDLGWView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -4179,12 +4179,12 @@ export class PRINTDLGWView { } // 0x68: isize - set hPrintTemplate(value: Deno.PointerValue) { + set hPrintTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } // 0x70: isize - set hSetupTemplate(value: Deno.PointerValue) { + set hSetupTemplate(value: bigint | number) { this.view.setBigInt64(112, BigInt(value), true); } } @@ -4251,9 +4251,9 @@ export interface PRINTDLGEXA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -4371,12 +4371,12 @@ export class PRINTDLGEXAView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -4490,12 +4490,12 @@ export class PRINTDLGEXAView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -4601,9 +4601,9 @@ export interface PRINTDLGEXW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.Graphics.Gdi.HDC */ hDC: Uint8Array | Deno.PointerValue; /** Windows.Win32.UI.Controls.Dialogs.PRINTDLGEX_FLAGS */ @@ -4721,12 +4721,12 @@ export class PRINTDLGEXWView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -4840,12 +4840,12 @@ export class PRINTDLGEXWView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -5166,9 +5166,9 @@ export interface PAGESETUPDLGA { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.UI.Controls.Dialogs.PAGESETUPDLG_FLAGS */ Flags: PAGESETUPDLG_FLAGS; /** Windows.Win32.Foundation.POINT */ @@ -5188,7 +5188,7 @@ export interface PAGESETUPDLGA { /** Windows.Win32.Foundation.PSTR */ lpPageSetupTemplateName: string | null | Uint8Array; /** isize */ - hPageSetupTemplate: Deno.PointerValue; + hPageSetupTemplate: bigint | number; } export const sizeofPAGESETUPDLGA = 112; @@ -5256,12 +5256,12 @@ export class PAGESETUPDLGAView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -5321,7 +5321,7 @@ export class PAGESETUPDLGAView { } // 0x68: isize - get hPageSetupTemplate(): Deno.PointerValue { + get hPageSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -5338,12 +5338,12 @@ export class PAGESETUPDLGAView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -5396,7 +5396,7 @@ export class PAGESETUPDLGAView { } // 0x68: isize - set hPageSetupTemplate(value: Deno.PointerValue) { + set hPageSetupTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } } @@ -5410,9 +5410,9 @@ export interface PAGESETUPDLGW { /** Windows.Win32.Foundation.HWND */ hwndOwner: Deno.PointerValue; /** isize */ - hDevMode: Deno.PointerValue; + hDevMode: bigint | number; /** isize */ - hDevNames: Deno.PointerValue; + hDevNames: bigint | number; /** Windows.Win32.UI.Controls.Dialogs.PAGESETUPDLG_FLAGS */ Flags: PAGESETUPDLG_FLAGS; /** Windows.Win32.Foundation.POINT */ @@ -5432,7 +5432,7 @@ export interface PAGESETUPDLGW { /** Windows.Win32.Foundation.PWSTR */ lpPageSetupTemplateName: string | null | Uint8Array | Uint16Array; /** isize */ - hPageSetupTemplate: Deno.PointerValue; + hPageSetupTemplate: bigint | number; } export const sizeofPAGESETUPDLGW = 112; @@ -5500,12 +5500,12 @@ export class PAGESETUPDLGWView { } // 0x10: isize - get hDevMode(): Deno.PointerValue { + get hDevMode(): bigint | number { return Number(this.view.getBigInt64(16, true)); } // 0x18: isize - get hDevNames(): Deno.PointerValue { + get hDevNames(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -5565,7 +5565,7 @@ export class PAGESETUPDLGWView { } // 0x68: isize - get hPageSetupTemplate(): Deno.PointerValue { + get hPageSetupTemplate(): bigint | number { return Number(this.view.getBigInt64(104, true)); } @@ -5582,12 +5582,12 @@ export class PAGESETUPDLGWView { } // 0x10: isize - set hDevMode(value: Deno.PointerValue) { + set hDevMode(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } // 0x18: isize - set hDevNames(value: Deno.PointerValue) { + set hDevNames(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } @@ -5640,7 +5640,7 @@ export class PAGESETUPDLGWView { } // 0x68: isize - set hPageSetupTemplate(value: Deno.PointerValue) { + set hPageSetupTemplate(value: bigint | number) { this.view.setBigInt64(104, BigInt(value), true); } } diff --git a/api/UI/Controls/RichEdit.ts b/api/UI/Controls/RichEdit.ts index 2eae9e5..6614cec 100644 --- a/api/UI/Controls/RichEdit.ts +++ b/api/UI/Controls/RichEdit.ts @@ -1913,7 +1913,7 @@ export class RICHEDIT_IMAGE_PARAMETERSView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.UI.Controls.NMHDR (size: 24) @@ -1922,7 +1922,7 @@ export interface NMHDR { /** Windows.Win32.Foundation.HWND */ hwndFrom: Deno.PointerValue; /** usize */ - idFrom: Deno.PointerValue; + idFrom: bigint | number; /** u32 */ code: number; } @@ -1959,7 +1959,7 @@ export class NMHDRView { } // 0x08: usize - get idFrom(): Deno.PointerValue { + get idFrom(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -1976,7 +1976,7 @@ export class NMHDRView { } // 0x08: usize - set idFrom(value: Deno.PointerValue) { + set idFrom(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2378,9 +2378,9 @@ export class CHARFORMATWView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2406,22 +2406,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3071,7 +3071,7 @@ export class TEXTRANGEWView { */ export interface EDITSTREAM { /** usize */ - dwCookie: Deno.PointerValue; + dwCookie: bigint | number; /** u32 */ dwError: number; /** Windows.Win32.UI.Controls.RichEdit.EDITSTREAMCALLBACK */ @@ -3104,7 +3104,7 @@ export class EDITSTREAMView { } // 0x00: usize - get dwCookie(): Deno.PointerValue { + get dwCookie(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -3122,7 +3122,7 @@ export class EDITSTREAMView { } // 0x00: usize - set dwCookie(value: Deno.PointerValue) { + set dwCookie(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3405,7 +3405,7 @@ export class FINDTEXTEXWView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; /** * Windows.Win32.Foundation.RECT (size: 16) @@ -3996,9 +3996,9 @@ export class PARAFORMAT2View { } } -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.UI.Controls.RichEdit.MSGFILTER (size: 32) @@ -4480,7 +4480,7 @@ export class GETCONTEXTMENUEXView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.UI.Controls.RichEdit.ENDROPFILES (size: 24) @@ -5277,7 +5277,7 @@ export interface REPASTESPECIAL { /** Windows.Win32.System.Com.DVASPECT */ dwAspect: DVASPECT; /** usize */ - dwParam: Deno.PointerValue; + dwParam: bigint | number; } export const sizeofREPASTESPECIAL = 16; @@ -5311,7 +5311,7 @@ export class REPASTESPECIALView { // 0x04: pad4 // 0x08: usize - get dwParam(): Deno.PointerValue { + get dwParam(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -5323,7 +5323,7 @@ export class REPASTESPECIALView { // 0x04: pad4 // 0x08: usize - set dwParam(value: Deno.PointerValue) { + set dwParam(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -5684,7 +5684,7 @@ export interface HYPHENATEINFO { /** i16 */ dxHyphenateZone: number; /** isize */ - pfnHyphenate: Deno.PointerValue; + pfnHyphenate: bigint | number; } export const sizeofHYPHENATEINFO = 16; @@ -5725,7 +5725,7 @@ export class HYPHENATEINFOView { // 0x04: pad4 // 0x08: isize - get pfnHyphenate(): Deno.PointerValue { + get pfnHyphenate(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -5742,7 +5742,7 @@ export class HYPHENATEINFOView { // 0x04: pad4 // 0x08: isize - set pfnHyphenate(value: Deno.PointerValue) { + set pfnHyphenate(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -5806,7 +5806,7 @@ export class CHANGENOTIFYView { } } -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.UI.Controls.RichEdit.CARET_INFO (size: 16) diff --git a/api/UI/HiDpi.ts b/api/UI/HiDpi.ts index 7f34653..7e804b9 100644 --- a/api/UI/HiDpi.ts +++ b/api/UI/HiDpi.ts @@ -193,19 +193,19 @@ export const WS_EX_NOACTIVATE = 134217728; // Structs -export type DPI_AWARENESS_CONTEXT = Deno.PointerValue; +export type DPI_AWARENESS_CONTEXT = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; export type PWSTR = Deno.PointerValue | Uint8Array; export type BOOL = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type HRESULT = number; -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; // Native Libraries @@ -346,7 +346,7 @@ export function OpenThemeDataForDpi( hwnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, pszClassList: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dpi: number /* u32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUxTheme_dll.OpenThemeDataForDpi((hwnd), util.pwstrToFfi(pszClassList), dpi); } diff --git a/api/UI/Input.ts b/api/UI/Input.ts index 35dc725..d622e73 100644 --- a/api/UI/Input.ts +++ b/api/UI/Input.ts @@ -1471,11 +1471,11 @@ export const IMO_SYSTEM = 4; // Structs -export type HRAWINPUT = Deno.PointerValue; +export type HRAWINPUT = bigint | number; -export type HGESTUREINFO = Deno.PointerValue; +export type HGESTUREINFO = bigint | number; -export type HTOUCHINPUT = Deno.PointerValue; +export type HTOUCHINPUT = bigint | number; /** * Windows.Win32.Foundation.POINT (size: 8) @@ -2277,7 +2277,7 @@ export class STYLEBUFWView { } } -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEMENUITEMINFOA (size: 56) @@ -2701,7 +2701,7 @@ export class IMECHARPOSITIONView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEDLG (size: 32) @@ -2805,11 +2805,11 @@ export class IMEDLGView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -2861,7 +2861,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2872,7 +2872,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2908,7 +2908,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2919,7 +2919,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -2956,7 +2956,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -2985,7 +2985,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2997,7 +2997,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -3459,9 +3459,9 @@ export class MORRSLTView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3487,22 +3487,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -4095,7 +4095,7 @@ export class IMEKMSKEYView { } } -export type HIMC = Deno.PointerValue; +export type HIMC = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEKMS (size: 32) @@ -5078,9 +5078,9 @@ export class GUIDELINEView { // 0x1c: pad4 } -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.UI.Input.Ime.TRANSMSG (size: 24) @@ -5820,7 +5820,7 @@ export class _lfFont_e__UnionView { } } -export type HIMCC = Deno.PointerValue; +export type HIMCC = bigint | number; /** * Windows.Win32.UI.Input.Ime.INPUTCONTEXT (size: 128) @@ -6964,7 +6964,7 @@ export class IMECHARINFOView { // 0x0c: pad4 } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEAPPLETCFG (size: 56) @@ -10237,7 +10237,7 @@ export interface MOUSEMOVEPOINT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofMOUSEMOVEPOINT = 24; @@ -10285,7 +10285,7 @@ export class MOUSEMOVEPOINTView { // 0x0c: pad4 // 0x10: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10307,7 +10307,7 @@ export class MOUSEMOVEPOINTView { // 0x0c: pad4 // 0x10: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -10414,7 +10414,7 @@ export interface MOUSEINPUT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofMOUSEINPUT = 32; @@ -10476,7 +10476,7 @@ export class MOUSEINPUTView { // 0x14: pad4 // 0x18: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -10508,7 +10508,7 @@ export class MOUSEINPUTView { // 0x14: pad4 // 0x18: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -10526,7 +10526,7 @@ export interface KEYBDINPUT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofKEYBDINPUT = 24; @@ -10581,7 +10581,7 @@ export class KEYBDINPUTView { // 0x0c: pad4 // 0x10: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -10608,7 +10608,7 @@ export class KEYBDINPUTView { // 0x0c: pad4 // 0x10: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -10792,7 +10792,7 @@ export class LASTINPUTINFOView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.UI.Input.Touch.TOUCHINPUT (size: 48) @@ -10813,7 +10813,7 @@ export interface TOUCHINPUT { /** u32 */ dwTime: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; /** u32 */ cxContact: number; /** u32 */ @@ -10895,7 +10895,7 @@ export class TOUCHINPUTView { } // 0x20: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -10945,7 +10945,7 @@ export class TOUCHINPUTView { } // 0x20: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -11037,7 +11037,7 @@ export interface GESTUREINFO { /** u32 */ dwSequenceID: number; /** u64 */ - ullArguments: Deno.PointerValue; + ullArguments: bigint | number; /** u32 */ cbExtraArgs: number; } @@ -11120,7 +11120,7 @@ export class GESTUREINFOView { } // 0x28: u64 - get ullArguments(): Deno.PointerValue { + get ullArguments(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -11169,7 +11169,7 @@ export class GESTUREINFOView { } // 0x28: u64 - set ullArguments(value: Deno.PointerValue) { + set ullArguments(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } @@ -11388,7 +11388,7 @@ export interface POINTER_INFO { /** u32 */ dwKeyStates: number; /** u64 */ - PerformanceCount: Deno.PointerValue; + PerformanceCount: bigint | number; /** Windows.Win32.UI.Input.Pointer.POINTER_BUTTON_CHANGE_TYPE */ ButtonChangeType: POINTER_BUTTON_CHANGE_TYPE; } @@ -11521,7 +11521,7 @@ export class POINTER_INFOView { } // 0x50: u64 - get PerformanceCount(): Deno.PointerValue { + get PerformanceCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -11603,7 +11603,7 @@ export class POINTER_INFOView { } // 0x50: u64 - set PerformanceCount(value: Deno.PointerValue) { + set PerformanceCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -12371,9 +12371,9 @@ export class RAWHIDView { */ export interface SDP_LARGE_INTEGER_16 { /** u64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** i64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeofSDP_LARGE_INTEGER_16 = 16; @@ -12399,22 +12399,22 @@ export class SDP_LARGE_INTEGER_16View { } // 0x00: u64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: i64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x00: u64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: i64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } } @@ -12426,9 +12426,9 @@ export type CHAR = number; */ export interface SDP_ULARGE_INTEGER_16 { /** u64 */ - LowPart: Deno.PointerValue; + LowPart: bigint | number; /** u64 */ - HighPart: Deno.PointerValue; + HighPart: bigint | number; } export const sizeofSDP_ULARGE_INTEGER_16 = 16; @@ -12454,22 +12454,22 @@ export class SDP_ULARGE_INTEGER_16View { } // 0x00: u64 - get LowPart(): Deno.PointerValue { + get LowPart(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get HighPart(): Deno.PointerValue { + get HighPart(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set LowPart(value: Deno.PointerValue) { + set LowPart(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set HighPart(value: Deno.PointerValue) { + set HighPart(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -12717,7 +12717,7 @@ export interface _data_e__Union { /** Windows.Win32.Devices.Bluetooth.SDP_LARGE_INTEGER_16 */ int128: Uint8Array | Deno.PointerValue; /** i64 */ - int64: Deno.PointerValue; + int64: bigint | number; /** i32 */ int32: number; /** i16 */ @@ -12727,7 +12727,7 @@ export interface _data_e__Union { /** Windows.Win32.Devices.Bluetooth.SDP_ULARGE_INTEGER_16 */ uint128: Uint8Array | Deno.PointerValue; /** u64 */ - uint64: Deno.PointerValue; + uint64: bigint | number; /** u32 */ uint32: number; /** u16 */ @@ -12815,7 +12815,7 @@ export class _data_e__UnionView { } // 0x08: i64 - get int64(): Deno.PointerValue { + get int64(): bigint | number { return Number(this.view.getBigInt64(8, true)); } @@ -12843,7 +12843,7 @@ export class _data_e__UnionView { } // 0x20: u64 - get uint64(): Deno.PointerValue { + get uint64(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -12915,7 +12915,7 @@ export class _data_e__UnionView { } // 0x08: i64 - set int64(value: Deno.PointerValue) { + set int64(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } @@ -12942,7 +12942,7 @@ export class _data_e__UnionView { } // 0x20: u64 - set uint64(value: Deno.PointerValue) { + set uint64(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -13606,7 +13606,7 @@ export class INPUT_MESSAGE_SOURCEView { } } -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; // Native Libraries diff --git a/api/UI/Input/Ime.ts b/api/UI/Input/Ime.ts index 1c5e6d7..dbbfac3 100644 --- a/api/UI/Input/Ime.ts +++ b/api/UI/Input/Ime.ts @@ -1633,7 +1633,7 @@ export class STYLEBUFWView { } } -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEMENUITEMINFOA (size: 56) @@ -2057,7 +2057,7 @@ export class IMECHARPOSITIONView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEDLG (size: 32) @@ -2161,11 +2161,11 @@ export class IMEDLGView { */ export interface _Anonymous1_e__Union { /** usize */ - Data0: Deno.PointerValue; + Data0: bigint | number; /** Windows.Win32.Foundation.PWSTR */ String: string | null | Uint8Array | Uint16Array; /** usize */ - u: Deno.PointerValue; + u: bigint | number; /** ptr */ psid: Deno.PointerValue | Uint8Array; /** ptr */ @@ -2217,7 +2217,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - get Data0(): Deno.PointerValue { + get Data0(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2228,7 +2228,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - get u(): Deno.PointerValue { + get u(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2264,7 +2264,7 @@ export class _Anonymous1_e__UnionView { } // 0x00: usize - set Data0(value: Deno.PointerValue) { + set Data0(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2275,7 +2275,7 @@ export class _Anonymous1_e__UnionView { } // 0x10: usize - set u(value: Deno.PointerValue) { + set u(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } @@ -2312,7 +2312,7 @@ export class _Anonymous1_e__UnionView { */ export interface _Anonymous2_e__Union { /** usize */ - Data1: Deno.PointerValue; + Data1: bigint | number; /** i32 */ LogonId_HighPart: number; } @@ -2341,7 +2341,7 @@ export class _Anonymous2_e__UnionView { } // 0x00: usize - get Data1(): Deno.PointerValue { + get Data1(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -2353,7 +2353,7 @@ export class _Anonymous2_e__UnionView { // 0x0c: pad4 // 0x00: usize - set Data1(value: Deno.PointerValue) { + set Data1(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -2815,9 +2815,9 @@ export class MORRSLTView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2843,22 +2843,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3451,7 +3451,7 @@ export class IMEKMSKEYView { } } -export type HIMC = Deno.PointerValue; +export type HIMC = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEKMS (size: 32) @@ -4434,9 +4434,9 @@ export class GUIDELINEView { // 0x1c: pad4 } -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.UI.Input.Ime.TRANSMSG (size: 24) @@ -5176,7 +5176,7 @@ export class _lfFont_e__UnionView { } } -export type HIMCC = Deno.PointerValue; +export type HIMCC = bigint | number; /** * Windows.Win32.UI.Input.Ime.INPUTCONTEXT (size: 128) @@ -6320,7 +6320,7 @@ export class IMECHARINFOView { // 0x0c: pad4 } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.UI.Input.Ime.IMEAPPLETCFG (size: 56) @@ -6761,9 +6761,9 @@ export class APPLYCANDEXPARAMView { // 0x1c: pad4 } -export type HKL = Deno.PointerValue; +export type HKL = bigint | number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; // Native Libraries diff --git a/api/UI/Input/KeyboardAndMouse.ts b/api/UI/Input/KeyboardAndMouse.ts index 481f6a3..7fbe2c9 100644 --- a/api/UI/Input/KeyboardAndMouse.ts +++ b/api/UI/Input/KeyboardAndMouse.ts @@ -2765,7 +2765,7 @@ export interface MOUSEMOVEPOINT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofMOUSEMOVEPOINT = 24; @@ -2813,7 +2813,7 @@ export class MOUSEMOVEPOINTView { // 0x0c: pad4 // 0x10: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -2835,12 +2835,12 @@ export class MOUSEMOVEPOINTView { // 0x0c: pad4 // 0x10: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.UI.Input.KeyboardAndMouse.TRACKMOUSEEVENT (size: 24) @@ -2944,7 +2944,7 @@ export interface MOUSEINPUT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofMOUSEINPUT = 32; @@ -3006,7 +3006,7 @@ export class MOUSEINPUTView { // 0x14: pad4 // 0x18: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3038,7 +3038,7 @@ export class MOUSEINPUTView { // 0x14: pad4 // 0x18: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -3056,7 +3056,7 @@ export interface KEYBDINPUT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofKEYBDINPUT = 24; @@ -3111,7 +3111,7 @@ export class KEYBDINPUTView { // 0x0c: pad4 // 0x10: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3138,7 +3138,7 @@ export class KEYBDINPUTView { // 0x0c: pad4 // 0x10: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -3215,9 +3215,9 @@ export class HARDWAREINPUTView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -3243,22 +3243,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -3434,7 +3434,7 @@ export type BOOL = number; export type PSTR = Deno.PointerValue | Uint8Array; -export type HKL = Deno.PointerValue; +export type HKL = bigint | number; export type CHAR = number; @@ -3963,7 +3963,7 @@ export function keybd_event( bVk: number /* u8 */, bScan: number /* u8 */, dwFlags: KEYBD_EVENT_FLAGS /* Windows.Win32.UI.Input.KeyboardAndMouse.KEYBD_EVENT_FLAGS */, - dwExtraInfo: Deno.PointerValue /* usize */, + dwExtraInfo: bigint | number /* usize */, ): void /* void */ { return libUSER32_dll.keybd_event(bVk, bScan, dwFlags, dwExtraInfo); } @@ -3973,7 +3973,7 @@ export function mouse_event( dx: number /* i32 */, dy: number /* i32 */, dwData: number /* u32 */, - dwExtraInfo: Deno.PointerValue /* usize */, + dwExtraInfo: bigint | number /* usize */, ): void /* void */ { return libUSER32_dll.mouse_event(dwFlags, dx, dy, dwData, dwExtraInfo); } diff --git a/api/UI/Input/Pointer.ts b/api/UI/Input/Pointer.ts index 7a85f11..5706fec 100644 --- a/api/UI/Input/Pointer.ts +++ b/api/UI/Input/Pointer.ts @@ -50,9 +50,9 @@ export const PT_TOUCHPAD = 5; // Structs -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Foundation.POINT (size: 8) @@ -140,7 +140,7 @@ export interface POINTER_INFO { /** u32 */ dwKeyStates: number; /** u64 */ - PerformanceCount: Deno.PointerValue; + PerformanceCount: bigint | number; /** Windows.Win32.UI.Input.Pointer.POINTER_BUTTON_CHANGE_TYPE */ ButtonChangeType: POINTER_BUTTON_CHANGE_TYPE; } @@ -273,7 +273,7 @@ export class POINTER_INFOView { } // 0x50: u64 - get PerformanceCount(): Deno.PointerValue { + get PerformanceCount(): bigint | number { return Number(this.view.getBigUint64(80, true)); } @@ -355,7 +355,7 @@ export class POINTER_INFOView { } // 0x50: u64 - set PerformanceCount(value: Deno.PointerValue) { + set PerformanceCount(value: bigint | number) { this.view.setBigUint64(80, BigInt(value), true); } @@ -789,9 +789,9 @@ export class INPUT_INJECTION_VALUEView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -817,22 +817,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -934,7 +934,7 @@ export class INPUT_TRANSFORMView { export type BOOL = number; -export type HSYNTHETICPOINTERDEVICE = Deno.PointerValue; +export type HSYNTHETICPOINTERDEVICE = bigint | number; // Native Libraries diff --git a/api/UI/Input/Touch.ts b/api/UI/Input/Touch.ts index 167a104..5802b1e 100644 --- a/api/UI/Input/Touch.ts +++ b/api/UI/Input/Touch.ts @@ -40,11 +40,11 @@ export const MANIPULATION_ALL = 15; // Structs -export type HGESTUREINFO = Deno.PointerValue; +export type HGESTUREINFO = bigint | number; -export type HTOUCHINPUT = Deno.PointerValue; +export type HTOUCHINPUT = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.UI.Input.Touch.TOUCHINPUT (size: 48) @@ -65,7 +65,7 @@ export interface TOUCHINPUT { /** u32 */ dwTime: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; /** u32 */ cxContact: number; /** u32 */ @@ -147,7 +147,7 @@ export class TOUCHINPUTView { } // 0x20: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -197,7 +197,7 @@ export class TOUCHINPUTView { } // 0x20: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } @@ -212,7 +212,7 @@ export class TOUCHINPUTView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Foundation.POINTS (size: 8) @@ -291,7 +291,7 @@ export interface GESTUREINFO { /** u32 */ dwSequenceID: number; /** u64 */ - ullArguments: Deno.PointerValue; + ullArguments: bigint | number; /** u32 */ cbExtraArgs: number; } @@ -374,7 +374,7 @@ export class GESTUREINFOView { } // 0x28: u64 - get ullArguments(): Deno.PointerValue { + get ullArguments(): bigint | number { return Number(this.view.getBigUint64(40, true)); } @@ -423,7 +423,7 @@ export class GESTUREINFOView { } // 0x28: u64 - set ullArguments(value: Deno.PointerValue) { + set ullArguments(value: bigint | number) { this.view.setBigUint64(40, BigInt(value), true); } diff --git a/api/UI/InteractionContext.ts b/api/UI/InteractionContext.ts index d564302..e511b20 100644 --- a/api/UI/InteractionContext.ts +++ b/api/UI/InteractionContext.ts @@ -117,7 +117,7 @@ export const PT_TOUCHPAD = 5; // Structs -export type HINTERACTIONCONTEXT = Deno.PointerValue; +export type HINTERACTIONCONTEXT = bigint | number; /** * Windows.Win32.UI.InteractionContext.MANIPULATION_TRANSFORM (size: 24) diff --git a/api/UI/Magnification.ts b/api/UI/Magnification.ts index 3578fa4..1d5571c 100644 --- a/api/UI/Magnification.ts +++ b/api/UI/Magnification.ts @@ -72,7 +72,7 @@ export interface MAGIMAGEHEADER { /** u32 */ offset: number; /** usize */ - cbSize: Deno.PointerValue; + cbSize: bigint | number; } export const sizeofMAGIMAGEHEADER = 32; @@ -132,7 +132,7 @@ export class MAGIMAGEHEADERView { } // 0x18: usize - get cbSize(): Deno.PointerValue { + get cbSize(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -162,7 +162,7 @@ export class MAGIMAGEHEADERView { } // 0x18: usize - set cbSize(value: Deno.PointerValue) { + set cbSize(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -209,7 +209,7 @@ export class MAGCOLOREFFECTView { export type BOOL = number; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Foundation.RECT (size: 16) diff --git a/api/UI/Ribbon.ts b/api/UI/Ribbon.ts index 089f4c6..b0d19e5 100644 --- a/api/UI/Ribbon.ts +++ b/api/UI/Ribbon.ts @@ -228,9 +228,9 @@ export class UI_EVENTPARAMS_COMMANDView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -256,22 +256,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/UI/Shell.ts b/api/UI/Shell.ts index 21625ad..613e484 100644 --- a/api/UI/Shell.ts +++ b/api/UI/Shell.ts @@ -7265,11 +7265,11 @@ export const ERROR_QUERY_STORAGE_ERROR = 2151284737; // Structs -export type ShFindChangeNotificationHandle = Deno.PointerValue; +export type ShFindChangeNotificationHandle = bigint | number; -export type HDROP = Deno.PointerValue; +export type HDROP = bigint | number; -export type HPSXA = Deno.PointerValue; +export type HPSXA = bigint | number; /** * Windows.Win32.UI.Shell.PropertiesSystem.PROPERTYKEY (size: 16) @@ -7573,9 +7573,9 @@ export class ITEMIDLISTView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -7601,22 +7601,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -8155,7 +8155,7 @@ export class DRAGINFOWView { // 0x24: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.Foundation.RECT (size: 16) @@ -8238,7 +8238,7 @@ export class RECTView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; /** * Windows.Win32.UI.Shell.APPBARDATA (size: 40) @@ -8859,11 +8859,11 @@ export class SHNAMEMAPPINGWView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HKEY = Deno.PointerValue; +export type HKEY = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.UI.Shell.SHELLEXECUTEINFOA (size: 112) @@ -9730,9 +9730,9 @@ export interface SHQUERYRBINFO { /** u32 */ cbSize: number; /** i64 */ - i64Size: Deno.PointerValue; + i64Size: bigint | number; /** i64 */ - i64NumItems: Deno.PointerValue; + i64NumItems: bigint | number; } export const sizeofSHQUERYRBINFO = 24; @@ -9768,12 +9768,12 @@ export class SHQUERYRBINFOView { // 0x04: pad4 // 0x08: i64 - get i64Size(): Deno.PointerValue { + get i64Size(): bigint | number { return Number(this.view.getBigInt64(8, true)); } // 0x10: i64 - get i64NumItems(): Deno.PointerValue { + get i64NumItems(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -9785,17 +9785,17 @@ export class SHQUERYRBINFOView { // 0x04: pad4 // 0x08: i64 - set i64Size(value: Deno.PointerValue) { + set i64Size(value: bigint | number) { this.view.setBigInt64(8, BigInt(value), true); } // 0x10: i64 - set i64NumItems(value: Deno.PointerValue) { + set i64NumItems(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; /** * Windows.Win32.UI.Shell.NOTIFYICONDATAA (size: 104) @@ -10937,7 +10937,7 @@ export interface HELPINFO { /** Windows.Win32.Foundation.HANDLE */ hItemHandle: Uint8Array | Deno.PointerValue; /** usize */ - dwContextId: Deno.PointerValue; + dwContextId: bigint | number; /** Windows.Win32.Foundation.POINT */ MousePos: Uint8Array | Deno.PointerValue; } @@ -10997,7 +10997,7 @@ export class HELPINFOView { } // 0x18: usize - get dwContextId(): Deno.PointerValue { + get dwContextId(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -11030,7 +11030,7 @@ export class HELPINFOView { } // 0x18: usize - set dwContextId(value: Deno.PointerValue) { + set dwContextId(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -12879,7 +12879,7 @@ export class SIZEView { } } -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; export type COLORREF = number; @@ -13454,7 +13454,7 @@ export class DELEGATEITEMIDView { } } -export type HMENU = Deno.PointerValue; +export type HMENU = bigint | number; /** * Windows.Win32.UI.Shell.SMDATA (size: 80) @@ -14070,7 +14070,7 @@ export class KNOWNFOLDER_DEFINITIONView { } } -export type HACCEL = Deno.PointerValue; +export type HACCEL = bigint | number; /** * Windows.Win32.UI.Shell.PREVIEWHANDLERFRAMEINFO (size: 16) @@ -14213,7 +14213,7 @@ export class BANNER_NOTIFICATIONView { } } -export type HIMAGELIST = Deno.PointerValue; +export type HIMAGELIST = bigint | number; /** * Windows.Win32.UI.Shell.NSTCCUSTOMDRAW (size: 48) @@ -20200,7 +20200,7 @@ export interface DLLVERSIONINFO2 { /** u32 */ dwFlags: number; /** u64 */ - ullVersion: Deno.PointerValue; + ullVersion: bigint | number; } export const sizeofDLLVERSIONINFO2 = 24; @@ -20242,7 +20242,7 @@ export class DLLVERSIONINFO2View { // 0x0c: pad4 // 0x10: u64 - get ullVersion(): Deno.PointerValue { + get ullVersion(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -20259,7 +20259,7 @@ export class DLLVERSIONINFO2View { // 0x0c: pad4 // 0x10: u64 - set ullVersion(value: Deno.PointerValue) { + set ullVersion(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -20664,7 +20664,7 @@ export class APPINFODATAView { */ export interface SLOWAPPINFO { /** u64 */ - ullSize: Deno.PointerValue; + ullSize: bigint | number; /** Windows.Win32.Foundation.FILETIME */ ftLastUsed: Uint8Array | Deno.PointerValue; /** i32 */ @@ -20704,7 +20704,7 @@ export class SLOWAPPINFOView { } // 0x00: u64 - get ullSize(): Deno.PointerValue { + get ullSize(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -20728,7 +20728,7 @@ export class SLOWAPPINFOView { } // 0x00: u64 - set ullSize(value: Deno.PointerValue) { + set ullSize(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -23223,7 +23223,7 @@ export class FOLDERSETDATAView { // 0x14: pad4 } -export type HMONITOR = Deno.PointerValue; +export type HMONITOR = bigint | number; /** * Windows.Win32.UI.Shell.TOOLBARITEM (size: 40) @@ -23344,7 +23344,7 @@ export interface CPLINFO { /** i32 */ idInfo: number; /** isize */ - lData: Deno.PointerValue; + lData: bigint | number; } export const sizeofCPLINFO = 24; @@ -23392,7 +23392,7 @@ export class CPLINFOView { // 0x0c: pad4 // 0x10: isize - get lData(): Deno.PointerValue { + get lData(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -23414,7 +23414,7 @@ export class CPLINFOView { // 0x0c: pad4 // 0x10: isize - set lData(value: Deno.PointerValue) { + set lData(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } } @@ -23430,7 +23430,7 @@ export interface NEWCPLINFOA { /** u32 */ dwHelpContext: number; /** isize */ - lData: Deno.PointerValue; + lData: bigint | number; /** Windows.Win32.UI.WindowsAndMessaging.HICON */ hIcon: Uint8Array | Deno.PointerValue; /** array */ @@ -23494,7 +23494,7 @@ export class NEWCPLINFOAView { // 0x0c: pad4 // 0x10: isize - get lData(): Deno.PointerValue { + get lData(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -23540,7 +23540,7 @@ export class NEWCPLINFOAView { // 0x0c: pad4 // 0x10: isize - set lData(value: Deno.PointerValue) { + set lData(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -23576,7 +23576,7 @@ export interface NEWCPLINFOW { /** u32 */ dwHelpContext: number; /** isize */ - lData: Deno.PointerValue; + lData: bigint | number; /** Windows.Win32.UI.WindowsAndMessaging.HICON */ hIcon: Uint8Array | Deno.PointerValue; /** array */ @@ -23640,7 +23640,7 @@ export class NEWCPLINFOWView { // 0x0c: pad4 // 0x10: isize - get lData(): Deno.PointerValue { + get lData(): bigint | number { return Number(this.view.getBigInt64(16, true)); } @@ -23686,7 +23686,7 @@ export class NEWCPLINFOWView { // 0x0c: pad4 // 0x10: isize - set lData(value: Deno.PointerValue) { + set lData(value: bigint | number) { this.view.setBigInt64(16, BigInt(value), true); } @@ -24427,13 +24427,13 @@ export class PROPPRGView { export type HRESULT = number; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; -export type HPALETTE = Deno.PointerValue; +export type HPALETTE = bigint | number; // Native Libraries @@ -27374,8 +27374,8 @@ export function GetUserProfileDirectoryW( export function SetWindowSubclass( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, pfnSubclass: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.Shell.SUBCLASSPROC */, - uIdSubclass: Deno.PointerValue /* usize */, - dwRefData: Deno.PointerValue /* usize */, + uIdSubclass: bigint | number /* usize */, + dwRefData: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCOMCTL32_dll.SetWindowSubclass((hWnd), util.toPointer(pfnSubclass), uIdSubclass, dwRefData)); } @@ -27383,7 +27383,7 @@ export function SetWindowSubclass( export function GetWindowSubclass( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, pfnSubclass: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.Shell.SUBCLASSPROC */, - uIdSubclass: Deno.PointerValue /* usize */, + uIdSubclass: bigint | number /* usize */, pdwRefData: Deno.PointerValue | Uint8Array /* ptr */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCOMCTL32_dll.GetWindowSubclass((hWnd), util.toPointer(pfnSubclass), uIdSubclass, util.toPointer(pdwRefData))); @@ -27392,7 +27392,7 @@ export function GetWindowSubclass( export function RemoveWindowSubclass( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, pfnSubclass: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.Shell.SUBCLASSPROC */, - uIdSubclass: Deno.PointerValue /* usize */, + uIdSubclass: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libCOMCTL32_dll.RemoveWindowSubclass((hWnd), util.toPointer(pfnSubclass), uIdSubclass)); } @@ -27436,7 +27436,7 @@ export function WinHelpA( hWndMain: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, lpszHelp: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, uCommand: number /* u32 */, - dwData: Deno.PointerValue /* usize */, + dwData: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.WinHelpA((hWndMain), util.pstrToFfi(lpszHelp), uCommand, dwData)); } @@ -27445,7 +27445,7 @@ export function WinHelpW( hWndMain: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, lpszHelp: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, uCommand: number /* u32 */, - dwData: Deno.PointerValue /* usize */, + dwData: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.WinHelpW((hWndMain), util.pwstrToFfi(lpszHelp), uCommand, dwData)); } @@ -27728,7 +27728,7 @@ export function SHGetMalloc( } export function SHAlloc( - cb: Deno.PointerValue /* usize */, + cb: bigint | number /* usize */, ): Deno.PointerValue /* ptr */ { return libSHELL32_dll.SHAlloc(cb); } @@ -28904,7 +28904,7 @@ export function RegisterScaleChangeEvent( } export function UnregisterScaleChangeEvent( - dwCookie: Deno.PointerValue /* usize */, + dwCookie: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_shcore_scaling_l1_1_1_dll.UnregisterScaleChangeEvent(dwCookie); } @@ -29076,7 +29076,7 @@ export function ExtractIconW( export function SHAppBarMessage( dwMessage: number /* u32 */, pData: Deno.PointerValue | Uint8Array /* ptr */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libSHELL32_dll.SHAppBarMessage(dwMessage, util.toPointer(pData)); } @@ -29231,7 +29231,7 @@ export function SHGetFileInfoA( psfi: Deno.PointerValue | Uint8Array /* ptr */, cbFileInfo: number /* u32 */, uFlags: SHGFI_FLAGS /* Windows.Win32.UI.Shell.SHGFI_FLAGS */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libSHELL32_dll.SHGetFileInfoA(util.pstrToFfi(pszPath), dwFileAttributes, util.toPointer(psfi), cbFileInfo, uFlags); } @@ -29241,7 +29241,7 @@ export function SHGetFileInfoW( psfi: Deno.PointerValue | Uint8Array /* ptr */, cbFileInfo: number /* u32 */, uFlags: SHGFI_FLAGS /* Windows.Win32.UI.Shell.SHGFI_FLAGS */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libSHELL32_dll.SHGetFileInfoW(util.pwstrToFfi(pszPath), dwFileAttributes, util.toPointer(psfi), cbFileInfo, uFlags); } @@ -29548,7 +29548,7 @@ export function StrDupW( } export function StrFormatByteSizeEx( - ull: Deno.PointerValue /* u64 */, + ull: bigint | number /* u64 */, flags: SFBS_FLAGS /* Windows.Win32.UI.Shell.SFBS_FLAGS */, pszBuf: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cchBuf: number /* u32 */, @@ -29565,7 +29565,7 @@ export function StrFormatByteSizeA( } export function StrFormatByteSize64A( - qdw: Deno.PointerValue /* i64 */, + qdw: bigint | number /* i64 */, pszBuf: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, cchBuf: number /* u32 */, ): string | null /* Windows.Win32.Foundation.PSTR */ { @@ -29573,7 +29573,7 @@ export function StrFormatByteSize64A( } export function StrFormatByteSizeW( - qdw: Deno.PointerValue /* i64 */, + qdw: bigint | number /* i64 */, pszBuf: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cchBuf: number /* u32 */, ): string | null /* Windows.Win32.Foundation.PWSTR */ { @@ -29581,7 +29581,7 @@ export function StrFormatByteSizeW( } export function StrFormatKBSizeW( - qdw: Deno.PointerValue /* i64 */, + qdw: bigint | number /* i64 */, pszBuf: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, cchBuf: number /* u32 */, ): string | null /* Windows.Win32.Foundation.PWSTR */ { @@ -29589,7 +29589,7 @@ export function StrFormatKBSizeW( } export function StrFormatKBSizeA( - qdw: Deno.PointerValue /* i64 */, + qdw: bigint | number /* i64 */, pszBuf: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, cchBuf: number /* u32 */, ): string | null /* Windows.Win32.Foundation.PSTR */ { @@ -31368,7 +31368,7 @@ export function SHRegSetPathW( export function SHRegCreateUSKeyA( pszPath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, samDesired: number /* u32 */, - hRelativeUSKey: Deno.PointerValue /* isize */, + hRelativeUSKey: bigint | number /* isize */, phNewUSKey: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31378,7 +31378,7 @@ export function SHRegCreateUSKeyA( export function SHRegCreateUSKeyW( pwzPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, samDesired: number /* u32 */, - hRelativeUSKey: Deno.PointerValue /* isize */, + hRelativeUSKey: bigint | number /* isize */, phNewUSKey: Deno.PointerValue | Uint8Array /* ptr */, dwFlags: number /* u32 */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31388,7 +31388,7 @@ export function SHRegCreateUSKeyW( export function SHRegOpenUSKeyA( pszPath: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, samDesired: number /* u32 */, - hRelativeUSKey: Deno.PointerValue /* isize */, + hRelativeUSKey: bigint | number /* isize */, phNewUSKey: Deno.PointerValue | Uint8Array /* ptr */, fIgnoreHKCU: boolean /* Windows.Win32.Foundation.BOOL */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31398,7 +31398,7 @@ export function SHRegOpenUSKeyA( export function SHRegOpenUSKeyW( pwzPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, samDesired: number /* u32 */, - hRelativeUSKey: Deno.PointerValue /* isize */, + hRelativeUSKey: bigint | number /* isize */, phNewUSKey: Deno.PointerValue | Uint8Array /* ptr */, fIgnoreHKCU: boolean /* Windows.Win32.Foundation.BOOL */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31406,7 +31406,7 @@ export function SHRegOpenUSKeyW( } export function SHRegQueryUSValueA( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pszValue: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pdwType: Deno.PointerValue | Uint8Array /* ptr */, pvData: Deno.PointerValue | Uint8Array /* ptr */, @@ -31419,7 +31419,7 @@ export function SHRegQueryUSValueA( } export function SHRegQueryUSValueW( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pszValue: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pdwType: Deno.PointerValue | Uint8Array /* ptr */, pvData: Deno.PointerValue | Uint8Array /* ptr */, @@ -31432,7 +31432,7 @@ export function SHRegQueryUSValueW( } export function SHRegWriteUSValueA( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pszValue: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwType: number /* u32 */, pvData: Deno.PointerValue | Uint8Array /* ptr */, @@ -31443,7 +31443,7 @@ export function SHRegWriteUSValueA( } export function SHRegWriteUSValueW( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pwzValue: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwType: number /* u32 */, pvData: Deno.PointerValue | Uint8Array /* ptr */, @@ -31454,7 +31454,7 @@ export function SHRegWriteUSValueW( } export function SHRegDeleteUSValueA( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pszValue: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, delRegFlags: SHREGDEL_FLAGS /* Windows.Win32.UI.Shell.SHREGDEL_FLAGS */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31462,7 +31462,7 @@ export function SHRegDeleteUSValueA( } export function SHRegDeleteUSValueW( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pwzValue: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, delRegFlags: SHREGDEL_FLAGS /* Windows.Win32.UI.Shell.SHREGDEL_FLAGS */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31470,7 +31470,7 @@ export function SHRegDeleteUSValueW( } export function SHRegDeleteEmptyUSKeyW( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pwzSubKey: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, delRegFlags: SHREGDEL_FLAGS /* Windows.Win32.UI.Shell.SHREGDEL_FLAGS */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31478,7 +31478,7 @@ export function SHRegDeleteEmptyUSKeyW( } export function SHRegDeleteEmptyUSKeyA( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pszSubKey: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, delRegFlags: SHREGDEL_FLAGS /* Windows.Win32.UI.Shell.SHREGDEL_FLAGS */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { @@ -31486,7 +31486,7 @@ export function SHRegDeleteEmptyUSKeyA( } export function SHRegEnumUSKeyA( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, dwIndex: number /* u32 */, pszName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchName: Deno.PointerValue | Uint8Array /* ptr */, @@ -31496,7 +31496,7 @@ export function SHRegEnumUSKeyA( } export function SHRegEnumUSKeyW( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, dwIndex: number /* u32 */, pwzName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchName: Deno.PointerValue | Uint8Array /* ptr */, @@ -31506,7 +31506,7 @@ export function SHRegEnumUSKeyW( } export function SHRegEnumUSValueA( - hUSkey: Deno.PointerValue /* isize */, + hUSkey: bigint | number /* isize */, dwIndex: number /* u32 */, pszValueName: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, pcchValueName: Deno.PointerValue | Uint8Array /* ptr */, @@ -31519,7 +31519,7 @@ export function SHRegEnumUSValueA( } export function SHRegEnumUSValueW( - hUSkey: Deno.PointerValue /* isize */, + hUSkey: bigint | number /* isize */, dwIndex: number /* u32 */, pszValueName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pcchValueName: Deno.PointerValue | Uint8Array /* ptr */, @@ -31532,7 +31532,7 @@ export function SHRegEnumUSValueW( } export function SHRegQueryInfoUSKeyA( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pcSubKeys: Deno.PointerValue | Uint8Array /* ptr */, pcchMaxSubKeyLen: Deno.PointerValue | Uint8Array /* ptr */, pcValues: Deno.PointerValue | Uint8Array /* ptr */, @@ -31543,7 +31543,7 @@ export function SHRegQueryInfoUSKeyA( } export function SHRegQueryInfoUSKeyW( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, pcSubKeys: Deno.PointerValue | Uint8Array /* ptr */, pcchMaxSubKeyLen: Deno.PointerValue | Uint8Array /* ptr */, pcValues: Deno.PointerValue | Uint8Array /* ptr */, @@ -31554,7 +31554,7 @@ export function SHRegQueryInfoUSKeyW( } export function SHRegCloseUSKey( - hUSKey: Deno.PointerValue /* isize */, + hUSKey: bigint | number /* isize */, ): WIN32_ERROR /* Windows.Win32.Foundation.WIN32_ERROR */ { return libSHLWAPI_dll.SHRegCloseUSKey(hUSKey); } @@ -32503,7 +32503,7 @@ export function PathCchIsRoot( export function PathCchAddBackslashEx( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ppszEnd: Deno.PointerValue | Uint8Array /* ptr */, pcchRemaining: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -32512,14 +32512,14 @@ export function PathCchAddBackslashEx( export function PathCchAddBackslash( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchAddBackslash(util.pwstrToFfi(pszPath), cchPath); } export function PathCchRemoveBackslashEx( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ppszEnd: Deno.PointerValue | Uint8Array /* ptr */, pcchRemaining: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -32528,7 +32528,7 @@ export function PathCchRemoveBackslashEx( export function PathCchRemoveBackslash( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchRemoveBackslash(util.pwstrToFfi(pszPath), cchPath); } @@ -32542,21 +32542,21 @@ export function PathCchSkipRoot( export function PathCchStripToRoot( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchStripToRoot(util.pwstrToFfi(pszPath), cchPath); } export function PathCchRemoveFileSpec( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchRemoveFileSpec(util.pwstrToFfi(pszPath), cchPath); } export function PathCchFindExtension( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ppszExt: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchFindExtension(util.pwstrToFfi(pszPath), cchPath, util.toPointer(ppszExt)); @@ -32564,7 +32564,7 @@ export function PathCchFindExtension( export function PathCchAddExtension( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, pszExt: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchAddExtension(util.pwstrToFfi(pszPath), cchPath, util.pwstrToFfi(pszExt)); @@ -32572,7 +32572,7 @@ export function PathCchAddExtension( export function PathCchRenameExtension( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, pszExt: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchRenameExtension(util.pwstrToFfi(pszPath), cchPath, util.pwstrToFfi(pszExt)); @@ -32580,14 +32580,14 @@ export function PathCchRenameExtension( export function PathCchRemoveExtension( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchRemoveExtension(util.pwstrToFfi(pszPath), cchPath); } export function PathCchCanonicalizeEx( pszPathOut: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPathOut: Deno.PointerValue /* usize */, + cchPathOut: bigint | number /* usize */, pszPathIn: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: PATHCCH_OPTIONS /* Windows.Win32.UI.Shell.PATHCCH_OPTIONS */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -32596,7 +32596,7 @@ export function PathCchCanonicalizeEx( export function PathCchCanonicalize( pszPathOut: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPathOut: Deno.PointerValue /* usize */, + cchPathOut: bigint | number /* usize */, pszPathIn: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchCanonicalize(util.pwstrToFfi(pszPathOut), cchPathOut, util.pwstrToFfi(pszPathIn)); @@ -32604,7 +32604,7 @@ export function PathCchCanonicalize( export function PathCchCombineEx( pszPathOut: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPathOut: Deno.PointerValue /* usize */, + cchPathOut: bigint | number /* usize */, pszPathIn: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pszMore: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: PATHCCH_OPTIONS /* Windows.Win32.UI.Shell.PATHCCH_OPTIONS */, @@ -32614,7 +32614,7 @@ export function PathCchCombineEx( export function PathCchCombine( pszPathOut: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPathOut: Deno.PointerValue /* usize */, + cchPathOut: bigint | number /* usize */, pszPathIn: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, pszMore: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -32623,7 +32623,7 @@ export function PathCchCombine( export function PathCchAppendEx( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, pszMore: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwFlags: PATHCCH_OPTIONS /* Windows.Win32.UI.Shell.PATHCCH_OPTIONS */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { @@ -32632,7 +32632,7 @@ export function PathCchAppendEx( export function PathCchAppend( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, pszMore: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchAppend(util.pwstrToFfi(pszPath), cchPath, util.pwstrToFfi(pszMore)); @@ -32640,7 +32640,7 @@ export function PathCchAppend( export function PathCchStripPrefix( pszPath: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - cchPath: Deno.PointerValue /* usize */, + cchPath: bigint | number /* usize */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libapi_ms_win_core_path_l1_1_0_dll.PathCchStripPrefix(util.pwstrToFfi(pszPath), cchPath); } diff --git a/api/UI/Shell/Common.ts b/api/UI/Shell/Common.ts index 4b5508f..f4da8b9 100644 --- a/api/UI/Shell/Common.ts +++ b/api/UI/Shell/Common.ts @@ -179,9 +179,9 @@ export class ITEMIDLISTView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -207,22 +207,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/UI/Shell/PropertiesSystem.ts b/api/UI/Shell/PropertiesSystem.ts index 5785daa..e7b3f63 100644 --- a/api/UI/Shell/PropertiesSystem.ts +++ b/api/UI/Shell/PropertiesSystem.ts @@ -580,13 +580,13 @@ export type BOOL = number; export type BSTR = Deno.PointerValue | Uint8Array; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; // Native Libraries @@ -1998,7 +1998,7 @@ export function PSPropertyBag_ReadULONGLONG( export function PSPropertyBag_WriteULONGLONG( propBag: Uint8Array | Deno.PointerValue /* Windows.Win32.System.Com.StructuredStorage.IPropertyBag */, propName: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, - value: Deno.PointerValue /* u64 */, + value: bigint | number /* u64 */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libPROPSYS_dll.PSPropertyBag_WriteULONGLONG(util.toPointer(propBag), util.pwstrToFfi(propName), value); } @@ -2236,15 +2236,15 @@ export function PropVariantToUInt32WithDefault( export function PropVariantToInt64WithDefault( propvarIn: Deno.PointerValue | Uint8Array /* ptr */, - llDefault: Deno.PointerValue /* i64 */, -): Deno.PointerValue /* i64 */ { + llDefault: bigint | number /* i64 */, +): bigint | number /* i64 */ { return libPROPSYS_dll.PropVariantToInt64WithDefault(util.toPointer(propvarIn), llDefault); } export function PropVariantToUInt64WithDefault( propvarIn: Deno.PointerValue | Uint8Array /* ptr */, - ullDefault: Deno.PointerValue /* u64 */, -): Deno.PointerValue /* u64 */ { + ullDefault: bigint | number /* u64 */, +): bigint | number /* u64 */ { return libPROPSYS_dll.PropVariantToUInt64WithDefault(util.toPointer(propvarIn), ullDefault); } @@ -2828,15 +2828,15 @@ export function VariantToUInt32WithDefault( export function VariantToInt64WithDefault( varIn: Deno.PointerValue | Uint8Array /* ptr */, - llDefault: Deno.PointerValue /* i64 */, -): Deno.PointerValue /* i64 */ { + llDefault: bigint | number /* i64 */, +): bigint | number /* i64 */ { return libPROPSYS_dll.VariantToInt64WithDefault(util.toPointer(varIn), llDefault); } export function VariantToUInt64WithDefault( varIn: Deno.PointerValue | Uint8Array /* ptr */, - ullDefault: Deno.PointerValue /* u64 */, -): Deno.PointerValue /* u64 */ { + ullDefault: bigint | number /* u64 */, +): bigint | number /* u64 */ { return libPROPSYS_dll.VariantToUInt64WithDefault(util.toPointer(varIn), ullDefault); } diff --git a/api/UI/TabletPC.ts b/api/UI/TabletPC.ts index b186ebe..f04e1de 100644 --- a/api/UI/TabletPC.ts +++ b/api/UI/TabletPC.ts @@ -1260,15 +1260,15 @@ export const RECO_TYPE_WCHAR = 1; // Structs -export type HRECOALT = Deno.PointerValue; +export type HRECOALT = bigint | number; -export type HRECOCONTEXT = Deno.PointerValue; +export type HRECOCONTEXT = bigint | number; -export type HRECOGNIZER = Deno.PointerValue; +export type HRECOGNIZER = bigint | number; -export type HRECOLATTICE = Deno.PointerValue; +export type HRECOLATTICE = bigint | number; -export type HRECOWORDLIST = Deno.PointerValue; +export type HRECOWORDLIST = bigint | number; /** * Windows.Win32.UI.TabletPC.SYSTEM_EVENT_DATA (size: 32) @@ -2050,7 +2050,7 @@ export class FLICK_DATAView { // 0x04: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.UI.Controls.NMHDR (size: 24) @@ -2059,7 +2059,7 @@ export interface NMHDR { /** Windows.Win32.Foundation.HWND */ hwndFrom: Deno.PointerValue; /** usize */ - idFrom: Deno.PointerValue; + idFrom: bigint | number; /** u32 */ code: number; } @@ -2096,7 +2096,7 @@ export class NMHDRView { } // 0x08: usize - get idFrom(): Deno.PointerValue { + get idFrom(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -2113,7 +2113,7 @@ export class NMHDRView { } // 0x08: usize - set idFrom(value: Deno.PointerValue) { + set idFrom(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -2200,9 +2200,9 @@ export class IEC_STROKEINFOView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -2228,22 +2228,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } diff --git a/api/UI/TextServices.ts b/api/UI/TextServices.ts index cb5765d..15d3c4f 100644 --- a/api/UI/TextServices.ts +++ b/api/UI/TextServices.ts @@ -449,7 +449,7 @@ export const IS_ENUMSTRING = `-5`; // Structs -export type HKL = Deno.PointerValue; +export type HKL = bigint | number; /** * Windows.Win32.UI.TextServices.TS_STATUS (size: 8) @@ -774,9 +774,9 @@ export class TS_SELECTION_ANCHORView { */ export interface _Anonymous_e__Struct { /** u64 */ - Alignment: Deno.PointerValue; + Alignment: bigint | number; /** u64 */ - Region: Deno.PointerValue; + Region: bigint | number; } export const sizeof_Anonymous_e__Struct = 16; @@ -802,22 +802,22 @@ export class _Anonymous_e__StructView { } // 0x00: u64 - get Alignment(): Deno.PointerValue { + get Alignment(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Region(): Deno.PointerValue { + get Region(): bigint | number { return Number(this.view.getBigUint64(8, true)); } // 0x00: u64 - set Alignment(value: Deno.PointerValue) { + set Alignment(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Region(value: Deno.PointerValue) { + set Region(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } } @@ -2155,7 +2155,7 @@ export class TF_LMLATTELEMENTView { } } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; export type HRESULT = number; diff --git a/api/UI/WindowsAndMessaging.ts b/api/UI/WindowsAndMessaging.ts index de45978..37c06a0 100644 --- a/api/UI/WindowsAndMessaging.ts +++ b/api/UI/WindowsAndMessaging.ts @@ -2285,15 +2285,15 @@ export const DEVICE_NOTIFY_WINDOW_HANDLE = 0; // Structs -export type HHOOK = Deno.PointerValue; +export type HHOOK = bigint | number; -export type HICON = Deno.PointerValue; +export type HICON = bigint | number; -export type HMENU = Deno.PointerValue; +export type HMENU = bigint | number; -export type HCURSOR = Deno.PointerValue; +export type HCURSOR = bigint | number; -export type HACCEL = Deno.PointerValue; +export type HACCEL = bigint | number; /** * Windows.Win32.UI.WindowsAndMessaging.MESSAGE_RESOURCE_ENTRY (size: 16) @@ -2499,7 +2499,7 @@ export class MESSAGE_RESOURCE_DATAView { } } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; /** * Windows.Win32.UI.WindowsAndMessaging.CBT_CREATEWNDA (size: 16) @@ -2904,9 +2904,9 @@ export class EVENTMSGView { } } -export type LPARAM = Deno.PointerValue; +export type LPARAM = bigint | number; -export type WPARAM = Deno.PointerValue; +export type WPARAM = bigint | number; /** * Windows.Win32.UI.WindowsAndMessaging.CWPSTRUCT (size: 32) @@ -2997,7 +2997,7 @@ export class CWPSTRUCTView { } } -export type LRESULT = Deno.PointerValue; +export type LRESULT = bigint | number; /** * Windows.Win32.UI.WindowsAndMessaging.CWPRETSTRUCT (size: 40) @@ -3116,7 +3116,7 @@ export interface KBDLLHOOKSTRUCT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofKBDLLHOOKSTRUCT = 24; @@ -3168,7 +3168,7 @@ export class KBDLLHOOKSTRUCTView { } // 0x10: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(16, true)); } @@ -3193,7 +3193,7 @@ export class KBDLLHOOKSTRUCTView { } // 0x10: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(16, BigInt(value), true); } } @@ -3264,7 +3264,7 @@ export interface MSLLHOOKSTRUCT { /** u32 */ time: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofMSLLHOOKSTRUCT = 32; @@ -3320,7 +3320,7 @@ export class MSLLHOOKSTRUCTView { // 0x14: pad4 // 0x18: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3347,7 +3347,7 @@ export class MSLLHOOKSTRUCTView { // 0x14: pad4 // 0x18: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -3465,7 +3465,7 @@ export interface MOUSEHOOKSTRUCT { /** u32 */ wHitTestCode: number; /** usize */ - dwExtraInfo: Deno.PointerValue; + dwExtraInfo: bigint | number; } export const sizeofMOUSEHOOKSTRUCT = 32; @@ -3515,7 +3515,7 @@ export class MOUSEHOOKSTRUCTView { // 0x14: pad4 // 0x18: usize - get dwExtraInfo(): Deno.PointerValue { + get dwExtraInfo(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -3537,7 +3537,7 @@ export class MOUSEHOOKSTRUCTView { // 0x14: pad4 // 0x18: usize - set dwExtraInfo(value: Deno.PointerValue) { + set dwExtraInfo(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } } @@ -3690,9 +3690,9 @@ export class HARDWAREHOOKSTRUCTView { } } -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HBRUSH = Deno.PointerValue; +export type HBRUSH = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -5640,7 +5640,7 @@ export class STYLESTRUCTView { } } -export type HDC = Deno.PointerValue; +export type HDC = bigint | number; export type COLORREF = number; @@ -6265,7 +6265,7 @@ export interface MENUINFO { /** u32 */ dwContextHelpID: number; /** usize */ - dwMenuData: Deno.PointerValue; + dwMenuData: bigint | number; } export const sizeofMENUINFO = 40; @@ -6335,7 +6335,7 @@ export class MENUINFOView { // 0x1c: pad4 // 0x20: usize - get dwMenuData(): Deno.PointerValue { + get dwMenuData(): bigint | number { return Number(this.view.getBigUint64(32, true)); } @@ -6372,7 +6372,7 @@ export class MENUINFOView { // 0x1c: pad4 // 0x20: usize - set dwMenuData(value: Deno.PointerValue) { + set dwMenuData(value: bigint | number) { this.view.setBigUint64(32, BigInt(value), true); } } @@ -6475,7 +6475,7 @@ export class MENUGETOBJECTINFOView { } } -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; /** * Windows.Win32.UI.WindowsAndMessaging.MENUITEMINFOA (size: 80) @@ -6498,7 +6498,7 @@ export interface MENUITEMINFOA { /** Windows.Win32.Graphics.Gdi.HBITMAP */ hbmpUnchecked: Uint8Array | Deno.PointerValue; /** usize */ - dwItemData: Deno.PointerValue; + dwItemData: bigint | number; /** Windows.Win32.Foundation.PSTR */ dwTypeData: string | null | Uint8Array; /** u32 */ @@ -6600,7 +6600,7 @@ export class MENUITEMINFOAView { } // 0x30: usize - get dwItemData(): Deno.PointerValue { + get dwItemData(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -6666,7 +6666,7 @@ export class MENUITEMINFOAView { } // 0x30: usize - set dwItemData(value: Deno.PointerValue) { + set dwItemData(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -6710,7 +6710,7 @@ export interface MENUITEMINFOW { /** Windows.Win32.Graphics.Gdi.HBITMAP */ hbmpUnchecked: Uint8Array | Deno.PointerValue; /** usize */ - dwItemData: Deno.PointerValue; + dwItemData: bigint | number; /** Windows.Win32.Foundation.PWSTR */ dwTypeData: string | null | Uint8Array | Uint16Array; /** u32 */ @@ -6812,7 +6812,7 @@ export class MENUITEMINFOWView { } // 0x30: usize - get dwItemData(): Deno.PointerValue { + get dwItemData(): bigint | number { return Number(this.view.getBigUint64(48, true)); } @@ -6878,7 +6878,7 @@ export class MENUITEMINFOWView { } // 0x30: usize - set dwItemData(value: Deno.PointerValue) { + set dwItemData(value: bigint | number) { this.view.setBigUint64(48, BigInt(value), true); } @@ -6912,7 +6912,7 @@ export interface DROPSTRUCT { /** u32 */ wFmt: number; /** usize */ - dwData: Deno.PointerValue; + dwData: bigint | number; /** Windows.Win32.Foundation.POINT */ ptDrop: Uint8Array | Deno.PointerValue; /** u32 */ @@ -6971,7 +6971,7 @@ export class DROPSTRUCTView { // 0x14: pad4 // 0x18: usize - get dwData(): Deno.PointerValue { + get dwData(): bigint | number { return Number(this.view.getBigUint64(24, true)); } @@ -7006,7 +7006,7 @@ export class DROPSTRUCTView { // 0x14: pad4 // 0x18: usize - set dwData(value: Deno.PointerValue) { + set dwData(value: bigint | number) { this.view.setBigUint64(24, BigInt(value), true); } @@ -7042,7 +7042,7 @@ export interface MSGBOXPARAMSA { /** Windows.Win32.Foundation.PSTR */ lpszIcon: string | null | Uint8Array; /** usize */ - dwContextHelpId: Deno.PointerValue; + dwContextHelpId: bigint | number; /** Windows.Win32.UI.WindowsAndMessaging.MSGBOXCALLBACK */ lpfnMsgBoxCallback: Uint8Array | Deno.PointerValue; /** u32 */ @@ -7144,7 +7144,7 @@ export class MSGBOXPARAMSAView { } // 0x38: usize - get dwContextHelpId(): Deno.PointerValue { + get dwContextHelpId(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -7204,7 +7204,7 @@ export class MSGBOXPARAMSAView { } // 0x38: usize - set dwContextHelpId(value: Deno.PointerValue) { + set dwContextHelpId(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -7240,7 +7240,7 @@ export interface MSGBOXPARAMSW { /** Windows.Win32.Foundation.PWSTR */ lpszIcon: string | null | Uint8Array | Uint16Array; /** usize */ - dwContextHelpId: Deno.PointerValue; + dwContextHelpId: bigint | number; /** Windows.Win32.UI.WindowsAndMessaging.MSGBOXCALLBACK */ lpfnMsgBoxCallback: Uint8Array | Deno.PointerValue; /** u32 */ @@ -7342,7 +7342,7 @@ export class MSGBOXPARAMSWView { } // 0x38: usize - get dwContextHelpId(): Deno.PointerValue { + get dwContextHelpId(): bigint | number { return Number(this.view.getBigUint64(56, true)); } @@ -7402,7 +7402,7 @@ export class MSGBOXPARAMSWView { } // 0x38: usize - set dwContextHelpId(value: Deno.PointerValue) { + set dwContextHelpId(value: bigint | number) { this.view.setBigUint64(56, BigInt(value), true); } @@ -8228,7 +8228,7 @@ export class SCROLLINFOView { // 0x1c: pad4 } -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; /** * Windows.Win32.UI.WindowsAndMessaging.MDICREATESTRUCTA (size: 56) @@ -11291,7 +11291,7 @@ export class MrmResourceIndexerMessageView { export type CHAR = number; -export type HRGN = Deno.PointerValue; +export type HRGN = bigint | number; export type HRESULT = number; @@ -12994,60 +12994,60 @@ export function LoadStringW( export function GetWindowLongPtrA( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: WINDOW_LONG_PTR_INDEX /* Windows.Win32.UI.WindowsAndMessaging.WINDOW_LONG_PTR_INDEX */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.GetWindowLongPtrA((hWnd), nIndex); } export function GetWindowLongPtrW( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: WINDOW_LONG_PTR_INDEX /* Windows.Win32.UI.WindowsAndMessaging.WINDOW_LONG_PTR_INDEX */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.GetWindowLongPtrW((hWnd), nIndex); } export function SetWindowLongPtrA( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: WINDOW_LONG_PTR_INDEX /* Windows.Win32.UI.WindowsAndMessaging.WINDOW_LONG_PTR_INDEX */, - dwNewLong: Deno.PointerValue /* isize */, -): Deno.PointerValue /* isize */ { + dwNewLong: bigint | number /* isize */, +): bigint | number /* isize */ { return libUSER32_dll.SetWindowLongPtrA((hWnd), nIndex, dwNewLong); } export function SetWindowLongPtrW( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: WINDOW_LONG_PTR_INDEX /* Windows.Win32.UI.WindowsAndMessaging.WINDOW_LONG_PTR_INDEX */, - dwNewLong: Deno.PointerValue /* isize */, -): Deno.PointerValue /* isize */ { + dwNewLong: bigint | number /* isize */, +): bigint | number /* isize */ { return libUSER32_dll.SetWindowLongPtrW((hWnd), nIndex, dwNewLong); } export function GetClassLongPtrA( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: GET_CLASS_LONG_INDEX /* Windows.Win32.UI.WindowsAndMessaging.GET_CLASS_LONG_INDEX */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libUSER32_dll.GetClassLongPtrA((hWnd), nIndex); } export function GetClassLongPtrW( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: GET_CLASS_LONG_INDEX /* Windows.Win32.UI.WindowsAndMessaging.GET_CLASS_LONG_INDEX */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libUSER32_dll.GetClassLongPtrW((hWnd), nIndex); } export function SetClassLongPtrA( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: GET_CLASS_LONG_INDEX /* Windows.Win32.UI.WindowsAndMessaging.GET_CLASS_LONG_INDEX */, - dwNewLong: Deno.PointerValue /* isize */, -): Deno.PointerValue /* usize */ { + dwNewLong: bigint | number /* isize */, +): bigint | number /* usize */ { return libUSER32_dll.SetClassLongPtrA((hWnd), nIndex, dwNewLong); } export function SetClassLongPtrW( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, nIndex: GET_CLASS_LONG_INDEX /* Windows.Win32.UI.WindowsAndMessaging.GET_CLASS_LONG_INDEX */, - dwNewLong: Deno.PointerValue /* isize */, -): Deno.PointerValue /* usize */ { + dwNewLong: bigint | number /* isize */, +): bigint | number /* usize */ { return libUSER32_dll.SetClassLongPtrW((hWnd), nIndex, dwNewLong); } @@ -13253,7 +13253,7 @@ export function SendMessageCallbackA( wParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.WPARAM */, lParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, lpResultCallBack: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.SENDASYNCPROC */, - dwData: Deno.PointerValue /* usize */, + dwData: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.SendMessageCallbackA((hWnd), Msg, util.toPointer(wParam), util.toPointer(lParam), util.toPointer(lpResultCallBack), dwData)); } @@ -13264,7 +13264,7 @@ export function SendMessageCallbackW( wParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.WPARAM */, lParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, lpResultCallBack: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.SENDASYNCPROC */, - dwData: Deno.PointerValue /* usize */, + dwData: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.SendMessageCallbackW((hWnd), Msg, util.toPointer(wParam), util.toPointer(lParam), util.toPointer(lpResultCallBack), dwData)); } @@ -13660,12 +13660,12 @@ export function SetWindowDisplayAffinity( export function BeginDeferWindowPos( nNumWindows: number /* i32 */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.BeginDeferWindowPos(nNumWindows); } export function DeferWindowPos( - hWinPosInfo: Deno.PointerValue /* isize */, + hWinPosInfo: bigint | number /* isize */, hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, hWndInsertAfter: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, x: number /* i32 */, @@ -13673,12 +13673,12 @@ export function DeferWindowPos( cx: number /* i32 */, cy: number /* i32 */, uFlags: SET_WINDOW_POS_FLAGS /* Windows.Win32.UI.WindowsAndMessaging.SET_WINDOW_POS_FLAGS */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.DeferWindowPos(hWinPosInfo, (hWnd), (hWndInsertAfter), x, y, cx, cy, uFlags); } export function EndDeferWindowPos( - hWinPosInfo: Deno.PointerValue /* isize */, + hWinPosInfo: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.EndDeferWindowPos(hWinPosInfo)); } @@ -13757,7 +13757,7 @@ export function DialogBoxParamA( hWndParent: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, lpDialogFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.DLGPROC */, dwInitParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.DialogBoxParamA(util.toPointer(hInstance), util.pstrToFfi(lpTemplateName), (hWndParent), util.toPointer(lpDialogFunc), util.toPointer(dwInitParam)); } @@ -13767,7 +13767,7 @@ export function DialogBoxParamW( hWndParent: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, lpDialogFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.DLGPROC */, dwInitParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.DialogBoxParamW(util.toPointer(hInstance), util.pwstrToFfi(lpTemplateName), (hWndParent), util.toPointer(lpDialogFunc), util.toPointer(dwInitParam)); } @@ -13777,7 +13777,7 @@ export function DialogBoxIndirectParamA( hWndParent: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, lpDialogFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.DLGPROC */, dwInitParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.DialogBoxIndirectParamA(util.toPointer(hInstance), util.toPointer(hDialogTemplate), (hWndParent), util.toPointer(lpDialogFunc), util.toPointer(dwInitParam)); } @@ -13787,13 +13787,13 @@ export function DialogBoxIndirectParamW( hWndParent: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, lpDialogFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.DLGPROC */, dwInitParam: Uint8Array | Deno.PointerValue /* Windows.Win32.Foundation.LPARAM */, -): Deno.PointerValue /* isize */ { +): bigint | number /* isize */ { return libUSER32_dll.DialogBoxIndirectParamW(util.toPointer(hInstance), util.toPointer(hDialogTemplate), (hWndParent), util.toPointer(lpDialogFunc), util.toPointer(dwInitParam)); } export function EndDialog( hDlg: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, - nResult: Deno.PointerValue /* isize */, + nResult: bigint | number /* isize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.EndDialog((hDlg), nResult)); } @@ -14164,26 +14164,26 @@ export function MsgWaitForMultipleObjectsEx( export function SetTimer( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, - nIDEvent: Deno.PointerValue /* usize */, + nIDEvent: bigint | number /* usize */, uElapse: number /* u32 */, lpTimerFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.TIMERPROC */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libUSER32_dll.SetTimer((hWnd), nIDEvent, uElapse, util.toPointer(lpTimerFunc)); } export function SetCoalescableTimer( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, - nIDEvent: Deno.PointerValue /* usize */, + nIDEvent: bigint | number /* usize */, uElapse: number /* u32 */, lpTimerFunc: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.TIMERPROC */, uToleranceDelay: number /* u32 */, -): Deno.PointerValue /* usize */ { +): bigint | number /* usize */ { return libUSER32_dll.SetCoalescableTimer((hWnd), nIDEvent, uElapse, util.toPointer(lpTimerFunc), uToleranceDelay); } export function KillTimer( hWnd: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, - uIDEvent: Deno.PointerValue /* usize */, + uIDEvent: bigint | number /* usize */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.KillTimer((hWnd), uIDEvent)); } @@ -14429,7 +14429,7 @@ export function InsertMenuA( hMenu: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HMENU */, uPosition: number /* u32 */, uFlags: MENU_ITEM_FLAGS /* Windows.Win32.UI.WindowsAndMessaging.MENU_ITEM_FLAGS */, - uIDNewItem: Deno.PointerValue /* usize */, + uIDNewItem: bigint | number /* usize */, lpNewItem: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.InsertMenuA(util.toPointer(hMenu), uPosition, uFlags, uIDNewItem, util.pstrToFfi(lpNewItem))); @@ -14439,7 +14439,7 @@ export function InsertMenuW( hMenu: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HMENU */, uPosition: number /* u32 */, uFlags: MENU_ITEM_FLAGS /* Windows.Win32.UI.WindowsAndMessaging.MENU_ITEM_FLAGS */, - uIDNewItem: Deno.PointerValue /* usize */, + uIDNewItem: bigint | number /* usize */, lpNewItem: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.InsertMenuW(util.toPointer(hMenu), uPosition, uFlags, uIDNewItem, util.pwstrToFfi(lpNewItem))); @@ -14448,7 +14448,7 @@ export function InsertMenuW( export function AppendMenuA( hMenu: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HMENU */, uFlags: MENU_ITEM_FLAGS /* Windows.Win32.UI.WindowsAndMessaging.MENU_ITEM_FLAGS */, - uIDNewItem: Deno.PointerValue /* usize */, + uIDNewItem: bigint | number /* usize */, lpNewItem: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.AppendMenuA(util.toPointer(hMenu), uFlags, uIDNewItem, util.pstrToFfi(lpNewItem))); @@ -14457,7 +14457,7 @@ export function AppendMenuA( export function AppendMenuW( hMenu: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HMENU */, uFlags: MENU_ITEM_FLAGS /* Windows.Win32.UI.WindowsAndMessaging.MENU_ITEM_FLAGS */, - uIDNewItem: Deno.PointerValue /* usize */, + uIDNewItem: bigint | number /* usize */, lpNewItem: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.AppendMenuW(util.toPointer(hMenu), uFlags, uIDNewItem, util.pwstrToFfi(lpNewItem))); @@ -14467,7 +14467,7 @@ export function ModifyMenuA( hMnu: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HMENU */, uPosition: number /* u32 */, uFlags: MENU_ITEM_FLAGS /* Windows.Win32.UI.WindowsAndMessaging.MENU_ITEM_FLAGS */, - uIDNewItem: Deno.PointerValue /* usize */, + uIDNewItem: bigint | number /* usize */, lpNewItem: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.ModifyMenuA(util.toPointer(hMnu), uPosition, uFlags, uIDNewItem, util.pstrToFfi(lpNewItem))); @@ -14477,7 +14477,7 @@ export function ModifyMenuW( hMnu: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HMENU */, uPosition: number /* u32 */, uFlags: MENU_ITEM_FLAGS /* Windows.Win32.UI.WindowsAndMessaging.MENU_ITEM_FLAGS */, - uIDNewItem: Deno.PointerValue /* usize */, + uIDNewItem: bigint | number /* usize */, lpNewItem: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, ): boolean /* Windows.Win32.Foundation.BOOL */ { return util.boolFromFfi(libUSER32_dll.ModifyMenuW(util.toPointer(hMnu), uPosition, uFlags, uIDNewItem, util.pwstrToFfi(lpNewItem))); @@ -14655,7 +14655,7 @@ export function DragObject( hwndParent: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, hwndFrom: Deno.PointerValue /* Windows.Win32.Foundation.HWND */, fmt: number /* u32 */, - data: Deno.PointerValue /* usize */, + data: bigint | number /* usize */, hcur: Uint8Array | Deno.PointerValue /* Windows.Win32.UI.WindowsAndMessaging.HCURSOR */, ): number /* u32 */ { return libUSER32_dll.DragObject((hwndParent), (hwndFrom), fmt, data, util.toPointer(hcur)); diff --git a/api/UI/Xaml/Diagnostics.ts b/api/UI/Xaml/Diagnostics.ts index 2b059da..373b5fe 100644 --- a/api/UI/Xaml/Diagnostics.ts +++ b/api/UI/Xaml/Diagnostics.ts @@ -285,9 +285,9 @@ export class SourceInfoView { */ export interface ParentChildRelation { /** u64 */ - Parent: Deno.PointerValue; + Parent: bigint | number; /** u64 */ - Child: Deno.PointerValue; + Child: bigint | number; /** u32 */ ChildIndex: number; } @@ -318,12 +318,12 @@ export class ParentChildRelationView { } // 0x00: u64 - get Parent(): Deno.PointerValue { + get Parent(): bigint | number { return Number(this.view.getBigUint64(0, true)); } // 0x08: u64 - get Child(): Deno.PointerValue { + get Child(): bigint | number { return Number(this.view.getBigUint64(8, true)); } @@ -335,12 +335,12 @@ export class ParentChildRelationView { // 0x14: pad4 // 0x00: u64 - set Parent(value: Deno.PointerValue) { + set Parent(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } // 0x08: u64 - set Child(value: Deno.PointerValue) { + set Child(value: bigint | number) { this.view.setBigUint64(8, BigInt(value), true); } @@ -357,7 +357,7 @@ export class ParentChildRelationView { */ export interface VisualElement { /** u64 */ - Handle: Deno.PointerValue; + Handle: bigint | number; /** Windows.Win32.UI.Xaml.Diagnostics.SourceInfo */ SrcInfo: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BSTR */ @@ -398,7 +398,7 @@ export class VisualElementView { } // 0x00: u64 - get Handle(): Deno.PointerValue { + get Handle(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -428,7 +428,7 @@ export class VisualElementView { // 0x24: pad4 // 0x00: u64 - set Handle(value: Deno.PointerValue) { + set Handle(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -460,7 +460,7 @@ export class VisualElementView { */ export interface PropertyChainSource { /** u64 */ - Handle: Deno.PointerValue; + Handle: bigint | number; /** Windows.Win32.Foundation.BSTR */ TargetType: Uint8Array | Deno.PointerValue; /** Windows.Win32.Foundation.BSTR */ @@ -501,7 +501,7 @@ export class PropertyChainSourceView { } // 0x00: u64 - get Handle(): Deno.PointerValue { + get Handle(): bigint | number { return Number(this.view.getBigUint64(0, true)); } @@ -531,7 +531,7 @@ export class PropertyChainSourceView { } // 0x00: u64 - set Handle(value: Deno.PointerValue) { + set Handle(value: bigint | number) { this.view.setBigUint64(0, BigInt(value), true); } @@ -579,7 +579,7 @@ export interface PropertyChainValue { /** Windows.Win32.Foundation.BOOL */ Overridden: boolean; /** i64 */ - MetadataBits: Deno.PointerValue; + MetadataBits: bigint | number; /** Windows.Win32.Foundation.BSTR */ PropertyName: Uint8Array | Deno.PointerValue; /** u32 */ @@ -672,7 +672,7 @@ export class PropertyChainValueView { // 0x34: pad4 // 0x38: i64 - get MetadataBits(): Deno.PointerValue { + get MetadataBits(): bigint | number { return Number(this.view.getBigInt64(56, true)); } @@ -729,7 +729,7 @@ export class PropertyChainValueView { // 0x34: pad4 // 0x38: i64 - set MetadataBits(value: Deno.PointerValue) { + set MetadataBits(value: bigint | number) { this.view.setBigInt64(56, BigInt(value), true); } @@ -827,7 +827,7 @@ export interface CollectionElementValue { /** Windows.Win32.Foundation.BSTR */ Value: Uint8Array | Deno.PointerValue; /** i64 */ - MetadataBits: Deno.PointerValue; + MetadataBits: bigint | number; } export const sizeofCollectionElementValue = 32; @@ -877,7 +877,7 @@ export class CollectionElementValueView { } // 0x18: i64 - get MetadataBits(): Deno.PointerValue { + get MetadataBits(): bigint | number { return Number(this.view.getBigInt64(24, true)); } @@ -899,7 +899,7 @@ export class CollectionElementValueView { } // 0x18: i64 - set MetadataBits(value: Deno.PointerValue) { + set MetadataBits(value: bigint | number) { this.view.setBigInt64(24, BigInt(value), true); } } diff --git a/api/Web/MsHtml.ts b/api/Web/MsHtml.ts index 9393dba..f9dc757 100644 --- a/api/Web/MsHtml.ts +++ b/api/Web/MsHtml.ts @@ -9345,7 +9345,7 @@ export class HTML_PAINT_XFORMView { } } -export type HRGN = Deno.PointerValue; +export type HRGN = bigint | number; /** * Windows.Win32.Web.MsHtml.HTML_PAINT_DRAW_INFO (size: 24) @@ -9900,7 +9900,7 @@ export class STATURLView { // 0x34: pad4 } -export type HWND = Deno.PointerValue; +export type HWND = bigint | number; export type PSTR = Deno.PointerValue | Uint8Array; @@ -9908,11 +9908,11 @@ export type BOOL = number; export type HRESULT = number; -export type HANDLE = Deno.PointerValue; +export type HANDLE = bigint | number; -export type HINSTANCE = Deno.PointerValue; +export type HINSTANCE = bigint | number; -export type HBITMAP = Deno.PointerValue; +export type HBITMAP = bigint | number; // Native Libraries @@ -10136,7 +10136,7 @@ export function RatingObtainCancel( export function RatingObtainQuery( pszTargetUrl: string | null | Uint8Array /* Windows.Win32.Foundation.PSTR */, dwUserData: number /* u32 */, - fCallback: Deno.PointerValue /* isize */, + fCallback: bigint | number /* isize */, phRatingObtainQuery: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMSRATING_dll.RatingObtainQuery(util.pstrToFfi(pszTargetUrl), dwUserData, fCallback, util.toPointer(phRatingObtainQuery)); @@ -10145,7 +10145,7 @@ export function RatingObtainQuery( export function RatingObtainQueryW( pszTargetUrl: string | null | Uint8Array | Uint16Array /* Windows.Win32.Foundation.PWSTR */, dwUserData: number /* u32 */, - fCallback: Deno.PointerValue /* isize */, + fCallback: bigint | number /* isize */, phRatingObtainQuery: Deno.PointerValue | Uint8Array /* ptr */, ): Deno.PointerValue /* Windows.Win32.Foundation.HRESULT */ { return libMSRATING_dll.RatingObtainQueryW(util.pwstrToFfi(pszTargetUrl), dwUserData, fCallback, util.toPointer(phRatingObtainQuery)); diff --git a/generator/gen.ts b/generator/gen.ts index b113c78..1b50ccb 100644 --- a/generator/gen.ts +++ b/generator/gen.ts @@ -107,7 +107,7 @@ function typeToJS(ty: string, result = false) { case "i64": case "isize": case "usize": - return "Deno.PointerValue"; + return "bigint | number"; case "f32": case "f64": return "number";