예제 #1
0
파일: main.cpp 프로젝트: bbockelm/htcondor
HRESULT App_Early_Initialize()
{
   HRESULT hr = S_OK;

   bprint_Initialize();
   HANDLE hErr = GetStdHandle(STD_ERROR_HANDLE);
   if (hErr != g_bprint.hOut || hErr != NULL || hErr != INVALID_HANDLE_VALUE)
      {
      bprint_Initialize(g_bprintErr); 
      g_bprintErr.hOut = hErr;
      g_bprintErr.CodePage = CP_OEMCP;
      g_pbpErr = &g_bprintErr;
      }

   // this function initializes the global module name and path name
   //
   App_SetModuleInfo();

   return hr;
}
예제 #2
0
__inline void bprint_InitializeIfNot(BPRINT_BUFFER & bp) { if ( ! bp.psz) bprint_Initialize(bp); }