Unicode Versus ANSI DirectPlayLobby Interfaces
DirectPlayLobby supports both Unicode and ANSI strings by defining string pointers in a structure as the union of a Unicode string pointer (LPWSTR) and an ANSI string pointer (LPSTR). The two string pointers have different names. Typically, the ANSI string pointer ends with the letter "A". Depending on which IDirectPlayLobby interface is chosen (IDirectPlayLobby for Unicode or IDirectPlayLobbyA for ANSI), the application should read and write the appropriate strings from the structure and ignore the other one.