Save file in win32 os

Hi

I would like to save a file with ruby using API32 with “dialog box save”
to choose the filename and the directory, I have no idea to code this,
someone can help me
Thank you