Jump to content

WinQueryProfileData

From EDM2
Revision as of 22:46, 8 December 2023 by Ak120 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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).