mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
* Removed unused header file
* Fixed signed/unsigned comparison warning svn path=/trunk/; revision=35497
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
#include <windows.h>
|
||||
|
||||
#define DLLAPI __declspec(dllexport)
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user