Since there are no macros in C#, and since you can view the winnt.h
file...
why didn't you create methods like this:
/*
A language ID is a 16 bit value which is the combination of a
primary language ID and a secondary language ID. The bits are
allocated as follows:
+-----------------------+-------------------------+
| Sublanguage ID | Primary Language ID |
+-----------------------+-------------------------+
15 10 9 0 bit
Language ID creation/extraction macros:
MAKELANGID - construct language id from a primary language id
and
a sublanguage id.
PRIMARYLANGID - extract primary language id from a language id.
SUBLANGID - extract sublanguage id from a language id.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.