Comparing version
import { Def } from './def.enum.js'; | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/secauthz/access-mask-format | ||
*/ | ||
export declare const ACCESS_MASK = Def.int32; | ||
export declare const ATOM = Def.uint16; | ||
@@ -3,0 +7,0 @@ export declare const DWORD = Def.uint32; |
@@ -6,2 +6,6 @@ // windows data types for ref module https://github.com/TooTallNate/ref | ||
const { _WIN64 } = config; | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/secauthz/access-mask-format | ||
*/ | ||
export const ACCESS_MASK = Def.int32; | ||
export const ATOM = Def.uint16; | ||
@@ -8,0 +12,0 @@ export const DWORD = Def.uint32; |
@@ -8,2 +8,6 @@ /// <reference types="node" resolution-mode="require"/> | ||
export declare type PTR_Addr = number | BigIntStr; | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/secauthz/access-mask-format | ||
*/ | ||
export declare type ACCESS_MASK = number; | ||
export declare type ATOM = number; | ||
@@ -10,0 +14,0 @@ export declare type DWORD = number; |
@@ -22,2 +22,9 @@ /** | ||
}; | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export declare const POINTL: { | ||
readonly x: import("../def.enum.js").Def.long; | ||
readonly y: import("../def.enum.js").Def.long; | ||
}; | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -24,0 +31,0 @@ export declare const ALTTABINFO: { |
@@ -25,2 +25,9 @@ /* eslint-disable id-length */ | ||
}; | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export const POINTL = { | ||
x: LONG, | ||
y: LONG, | ||
}; | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -27,0 +34,0 @@ export const ALTTABINFO = { |
@@ -19,2 +19,10 @@ import { ATOM, BYTE, DWORD, HANDLE, HBRUSH, HCURSOR, HICON, HINSTANCE, HWND, INT, LONG, LPARAM, LPCTSTR, _POINTER, PVOID, PWSTR, UINT, ULONG, ULONG_PTR, USHORT, VOID, WNDPROC, WORD, WPARAM, StructInstanceBase } from '../common.types.js'; | ||
} | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export interface POINTL extends StructInstanceBase { | ||
x: LONG; | ||
y: LONG; | ||
} | ||
export declare type PPOINTL = _POINTER; | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -21,0 +29,0 @@ export interface ALTTABINFO extends StructInstanceBase { |
import { Def } from '../def.enum.js'; | ||
/** https://msdn.microsoft.com/en-us/library/windows/desktop/dd162805(v=vs.85).aspx */ | ||
export declare const POINT = Def.ptr; | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export declare const POINTL = Def.ptr; | ||
export declare const PPOINTL = Def.ptr; | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -5,0 +10,0 @@ export declare const ALTTABINFO = Def.ptr; |
import { Def } from '../def.enum.js'; | ||
/** https://msdn.microsoft.com/en-us/library/windows/desktop/dd162805(v=vs.85).aspx */ | ||
export const POINT = Def.ptr; | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export const POINTL = Def.ptr; | ||
export const PPOINTL = Def.ptr; | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -5,0 +10,0 @@ export const ALTTABINFO = Def.ptr; |
{ | ||
"name": "win32-def", | ||
"author": "waiting", | ||
"version": "13.8.0", | ||
"version": "13.11.0", | ||
"description": "win32 definitions for node-ffi", | ||
@@ -99,3 +99,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "bf04142915b9adfcef1a2c2290668a7d8206d1d7" | ||
"gitHead": "238794e54af1416b3e1e5ebdbe1af67274eb1fa9" | ||
} |
@@ -10,2 +10,6 @@ // windows data types for ref module https://github.com/TooTallNate/ref | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/secauthz/access-mask-format | ||
*/ | ||
export const ACCESS_MASK = Def.int32 | ||
export const ATOM = Def.uint16 | ||
@@ -12,0 +16,0 @@ export const DWORD = Def.uint32 |
@@ -16,2 +16,6 @@ /* ---------- data types for TypeScript ----------- */ | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/secauthz/access-mask-format | ||
*/ | ||
export type ACCESS_MASK = number | ||
export type ATOM = number // uint16 | ||
@@ -18,0 +22,0 @@ export type DWORD = number |
@@ -53,2 +53,10 @@ /* eslint-disable id-length */ | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export const POINTL = { | ||
x: LONG, | ||
y: LONG, | ||
} as const | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -55,0 +63,0 @@ export const ALTTABINFO = { |
@@ -50,2 +50,11 @@ import { | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export interface POINTL extends StructInstanceBase { | ||
x: LONG | ||
y: LONG | ||
} | ||
export type PPOINTL = _POINTER | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -52,0 +61,0 @@ export interface ALTTABINFO extends StructInstanceBase { |
@@ -7,2 +7,8 @@ import { Def } from '../def.enum.js' | ||
/** | ||
* @link https://docs.microsoft.com/en-us/windows/win32/api/windef/ns-windef-pointl | ||
*/ | ||
export const POINTL = Def.ptr | ||
export const PPOINTL = Def.ptr | ||
/** https://docs.microsoft.com/zh-cn/windows/win32/api/winuser/ns-winuser-alttabinfo */ | ||
@@ -9,0 +15,0 @@ export const ALTTABINFO = Def.ptr |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
289423
1.19%6189
1.64%