![]() |
(SST) ShlWAPI.pas Version 1.08 |
---|---|
Developer Reference |
Does something. |
Information |
![]() |
||||||
---|---|---|---|---|---|---|---|
![]() |
|||||||
|
Scope |
---|
Global (i.e. this function can be called/accessed from code in any unit that includes/uses (SST)ShlWAPI.pas). |
Syntax | |
---|---|
![]() |
function SHRegSetPath(keyh : HKEY; pcszSubKey : LPCSTR; pcszValue : LPCSTR; pcszPath : LPCSTR; dwFlags : DWORD) : LSTATUS; |
Parameters | |
---|---|
keyh [in] | |
pcszSubKey [in] | |
pcszValue [in] | |
pcszPath [in] | |
dwFlags | Reserved. |
Return Values | |
---|---|
Always returns 0. |
Remarks |
---|
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. |
Example |
---|
Sample code |
Requirements | |
---|---|
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 May 04, 2022 |
Copyright © Stoelzel Software Technologie (SST) 2010 - 2015 |
Suggestions and comments mail to: webmaster@stoelzelsoftwaretech.com |