GME  13
Defines | Functions | Variables
apr_dbg_win32_handles.h File Reference

Go to the source code of this file.

Defines

#define apr_dbg_rv(fn, args)   (apr_dbg_log(#fn,(fn) args,__FILE__,__LINE__,0))
#define CloseHandle(h)
#define CreateEventA(sd, b1, b2, nm)   apr_dbg_rv(CreateEventA,(sd,b1,b2,nm))
#define CreateEventW(sd, b1, b2, nm)   apr_dbg_rv(CreateEventW,(sd,b1,b2,nm))
#define CreateFileA(nm, d1, d2, sd, d3, d4, h)   apr_dbg_rv(CreateFileA,(nm,d1,d2,sd,d3,d4,h))
#define CreateFileW(nm, d1, d2, sd, d3, d4, h)   apr_dbg_rv(CreateFileW,(nm,d1,d2,sd,d3,d4,h))
#define CreateFileMappingA(fh, sd, d1, d2, d3, nm)   apr_dbg_rv(CreateFileMappingA,(fh,sd,d1,d2,d3,nm))
#define CreateFileMappingW(fh, sd, d1, d2, d3, nm)   apr_dbg_rv(CreateFileMappingW,(fh,sd,d1,d2,d3,nm))
#define CreateMutexA(sd, b, nm)   apr_dbg_rv(CreateMutexA,(sd,b,nm))
#define CreateMutexW(sd, b, nm)   apr_dbg_rv(CreateMutexW,(sd,b,nm))
#define CreateIoCompletionPort(h1, h2, pd1, d2)   apr_dbg_rv(CreateIoCompletionPort,(h1,h2,pd1,d2))
#define CreateNamedPipeA(nm, d1, d2, d3, d4, d5, d6, sd)   apr_dbg_rv(CreateNamedPipeA,(nm,d1,d2,d3,d4,d5,d6,sd))
#define CreateNamedPipeW(nm, d1, d2, d3, d4, d5, d6, sd)   apr_dbg_rv(CreateNamedPipeW,(nm,d1,d2,d3,d4,d5,d6,sd))
#define CreatePipe(ph1, ph2, sd, d)
#define CreateProcessA(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)
#define CreateProcessW(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)
#define CreateSemaphoreA(sd, d1, d2, nm)   apr_dbg_rv(CreateSemaphoreA,(sd,d1,d2,nm))
#define CreateSemaphoreW(sd, d1, d2, nm)   apr_dbg_rv(CreateSemaphoreW,(sd,d1,d2,nm))
#define CreateThread(sd, d1, fn, pv, d2, pd3)   apr_dbg_rv(CreateThread,(sd,d1,fn,pv,d2,pd3))
#define DeregisterEventSource(h)
#define DuplicateHandle(h1, h2, h3, ph4, d1, b, d2)
#define GetCurrentProcess()
#define GetCurrentThread()
#define GetModuleHandleA(nm)   apr_dbg_rv(GetModuleHandleA,(nm))
#define GetModuleHandleW(nm)   apr_dbg_rv(GetModuleHandleW,(nm))
#define GetStdHandle(d)   apr_dbg_rv(GetStdHandle,(d))
#define LoadLibraryA(nm)   apr_dbg_rv(LoadLibraryA,(nm))
#define LoadLibraryW(nm)   apr_dbg_rv(LoadLibraryW,(nm))
#define LoadLibraryExA(nm, h, d)   apr_dbg_rv(LoadLibraryExA,(nm,h,d))
#define LoadLibraryExW(nm, h, d)   apr_dbg_rv(LoadLibraryExW,(nm,h,d))
#define OpenEventA(d, b, nm)   apr_dbg_rv(OpenEventA,(d,b,nm))
#define OpenEventW(d, b, nm)   apr_dbg_rv(OpenEventW,(d,b,nm))
#define OpenFileMappingA(d, b, nm)   apr_dbg_rv(OpenFileMappingA,(d,b,nm))
#define OpenFileMappingW(d, b, nm)   apr_dbg_rv(OpenFileMappingW,(d,b,nm))
#define RegisterEventSourceA(s1, s2)   apr_dbg_rv(RegisterEventSourceA,(s1,s2))
#define RegisterEventSourceW(s1, s2)   apr_dbg_rv(RegisterEventSourceW,(s1,s2))
#define SetEvent(h)
#define SetStdHandle(d, h)
#define socket(i1, i2, i3)
#define WaitForSingleObject(h, d)
#define WaitForSingleObjectEx(h, d, b)
#define WaitForMultipleObjects(d1, ah, b, d2)
#define WaitForMultipleObjectsEx(d1, ah, b1, d2, b2)
#define WSASocketA(i1, i2, i3, pi, g, dw)
#define WSASocketW(i1, i2, i3, pi, g, dw)
#define closesocket(sh)
#define _beginthread(fn, d, pv)
#define _beginthreadex(sd, d1, fn, pv, d2, pd3)

