Jump to content

WinQueryProfileData: Difference between revisions

From EDM2
Created page with "Replaced by PfrQueryProfileData since OS/2 1.2 [https://books.google.com.ec/books?id=cSMUxSP5pKgC&pg=PT434&lpg=PT434&dq=WinQueryProfileData+replacement&source=bl&ots=bOAEnAREE..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
Replaced by PfrQueryProfileData since OS/2 1.2 [https://books.google.com.ec/books?id=cSMUxSP5pKgC&pg=PT434&lpg=PT434&dq=WinQueryProfileData+replacement&source=bl&ots=bOAEnAREEb&sig=ACfU3U1RcnHuv0N7KXT_VJnNwWV0uC4OuA&hl=es-419&sa=X&ved=2ahUKEwj918iO7cmCAxVjRTABHdJNA34Q6AF6BAgKEAM#v=onepage&q=WinQueryProfileData%20replacement&f=false]
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).
 
[[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).