SHFileOperation 関数によって移動・コピー・名前変更されたファイルの古いファイル名と新しいファイル名が指定されます。
typedef struct _SHNAMEMAPPING { LPTSTR pszOldPath; LPTSTR pszNewPath; int cchOldPath; int cchNewPath; } SHNAMEMAPPING, *LPSHNAMEMAPPING;
古いファイル名を含むバッファのアドレスが格納されます。
新しいファイル名を含むバッファのアドレスが格納されます。
pszOldPath メンバで指定されたファイル名の文字列サイズがバイト数(Unicode 版の場合は文字数)で格納されます。
pszNewPath メンバで指定されたファイル名の文字列サイズがバイト数(Unicode 版の場合は文字数)で格納されます。
Shell32.dll Version 4.00 以降
Windows 95 以降 / Windows NT 4.0 以降
HSP 変数 | メンバ | ||
---|---|---|---|
メンバ名 | オフセット | サイズ | |
shnm.0 | pszOldPath | 0 | 4 |
shnm.1 | pszNewPath | 4 | 4 |
shnm.2 | cchOldPath | 8 | 4 |
shnm.3 | cchNewPath | 12 | 4 |