Jump to content

WinQueryProfileData

From EDM2
Revision as of 14:38, 24 November 2023 by Martini (talk | contribs)

This function is used to get a string from the OS2 INI file.

Replaced by PrfQueryProfileData since OS/2 1.2 [1]

Syntax

WinQueryProfileData ( HAB hab, PSZ pszAppName, PSZ pszKeyName, PVOID pvoidRet, PUSHORT pushortRet );

Parameters

HAB
The anchor block handle
PSZ
Program name string
PSZ
Key for which text is desired
PVOID
The returned data
PUSHORT
The size of the returned data

Return

WinQueryProfileData Returns a success/failure indicator (BOOL).