vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BufFile.cpp File Reference
#include "precompiled.h"
#include <helpers/BufFile.h>

Namespaces

namespace  vrecko
 Second level of space paritioning queries - detailed searching inside object.
 

Macros

#define BF_GET_FILE_SIZE
 
#define BF_CLOSE_HANDLE
 
#define BF_SET_FILE_POINTER(dwRet, dwNewFilePos)
 

Functions

bool vrecko::FileExists (const _TCHAR *pFileName)
 

Macro Definition Documentation

#define BF_CLOSE_HANDLE
Value:
{ \
::CloseHandle (hFile); \
hFile = INVALID_HANDLE_VALUE; \
}
#define BF_GET_FILE_SIZE
Value:
{ \
dwFileSize = ::GetFileSize (hFile, NULL); \
}
#define BF_SET_FILE_POINTER (   dwRet,
  dwNewFilePos 
)
Value:
{ \
dwRet = ::SetFilePointer (hFile, dwNewFilePos, NULL, FILE_BEGIN); \
}