Functions

 APR_DECLARE_NONSTD (HANDLE) apr_dbg_log(char *fn

Variables

HANDLE ha
HANDLE char * fl
HANDLE char int ln
HANDLE char int int nh

Define Documentation

#define _beginthread (   fn,
  d,
  pv 
)
Value:
((unsigned long)apr_dbg_log("_beginthread", \
                                (HANDLE)(_beginthread)(fn,d,pv), \
                                __FILE__,__LINE__,0))

Definition at line 203 of file apr_dbg_win32_handles.h.

#define _beginthreadex (   sd,
  d1,
  fn,
  pv,
  d2,
  pd3 
)
Value:
((unsigned long)apr_dbg_log("_beginthreadex", \
                                (HANDLE)(_beginthreadex)(sd,d1,fn,pv,d2,pd3), \
                                __FILE__,__LINE__,0))

Definition at line 208 of file apr_dbg_win32_handles.h.

#define apr_dbg_rv (   fn,
  args 
)    (apr_dbg_log(#fn,(fn) args,__FILE__,__LINE__,0))

Definition at line 59 of file apr_dbg_win32_handles.h.

#define CloseHandle (   h)
Value:
((BOOL)apr_dbg_log("CloseHandle", \
                       (HANDLE)(CloseHandle)(h), \
                       __FILE__,__LINE__,1, \
                       &(h),""))

Definition at line 61 of file apr_dbg_win32_handles.h.

#define closesocket (   sh)
Value:
((int)apr_dbg_log("closesocket", \
                      (HANDLE)(closesocket)(sh), \
                      __FILE__,__LINE__,1,&(sh),""))

Definition at line 198 of file apr_dbg_win32_handles.h.

#define CreateEventA (   sd,
  b1,
  b2,
  nm 
)    apr_dbg_rv(CreateEventA,(sd,b1,b2,nm))

Definition at line 67 of file apr_dbg_win32_handles.h.

#define CreateEventW (   sd,
  b1,
  b2,
  nm 
)    apr_dbg_rv(CreateEventW,(sd,b1,b2,nm))

Definition at line 68 of file apr_dbg_win32_handles.h.

#define CreateFileA (   nm,
  d1,
  d2,
  sd,
  d3,
  d4,
  h 
)    apr_dbg_rv(CreateFileA,(nm,d1,d2,sd,d3,d4,h))

Definition at line 70 of file apr_dbg_win32_handles.h.

#define CreateFileMappingA (   fh,
  sd,
  d1,
  d2,
  d3,
  nm 
)    apr_dbg_rv(CreateFileMappingA,(fh,sd,d1,d2,d3,nm))

Definition at line 73 of file apr_dbg_win32_handles.h.

#define CreateFileMappingW (   fh,
  sd,
  d1,
  d2,
  d3,
  nm 
)    apr_dbg_rv(CreateFileMappingW,(fh,sd,d1,d2,d3,nm))

Definition at line 74 of file apr_dbg_win32_handles.h.

#define CreateFileW (   nm,
  d1,
  d2,
  sd,
  d3,
  d4,
  h 
)    apr_dbg_rv(CreateFileW,(nm,d1,d2,sd,d3,d4,h))

Definition at line 71 of file apr_dbg_win32_handles.h.

#define CreateIoCompletionPort (   h1,
  h2,
  pd1,
  d2 
)    apr_dbg_rv(CreateIoCompletionPort,(h1,h2,pd1,d2))

Definition at line 79 of file apr_dbg_win32_handles.h.

#define CreateMutexA (   sd,
  b,
  nm 
)    apr_dbg_rv(CreateMutexA,(sd,b,nm))

Definition at line 76 of file apr_dbg_win32_handles.h.

#define CreateMutexW (   sd,
  b,
  nm 
)    apr_dbg_rv(CreateMutexW,(sd,b,nm))

Definition at line 77 of file apr_dbg_win32_handles.h.

#define CreateNamedPipeA (   nm,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  sd 
)    apr_dbg_rv(CreateNamedPipeA,(nm,d1,d2,d3,d4,d5,d6,sd))

Definition at line 81 of file apr_dbg_win32_handles.h.

#define CreateNamedPipeW (   nm,
  d1,
  d2,
  d3,
  d4,
  d5,
  d6,
  sd 
)    apr_dbg_rv(CreateNamedPipeW,(nm,d1,d2,d3,d4,d5,d6,sd))

Definition at line 82 of file apr_dbg_win32_handles.h.

