Win32 API 日本語リファレンス
ホームUI.Controls.Dialogs › OPENFILENAME_NT4W

OPENFILENAME_NT4W

構造体
サイズx64: 124 バイト / x86: 76 バイトパッキング1

サイズ=各フィールドのバイト数(x64/x86 で異なる場合は x64/x86 と併記)。x64/x86 列=フィールドのバイトオフセット(HSPで dupptr / lpoke / wpoke 等に使用)。

フィールド

フィールドサイズx64x86
lStructSizeDWORD4+0+0
hwndOwnerHWND8/4+4+4
hInstanceHINSTANCE8/4+12+8
lpstrFilterLPWSTR8/4+20+12
lpstrCustomFilterLPWSTR8/4+28+16
nMaxCustFilterDWORD4+36+20
nFilterIndexDWORD4+40+24
lpstrFileLPWSTR8/4+44+28
nMaxFileDWORD4+52+32
lpstrFileTitleLPWSTR8/4+56+36
nMaxFileTitleDWORD4+64+40
lpstrInitialDirLPWSTR8/4+68+44
lpstrTitleLPWSTR8/4+76+48
FlagsDWORD4+84+52
nFileOffsetWORD2+88+56
nFileExtensionWORD2+90+58
lpstrDefExtLPWSTR8/4+92+60
lCustDataLPARAM8/4+100+64
lpfnHookLPOFNHOOKPROC8/4+108+68
lpTemplateNameLPWSTR8/4+116+72