[USETUP]
[reactos.git] / reactos / base / setup / usetup / inffile.h
index 9de18e1..864d201 100644 (file)
@@ -12,9 +12,9 @@
  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  *  GNU General Public License for more details.
  *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  You should have received a copy of the GNU General Public License along
+ *  with this program; if not, write to the Free Software Foundation, Inc.,
+ *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 /*
  * COPYRIGHT:       See COPYING in the top level directory
@@ -24,8 +24,7 @@
  * PROGRAMMER:      HervĂ© Poussineau
  */
 
-#ifndef __INFFILE_H__
-#define __INFFILE_H__
+#pragma once
 
 #ifndef __REACTOS__
 
@@ -75,10 +74,10 @@ InfpFindNextLine(
 BOOL WINAPI
 InfpGetBinaryField(
        IN PINFCONTEXT Context,
-       IN DWORD FieldIndex,
+       IN ULONG FieldIndex,
        IN OUT BYTE* ReturnBuffer,
-       IN DWORD ReturnBufferSize,
-       OUT LPDWORD RequiredSize);
+       IN ULONG ReturnBufferSize,
+       OUT PULONG RequiredSize);
 
 DWORD WINAPI
 InfpGetFieldCount(
@@ -93,24 +92,25 @@ InfpGetIntField(
 BOOL WINAPI
 InfpGetMultiSzFieldW(
        IN PINFCONTEXT Context,
-       IN DWORD FieldIndex,
+       IN ULONG FieldIndex,
        IN OUT PWSTR ReturnBuffer,
-       IN DWORD ReturnBufferSize,
-       OUT LPDWORD RequiredSize);
+       IN ULONG ReturnBufferSize,
+       OUT PULONG RequiredSize);
 
 BOOL WINAPI
 InfpGetStringFieldW(
        IN PINFCONTEXT Context,
-       IN DWORD FieldIndex,
+       IN ULONG FieldIndex,
        IN OUT PWSTR ReturnBuffer,
-       IN DWORD ReturnBufferSize,
-       OUT PDWORD RequiredSize);
+       IN ULONG ReturnBufferSize,
+       OUT PULONG RequiredSize);
 
 HINF WINAPI
 InfpOpenInfFileW(
        IN PCWSTR FileName,
        IN PCWSTR InfClass,
        IN DWORD InfStyle,
+       IN LCID LocaleId,
        OUT PUINT ErrorLine);
 
 #endif /* __REACTOS__ */
@@ -133,11 +133,10 @@ INF_OpenBufferedFileA(
        IN ULONG FileSize,
        IN PCSTR InfClass,
        IN DWORD InfStyle,
+       IN LCID LocaleId,
        OUT PUINT ErrorLine);
 
 VOID INF_SetHeap(
        IN PVOID Heap);
 
-#endif /* __INFFILE_H__*/
-
 /* EOF */