source: trunk/src/kernel32/toolhelp.cpp@ 1570

Last change on this file since 1570 was 862, checked in by phaller, 26 years ago

Add: Toolhelp function stubs added

File size: 2.8 KB
Line 
1/* $Id: toolhelp.cpp,v 1.1 1999-09-07 20:28:08 phaller Exp $ */
2
3/*
4 * Misc Toolhelp functions
5 *
6 * Copyright 1996 Marcus Meissner
7 * Copyright 1999 Patrick Haller
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12
13
14/*****************************************************************************
15 * Includes *
16 *****************************************************************************/
17
18#include <odin.h>
19#include <os2win.h>
20#include <odinwrap.h>
21
22#include "winbase.h"
23#include "winerror.h"
24#include "tlhelp32.h"
25#include "toolhelp.h"
26
27
28ODINDEBUGCHANNEL(KERNEL32-TOOLHELP)
29
30/***********************************************************************
31 * CreateToolHelp32Snapshot (KERNEL32.179)
32 */
33
34ODINFUNCTION2(HANDLE,CreateToolhelp32Snapshot,DWORD,dwFlags,
35 DWORD,dwProcess)
36{
37 dprintf(("KERNEL32: CreateToolhelp32Snapshot not implemented.\n"));
38 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
39 return INVALID_HANDLE_VALUE;
40}
41
42
43/***********************************************************************
44 * Process32First (KERNEL32.555)
45 *
46 * Return info about the first process in a toolhelp32 snapshot
47 */
48ODINFUNCTION2(BOOL,Process32First,HANDLE, hSnapshot,
49 LPPROCESSENTRY,lppe)
50{
51 dprintf(("KERNEL32: Process32First not implemented.\n"));
52 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
53 return FALSE;
54}
55
56/***********************************************************************
57 * Process32Next (KERNEL32.556)
58 *
59 * Return info about the "next" process in a toolhelp32 snapshot
60 */
61ODINFUNCTION2(BOOL,Process32Next,HANDLE, hSnapshot,
62 LPPROCESSENTRY,lppe)
63{
64 dprintf(("KERNEL32: Process32Next not implemented.\n"));
65 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
66 return FALSE;
67}
68
69/***********************************************************************
70 * Module32First (KERNEL32.527)
71 *
72 * Return info about the "first" module in a toolhelp32 snapshot
73 */
74ODINFUNCTION2(BOOL,Module32First,HANDLE,hSnapshot,
75 LPVOID,lpme)
76{
77 // LPMODULEENTY,lpme)
78 dprintf(("KERNEL32: Module32First not implemented.\n"));
79 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
80 return FALSE;
81}
82
83/***********************************************************************
84 * Module32Next (KERNEL32.528)
85 *
86 * Return info about the "next" module in a toolhelp32 snapshot
87 */
88ODINFUNCTION2(BOOL,Module32Next,HANDLE,hSnapshot,
89 LPVOID,lpme)
90{
91 // LPMODULEENTRY,lpme)
92 dprintf(("KERNEL32: Module32Next not implemented.\n"));
93 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
94 return FALSE;
95}
96
Note: See TracBrowser for help on using the repository browser.