Add basic unicode string support
This commit is contained in:
29
xtoskrnl/includes/rtl/unicode.hh
Normal file
29
xtoskrnl/includes/rtl/unicode.hh
Normal file
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/rtl/unicode.hh
|
||||
* DESCRIPTION: Unicode support
|
||||
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_RTL_UNICODE_HH
|
||||
#define __XTOSKRNL_RTL_UNICODE_HH
|
||||
|
||||
#include <xtos.hh>
|
||||
|
||||
|
||||
/* Runtime Library */
|
||||
namespace RTL
|
||||
{
|
||||
class Unicode
|
||||
{
|
||||
public:
|
||||
STATIC XTAPI VOID CopyString(IN OUT PUNICODE_STRING Destination,
|
||||
IN PCUNICODE_STRING Source);
|
||||
STATIC XTAPI XTSTATUS InitializeString(OUT PUNICODE_STRING Destination,
|
||||
IN PCWSTR Source,
|
||||
IN BOOLEAN Truncate = FALSE);
|
||||
};
|
||||
}
|
||||
|
||||
#endif /* __XTOSKRNL_RTL_UNICODE_HH */
|
||||
Reference in New Issue
Block a user