Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

uintptr_t kDbgHlpNativeFileHandle ( PKDBGHLPFILE  pFile  ) 

Gets the native file handle.

Returns:
The native file handle. -1 on failure.
Parameters:
pFile The file handle.

Definition at line 137 of file kDbgHlpCrt.cpp.

{
    int fd = fileno(pFile->pStrm);
#ifdef _MSC_VER
    return _get_osfhandle(fd);
#else
    return fd;
#endif
}


Generated by  Doxygen 1.6.0   Back to index