Skip to content

WinNls.h #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 50 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
ae33ddf
Fixes for ErrHandlingApi
fredrikhr Mar 27, 2020
d66b11e
Fixes for FileApi
fredrikhr Mar 27, 2020
e227a5d
Clean up MinWinDef macros
fredrikhr Apr 17, 2020
9bfd62b
Remove documentation warnings from SysInfoApi
fredrikhr Apr 17, 2020
66a3190
WinNls.h: Initial Commit
fredrikhr Apr 17, 2020
13ff7ba
Add WinNLS projects
fredrikhr Apr 17, 2020
4b013c8
Add WinNLS constants, winnls.h line 102
fredrikhr Apr 17, 2020
1be5ff7
Add Surrogate range constants, winnls.h line 134
fredrikhr Apr 17, 2020
1399fe2
MBCS and Unicode Translation Flag constants, winnls.h line 164
fredrikhr Apr 17, 2020
15a1dc4
Additional Win NLS constants, winnls.h line 1032
fredrikhr Apr 17, 2020
7656aa6
Add Win NLS deprecations, winnls.h
fredrikhr Apr 17, 2020
5d12c98
LGRPID typedef, winnls.h line 1053
fredrikhr Apr 17, 2020
d5743c9
LCTYPE typedef, winnls.h line 1058
fredrikhr Apr 17, 2020
5d21166
CALTYPE typedef, winnls.h line 1063
fredrikhr Apr 17, 2020
c9e9581
CALID typedef, winnls.h line 1069
fredrikhr Apr 17, 2020
eaea6d5
CPINFO structure, winnls.h line 1085
fredrikhr Apr 17, 2020
f0f3102
Add Fixed String buffer marshalling accelerators for ANSI and Unicode
fredrikhr Apr 17, 2020
a5dd8e5
CPINFOEX structures, winnls.h line 1112
fredrikhr Apr 17, 2020
a8c9a29
NUMBERFMT structures, winnls.h line 1141
fredrikhr Apr 18, 2020
c29380f
CURRENCYFMT structures, winnls.h line 1174
fredrikhr Apr 18, 2020
5e75ad6
SYSNLS_FUNCTION enumeration, winnls.h line 1183
fredrikhr Apr 18, 2020
e6912ca
NLSVERSIONINFO structures, winnls.h line 1218
fredrikhr Apr 18, 2020
8b308dc
NLSVERSIONINFOEX structures, winnls.h line 1229
fredrikhr Apr 18, 2020
9d314b0
Additional GEOID constants, winnls.h line 1250
fredrikhr Apr 18, 2020
cbff35a
SYSGEOTYPE enumeration, winnls.h line 1281
fredrikhr Apr 18, 2020
f0648a7
SYSGEOCLASS enumeration, winnls.h line 1291
fredrikhr Apr 18, 2020
6b69007
NORM_FORM enumeration, winnls.h line 1306
fredrikhr Apr 18, 2020
eb2253e
Additional Win NLS constants, winnls.h line 1320
fredrikhr Apr 18, 2020
4be82db
LANGUAGEGROUP_ENUMPROC callback functions, winnls.h line 1393
fredrikhr Apr 18, 2020
1c7a5cd
LANGGROUPLOCALE_ENUMPROC callback functions, winnls.h line 1395
fredrikhr Apr 18, 2020
6056ca9
Fix Win NLS callback function parameters
fredrikhr Apr 18, 2020
ffd8c7c
UILANGUAGE_ENUMPROC callback functions, winnls.h line 1396
fredrikhr Apr 18, 2020
2d1ed44
GEO_ENUMNAMEPROC callback function, winnls.h line 1355
fredrikhr Apr 18, 2020
aa209b2
Win NLS callback functions, winnls.h line 1420
fredrikhr Apr 18, 2020
aac37c0
FILEMUIINFO structure, winnls.h line 1441
fredrikhr Apr 18, 2020
5bad499
UTF-16 surrogate macros, winnls.h line 1463
fredrikhr Apr 18, 2020
ec3cf3c
Win NLS Function prototypes: Initial Commit, winnls.h line 1504
fredrikhr Apr 18, 2020
ff2046d
Code Page Dependent APIs: Initial Commit, winnls.h line 1510
fredrikhr Apr 18, 2020
4c090c6
IsValidCodePage function, winnls.h line 1516
fredrikhr Apr 18, 2020
4c574a7
GetACP function, winnls.h line 1521
fredrikhr Apr 18, 2020
9da2f89
Unit tests for WinNls functions
fredrikhr Apr 19, 2020
b836467
GetOEMCP function, winnls.h line 1532
fredrikhr Apr 19, 2020
c333796
GetCPInfo function, winnls.h line 1546
fredrikhr Apr 19, 2020
86374ff
GetCPInfoEx functions, winnls.h line 1568
fredrikhr Apr 19, 2020
d202ee9
Code Page Dependent APIs: Completed APIs, winnls.h line 1570
fredrikhr Apr 19, 2020
b445ab8
Locale Dependent APIs: Initial Commit, winnls.h line 1578
fredrikhr Apr 19, 2020
b64aba2
CompareString functions, winnls.h line 1622
fredrikhr Apr 19, 2020
730fa61
Make CompareString parameters constant
fredrikhr Apr 19, 2020
fb570eb
FindNLSString function, winnls.h line 1637
fredrikhr Apr 19, 2020
940e62b
LCMapString functions, winnls.h line 1671
fredrikhr Apr 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions TH-NETII Windows API.sln
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "THNETII.WinApi.Headers.AccC
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{20AA662D-26E7-4284-BCAA-02767F66C2F0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "THNETII.WinApi.Headers.WinNls", "src-native\THNETII.WinApi.Headers.WinNls\THNETII.WinApi.Headers.WinNls.csproj", "{E567A746-854C-434A-9E30-39AD10F39E06}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "THNETII.WinApi.Constants.WinNls", "src-native\THNETII.WinApi.Constants.WinNls\THNETII.WinApi.Constants.WinNls.csproj", "{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -517,6 +521,30 @@ Global
{8FA68C49-D060-4DE2-94A3-996320B314E2}.Release|x64.Build.0 = Release|Any CPU
{8FA68C49-D060-4DE2-94A3-996320B314E2}.Release|x86.ActiveCfg = Release|Any CPU
{8FA68C49-D060-4DE2-94A3-996320B314E2}.Release|x86.Build.0 = Release|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Debug|x64.ActiveCfg = Debug|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Debug|x64.Build.0 = Debug|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Debug|x86.ActiveCfg = Debug|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Debug|x86.Build.0 = Debug|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Release|Any CPU.Build.0 = Release|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Release|x64.ActiveCfg = Release|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Release|x64.Build.0 = Release|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Release|x86.ActiveCfg = Release|Any CPU
{E567A746-854C-434A-9E30-39AD10F39E06}.Release|x86.Build.0 = Release|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Debug|x64.ActiveCfg = Debug|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Debug|x64.Build.0 = Debug|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Debug|x86.ActiveCfg = Debug|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Debug|x86.Build.0 = Debug|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Release|Any CPU.Build.0 = Release|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Release|x64.ActiveCfg = Release|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Release|x64.Build.0 = Release|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Release|x86.ActiveCfg = Release|Any CPU
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -557,6 +585,8 @@ Global
{E4A4DA91-3696-40A6-9834-E5FAACEF682E} = {9689DB3E-1ED7-478C-AC14-C734B0397619}
{C0B32983-2879-4DAD-B834-8A40570A35CA} = {9689DB3E-1ED7-478C-AC14-C734B0397619}
{8FA68C49-D060-4DE2-94A3-996320B314E2} = {9689DB3E-1ED7-478C-AC14-C734B0397619}
{E567A746-854C-434A-9E30-39AD10F39E06} = {9689DB3E-1ED7-478C-AC14-C734B0397619}
{D6A0D437-AB43-4F6E-8064-6C41CD24F6F7} = {9689DB3E-1ED7-478C-AC14-C734B0397619}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {6EF7C9CF-E403-4B60-AB44-5F9FFEB668B7}
Expand Down
8 changes: 4 additions & 4 deletions src-native-c/THNETII.WinApi.Sample.Native/main.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#include <AccCtrl.h>
#include <Windows.h>

int main(int argc, char* argv[])
{
ACE_HEADER instance;
DWORD instance;
const int size = sizeof(instance);
const int value = ACE_OBJECT_TYPE_PRESENT;
const int value = LINGUISTIC_IGNORECASE;

const void* ptr = AccFree;
const void* ptr = CompareStringW;

return EXIT_SUCCESS;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.

using System.Diagnostics.CodeAnalysis;

[assembly: SuppressMessage("Naming", "CA1707: Identifiers should not contain underscores")]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<LangVersion>8</LangVersion>
<TargetFrameworks>netstandard1.0;netstandard2.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>CS1591</NoWarn>
<RootNamespace>THNETII.WinApi.Native.WinNls</RootNamespace>
</PropertyGroup>

<ItemGroup>

</ItemGroup>

</Project>
Loading