dwType = REG_LINK;
*dwType = REG_LINK; bSZ     = TRUE; }
DWORD ParseRegType(LPSTR szType){  DWORD dwType;  if(lstrcmpi(szType, "REG_SZ") == 0)    /* Unicode NULL terminated string */    dwType = REG_SZ;  else if(lstrcmpi(szType, "REG_EXPAND_SZ") == 0)    /* Unicode NULL terminated string     * (with environment variable references) */    dwType = REG_EXPAND_SZ;  else if(lstrcmpi(szType, "REG_BINARY") == 0)    /* Free form binary */    dwType = REG_BINARY;  else if(lstrcmpi(szType, "REG_DWORD") == 0)    /* 32bit number */    dwType = REG_DWORD;  else if(lstrcmpi(szType, "REG_DWORD_LITTLE_ENDIAN") == 0)    /* 32bit number     * (same as REG_DWORD) */    dwType = REG_DWORD_LITTLE_ENDIAN;  else if(lstrcmpi(szType, "REG_DWORD_BIG_ENDIAN") == 0)    /* 32bit number */    dwType = REG_DWORD_BIG_ENDIAN;  else if(lstrcmpi(szType, "REG_LINK") == 0)    /* Symbolic link (unicode) */    dwType = REG_LINK;  else if(lstrcmpi(szType, "REG_MULTI_SZ") == 0)    /* Multiple Unicode strings */    dwType = REG_MULTI_SZ;  else /* Default is REG_NONE */    /* no value type */    dwType = REG_NONE;  return(dwType);}