libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils Namespace Reference

Namespaces

namespace  XML
 

Classes

class  BitMapInfoWrapper
 
class  COMInit
 
class  COMSecuritySettings
 
class  CrapManagedSharedMemory
 
class  Directory
 
class  EventLog
 
struct  GlobalFreeDeallocator
 
class  HeapID
 
class  InitCOMSecurity
 
class  KnRManagedSharedMemory
 
struct  LocalFreeDeallocator
 
class  ManagedSharedMemory
 
class  ManagedSharedMemorySTLIntf
 
class  NetShare
 
class  NTPerformanceObjects
 
class  RawSharedMemory
 
class  ScheduledTask
 
class  SMAllocator
 
class  win_exception
 

Typedefs

typedef tchar guid_type[39]
 

Enumerations

enum  COM_error_codes {
  all_ok =S_OK , standard_error =S_FALSE , unknown_error =MAKE_HRESULT(1,FACILITY_ITF,0x201) , unknown_exception =MAKE_HRESULT(1,FACILITY_ITF,0x202) ,
  stl_exception =MAKE_HRESULT(1,FACILITY_ITF,0x203) , com_exception =MAKE_HRESULT(1,FACILITY_ITF,0x204) , jmmcg_exception =MAKE_HRESULT(1,FACILITY_ITF,0x205)
}
 

Functions

AFX_EXT_CLASS bool __fastcall LoadBMP (const tstring &BMPFile, BitMapInfoWrapper &hDIB, std::auto_ptr< CPalette > &)
 
AFX_EXT_CLASS bool __fastcall LoadBMP (CFile &, BitMapInfoWrapper &hDIB, std::auto_ptr< CPalette > &)
 
AFX_EXT_CLASS BitMapInfoWrapper __fastcall CreateBitmapInfoStruct (const CBitmap &)
 
AFX_EXT_CLASS bool __fastcall CreateBMPFile (const tstring &, const CBitmap &, const CDC &)
 
AFX_EXT_CLASS bool __fastcall CreateBMPFile (CFile &, const CBitmap &, const CDC &)
 
const std::pair< std::string, std::string > string_shared_memory_names (string_shared_memory_name, string_shared_mutex_name)
 
const std::pair< std::string, std::string > ptr_shared_memory_names (ptr_shared_memory_name, ptr_shared_mutex_name)
 
const std::pair< std::string, std::string > list_shared_memory_names (list_shared_memory_name, list_shared_mutex_name)
 
const std::pair< std::string, std::string > map_shared_memory_names (map_shared_memory_name, map_shared_mutex_name)
 
tstring __fastcall GetLocalUsrName (void)
 
tstring __fastcall GetLocalPCName (void)
 
void __fastcall GetLocalUsrInfo (tstring &unc, tstring &user)
 
bool __fastcall OnNT (void) noexcept(true)
 
tstring __fastcall GetGUID (void)
 

Variables

const unsigned long initial_shared_memory_size =16384
 
const char string_shared_memory_name [] ="{CA5A83A1-9925-11d4-B182-0001029FBE99}"
 
const char string_shared_mutex_name [] ="{0883F431-99FC-11d4-B184-0001029FBE99}"
 
const char ptr_shared_memory_name [] ="{0883F432-99FC-11d4-B184-0001029FBE99}"
 
const char ptr_shared_mutex_name [] ="{0883F433-99FC-11d4-B184-0001029FBE99}"
 
const char list_shared_memory_name [] ="{5538F380-A114-11d4-B188-0001029FBE99}"
 
const char list_shared_mutex_name [] ="{5538F381-A114-11d4-B188-0001029FBE99}"
 
const char map_shared_memory_name [] ="{88668F70-CF94-11d4-B19D-0001029FBE99}"
 
const char map_shared_mutex_name [] ="{88668F71-CF94-11d4-B19D-0001029FBE99}"
 
const tchar server_info_9X_lib_name [] =_T("svrapi.dll")
 
const tchar dir_separator =_T('\\')
 
const tchar dir_separator_s [] =_T("\\")
 
const tchar wildcard [] =_T("*")
 
const unsigned long CMSM_free_marker =~(unsigned long)NULL
 

Typedef Documentation

◆ guid_type

typedef tchar jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::guid_type[39]

Definition at line 35 of file GetGUID.hpp.

Enumeration Type Documentation

◆ COM_error_codes

Enumerator
all_ok 
standard_error 
unknown_error 
unknown_exception 
stl_exception 
com_exception 
jmmcg_exception 

Definition at line 33 of file COMStuff.hpp.

Function Documentation

◆ CreateBitmapInfoStruct()

AFX_EXT_CLASS BitMapInfoWrapper __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::CreateBitmapInfoStruct ( const CBitmap &  )

◆ CreateBMPFile() [1/2]

