Skip to content

Commit 6423edc

Browse files
committed
feat(def): add DLGPROC
1 parent 9396a47 commit 6423edc

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/win32-def/src/lib/common.def.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ export const USN: Def.longlong = LONGLONG
202202
export const WINEVENTPROC: Def.uint32Ptr | Def.uint64Ptr = ptr
203203
export const WNDENUMPROC: Def.uint32Ptr | Def.uint64Ptr = ptr
204204
export const WNDPROC: Def.voidPtr = Def.voidPtr
205+
export const DLGPROC: Def.voidPtr = Def.voidPtr
205206

206207
/**
207208
* Note: original be typedef UINT_PTR WPARAM;

packages/win32-def/src/lib/common.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export type CCHAR = UINT8
4747
export type CHAR = UINT8
4848
export type COLORREF = number
4949

50+
export type DLGPROC = CALLBACK
5051
export type DWORDLONG = number
5152
export type DWORD_PTR = ULONG_PTR
5253
export type DWORD32 = number

0 commit comments

Comments
 (0)