Jump to content

WinQueryProfileSize: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
This function is used to get the size of a specified entry from an OS2 INI.  
This function is used to get the size of a specified entry from an OS2.INI.


Replaced by [[PrfQueryProfileSize]].  
Replaced by [[PrfQueryProfileSize]].


==Syntax==
==Syntax==
  WinQueryProfileSize(HAB ''hab'', PSZ ''pszAppName'', PSZ ''pszKeyName'', PUSHORT ''pusValue'');
  WinQueryProfileSize(hab, pszAppName, pszKeyName, pusValue)


==Parameters==
==Parameters==
;HAB  
;hab (HAB):The anchor block handle
:The anchor block handle  
;pszAppName (PSZ):Program name string
 
;pszKeyName (PSZ):Key for which profile length is desired
;PSZ  
;pusValue (PUSHORT):Size of the returned data
:Program name string  
 
;PSZ  
:Key for which profile length is desired  
 
;PUSHORT  
:Size of the returned data  


==Returns==
==Returns==
Returns a success/failure code (USHORT).
Returns a success/failure code (USHORT).


[[Category:Win]]
[[Category:Win]]

Latest revision as of 22:08, 24 November 2023

This function is used to get the size of a specified entry from an OS2.INI.

Replaced by PrfQueryProfileSize.

Syntax

WinQueryProfileSize(hab, pszAppName, pszKeyName, pusValue)

Parameters

hab (HAB)
The anchor block handle
pszAppName (PSZ)
Program name string
pszKeyName (PSZ)
Key for which profile length is desired
pusValue (PUSHORT)
Size of the returned data

Returns

Returns a success/failure code (USHORT).