AFX_EXT_CLASS bool __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::CreateBMPFile ( CFile &  ,
const CBitmap &  ,
const CDC &   
)

◆ CreateBMPFile() [2/2]

AFX_EXT_CLASS bool __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::CreateBMPFile ( const tstring ,
const CBitmap &  ,
const CDC &   
)

◆ GetGUID()

tstring __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::GetGUID ( void  )
inline

◆ GetLocalPCName()

tstring __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::GetLocalPCName ( void  )
inline

Definition at line 36 of file OnNT.hpp.

◆ GetLocalUsrInfo()

void __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::GetLocalUsrInfo ( tstring unc,
tstring user 
)
inline

Definition at line 44 of file OnNT.hpp.

◆ GetLocalUsrName()

tstring __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::GetLocalUsrName ( void  )
inline

Definition at line 28 of file OnNT.hpp.

◆ list_shared_memory_names()

const std::pair< std::string, std::string > jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::list_shared_memory_names ( list_shared_memory_name  ,
list_shared_mutex_name   
)

◆ LoadBMP() [1/2]

AFX_EXT_CLASS bool __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::LoadBMP ( CFile &  ,
BitMapInfoWrapper hDIB,
std::auto_ptr< CPalette > &   
)

◆ LoadBMP() [2/2]

AFX_EXT_CLASS bool __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::LoadBMP ( const tstring BMPFile,
BitMapInfoWrapper hDIB,
std::auto_ptr< CPalette > &   
)

◆ map_shared_memory_names()

const std::pair< std::string, std::string > jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::map_shared_memory_names ( map_shared_memory_name  ,
map_shared_mutex_name   
)

◆ OnNT()

bool __fastcall jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::OnNT ( void  )
inlinenoexcept

Definition at line 49 of file OnNT.hpp.

◆ ptr_shared_memory_names()

const std::pair< std::string, std::string > jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::ptr_shared_memory_names ( ptr_shared_memory_name  ,
ptr_shared_mutex_name   
)

◆ string_shared_memory_names()

const std::pair< std::string, std::string > jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::string_shared_memory_names ( string_shared_memory_name  ,
string_shared_mutex_name   
)

Variable Documentation

◆ CMSM_free_marker

const unsigned long jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::CMSM_free_marker =~(unsigned long)NULL

Definition at line 179 of file SharedMemory.hpp.

◆ dir_separator

const tchar jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::dir_separator =_T('\\')

Definition at line 33 of file NetShare.hpp.

◆ dir_separator_s

const tchar jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::dir_separator_s[] =_T("\\")

Definition at line 26 of file Directory.hpp.

◆ initial_shared_memory_size

const unsigned long jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::initial_shared_memory_size =16384

Definition at line 29 of file NTPerformanceObjects.hpp.

◆ list_shared_memory_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::list_shared_memory_name[] ="{5538F380-A114-11d4-B188-0001029FBE99}"

Definition at line 34 of file NTPerformanceObjects.hpp.

◆ list_shared_mutex_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::list_shared_mutex_name[] ="{5538F381-A114-11d4-B188-0001029FBE99}"

Definition at line 35 of file NTPerformanceObjects.hpp.

◆ map_shared_memory_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::map_shared_memory_name[] ="{88668F70-CF94-11d4-B19D-0001029FBE99}"

Definition at line 36 of file NTPerformanceObjects.hpp.

◆ map_shared_mutex_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::map_shared_mutex_name[] ="{88668F71-CF94-11d4-B19D-0001029FBE99}"

Definition at line 37 of file NTPerformanceObjects.hpp.

◆ ptr_shared_memory_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::ptr_shared_memory_name[] ="{0883F432-99FC-11d4-B184-0001029FBE99}"

Definition at line 32 of file NTPerformanceObjects.hpp.

◆ ptr_shared_mutex_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::ptr_shared_mutex_name[] ="{0883F433-99FC-11d4-B184-0001029FBE99}"

Definition at line 33 of file NTPerformanceObjects.hpp.

◆ server_info_9X_lib_name

const tchar jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::server_info_9X_lib_name[] =_T("svrapi.dll")

Definition at line 32 of file NetShare.hpp.

◆ string_shared_memory_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::string_shared_memory_name[] ="{CA5A83A1-9925-11d4-B182-0001029FBE99}"

Definition at line 30 of file NTPerformanceObjects.hpp.

◆ string_shared_mutex_name

const char jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::string_shared_mutex_name[] ="{0883F431-99FC-11d4-B184-0001029FBE99}"

Definition at line 31 of file NTPerformanceObjects.hpp.

◆ wildcard

const tchar jmmcg::LIBJMMCG_VER_NAMESPACE::NTUtils::wildcard[] =_T("*")

Definition at line 27 of file Directory.hpp.