Jump to content

WinWriteProfileData: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 1: Line 1:
Not able to find documentation about it yet. Replaced with [[PrfWriteProfileData]].
This function is used to write a string for a program into the OS2 INI file.  
 
Replaced with [[PrfWriteProfileData]].


==Syntax==
==Syntax==
  WinWriteProfileData(HAB hab, PSZ pszAppName, PSZ pszKeyName, PVOID pValue, USHORT usSize);
  WinWriteProfileData(HAB hab, PSZ pszAppName, PSZ pszKeyName, PVOID pValue, USHORT usSize);
==Parameters==
;HAB
:The anchor block handle
;PSZ
:Application name
;PSZ
:Key name string
;PVOID
:Pointer to the key value
;USHORT
:Length of the key value data
==Returns==
Returns a success/failure indicator (BOOL).


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

Revision as of 14:29, 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 hab, PSZ pszAppName, PSZ pszKeyName, PVOID pValue, USHORT usSize);

Parameters

HAB
The anchor block handle
PSZ
Application name
PSZ
Key name string
PVOID
Pointer to the key value
USHORT
Length of the key value data

Returns

Returns a success/failure indicator (BOOL).