I want to determine, a file is text file or binary file(file name dosen't have file extension).Is there any API in Windows SDK?

Thanks
MJVALAN