You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
600 B
41 lines
600 B
/*++
|
|
|
|
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;
|
|
}
|
|
}
|