Desktop Functions: Smart Device Functions:
|
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);
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); 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. |