mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00

- Add a test for process termination behavior. This shows that CreateProcess with CREATE_SUSPENDED followed by TerminateProcess causes a handle leak. CORE-9234 svn path=/trunk/; revision=66367
33 lines
1.2 KiB
C
33 lines
1.2 KiB
C
#define __ROS_LONG64__
|
|
|
|
#define STANDALONE
|
|
#include <apitest.h>
|
|
|
|
extern void func_dosdev(void);
|
|
extern void func_FindFiles(void);
|
|
extern void func_GetCurrentDirectory(void);
|
|
extern void func_GetDriveType(void);
|
|
extern void func_GetModuleFileName(void);
|
|
extern void func_interlck(void);
|
|
extern void func_lstrcpynW(void);
|
|
extern void func_MultiByteToWideChar(void);
|
|
extern void func_SetCurrentDirectory(void);
|
|
extern void func_SetUnhandledExceptionFilter(void);
|
|
extern void func_TerminateProcess(void);
|
|
|
|
const struct test winetest_testlist[] =
|
|
{
|
|
{ "dosdev", func_dosdev },
|
|
{ "FindFiles", func_FindFiles },
|
|
{ "GetCurrentDirectory", func_GetCurrentDirectory },
|
|
{ "GetDriveType", func_GetDriveType },
|
|
{ "GetModuleFileName", func_GetModuleFileName },
|
|
{ "interlck", func_interlck },
|
|
{ "lstrcpynW", func_lstrcpynW },
|
|
{ "MultiByteToWideChar", func_MultiByteToWideChar },
|
|
{ "SetCurrentDirectory", func_SetCurrentDirectory },
|
|
{ "SetUnhandledExceptionFilter", func_SetUnhandledExceptionFilter },
|
|
{ "TerminateProcess", func_TerminateProcess },
|
|
{ 0, 0 }
|
|
};
|
|
|