![]() |
Public API Reference |
Small helper to convert an UTF-8 to an ANSI string, useful when passing arguments to a function. More...
#include <csutil/win32/wintools.h>
Public Member Functions | |
| cswinCtoA (const char *ws, UINT codePage=CP_ACP) | |
| Construct from an ANSI string. | |
| operator const char * () const | |
| Return the string passed in on construction as an ANSI string. | |
| ~cswinCtoA () | |
| Destruct, free up memory. | |
Small helper to convert an UTF-8 to an ANSI string, useful when passing arguments to a function.
Definition at line 118 of file wintools.h.
| cswinCtoA::cswinCtoA | ( | const char * | ws, |
| UINT | codePage = CP_ACP |
||
| ) | [inline] |
Construct from an ANSI string.
Definition at line 124 of file wintools.h.
| cswinCtoA::~cswinCtoA | ( | ) | [inline] |
Destruct, free up memory.
Definition at line 129 of file wintools.h.
| cswinCtoA::operator const char * | ( | ) | const [inline] |
Return the string passed in on construction as an ANSI string.
Definition at line 132 of file wintools.h.