LPSTR szBuf = NULL;
void *vBuf = NULL;
void *NS_GlobalAlloc(DWORD dwMaxBuf){  LPSTR szBuf = NULL;  if((szBuf = GlobalAlloc(GMEM_FIXED|GMEM_ZEROINIT, dwMaxBuf)) == NULL)  {         if((szEGlobalAlloc == NULL) || (*szEGlobalAlloc == '\0'))      PrintError(TEXT("Memory allocation error."), ERROR_CODE_HIDE);    else      PrintError(szEGlobalAlloc, ERROR_CODE_SHOW);    return(NULL);  }  else    return(szBuf);}