Alternate e697dbe9c5997e35395fe158628dd8c5209481da
for Visual Studio 2022 and Windows 11.
|
HANDLEを扱うWindowsAPIを集約した基底クラス [詳解]
#include <WindowsLibrary.h>
公開メンバ関数 | |
APIENTRY | HandleLibrary () |
コンストラクタ | |
APIENTRY | ~HandleLibrary () |
デストラクタ | |
BOOL APIENTRY | Close () |
使用しなくなったハンドルはこれでクローズします。 | |
HANDLE APIENTRY | GetHandle () const |
継承先はこの関数でハンドルを取得します。 | |
![]() | |
APIENTRY | WindowsLibrary () |
コンストラクタ | |
virtual APIENTRY | ~WindowsLibrary () |
デストラクタ | |
virtual DWORD APIENTRY | GetErrNo () const |
WindowsAPIのエラー値を取得します。 | |
virtual VOID APIENTRY | SetErrNo () |
WINAPIエラーの情報を設定します。 | |
限定公開変数類 | |
HANDLE | _hObject |
ハンドルを使用するWindowsAPIで保持するHANDLE値 | |
![]() | |
DWORD | _dwErrorNo |
HANDLEを扱うWindowsAPIを集約した基底クラス
WindowsLibrary.h の 58 行目に定義があります。
HandleLibrary::HandleLibrary | ( | ) |
コンストラクタ
WindowsLibrary.cpp の 56 行目に定義があります。
参照先 _hObject.
HandleLibrary::~HandleLibrary | ( | ) |
BOOL HandleLibrary::Close | ( | ) |
使用しなくなったハンドルはこれでクローズします。
成功(TRUE) | |
失敗(FALSE) |
使用していない場合は、何もしません。 使用していた場合は、ハンドルをクローズし、初期化します。
WindowsLibrary.cpp の 71 行目に定義があります。
参照先 _hObject.
参照元 ~HandleLibrary(), alt::Log::~Log(), PerfCheck::ServerWorker::~ServerWorker(), PerfCheck::TcpClient::~TcpClient(), PerfCheck::TcpProxy::~TcpProxy(), PerfCheck::TcpServer::~TcpServer(), PerfCheck::UdpController::~UdpController(), PerfCheck::TStringPerformanceCheck::Core1(), PerfCheck::FilePerformanceCheck::Core1(), PerfCheck::FilePerformanceCheck::Core2(), alt::Utility::CreateMD5(), alt::Log::LogWrite(), WindowsLibraryTest::TEST_CLASS().
HANDLE HandleLibrary::GetHandle | ( | ) | const |
継承先はこの関数でハンドルを取得します。
失敗した場合は | INVALID_HANDLE_VALUE が返ります。 |
WindowsLibrary.cpp の 66 行目に定義があります。
参照先 _hObject.
参照元 PerfCheck::HeapPerformanceCheck::Core(), PerfCheck::NewPerformanceCheck::Core(), alt::FileUtility::DirectoryWatch(), PerfCheck::TcpProxy::Start(), WindowsLibraryTest::TEST_CLASS().
|
protected |
ハンドルを使用するWindowsAPIで保持するHANDLE値
WindowsLibrary.h の 85 行目に定義があります。
参照元 alt::Diagnostics::Diagnostics(), HandleLibrary(), alt::HeapMemory::HeapMemory(), alt::Console::~Console(), alt::HeapMemory::~HeapMemory(), alt::HeapMemory::Allocate(), alt::Console::Clear(), alt::HeapMemory::Close(), Close(), alt::TransactionFileUtility::Commit(), alt::HeapMemory::Compact(), alt::NamedPipe::Connect(), alt::TransactionFileUtility::Copy(), alt::TransactionFile::Create(), alt::File::Create(), alt::Mutex::Create(), alt::Event::Create(), alt::NamedPipe::Create(), alt::SharedMemory::Create(), alt::Thread::Create(), alt::HeapMemory::Create(), alt::TransactionFileUtility::CreateFolder(), alt::TransactionFileUtility::Delete(), alt::NamedPipe::Disconnect(), alt::ReadWriteHandleLibrary::Flush(), alt::HeapMemory::Free(), GetHandle(), alt::Diagnostics::GetProcessIO(), alt::Diagnostics::GetProcessMemory(), alt::Console::GetScreenBufferInfo(), alt::File::GetSize(), alt::File::GetType(), alt::Console::Init(), alt::TransactionFileUtility::Init(), alt::WatchDogTimer::InitTimer(), alt::File::IsOpen(), alt::TransactionFileUtility::MakeHardLink(), alt::SharedMemory::Mapped(), alt::TransactionFileUtility::Move(), alt::HeapMemory::Open(), alt::Event::Open(), alt::Mutex::Open(), alt::NamedPipe::Open(), alt::SharedMemory::Open(), alt::NamedPipe::PeekData(), alt::NamedPipe::PeekRemain(), alt::Event::Pulse(), alt::ReadWriteHandleLibrary::Read(), alt::HeapMemory::Reallocate(), alt::Mutex::Release(), alt::Event::Reset(), alt::Thread::Resume(), alt::TransactionFileUtility::Rollback(), alt::Event::Set(), alt::Console::SetBufferSize(), alt::Console::SetColor(), alt::Console::SetCursorPosition(), alt::File::SetEOF(), alt::File::SetPointer(), alt::Thread::SetPriority(), alt::Console::SetWindowInfo(), alt::WatchDogTimer::StartTimer(), alt::WatchDogTimer::StopTimer(), alt::Thread::Suspend(), alt::WaitableHandleLibrary::Wait(), alt::WatchDogTimer::WaitTimer(), alt::Console::Write(), alt::ReadWriteHandleLibrary::Write() (計68項目).