WinQueryProfileData: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
This function is used to get a string from the OS2 INI file. | This function is used to get a string from the OS2 INI file. | ||
Replaced by [[ | Replaced by [[PrfQueryProfileData]] since OS/2 1.2 | ||
==Syntax== | ==Syntax== | ||
WinQueryProfileData ( | WinQueryProfileData ( ''hab'', ''pszAppName'', ''pszKeyName'', ''pValue'', ''pusSize'' ) | ||
==Parameters== | ==Parameters== | ||
;HAB | ;hab (HAB):The anchor block handle | ||
:The anchor block handle | ;pszAppName (PSZ): Program name string | ||
;pszKeyName (PSZ):Key for which text is desired | |||
;PSZ | ;pValue (PVOID):The returned data | ||
: Program name string | ;pusSize (PUSHORT):The size of the returned data | ||
;PSZ | |||
:Key for which text is desired | |||
;PVOID | |||
:The returned data | |||
;PUSHORT | |||
:The size of the returned data | |||
==Return== | ==Return== | ||
Returns a success/failure indicator (BOOL). | |||
[[Category:Win]] | [[Category:Win]] |
Latest revision as of 22:46, 8 December 2023
This function is used to get a string from the OS2 INI file.
Replaced by PrfQueryProfileData since OS/2 1.2
Syntax
WinQueryProfileData ( hab, pszAppName, pszKeyName, pValue, pusSize )
Parameters
- hab (HAB)
- The anchor block handle
- pszAppName (PSZ)
- Program name string
- pszKeyName (PSZ)
- Key for which text is desired
- pValue (PVOID)
- The returned data
- pusSize (PUSHORT)
- The size of the returned data
Return
Returns a success/failure indicator (BOOL).