* Removed unused header file

* Fixed signed/unsigned comparison warning

svn path=/trunk/; revision=35497
This commit is contained in:
Gregor Brunmar 2008-08-21 02:34:28 +00:00
parent ed0615e6ac
commit 52aa41d8e0
3 changed files with 2 additions and 5 deletions

View file

@ -1,3 +0,0 @@
#include <windows.h>
#define DLLAPI __declspec(dllexport)

View file

@ -38,7 +38,7 @@ BOOL ReadRegistryValue(IN DWORD ValueType, IN LPCSTR ValueName, OUT LPBYTE DataB
return TRUE;
}
HRESULT SafeFormatString(OUT LPSTR Buffer, IN LONG BufferSize, IN LPCSTR FormatString, ... )
HRESULT SafeFormatString(OUT LPSTR Buffer, IN DWORD BufferSize, IN LPCSTR FormatString, ... )
{
DWORD BytesWritten;
va_list vargs;

View file

@ -16,7 +16,7 @@
BOOL ReadRegistryValue(IN DWORD ValueType, IN LPCSTR ValueName, OUT LPBYTE DataBuffer, IN OUT LPDWORD DataBufferSize);
/* Safe string formatting */
HRESULT SafeFormatString(IN OUT LPSTR Buffer, IN LONG BufferSize, IN LPCSTR FormatString, ... );
HRESULT SafeFormatString(IN OUT LPSTR Buffer, IN DWORD BufferSize, IN LPCSTR FormatString, ... );
HRESULT SafeCopyString(OUT LPSTR Dst, IN DWORD DstSize, IN LPCSTR Src);
HRESULT SafeAppendString(IN OUT LPSTR Dst, IN DWORD DstSize, IN LPCSTR Src);