Lines Matching refs:local_handle
120 HANDLE local_handle;
121 NTSTATUS status = NtOpenThread(&local_handle, desired_access, &attributes,
124 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
151 HANDLE local_handle;
152 NTSTATUS status = NtOpenProcess(&local_handle, desired_access, &attributes,
155 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
176 HANDLE local_handle;
178 &local_handle);
180 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,
201 HANDLE local_handle;
203 attributes, &local_handle);
205 if (!::DuplicateHandle(::GetCurrentProcess(), local_handle,