Lines Matching refs:result
730 BOOL result;
737 result = CreatePipe(&read_pipe, &write_pipe, NULL, size);
740 if (! result)
958 BOOL result;
991 result = InitializeProcThreadAttributeList(NULL, attribute_count, 0, &attribute_list_size);
992 if (result || GetLastError() != ERROR_INSUFFICIENT_BUFFER) {
1004 result = InitializeProcThreadAttributeList(
1009 if (!result) {
1022 result = UpdateProcThreadAttribute(
1030 if (!result) {
1080 BOOL result;
1138 result = CreateProcessW(application_name,
1151 if (!result) {
1197 BOOL result;
1200 result = DuplicateHandle(
1211 if (! result) {
1269 BOOL result;
1271 result = GetExitCodeProcess(process, &exit_code);
1273 if (! result) {
1312 BOOL result;
1316 result = GetModuleFileNameW(module_handle, filename, MAX_PATH);
1320 if (! result)
1363 /* Disable deprecation warnings about GetVersionEx as the result is
1724 BOOL result;
1731 result = TerminateProcess(handle, exit_code);
1733 if (! result)
1803 DWORD result;
1846 result = WaitForMultipleObjects((DWORD) nhandles, handles,
1850 if (result == WAIT_FAILED)
1852 else if (sigint_event != NULL && result == WAIT_OBJECT_0 + nhandles - 1) {
1857 return PyLong_FromLong((int) result);
1879 DWORD result;
1882 result = WaitForSingleObject(handle, milliseconds);
1885 if (result == WAIT_FAILED) {
1890 return result;
1975 DWORD result;
1978 result = GetFileType(handle);
1981 if (result == FILE_TYPE_UNKNOWN && GetLastError() != NO_ERROR) {
1986 return result;