How to use the FormatEx to format a volume?

hello everyone,
i want to format a volume to fat,fat32 or ntfs,and i use the formatex
exported by fmifs.dll,but i only can format volume as ntfs,when comes the
fat,fat32,it failed,i do not know why?
i apprecate that one can tell me why,and the best to give me a sample.
regards
ding hao


ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn