WinWriteProfileData: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
This function is used to write a string for a program into the OS2 INI file. | This function is used to write a string for a program into the OS2.INI file. | ||
Replaced with [[PrfWriteProfileData]]. | Replaced with [[PrfWriteProfileData]]. | ||
==Syntax== | ==Syntax== | ||
WinWriteProfileData( | WinWriteProfileData(hab, pszAppName, pszKeyName, pValue, usSize) | ||
==Parameters== | ==Parameters== | ||
;HAB | ;hab (HAB):The anchor block handle | ||
:The anchor block handle | ;pszAppName (PSZ):Application name | ||
;pszKeyName (PSZ):Key name string | |||
;PSZ | ;pValue (PVOID):Pointer to the key value | ||
:Application name | ;usSize (USHORT):Length of the key value data | ||
;PSZ | |||
:Key name string | |||
;PVOID | |||
:Pointer to the key value | |||
;USHORT | |||
:Length of the key value data | |||
==Returns== | ==Returns== | ||
Returns a success/failure indicator (BOOL). | Returns a success/failure indicator (BOOL). | ||
[[Category:Win]] | [[Category:Win]] |
Latest revision as of 22:00, 24 November 2023
This function is used to write a string for a program into the OS2.INI file.
Replaced with PrfWriteProfileData.
Syntax
WinWriteProfileData(hab, pszAppName, pszKeyName, pValue, usSize)
Parameters
- hab (HAB)
- The anchor block handle
- pszAppName (PSZ)
- Application name
- pszKeyName (PSZ)
- Key name string
- pValue (PVOID)
- Pointer to the key value
- usSize (USHORT)
- Length of the key value data
Returns
Returns a success/failure indicator (BOOL).