Namespaces | |
namespace | _Core |
namespace | _PlatformSpecificConstants |
namespace | DDK |
Contains classes that provide Windows DDK support. | |
namespace | FastStringRoutines |
namespace | FileFlags |
namespace | Linux |
Contains classes that provide Linux kernel module support. | |
namespace | MemoryDebug |
namespace | Network |
namespace | ObjectManager |
Contains classes that implement the referencing counting within the service/client model. | |
namespace | Serializer |
Serializer-related API. | |
namespace | StandardINFClasses |
namespace | Win32 |
Classes | |
class | FastLocker |
class | FastUnlocker |
class | _ReadLocker |
class | _WriteLocker |
class | _WriteFromReadLocker |
class | CBuffer |
class | ACMemoryFile |
Represents a memory file. Object manager-compatible. More... | |
class | CMultiReadBuffer |
class | IBasicDisk |
class | IInStream |
class | IOutStream |
class | IPipe |
class | FilePath |
Represents a path to a file. More... | |
class | AIFile |
Represents a file or a file-like object. More... | |
class | BasicFileBase |
class | IDirectoryIterator |
class | AIDirectory |
class | _ExponentialFilter |
Provides exponential filtration for some data stream. More... | |
class | SimpleLogger |
Provides data logging functionality for debug purposes. More... | |
class | SingleMallocVector |
class | ActionStatus |
Represents an action status (error code & auxillary info). More... | |
class | case_insensitive_char_traits |
class | case_insensitive_char_traits< char > |
class | case_insensitive_char_traits< wchar_t > |
class | istring |
class | iwstring |
class | _SplitStrT |
class | TextFileSerializer |
Provides simple way for saving serialized objects to text files. More... | |
class | TextFileDeserializer |
class | UniqueIdPool |
class | TimeSpan |
class | DateTime |
class | DeviceInformationSet |
Represents a device information set structure (HDEVINFO). More... | |
class | INFClass |
class | IRegistryParameters |
class | CRegistryParameters |
class | MemoryLeakDetector |
Provides a simple way of detecting memory leaks. More... | |
class | FileDisk |
class | RamDisk |
Typedefs | |
typedef _ExponentialFilter < int, 1000 > | ExponentialFilterI32 |
typedef std::wstring | String |
typedef _SplitStrT< std::string > | SplitStrA |
typedef _SplitStrT< String > | SplitStr |
typedef _SplitStrT< istring > | SplitStrI |
typedef FastLocker < InProcessMutex > | MutexLocker |
typedef FastLocker < InProcessMutex > | MutexUnlocker |
typedef FastLocker < AtomicOperationLock > | AtomicOpLocker |
typedef FastLocker < AtomicOperationLock > | AtomicOpUnlocker |
typedef _ReadLocker< RWLock > | ReadLocker |
typedef _WriteLocker< RWLock > | WriteLocker |
typedef _WriteFromReadLocker < RWLock > | WriteFromReadLocker |
typedef _Core::_TextFile< char, LINE_ENDING_SEQUENCE_A, LINE_ENDING_SEQUENCE_LEN > | TextANSIFileReader |
typedef _Core::_TextFile < wchar_t, LINE_ENDING_SEQUENCE_W, LINE_ENDING_SEQUENCE_LEN > | TextUnicodeFileReader |
typedef DDK::_AtomicInt32< int > | AtomicInt32 |
typedef DDK::_AtomicInt32 < unsigned > | AtomicUInt32 |
typedef DDK::_DirectoryIterator | DirectoryIterator |
typedef DDK::_File< EmptyClass > | File |
typedef DDK::_File< AIFile > | OSFile |
typedef DDK::_DirectFile< File > | DirectFile |
typedef DDK::_DirectFile< OSFile > | OSDirectFile |
typedef DDK::_Directory < EmptyClass > | Directory |
typedef DDK::_Directory < AIDirectory > | OSDirectory |
typedef DDK::FilePathIteratorBase | _PlatformSpecificFilePathIteratorBase |
typedef DDK::KMutex | InProcessMutex |
typedef DDK::KSpinLock | AtomicOperationLock |
typedef DDK::KEResource | RWLock |
typedef FastLocker < DDK::FastMutex > | FastMutexLocker |
typedef FastLocker < DDK::FastMutex > | FastMutexUnlocker |
typedef bool(* | PDEVICE_SN_FILTER )(const tstring &serial, void *pContext) |
typedef Win32::_AsyncFile< File > | AsyncFile |
typedef Win32::_AsyncFile< OSFile > | OSAsyncFile |
typedef Win32::RegistryKey | RegistryKey |
typedef Win32::Event | Event |
typedef Win32::Thread< false > | Thread |
typedef Win32::Thread< true > | AutoDeletingThread |
typedef Win32::FunctionThread | FunctionThread |
Enumerations | |
enum | { STREAM_SIZE_UNKNOWN = -1LL } |
enum | CommonErrorType { DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success), DECLARE_PLATFORM_SPECIFIC = (Success) } |
Functions | |
MAKE_AUTO_INTERFACE (IBasicDisk) | |
static ActionStatus | _MAKE_STATUS (CommonErrorType ErrorType, const String::value_type *pszFile, unsigned Line, const String::value_type *pszFunction) |
static void | _ASSIGN_STATUS (ActionStatus *pStatus, CommonErrorType Error, const String::value_type *pszFile, unsigned Line, const String::value_type *pszFunction) |
static void | _ASSIGN_SUBSTATUS (ActionStatus *pStatus, ActionStatus &Source, CommonErrorType Error, const String::value_type *pszFile, unsigned Line, const String::value_type *pszFunction) |
static std::string | stl_itoa (unsigned number, unsigned radix=10) |
static unsigned | stl_stristr (const std::string &str, const std::string &token) |
static bool | CheckStringLength (const wchar_t *pwszString, unsigned MaxSize) |
String | ANSIStringToString (const std::string &str) |
std::string | StringToANSIString (const String &str) |
std::string | FormatIP (unsigned IP) |
std::list< tstring > | EnumerateDevicesByInterface (const GUID *pguidInterfaceType, PDEVICE_SN_FILTER Filter=NULL, void *pContext=NULL) |
Returns a list of device interface paths for given interface GUID. | |
std::list< tstring > | EnumerateDevicesByHardwareID (const tstring &ID) |
Returns a list of device instance IDs with the specified hardware ID. | |
bool | AddRootEnumeratedNode (const INFClass &Class, LPCTSTR HardwareId) |
Adds a root-enumerated node to system device list. |
typedef Win32::_AsyncFile<File> BazisLib::AsyncFile |
typedef Win32::_AtomicInt32< int > BazisLib::AtomicInt32 |
typedef Win32::_AtomicInt32< unsigned > BazisLib::AtomicUInt32 |
typedef Win32::Thread<true> BazisLib::AutoDeletingThread |
typedef DDK::_DirectFile<File> BazisLib::DirectFile |
typedef Win32::_Directory< EmptyClass > BazisLib::Directory |
typedef Win32::Event BazisLib::Event |
typedef _ExponentialFilter<int, 1000> BazisLib::ExponentialFilterI32 |
typedef Win32::_File< EmptyClass > BazisLib::File |
typedef Win32::FunctionThread BazisLib::FunctionThread |
typedef Win32::_AsyncFile<OSFile> BazisLib::OSAsyncFile |
typedef DDK::_DirectFile<OSFile> BazisLib::OSDirectFile |
typedef Win32::_Directory< AIDirectory > BazisLib::OSDirectory |
typedef Win32::_File< AIFile > BazisLib::OSFile |
typedef bool(* BazisLib::PDEVICE_SN_FILTER)(const tstring &serial, void *pContext) |
typedef _ReadLocker<RWLock> BazisLib::ReadLocker |
typedef Win32::CRWLock BazisLib::RWLock |
typedef _SplitStrT<String> BazisLib::SplitStr |
typedef _SplitStrT<std::string> BazisLib::SplitStrA |
typedef _SplitStrT<istring> BazisLib::SplitStrI |
typedef std::wstring BazisLib::String |
typedef _Core::_TextFile<char, LINE_ENDING_SEQUENCE_A, LINE_ENDING_SEQUENCE_LEN> BazisLib::TextANSIFileReader |
typedef _Core::_TextFile<wchar_t, LINE_ENDING_SEQUENCE_W, LINE_ENDING_SEQUENCE_LEN> BazisLib::TextUnicodeFileReader |
typedef Win32::Thread<false> BazisLib::Thread |
typedef _WriteLocker<RWLock> BazisLib::WriteLocker |
static void BazisLib::_ASSIGN_STATUS | ( | ActionStatus * | pStatus, | |
CommonErrorType | Error, | |||
const String::value_type * | pszFile, | |||
unsigned | Line, | |||
const String::value_type * | pszFunction | |||
) | [inline, static] |
static void BazisLib::_ASSIGN_SUBSTATUS | ( | ActionStatus * | pStatus, | |
ActionStatus & | Source, | |||
CommonErrorType | Error, | |||
const String::value_type * | pszFile, | |||
unsigned | Line, | |||
const String::value_type * | pszFunction | |||
) | [inline, static] |
static ActionStatus BazisLib::_MAKE_STATUS | ( | CommonErrorType | ErrorType, | |
const String::value_type * | pszFile, | |||
unsigned | Line, | |||
const String::value_type * | pszFunction | |||
) | [inline, static] |
bool BazisLib::AddRootEnumeratedNode | ( | const INFClass & | Class, | |
LPCTSTR | HardwareId | |||
) |
Adds a root-enumerated node to system device list.
This routine should be called to add a new virtual device to the system. It is useful for installing virtual bus drivers and other drivers that do not rely on PDOs created by other bus drivers.
Class | The device class to be installed | |
HardwareId | Hardware ID for the device. Windows will perform driver matching based on this ID. |
String BazisLib::ANSIStringToString | ( | const std::string & | str | ) |
static bool BazisLib::CheckStringLength | ( | const wchar_t * | pwszString, | |
unsigned | MaxSize | |||
) | [inline, static] |
std::list<tstring> BazisLib::EnumerateDevicesByHardwareID | ( | const tstring & | ID | ) |
Returns a list of device instance IDs with the specified hardware ID.
std::list<tstring> BazisLib::EnumerateDevicesByInterface | ( | const GUID * | pguidInterfaceType, | |
PDEVICE_SN_FILTER | Filter = NULL , |
|||
void * | pContext = NULL | |||
) |
Returns a list of device interface paths for given interface GUID.
This routine returns a list of device interface paths that match a given interface GUID. Each interface path can be passed to CreateFile() routine to connect to a device.
std::string BazisLib::FormatIP | ( | unsigned | IP | ) |
BazisLib::MAKE_AUTO_INTERFACE | ( | IBasicDisk | ) |
static std::string BazisLib::stl_itoa | ( | unsigned | number, | |
unsigned | radix = 10 | |||
) | [inline, static] |
static unsigned BazisLib::stl_stristr | ( | const std::string & | str, | |
const std::string & | token | |||
) | [inline, static] |
std::string BazisLib::StringToANSIString | ( | const String & | str | ) |