From c7cb8bd32c9c8ad50decde4f172aeacb43c26fea Mon Sep 17 00:00:00 2001 From: waiting <1661926154@qq.com> Date: Sun, 24 Jul 2022 17:31:28 +0800 Subject: [PATCH] chore(win32-def): update type of DATATYPES_INFO_1, PRINTPROCESSOR_INFO_1 --- packages/win32-def/src/lib/struct/winspool.types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/win32-def/src/lib/struct/winspool.types.ts b/packages/win32-def/src/lib/struct/winspool.types.ts index 9d393f14..43847111 100644 --- a/packages/win32-def/src/lib/struct/winspool.types.ts +++ b/packages/win32-def/src/lib/struct/winspool.types.ts @@ -14,7 +14,7 @@ import { DEVMODEW } from './wingdi.types.js' * @docs https://docs.microsoft.com/en-us/windows/win32/printdocs/datatypes-info-1 */ export interface DATATYPES_INFO_1 extends StructInstanceBase { - pName: Buffer + pName: WCHAR_String } export type PDATATYPES_INFO_1 = _POINTER @@ -34,7 +34,7 @@ export type PDOC_INFO_1 = _POINTER * @docs https://docs.microsoft.com/zh-cn/windows/win32/printdocs/printprocessor-info-1 */ export interface PRINTPROCESSOR_INFO_1 extends StructInstanceBase { - pName: Buffer + pName: WCHAR_String } export type PPRINTPROCESSOR_INFO_1 = _POINTER