#define CreatePipe (   ph1,
  ph2,
  sd,
 
)
Value:
((BOOL)apr_dbg_log("CreatePipe", \
                       (HANDLE)(CreatePipe)(ph1,ph2,sd,d), \
                       __FILE__,__LINE__,2, \
                       (ph1),"hRead", \
                       (ph2),"hWrite"))

Definition at line 84 of file apr_dbg_win32_handles.h.

#define CreateProcessA (   s1,
  s2,
  sd1,
  sd2,
  b,
  d1,
  s3,
  s4,
  pd2,
  hr 
)
Value:
((BOOL)apr_dbg_log("CreateProcessA", \
                       (HANDLE)(CreateProcessA)(s1,s2,sd1,sd2,b,d1,s3,s4,pd2,hr), \
                       __FILE__,__LINE__,2, \
                       &((hr)->hProcess),"hProcess", \
                       &((hr)->hThread),"hThread"))

Definition at line 91 of file apr_dbg_win32_handles.h.

#define CreateProcessW (   s1,
  s2,
  sd1,
  sd2,
  b,
  d1,
  s3,
  s4,
  pd2,
  hr 
)
Value:
((BOOL)apr_dbg_log("CreateProcessW", \
                       (HANDLE)(CreateProcessW)(s1,s2,sd1,sd2,b,d1,s3,s4,pd2,hr), \
                       __FILE__,__LINE__,2, \
                       &((hr)->hProcess),"hProcess", \
                       &((hr)->hThread),"hThread"))

Definition at line 97 of file apr_dbg_win32_handles.h.

#define CreateSemaphoreA (   sd,
  d1,
  d2,
  nm 
)    apr_dbg_rv(CreateSemaphoreA,(sd,d1,d2,nm))

Definition at line 104 of file apr_dbg_win32_handles.h.

#define CreateSemaphoreW (   sd,
  d1,
  d2,
  nm 
)    apr_dbg_rv(CreateSemaphoreW,(sd,d1,d2,nm))

Definition at line 105 of file apr_dbg_win32_handles.h.

#define CreateThread (   sd,
  d1,
  fn,
  pv,
  d2,
  pd3 
)    apr_dbg_rv(CreateThread,(sd,d1,fn,pv,d2,pd3))

Definition at line 107 of file apr_dbg_win32_handles.h.

#define DeregisterEventSource (   h)
Value:
((BOOL)apr_dbg_log("DeregisterEventSource", \
                       (HANDLE)(DeregisterEventSource)(h), \
                       __FILE__,__LINE__,1, \
                       &(h),""))

Definition at line 109 of file apr_dbg_win32_handles.h.

#define DuplicateHandle (   h1,
  h2,
  h3,
  ph4,
  d1,
  b,
  d2 
)
Value:
((BOOL)apr_dbg_log("DuplicateHandle", \
                       (HANDLE)(DuplicateHandle)(h1,h2,h3,ph4,d1,b,d2), \
                       __FILE__,__LINE__,2, \
                       (ph4),((h3)==GetCurrentProcess()) \
                                   ? "Target" : "EXTERN Target", \
                       &(h2),((h1)==GetCurrentProcess()) \
                                 ? "Source" : "EXTERN Source"))

Definition at line 115 of file apr_dbg_win32_handles.h.

#define GetCurrentProcess ( )
Value:
(apr_dbg_log("GetCurrentProcess", \
                 (GetCurrentProcess)(),__FILE__,__LINE__,0))

Definition at line 124 of file apr_dbg_win32_handles.h.

#define GetCurrentThread ( )
Value:
(apr_dbg_log("GetCurrentThread", \
                 (GetCurrentThread)(),__FILE__,__LINE__,0))

Definition at line 128 of file apr_dbg_win32_handles.h.

#define GetModuleHandleA (   nm)    apr_dbg_rv(GetModuleHandleA,(nm))

Definition at line 132 of file apr_dbg_win32_handles.h.

#define GetModuleHandleW (   nm)    apr_dbg_rv(GetModuleHandleW,(nm))

Definition at line 133 of file apr_dbg_win32_handles.h.

#define GetStdHandle (   d)    apr_dbg_rv(GetStdHandle,(d))

Definition at line 135 of file apr_dbg_win32_handles.h.

#define LoadLibraryA (   nm)    apr_dbg_rv(LoadLibraryA,(nm))

Definition at line 137 of file apr_dbg_win32_handles.h.

#define LoadLibraryExA (   nm,
  h,
 
)    apr_dbg_rv(LoadLibraryExA,(nm,h,d))

Definition at line 140 of file apr_dbg_win32_handles.h.

#define LoadLibraryExW (   nm,
  h,
 
)    apr_dbg_rv(LoadLibraryExW,(nm,h,d))

Definition at line 141 of file apr_dbg_win32_handles.h.

#define LoadLibraryW (   nm)    apr_dbg_rv(LoadLibraryW,(nm))

