if((diDialog->szResetHomepage = NS_GlobalAlloc(MAX_BUF)) == NULL) return(1); if((diDialog->szRegistryKey = NS_GlobalAlloc(MAX_BUF)) == NULL) return(1);
HRESULT InitDlgInstallSuccessful(diIS *diDialog){  diDialog->bShowDialog = FALSE;  diDialog->bLaunchAppChecked = TRUE;  if((diDialog->szTitle = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((diDialog->szMessage0 = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((diDialog->szMessage1 = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((diDialog->szLaunchApp = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  if((diDialog->szMessageHeader = NS_GlobalAlloc(MAX_BUF)) == NULL)    return(1);  return 0;}