| OLD | NEW |
| 1 /* |
| 2 * $Id: process_handles.c 1142 2011-10-05 18:45:49Z g.rodola $ |
| 3 * |
| 4 * Copyright (c) 2009, Jay Loden, Giampaolo Rodola'. All rights reserved. |
| 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. |
| 7 * |
| 8 */ |
| 9 |
| 1 #ifndef UNICODE | 10 #ifndef UNICODE |
| 2 #define UNICODE | 11 #define UNICODE |
| 3 #endif | 12 #endif |
| 4 | 13 |
| 5 #include <Python.h> | 14 #include <Python.h> |
| 6 #include <windows.h> | 15 #include <windows.h> |
| 7 #include <stdio.h> | 16 #include <stdio.h> |
| 8 #include "process_handles.h" | 17 #include "process_handles.h" |
| 9 | 18 |
| 10 #ifndef NT_SUCCESS | 19 #ifndef NT_SUCCESS |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 } | 295 } |
| 287 free(objectTypeInfo); | 296 free(objectTypeInfo); |
| 288 free(objectNameInfo); | 297 free(objectNameInfo); |
| 289 CloseHandle(dupHandle); | 298 CloseHandle(dupHandle); |
| 290 } | 299 } |
| 291 free(handleInfo); | 300 free(handleInfo); |
| 292 CloseHandle(processHandle); | 301 CloseHandle(processHandle); |
| 293 return filesList; | 302 return filesList; |
| 294 } | 303 } |
| 295 | 304 |
| OLD | NEW |