Yoshimura
May 17th, 1999, 04:59 AM
Hi,
I wrote my program alog with Win32 SDK, but could not find expected result.
Please see the following code.
SHFILEOPSTRUCT shfs;
ZeroMemory(&shfs, sizeof(SHFILEOPSTRUCT));
shfs.hwnd = NULL;
shfs.fFlags = FOF_RENAMEONCOLLISION|FOF_WANTMAPPINGHANDLE;
shfs.wFunc = FO_COPY;
shfs.pFrom = LPSTR *;
shfs.pTo = LPSTR *;
::SHFileOperation(&shfs);
At this point, I wanted SHNAMEMAPPING handle in the flag of shfs.hNameMappings.
But it was NULL.
Could anyone give me a suggestion?
Thank you.
Yasuhiko Yoshimura
I wrote my program alog with Win32 SDK, but could not find expected result.
Please see the following code.
SHFILEOPSTRUCT shfs;
ZeroMemory(&shfs, sizeof(SHFILEOPSTRUCT));
shfs.hwnd = NULL;
shfs.fFlags = FOF_RENAMEONCOLLISION|FOF_WANTMAPPINGHANDLE;
shfs.wFunc = FO_COPY;
shfs.pFrom = LPSTR *;
shfs.pTo = LPSTR *;
::SHFileOperation(&shfs);
At this point, I wanted SHNAMEMAPPING handle in the flag of shfs.hNameMappings.
But it was NULL.
Could anyone give me a suggestion?
Thank you.
Yasuhiko Yoshimura