*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
TRACE("Loading resource INI %s\n", debugstr_w(lpName));
if((hrsc = FindResourceW(hTheme, lpName, szTextFileResource))) {
- if(!(lpThemesIni = (LPCWSTR)LoadResource(hTheme, hrsc))) {
+ if(!(lpThemesIni = LoadResource(hTheme, hrsc))) {
TRACE("%s resource not found\n", debugstr_w(lpName));
return NULL;
}
HeapFree(GetProcessHeap(), 0, uf);
}
-/**********************************************************************
- * UXINI_ResetINI
- *
- * Reset the current pointer into INI file to the beginning of the file
- *
- * PARAMS
- * uf Theme INI file to reset
- */
-void UXINI_ResetINI(PUXINI_FILE uf)
-{
- uf->lpCurLoc = uf->lpIni;
-}
-
/**********************************************************************
* UXINI_eof
*
* RETURNS
* The section name, non NULL terminated
*/
-LPCWSTR UXINI_GetNextLine(PUXINI_FILE uf, DWORD *dwLen)
+static LPCWSTR UXINI_GetNextLine(PUXINI_FILE uf, DWORD *dwLen)
{
LPCWSTR lpLineEnd;
LPCWSTR lpLineStart;
*
* Locate a section with the specified name, search starts
* at current location in ini file
- * to start search from start, call UXINI_ResetINI
*
* PARAMS
* uf INI file to search, search starts at current location