ReactOS  0.4.15-dev-1206-g731eddf
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 
8 DllMain(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 }
#define IN
Definition: typedefs.h:39
#define CloseHandle
Definition: compat.h:598
#define TRUE
Definition: types.h:120
BOOL WINAPI DECLSPEC_HOTPATCH SetEvent(IN HANDLE hEvent)
Definition: synch.c:733
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
static IN DWORD IN LPVOID lpvReserved
BOOL WINAPI DllMain(IN HINSTANCE hDllHandle, IN DWORD dwReason, IN LPVOID lpvReserved)
static HANDLE hEvent
Definition: comm.c:54
DWORD dwReason
Definition: misc.cpp:154
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
HANDLE WINAPI DECLSPEC_HOTPATCH OpenEventA(IN DWORD dwDesiredAccess, IN BOOL bInheritHandle, IN LPCSTR lpName)
Definition: synch.c:669
smooth NULL
Definition: ftsmooth.c:416
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
#define EVENT_MODIFY_STATE
Definition: winbase.h:163
void WINAPI SHIM_OBJ_NAME() OutputDebugStringA(LPCSTR lpOutputString)
Definition: ignoredbgout.c:18