File Index Symbol Index

/******************************************************************************** * * * stringapi.h -- ApiSet Contract for api-ms-win-core-string-l1 * * * * Copyright (c) Microsoft Corporation. All rights reserved. * * * ********************************************************************************/
#ifdef _MSC_VER
#pragma once
#endif // _MSC_VER
#ifndef _APISETSTRING_
#define _APISETSTRING_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h> #include <winnls.h>
#ifdef __cplusplus
extern
"C"
{
#endif
#if (WINVER >= 0x0600)
#pragma region Application or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
int
CompareStringEx
( );
int
CompareStringOrdinal
( );
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#endif //(WINVER >= 0x0600)
#pragma region Desktop or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM)
int
CompareStringW
( );
#ifdef UNICODE
#define CompareString CompareStringW #endif
int
FoldStringW
( );
#ifdef UNICODE
#define FoldString FoldStringW #endif
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion #pragma region Application or OneCore Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM)
BOOL
GetStringTypeExW
( );
#ifdef UNICODE
#define GetStringTypeEx GetStringTypeExW #endif
BOOL
GetStringTypeW
( );
//
// NLS Code Page Dependent APIs.
//
_Success_(return != 0)
_When_((cbMultiByte == -1) && (cchWideChar != 0), _Post_equal_to_(_String_length_(lpWideCharStr)+1))
int
MultiByteToWideChar
( );
_Success_(return != 0)
_When_((cchWideChar == -1) && (cbMultiByte != 0), _Post_equal_to_(_String_length_(lpMultiByteStr)+1))
int
WideCharToMultiByte
( );
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP | WINAPI_PARTITION_SYSTEM) */
#pragma endregion
#ifdef __cplusplus
}
#endif
#endif // _APISETSTRING_