Lines Matching refs:hFile
52 HANDLE hFile; member in StreamData
56 hFile = 0; in StreamData()
193 return (sal_uIntPtr)pInstanceData->hFile; in GetFileHandle()
226 bool bResult = ReadFile(pInstanceData->hFile,(LPVOID)pData,nSize,&nCount,NULL); in GetData()
251 if(!WriteFile(pInstanceData->hFile,(LPVOID)pData,nSize,&nCount,NULL)) in PutData()
274 nNewPos=SetFilePointer(pInstanceData->hFile,nPos,NULL,FILE_BEGIN); in SeekPos()
276 nNewPos=SetFilePointer(pInstanceData->hFile,0L,NULL,FILE_END); in SeekPos()
331 if( !FlushFileBuffers(pInstanceData->hFile) ) in FlushData()
351 bRetVal = ::LockFile(pInstanceData->hFile,nByteOffset,0L,nBytes,0L ); in LockRange()
373 bRetVal = ::UnlockFile(pInstanceData->hFile,nByteOffset,0L,nBytes,0L ); in UnlockRange()
529 pInstanceData->hFile = CreateFile( in Open()
539 if( pInstanceData->hFile!=INVALID_HANDLE_VALUE && ( in Open()
551 if( (pInstanceData->hFile==INVALID_HANDLE_VALUE) && in Open()
563 pInstanceData->hFile = CreateFile( in Open()
628 CloseHandle( pInstanceData->hFile ); in Close()
668 HANDLE hFile = pInstanceData->hFile; in SetSize() local
669 sal_uIntPtr nOld = SetFilePointer( hFile, 0L, NULL, FILE_CURRENT ); in SetSize()
672 if( SetFilePointer(hFile,nSize,NULL,FILE_BEGIN ) != 0xffffffff) in SetSize()
674 bool bSucc = SetEndOfFile( hFile ); in SetSize()
678 if( SetFilePointer( hFile,nOld,NULL,FILE_BEGIN ) == 0xffffffff) in SetSize()