(SST) ShlWAPI.pas Version 1.08

Developer Reference
(SST)ShlWAPI SHRegSetPath Function
Does something.
Information X
Sorry, this page is still under construction!
We are currently still in the process of designing and completing this page. However, we've completed many other pages.
To avoid opening pages in various stages prior to completion inadvertently, please refer to the Title Index page.
Global (i.e. this function can be called/accessed from code in any unit that includes/uses (SST)ShlWAPI.pas).
function SHRegSetPath(keyh : HKEY; pcszSubKey : LPCSTR; pcszValue : LPCSTR; pcszPath : LPCSTR; dwFlags : DWORD) : LSTATUS;
keyh [in]  
pcszSubKey [in]  
pcszValue [in]  
pcszPath [in]  
dwFlags Reserved.
Return Values
Always returns 0.  
Contrary to the documentation, which states that the function is supported as of ShlWAPI.dll version 5.0 under all version 4 and later Windows OS (including the 9x series and NT 4.0), it is not exported by name prior to Windows 2000, and info. on an ordinal, by means of which the it can be accessed otherwise, seems not to have been provided. Furthermore, the function prototype is declared without any version requirement (i.e. no "#if () ... #endif"), which should normally mean that the function is supported as of ShlWAPI.dll version 4.71.
Remark 2.
Sample code
Unit: Declared and imported in (SST)ShlWAPI.pas
Library: (SST)ShlWAPI.dcu/(SST)ShlWAPI.obj
Unicode: Implemented as ANSI (SHRegSetPath and SHRegSetPathA) and Unicode (SHRegSetPathW) functions.
Min. ShlWAPI.dll version according to MS SDK doc.: 5.0
Min. ShlWAPI.dll version based on SST research: 5.0
Min. OS version(s) according to Microsoft SDK doc.: Windows NT 4.0 with IE 5, Windows 98, Windows 95 with IE 5, Windows 2000
Min. OS version(s) according to SST research.: Windows 2000 and later
See Also
TSSTNewClass.Create, SSTNewUnit,
Windows APIs: GetLastError, SetLastError

Document/Contents version 1.00
Page/URI last updated on 07.12.2023
Copyright © Stoelzel Software Technologie (SST) 2010 - 2015
Suggestions and comments mail to: