Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
apr_dbg_win32_handles.h File Reference

Go to the source code of this file.

Macros

#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

HANDLE apr_dbg_log (char *fn, HANDLE ha, char *fl, int ln, int nh,...)
 

Macro Definition Documentation

#define _beginthread (   fn,
  d,
  pv 
)
Value:
((unsigned long)apr_dbg_log("_beginthread", \
(HANDLE)(_beginthread)(fn,d,pv), \
__FILE__,__LINE__,0))
#define _beginthread(fn, d, pv)
Definition: apr_dbg_win32_handles.h:203
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#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))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define _beginthreadex(sd, d1, fn, pv, d2, pd3)
Definition: apr_dbg_win32_handles.h:208
#define apr_dbg_rv (   fn,
  args 
)    (apr_dbg_log(#fn,(fn) args,__FILE__,__LINE__,0))
#define CloseHandle (   h)
Value:
((BOOL)apr_dbg_log("CloseHandle", \
(HANDLE)(CloseHandle)(h), \
__FILE__,__LINE__,1, \
&(h),""))
#define BOOL
Definition: macros.h:25
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define CloseHandle(h)
Definition: apr_dbg_win32_handles.h:61
#define closesocket (   sh)
Value:
((int)apr_dbg_log("closesocket", \
(HANDLE)(closesocket)(sh), \
__FILE__,__LINE__,1,&(sh),""))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
int
Definition: mod_proxy.h:626
#define closesocket(sh)
Definition: apr_dbg_win32_handles.h:198
#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,
 
)    apr_dbg_rv(CreateFileA,(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 CreateFileW (   nm,
  d1,
  d2,
  sd,
  d3,
  d4,
 
)    apr_dbg_rv(CreateFileW,(nm,d1,d2,sd,d3,d4,h))
#define CreateIoCompletionPort (   h1,
  h2,
  pd1,
  d2 
)    apr_dbg_rv(CreateIoCompletionPort,(h1,h2,pd1,d2))
#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 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,
 
)
Value:
((BOOL)apr_dbg_log("CreatePipe", \
(HANDLE)(CreatePipe)(ph1,ph2,sd,d), \
__FILE__,__LINE__,2, \
(ph1),"hRead", \
(ph2),"hWrite"))
#define CreatePipe(ph1, ph2, sd, d)
Definition: apr_dbg_win32_handles.h:84
#define BOOL
Definition: macros.h:25
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#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"))
#define BOOL
Definition: macros.h:25
#define CreateProcessA(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)
Definition: apr_dbg_win32_handles.h:91
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#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"))
#define BOOL
Definition: macros.h:25
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define CreateProcessW(s1, s2, sd1, sd2, b, d1, s3, s4, pd2, hr)
Definition: apr_dbg_win32_handles.h:97
#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)
Value:
((BOOL)apr_dbg_log("DeregisterEventSource", \
(HANDLE)(DeregisterEventSource)(h), \
__FILE__,__LINE__,1, \
&(h),""))
#define BOOL
Definition: macros.h:25
#define DeregisterEventSource(h)
Definition: apr_dbg_win32_handles.h:109
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#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"))
#define BOOL
Definition: macros.h:25
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define GetCurrentProcess()
Definition: apr_dbg_win32_handles.h:124
#define DuplicateHandle(h1, h2, h3, ph4, d1, b, d2)
Definition: apr_dbg_win32_handles.h:115
#define GetCurrentProcess ( )
Value:
(apr_dbg_log("GetCurrentProcess", \
(GetCurrentProcess)(),__FILE__,__LINE__,0))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define GetCurrentProcess()
Definition: apr_dbg_win32_handles.h:124
#define GetCurrentThread ( )
Value:
(apr_dbg_log("GetCurrentThread", \
(GetCurrentThread)(),__FILE__,__LINE__,0))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define GetCurrentThread()
Definition: apr_dbg_win32_handles.h:128
#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 LoadLibraryExA (   nm,
  h,
 
)    apr_dbg_rv(LoadLibraryExA,(nm,h,d))
#define LoadLibraryExW (   nm,
  h,
 
)    apr_dbg_rv(LoadLibraryExW,(nm,h,d))
#define LoadLibraryW (   nm)    apr_dbg_rv(LoadLibraryW,(nm))
#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)
Value:
((BOOL)apr_dbg_log("SetEvent", \
(HANDLE)(SetEvent)(h), \
__FILE__,__LINE__,1, \
&(h),""))
#define BOOL
Definition: macros.h:25
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define SetEvent(h)
Definition: apr_dbg_win32_handles.h:152
#define SetStdHandle (   d,
 
)
Value:
((BOOL)apr_dbg_log("SetStdHandle", \
(HANDLE)(SetStdHandle)(d,h), \
__FILE__,__LINE__,1,&(h),""))
#define BOOL
Definition: macros.h:25
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define SetStdHandle(d, h)
Definition: apr_dbg_win32_handles.h:158
#define socket (   i1,
  i2,
  i3 
)
Value:
((SOCKET)apr_dbg_log("socket", \
(HANDLE)(socket)(i1,i2,i3), \
__FILE__,__LINE__,0))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define socket(i1, i2, i3)
Definition: apr_dbg_win32_handles.h:163
#define WaitForMultipleObjects (   d1,
  ah,
  b,
  d2 
)
Value:
((DWORD)apr_dbg_log("WaitForMultipleObjects", \
(HANDLE)(WaitForMultipleObjects)(d1,ah,b,d2), \
__FILE__,__LINE__,1,ah,"Signaled"))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define WaitForMultipleObjects(d1, ah, b, d2)
Definition: apr_dbg_win32_handles.h:178
#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"))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define WaitForMultipleObjectsEx(d1, ah, b1, d2, b2)
Definition: apr_dbg_win32_handles.h:183
#define WaitForSingleObject (   h,
 
)
Value:
((DWORD)apr_dbg_log("WaitForSingleObject", \
(HANDLE)(WaitForSingleObject)(h,d), \
__FILE__,__LINE__,1,&(h),"Signaled"))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define WaitForSingleObject(h, d)
Definition: apr_dbg_win32_handles.h:168
#define WaitForSingleObjectEx (   h,
  d,
 
)
Value:
((DWORD)apr_dbg_log("WaitForSingleObjectEx", \
(HANDLE)(WaitForSingleObjectEx)(h,d,b), \
__FILE__,__LINE__,1,&(h),"Signaled"))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define WaitForSingleObjectEx(h, d, b)
Definition: apr_dbg_win32_handles.h:173
#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))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define WSASocketA(i1, i2, i3, pi, g, dw)
Definition: apr_dbg_win32_handles.h:188
#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))
HANDLE apr_dbg_log(char *fn, HANDLE ha, char *fl, int ln, int nh,...)
#define WSASocketW(i1, i2, i3, pi, g, dw)
Definition: apr_dbg_win32_handles.h:193

Function Documentation

HANDLE apr_dbg_log ( char *  fn,
HANDLE  ha,
char *  fl,
int  ln,
int  nh,
  ... 
)