Home | History | Annotate | Download | only in KillTheDoctor

Lines Matching refs:HANDLE

80     handle_type Handle;
84 : Handle(HandleType::GetInvalidHandle()) {}
86 explicit ScopedHandle(handle_type handle)
87 : Handle(handle) {}
90 HandleType::Destruct(Handle);
93 ScopedHandle& operator=(handle_type handle) {
94 // Cleanup current handle.
95 if (!HandleType::isValid(Handle))
96 HandleType::Destruct(Handle);
97 Handle = handle;
102 return HandleType::isValid(Handle);
106 return Handle;
110 // This implements the most common handle in the Windows API.
112 typedef HANDLE handle_type;
118 static void Destruct(handle_type Handle) {
119 ::CloseHandle(Handle);
122 static bool isValid(handle_type Handle) {
123 return Handle != GetInvalidHandle();
128 typedef HANDLE handle_type;
134 static void Destruct(handle_type Handle) {
135 ::CloseHandle(Handle);
138 static bool isValid(handle_type Handle) {
139 return Handle != GetInvalidHandle();
150 static void Destruct(handle_type Handle) {
151 ::UnmapViewOfFile(Handle);
154 static bool isValid(handle_type Handle) {
155 return Handle != GetInvalidHandle();
172 static error_code GetFileNameFromHandle(HANDLE FileHandle,
366 std::map<DWORD, HANDLE> ProcessIDToHandle;
400 // Handle the case where the process has been running for more than 49
439 // Make sure we remove the handle on exit.
456 std::map<DWORD, HANDLE>::iterator ExitingProcess =
470 // Cleanup the file handle.
475 DLLName = "<failed to get file name from file handle> : ";