mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
* Removed unused header file
* Fixed signed/unsigned comparison warning svn path=/trunk/; revision=35497
This commit is contained in:
parent
ed0615e6ac
commit
52aa41d8e0
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue