| Microsoft DirectX 8.1 (C++) |
The following are some string-manipulation helper functions.
Requirements
Header: Declared in Wxutil.h; include Streams.h.
Library: Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).
| Function | Description |
| AMGetWideString | Copies a wide-character string, and allocates memory for the copy. |
| atoi | Converts a string to an integer. |
| FreeBSTR | Frees a task-allocated BSTR string. |
| IntToWstr | Converts an integer to a wide string. |
| lstrcmpiW | Compares two wide strings, ignoring case. |
| lstrcmpW | Compares two wide strings. |
| lstrcpynW | Copies one wide string to another, with a maximum length. |
| lstrcpyW | Copies one wide string to another. |
| lstrlenW | Retrieves the length of a wide string in wide characters. |
| WriteBSTR | Creates a task-allocated BSTR string by allocating memory and copying a wide string to it. |
| WstrToInt | Converts a wide string to an integer. |