Win32-2.6.1.0: A binding to part of the Win32 library

Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

System.Win32.Process

Description

A collection of FFI declarations for interfacing with Win32.

Synopsis

Documentation

sleep :: DWORD -> IO () #

type ProcessEntry32 = (ProcessId, Int, ProcessId, LONG, String) #

ProcessId, number of threads, parent ProcessId, process base priority, path of executable file

createToolhelp32Snapshot :: Th32SnapFlags -> Maybe ProcessId -> IO Th32SnapHandle #

Create a snapshot of specified resources. Call closeHandle to close snapshot.

th32SnapEnumProcesses :: Th32SnapHandle -> IO [ProcessEntry32] #

Enumerate processes using Process32First and Process32Next