Jump to content

WinWriteProfileData

From EDM2
Revision as of 14:29, 24 November 2023 by Martini (talk | contribs)

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).