WinQueryProfileData: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
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] | |||
==Syntax== | |||
WinQueryProfileData ( HAB , PSZ , PSZ , PVOID , PUSHORT ); | WinQueryProfileData ( HAB , PSZ , PSZ , PVOID , PUSHORT ); | ||
==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). | |||
[[Category:Win]] |
Revision as of 04:39, 17 November 2023
This function is used to get a string from the OS2 INI file.
Replaced by PfrQueryProfileData since OS/2 1.2 [1]
Syntax
WinQueryProfileData ( HAB , PSZ , PSZ , PVOID , PUSHORT );
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).