win32 question
What is the differance between for ex.
DevmodeA and devmodeW.
What does the A and W mean?
Wich should I use?
Thanks in advance
/sb
A is for ascii characters. W is for wide characters. It''s for dealing with unicode, its declared something like this:
typedef struct
{
stuff
}DevmodeA;
typedef struct
{
wide character stuff
}DevmodeW;
#ifdef UNICODE
typedef DevmodeW Devmode;
#else
typedef DevmodeA Devmode;
#endif
which means all you have to do is use Devmode and windows will take care of the rest while compiling.
typedef struct
{
stuff
}DevmodeA;
typedef struct
{
wide character stuff
}DevmodeW;
#ifdef UNICODE
typedef DevmodeW Devmode;
#else
typedef DevmodeA Devmode;
#endif
which means all you have to do is use Devmode and windows will take care of the rest while compiling.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement