[][src]Function winapi_util::file::typ

pub fn typ<H: AsHandleRef>(h: H) -> Result<Type>

Returns the file type of the given handle.

If there was a problem querying the file type, then an error is returned.

This corresponds to calling GetFileType.