Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "WritePrivateProfileString" in [All]

kernel32

.

Private Declare Ansi Function WritePrivateProfileString _

.

      Lib "kernel32.dll" Alias "WritePrivateProfileStringA" _

.

    Private Declare Ansi Function WritePrivateProfileString _

.

      Lib "kernel32.dll" Alias "WritePrivateProfileStringA" _

.

      Lib "kernel32.dll" Alias "WritePrivateProfileStringA" _

.

    WritePrivateProfileString(Section, Key, Value, ConfigFile)

.
Summary
.

static extern bool WritePrivateProfileString(string lpAppName,

.

Private Shared Function WritePrivateProfileString(ByVal lpAppName As String, _

.

Private Declare Auto Function WritePrivateProfileString Lib "kernel32" (ByVal lpAppName As String, _    

.

[DllImport("KERNEL32.DLL", CharSet=CharSet::Auto, EntryPoint="WritePrivateProfileString")]

.

static Boolean WritePrivateProfileString(String^ lpAppName, String^ lpKeyName, String^ lpString, String^ lpFileName);

.

    Return = WritePrivateProfileString(SectionName,

.

bres = WritePrivateProfileString("AppName", "KeyName", "TestValue", "c:\test.ini")

.

Console.WriteLine("WritePrivateProfileString returned : " & bres.ToString())

.

     WritePrivateProfileString(lpAppname, lpKeyName, lpString, lpFilename)

.
Documentation
[WritePrivateProfileString] on MSDN
.

        bRslt = WritePrivateProfileString(section, key, sValue, filename)


 
Access PInvoke.net directly from VS: