#include "nc.h" #pragma hdrstop typedef struct _STRING_TABLE { DWORD ResourceId; BOOL UseTitle; LPWSTR String; } STRING_TABLE, *PSTRING_TABLE; static STRING_TABLE StringTable[] = { { IDS_TITLE, FALSE, NULL }, { IDS_ERR_TITLE, TRUE, NULL }, { IDS_WRN_TITLE, TRUE, NULL }, { IDS_BAD_SERVER, FALSE, NULL }, { IDS_MISSING_INFO, FALSE, NULL }, { IDS_MISSING_ACCNT, FALSE, NULL }, { IDS_MISSING_BILLING, FALSE, NULL }, { IDS_CC_AMEX, FALSE, NULL }, { IDS_CC_DINERS, FALSE, NULL }, { IDS_CC_DISCOVER, FALSE, NULL }, { IDS_CC_MASTERCARD, FALSE, NULL }, { IDS_CC_VISA, FALSE, NULL }, { IDS_BAD_ISP, FALSE, NULL } }; #define CountStringTable (sizeof(StringTable)/sizeof(STRING_TABLE)) VOID InitializeStringTable( VOID ) { DWORD i; WCHAR Buffer[512]; for (i=0; i