wireshark/capchild
Guy Harris 62c3bc3596 Squelch some type-clash warnings on Windows.
Define WS_INVALID_PID to be the appropriate "there is no process" value.
On UN*X, -1 works; the "pid" is actually a HANDLE for the process on
Windows, so INVALID_HANDLE is appropriate.

Cast HANDLE to intptr_t in the _cwait() call.

Change-Id: Ica2d2319f5c95ba41f590776a745fe040fe494d2
Reviewed-on: https://code.wireshark.org/review/8871
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2015-06-10 03:10:24 +00:00
..
CMakeLists.txt Minor CMake updates to better group build artefacts 2015-01-05 23:48:46 +00:00
Makefile.am Move the routines to talk to dumpcap into a static libcapchild. 2014-06-23 23:58:29 +00:00
Makefile.common Move utility routines for capturing into a libcaputils static library. 2014-07-04 07:25:26 +00:00
Makefile.nmake Add '*.nativecodeanalysis.xml' to 'clean' targets 2015-01-02 01:45:16 +00:00
capture_ifinfo.c Qt: Add a CaptureFile class. 2014-12-20 17:39:29 +00:00
capture_session.h Rename wsutil/process.h to wsutil/processes.h to avoid collisions. 2015-06-10 01:56:27 +00:00
capture_sync.c Squelch some type-clash warnings on Windows. 2015-06-10 03:10:24 +00:00
capture_sync.h One more ws_process_id change. 2015-06-10 00:55:36 +00:00
doxygen.cfg.in Get rid of trailing blanks. 2014-06-24 02:08:37 +00:00