split up headers

svn path=/trunk/; revision=10469
This commit is contained in:
Thomas Bluemel 2004-08-10 11:54:43 +00:00
parent 3a88fe367b
commit c4b330cce6
2 changed files with 44 additions and 26 deletions

View file

@ -0,0 +1,43 @@
/* $Id: resstr.h,v 1.1 2004/08/10 11:54:43 weiden Exp $
*/
#ifndef ROSRTL_RESSTR_H__
#define ROSRTL_RESSTR_H__
#ifdef __cplusplus
extern "C"
{
#endif
int
RosLenOfStrResource(HINSTANCE hInst, UINT uID);
int
RosAllocAndLoadStringA(LPSTR *lpTarget, HINSTANCE hInst, UINT uID);
int
RosAllocAndLoadStringW(LPWSTR *lpTarget, HINSTANCE hInst, UINT uID);
DWORD
RosFormatStrA(LPSTR *lpTarget, LPSTR lpFormat, ...);
DWORD
RosFormatStrW(LPWSTR *lpTarget, LPWSTR lpFormat, ...);
DWORD
RosLoadAndFormatStrA(HINSTANCE hInst, UINT uID, LPSTR *lpTarget, ...);
DWORD
RosLoadAndFormatStrW(HINSTANCE hInst, UINT uID, LPWSTR *lpTarget, ...);
#ifdef UNICODE
# define RosFmtString RosFmtStringW
# define RosAllocAndLoadString RosAllocAndLoadStringW
# define RosLoadAndFormatStr RosLoadAndFormatStrW
#else
# define RosFmtString RosFmtStringA
# define RosAllocAndLoadString RosAllocAndLoadStringA
# define RosLoadAndFormatStr RosLoadAndFormatStrA
#endif
#ifdef __cplusplus
}
#endif
#endif
/* EOF */

View file

@ -1,4 +1,4 @@
/* $Id: string.h,v 1.3 2004/08/10 10:57:54 weiden Exp $
/* $Id: string.h,v 1.4 2004/08/10 11:54:43 weiden Exp $
*/
#ifndef ROSRTL_STRING_H__
@ -46,31 +46,6 @@ NTSTATUS NTAPI RosAppendUnicodeString( PUNICODE_STRING ResultFirst,
PUNICODE_STRING Second,
BOOL Deallocate );
int
RosLenOfStrResource(HINSTANCE hInst, UINT uID);
int
RosAllocAndLoadStringA(LPSTR *lpTarget, HINSTANCE hInst, UINT uID);
int
RosAllocAndLoadStringW(LPWSTR *lpTarget, HINSTANCE hInst, UINT uID);
DWORD
RosFormatStrA(LPSTR *lpTarget, LPSTR lpFormat, ...);
DWORD
RosFormatStrW(LPWSTR *lpTarget, LPWSTR lpFormat, ...);
DWORD
RosLoadAndFormatStrA(HINSTANCE hInst, UINT uID, LPSTR *lpTarget, ...);
DWORD
RosLoadAndFormatStrW(HINSTANCE hInst, UINT uID, LPWSTR *lpTarget, ...);
#ifdef UNICODE
# define RosFmtString RosFmtStringW
# define RosAllocAndLoadString RosAllocAndLoadStringW
# define RosLoadAndFormatStr RosLoadAndFormatStrW
#else
# define RosFmtString RosFmtStringA
# define RosAllocAndLoadString RosAllocAndLoadStringA
# define RosLoadAndFormatStr RosLoadAndFormatStrA
#endif
#ifdef __cplusplus
}
#endif