windows-nt/Source/XPSP1/NT/mergedcomponents/advapi32/isuni.c
2020-09-26 16:20:57 +08:00

42 lines
559 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(
CONST VOID* lpv,
int iSize,
LPINT lpiResult
)
{
if (RtlIsTextUnicode( lpv, iSize, lpiResult )) {
return TRUE;
}
else {
return FALSE;
}
}