if (il) {
if (il != NULL) {
get_folder (void){    static char fname[MAX_PATH+1];    BROWSEINFO bi;    ITEMIDLIST * il;    memset (&bi, 0, sizeof (bi));    memset (fname, 0, sizeof (fname));    bi.hwndOwner = GetDesktopWindow();    bi.lpszTitle = "Select GnuPG home directory";    il = SHBrowseForFolder (&bi);    if (il) {	SHGetPathFromIDList (il, fname);	return fname;    }    return NULL;}