NT4/private/windows/base/advapi/isuni.c
2020-09-30 17:12:29 +02:00

42 lines
554 B
C

/*++
Copyright (c) 1992 Microsoft Corporation
Module Name:
isuni.c
Abstract:
Covering routine for RtlIsUnicode string, since this is declare a BOOL
API and Rtl is BOOLEAN
Author:
Steve Wood (stevewo) 16-Dec-1993
Revision History:
--*/
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
BOOL
WINAPI
IsTextUnicode(
LPVOID lpv,
int iSize,
LPINT lpiResult
)
{
if (RtlIsTextUnicode( lpv, iSize, lpiResult )) {
return TRUE;
}
else {
return FALSE;
}
}