mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 15:36:42 +00:00
[REACTOS] Use explicit StringCb*W() (#2069)
This commit is contained in:
parent
f3af9cfcf1
commit
0f92924a99
8 changed files with 23 additions and 22 deletions
|
@ -43,8 +43,8 @@ OpenShellFolder(LPWSTR lpFolderCLSID)
|
|||
* Open a shell folder using "explorer.exe". The passed CLSIDs
|
||||
* are all subfolders of the "Control Panel" shell folder.
|
||||
*/
|
||||
StringCbCopy(szParameters, sizeof(szParameters), L"/n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}");
|
||||
StringCbCat(szParameters,sizeof(szParameters), lpFolderCLSID);
|
||||
StringCbCopyW(szParameters, sizeof(szParameters), L"/n,::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}");
|
||||
StringCbCatW(szParameters, sizeof(szParameters), lpFolderCLSID);
|
||||
|
||||
return (INT_PTR)ShellExecuteW(NULL,
|
||||
L"open",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue