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 "GetPrivateProfileSection" in [All]

kernel32

.

    Shared Function GetPrivateProfileSectionNames( _

.

static extern uint GetPrivateProfileSectionNames(IntPtr lpszReturnBuffer,

.

    Dim len As Int32 = GetPrivateProfileSectionNames(ptr, 1024, IniPath)

.

static extern uint GetPrivateProfileSectionNames(IntPtr lpszReturnBuffer,

.

    uint bytesReturned = GetPrivateProfileSectionNames(pReturnedString, MAX_BUFFER, m_iniFile);

.
Documentation
[GetPrivateProfileSectionNames] on MSDN
.

    Shared Function GetPrivateProfileSectionNames( _

.

static extern uint GetPrivateProfileSectionNames(IntPtr lpszReturnBuffer,

.

    Dim len As Int32 = GetPrivateProfileSectionNames(ptr, 1024, IniPath)

.

static extern uint GetPrivateProfileSectionNames(IntPtr lpszReturnBuffer,

.

    uint bytesReturned = GetPrivateProfileSectionNames(pReturnedString, MAX_BUFFER, m_iniFile);

.
Documentation
[GetPrivateProfileSectionNames] on MSDN
.

If you need to get all the section names by passing a null lpAppName or all the key names by passing a null lpKeyName, then you'll need to use a technique like is shown for [GetPrivateProfileSection] to handle the double null-terminated result. .NET's marshaler will truncate the StringBuilder at the first null it finds, so to get back the full double null-terminated result string, you have to manage your own memory buffer.


 
Access PInvoke.net directly from VS: