Whilst I could provide a conversion for those APIs, that code is very outdated and better methods are now available for browsing folders and opening selected files..
Please look at the link to my website provided by both @welshgasman and myself.
The shift bypass code is MUCH simpler and won't need converting for 64-bit.