Definition at line 138 of file apr_dbg_win32_handles.h.

#define OpenEventA (   d,
  b,
  nm 
)    apr_dbg_rv(OpenEventA,(d,b,nm))

Definition at line 143 of file apr_dbg_win32_handles.h.

#define OpenEventW (   d,
  b,
  nm 
)    apr_dbg_rv(OpenEventW,(d,b,nm))

Definition at line 144 of file apr_dbg_win32_handles.h.

#define OpenFileMappingA (   d,
  b,
  nm 
)    apr_dbg_rv(OpenFileMappingA,(d,b,nm))

Definition at line 146 of file apr_dbg_win32_handles.h.

#define OpenFileMappingW (   d,
  b,
  nm 
)    apr_dbg_rv(OpenFileMappingW,(d,b,nm))

Definition at line 147 of file apr_dbg_win32_handles.h.

#define RegisterEventSourceA (   s1,
  s2 
)    apr_dbg_rv(RegisterEventSourceA,(s1,s2))

Definition at line 149 of file apr_dbg_win32_handles.h.

#define RegisterEventSourceW (   s1,
  s2 
)    apr_dbg_rv(RegisterEventSourceW,(s1,s2))

Definition at line 150 of file apr_dbg_win32_handles.h.

#define SetEvent (   h)
Value:
((BOOL)apr_dbg_log("SetEvent", \
                       (HANDLE)(SetEvent)(h), \
                       __FILE__,__LINE__,1, \
                       &(h),""))

Definition at line 152 of file apr_dbg_win32_handles.h.

#define SetStdHandle (   d,
  h 
)
Value:
((BOOL)apr_dbg_log("SetStdHandle", \
                       (HANDLE)(SetStdHandle)(d,h), \
                       __FILE__,__LINE__,1,&(h),""))

Definition at line 158 of file apr_dbg_win32_handles.h.

#define socket (   i1,
  i2,
  i3 
)
Value:
((SOCKET)apr_dbg_log("socket", \
                         (HANDLE)(socket)(i1,i2,i3), \
                       __FILE__,__LINE__,0))

Definition at line 163 of file apr_dbg_win32_handles.h.

#define WaitForMultipleObjects (   d1,
  ah,
  b,
  d2 
)
Value:
((DWORD)apr_dbg_log("WaitForMultipleObjects", \
                        (HANDLE)(WaitForMultipleObjects)(d1,ah,b,d2), \
                        __FILE__,__LINE__,1,ah,"Signaled"))

Definition at line 178 of file apr_dbg_win32_handles.h.

#define WaitForMultipleObjectsEx (   d1,
  ah,
  b1,
  d2,
  b2 
)
Value:
((DWORD)apr_dbg_log("WaitForMultipleObjectsEx", \
                        (HANDLE)(WaitForMultipleObjectsEx)(d1,ah,b1,d2,b2), \
                        __FILE__,__LINE__,1,ah,"Signaled"))

Definition at line 183 of file apr_dbg_win32_handles.h.

#define WaitForSingleObject (   h,
 
)
Value:
((DWORD)apr_dbg_log("WaitForSingleObject", \
                        (HANDLE)(WaitForSingleObject)(h,d), \
                        __FILE__,__LINE__,1,&(h),"Signaled"))

Definition at line 168 of file apr_dbg_win32_handles.h.

#define WaitForSingleObjectEx (   h,
  d,
  b 
)
Value:
((DWORD)apr_dbg_log("WaitForSingleObjectEx", \
                        (HANDLE)(WaitForSingleObjectEx)(h,d,b), \
                        __FILE__,__LINE__,1,&(h),"Signaled"))

Definition at line 173 of file apr_dbg_win32_handles.h.

#define WSASocketA (   i1,
  i2,
  i3,
  pi,
  g,
  dw 
)
Value:
((SOCKET)apr_dbg_log("WSASocketA", \
                         (HANDLE)(WSASocketA)(i1,i2,i3,pi,g,dw), \
                       __FILE__,__LINE__,0))

Definition at line 188 of file apr_dbg_win32_handles.h.

#define WSASocketW (   i1,
  i2,
  i3,
  pi,
  g,
  dw 
)
Value:
((SOCKET)apr_dbg_log("WSASocketW", \
                         (HANDLE)(WSASocketW)(i1,i2,i3,pi,g,dw), \
                       __FILE__,__LINE__,0))

Definition at line 193 of file apr_dbg_win32_handles.h.


Function Documentation


Variable Documentation

HANDLE char* fl

Definition at line 56 of file apr_dbg_win32_handles.h.

Definition at line 56 of file apr_dbg_win32_handles.h.

HANDLE char int ln

Definition at line 56 of file apr_dbg_win32_handles.h.

HANDLE char int int nh

Definition at line 56 of file apr_dbg_win32_handles.h.