#ifndef FOLDER_DIALOG_H_INCLUDED
#define FOLDER_DIALOG_H_INCLUDED

typedef struct _mybrowseinfo {
    HWND        hwndOwner;
    LPCITEMIDLIST pidlRoot;
    LPTSTR        pszDisplayName;// Return display name of item selected.
    LPCTSTR       lpszTitle;      // text to go in the banner over the tree.
    UINT         ulFlags;       // Flags that control the return stuff
    BFFCALLBACK  lpfn;
    LPARAM      lParam;         // extra info that's passed back in callbacks

    int          iImage;      // output var: where to return the Image index.
} MYBROWSEINFO, *PMYBROWSEINFO, *LPMYBROWSEINFO;

LPITEMIDLIST WINAPI
MySHBrowseForFolder(LPMYBROWSEINFO lpbi);

#endif