Jump to content

WinQueryProfileData: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
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 [[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]
Replaced by [[PrfQueryProfileData]] since OS/2 1.2


==Syntax==
==Syntax==
  WinQueryProfileData ( HAB , PSZ , PSZ , PVOID , PUSHORT );
  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==
WinQueryProfileData Returns a success/failure indicator (BOOL).
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).