ReactOS 0.4.15-dev-7842-g558ab78
shlwapi_resource_dll.c
Go to the documentation of this file.
1#define WIN32_NO_STATUS
2#define _INC_WINDOWS
3#define COM_NO_WINDOWS_H
4
5#include <windows.h>
6
8DllMain(IN HINSTANCE hDllHandle,
11{
13 {
14 HANDLE hEvent = OpenEventA(EVENT_MODIFY_STATE, FALSE, "Local\\shlwapi_apitest_evt");
15 if (hEvent != NULL)
16 {
19 }
20 else
21 {
22 OutputDebugStringA("ERROR: NO EVENT FOUND!\n");
23 }
24 }
25
26 return TRUE;
27}
DWORD dwReason
Definition: misc.cpp:154
#define NULL
Definition: types.h:112
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
#define CloseHandle
Definition: compat.h:739
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
void WINAPI SHIM_OBJ_NAME() OutputDebugStringA(LPCSTR lpOutputString)
Definition: ignoredbgout.c:18
static IN DWORD IN LPVOID lpvReserved
static HANDLE hEvent
Definition: comm.c:54
BOOL WINAPI DllMain(IN HINSTANCE hDllHandle, IN DWORD dwReason, IN LPVOID lpvReserved)
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
Definition: synch.c:733
HANDLE WINAPI DECLSPEC_HOTPATCH OpenEventA(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCSTR lpName)
Definition: synch.c:669
#define IN
Definition: typedefs.h:39
#define EVENT_MODIFY_STATE
Definition: winbase.h:163
#define WINAPI
Definition: msvc.h:6