/*++ File: Zgdi.c Profiling dll for GDI32.dll NOTE: This file is generated by WRAPPER code generator --*/ #include #include #include #include "windows.h" #include "drivinit.h" #include "zwingdi.h" #include "api32prf.h" //Data Structures extern BOOLEAN fInitDone; int ZAbortDoc (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = AbortDoc(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_AbortDoc, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZAbortPath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = AbortPath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_AbortPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZAddFontResourceA (LPCSTR Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = AddFontResourceA(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_AddFontResourceA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZAddFontResourceW (LPCWSTR Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = AddFontResourceW(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_AddFontResourceW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZAngleArc (HDC Arg1,int Arg2,int Arg3,DWORD Arg4,FLOAT Arg5,FLOAT Arg6) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = AngleArc(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_AngleArc, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZAnimatePalette (HPALETTE Arg1,UINT Arg2,UINT Arg3,const PALETTEENTRY* Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = AnimatePalette(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_AnimatePalette, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZArc (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,int Arg6,int Arg7,int Arg8,int Arg9) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Arc(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Arc, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZArcTo (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,int Arg6,int Arg7,int Arg8,int Arg9) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ArcTo(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ArcTo, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZBeginPath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = BeginPath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_BeginPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZBitBlt (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,HDC Arg6,int Arg7,int Arg8,DWORD Arg9) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = BitBlt(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_BitBlt, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZCancelDC (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CancelDC(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CancelDC, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZChoosePixelFormat(HDC Arg1, PIXELFORMATDESCRIPTOR *Arg2 ) { int RetVal ; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ChoosePixelFormat( Arg1, Arg2 ) ; // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ChoosePixelFormat, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZChord (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,int Arg6,int Arg7,int Arg8,int Arg9) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Chord(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Chord, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HENHMETAFILE ZCloseEnhMetaFile (HDC Arg1) { HENHMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CloseEnhMetaFile(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CloseEnhMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZCloseFigure (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CloseFigure(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CloseFigure, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HMETAFILE ZCloseMetaFile (HDC Arg1) { HMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CloseMetaFile(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CloseMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZCombineRgn (HRGN Arg1,HRGN Arg2,HRGN Arg3,int Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CombineRgn(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CombineRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZCombineTransform (LPXFORM Arg1,const XFORM* Arg2,const XFORM* Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CombineTransform(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CombineTransform, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HENHMETAFILE ZCopyEnhMetaFileA (HENHMETAFILE Arg1,LPCSTR Arg2) { HENHMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CopyEnhMetaFileA(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CopyEnhMetaFileA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HENHMETAFILE ZCopyEnhMetaFileW (HENHMETAFILE Arg1,LPCWSTR Arg2) { HENHMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CopyEnhMetaFileW(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CopyEnhMetaFileW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HMETAFILE ZCopyMetaFileA (HMETAFILE Arg1,LPCSTR Arg2) { HMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CopyMetaFileA(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CopyMetaFileA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HMETAFILE ZCopyMetaFileW (HMETAFILE Arg1,LPCWSTR Arg2) { HMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CopyMetaFileW(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CopyMetaFileW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBITMAP ZCreateBitmap (int Arg1,int Arg2,UINT Arg3,UINT Arg4,const void* Arg5) { HBITMAP RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateBitmap(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateBitmap, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBITMAP ZCreateBitmapIndirect (const BITMAP* Arg1) { HBITMAP RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateBitmapIndirect(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateBitmapIndirect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBRUSH ZCreateBrushIndirect (const LOGBRUSH* Arg1) { HBRUSH RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateBrushIndirect(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateBrushIndirect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBITMAP ZCreateCompatibleBitmap (HDC Arg1,int Arg2,int Arg3) { HBITMAP RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateCompatibleBitmap(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateCompatibleBitmap, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateCompatibleDC (HDC Arg1) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateCompatibleDC(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateCompatibleDC, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateDCA (LPCSTR Arg1,LPCSTR Arg2,LPCSTR Arg3,const DEVMODEA* Arg4) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateDCA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateDCA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateDCW (LPCWSTR Arg1,LPCWSTR Arg2,LPCWSTR Arg3,const DEVMODEW* Arg4) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateDCW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateDCW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBRUSH ZCreateDIBPatternBrush (HGLOBAL Arg1,UINT Arg2) { HBRUSH RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateDIBPatternBrush(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateDIBPatternBrush, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBRUSH ZCreateDIBPatternBrushPt (const void* Arg1,UINT Arg2) { HBRUSH RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateDIBPatternBrushPt(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateDIBPatternBrushPt, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBITMAP ZCreateDIBitmap (HDC Arg1,const BITMAPINFOHEADER* Arg2,DWORD Arg3,const void* Arg4,const BITMAPINFO* Arg5,UINT Arg6) { HBITMAP RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateDIBitmap(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateDIBitmap, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBITMAP ZCreateDIBSection(HDC Arg1, CONST BITMAPINFO * Arg2, UINT Arg3, VOID ** Arg4, HANDLE Arg5, DWORD Arg6) { HBITMAP RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateDIBSection(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateDIBSection, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBITMAP ZCreateDiscardableBitmap (HDC Arg1,int Arg2,int Arg3) { HBITMAP RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateDiscardableBitmap(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateDiscardableBitmap, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZCreateEllipticRgn (int Arg1,int Arg2,int Arg3,int Arg4) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateEllipticRgn(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateEllipticRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZCreateEllipticRgnIndirect (const RECT* Arg1) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateEllipticRgnIndirect(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateEllipticRgnIndirect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateEnhMetaFileA (HDC Arg1,LPCSTR Arg2,const RECT* Arg3,LPCSTR Arg4) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateEnhMetaFileA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateEnhMetaFileA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateEnhMetaFileW (HDC Arg1,LPCWSTR Arg2,const RECT* Arg3,LPCWSTR Arg4) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateEnhMetaFileW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateEnhMetaFileW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HFONT ZCreateFontA (int Arg1,int Arg2,int Arg3,int Arg4,int Arg5,DWORD Arg6,DWORD Arg7,DWORD Arg8,DWORD Arg9,DWORD Arg10,DWORD Arg11,DWORD Arg12,DWORD Arg13,LPCSTR Arg14) { HFONT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateFontA(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9,Arg10,Arg11,Arg12,Arg13,Arg14); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateFontA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HFONT ZCreateFontIndirectA (const LOGFONTA* Arg1) { HFONT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateFontIndirectA(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateFontIndirectA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HFONT ZCreateFontIndirectW (const LOGFONTW* Arg1) { HFONT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateFontIndirectW(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateFontIndirectW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HFONT ZCreateFontW (int Arg1,int Arg2,int Arg3,int Arg4,int Arg5,DWORD Arg6,DWORD Arg7,DWORD Arg8,DWORD Arg9,DWORD Arg10,DWORD Arg11,DWORD Arg12,DWORD Arg13,LPCWSTR Arg14) { HFONT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateFontW(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9,Arg10,Arg11,Arg12,Arg13,Arg14); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateFontW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HPALETTE ZCreateHalftonePalette (HDC Arg1) { HPALETTE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateHalftonePalette(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateHalftonePalette, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBRUSH ZCreateHatchBrush (int Arg1,COLORREF Arg2) { HBRUSH RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateHatchBrush(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateHatchBrush, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateICA (LPCSTR Arg1,LPCSTR Arg2,LPCSTR Arg3,const DEVMODEA* Arg4) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateICA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateICA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateICW (LPCWSTR Arg1,LPCWSTR Arg2,LPCWSTR Arg3,const DEVMODEW* Arg4) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateICW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateICW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateMetaFileA (LPCSTR Arg1) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateMetaFileA(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateMetaFileA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZCreateMetaFileW (LPCWSTR Arg1) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateMetaFileW(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateMetaFileW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HPALETTE ZCreatePalette (const LOGPALETTE* Arg1) { HPALETTE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreatePalette(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreatePalette, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBRUSH ZCreatePatternBrush (HBITMAP Arg1) { HBRUSH RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreatePatternBrush(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreatePatternBrush, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HPEN ZCreatePen (int Arg1,int Arg2,COLORREF Arg3) { HPEN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreatePen(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreatePen, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HPEN ZCreatePenIndirect (const LOGPEN* Arg1) { HPEN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreatePenIndirect(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreatePenIndirect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZCreatePolyPolygonRgn (const POINT* Arg1,const INT* Arg2,int Arg3,int Arg4) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreatePolyPolygonRgn(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreatePolyPolygonRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZCreatePolygonRgn (const POINT* Arg1,int Arg2,int Arg3) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreatePolygonRgn(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreatePolygonRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZCreateRectRgn (int Arg1,int Arg2,int Arg3,int Arg4) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateRectRgn(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateRectRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZCreateRectRgnIndirect (const RECT* Arg1) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateRectRgnIndirect(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateRectRgnIndirect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZCreateRoundRectRgn (int Arg1,int Arg2,int Arg3,int Arg4,int Arg5,int Arg6) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateRoundRectRgn(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateRoundRectRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZCreateScalableFontResourceA (DWORD Arg1,LPCSTR Arg2,LPCSTR Arg3,LPCSTR Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateScalableFontResourceA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateScalableFontResourceA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZCreateScalableFontResourceW (DWORD Arg1,LPCWSTR Arg2,LPCWSTR Arg3,LPCWSTR Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateScalableFontResourceW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateScalableFontResourceW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HBRUSH ZCreateSolidBrush (COLORREF Arg1) { HBRUSH RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = CreateSolidBrush(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_CreateSolidBrush, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZDPtoLP (HDC Arg1,LPPOINT Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = DPtoLP(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_DPtoLP, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZDeleteDC (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = DeleteDC(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_DeleteDC, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZDeleteEnhMetaFile (HENHMETAFILE Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = DeleteEnhMetaFile(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_DeleteEnhMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZDeleteMetaFile (HMETAFILE Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = DeleteMetaFile(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_DeleteMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZDeleteObject (HGDIOBJ Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = DeleteObject(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_DeleteObject, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZDrawEscape (HDC Arg1,int Arg2,int Arg3,LPCSTR Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = DrawEscape(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_DrawEscape, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZEllipse (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Ellipse(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Ellipse, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEndDoc (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EndDoc(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EndDoc, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEndPage (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EndPage(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EndPage, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZEndPath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EndPath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EndPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZEnumEnhMetaFile (HDC Arg1,HENHMETAFILE Arg2,ENHMFENUMPROC Arg3,LPVOID Arg4,const RECT* Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EnumEnhMetaFile(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EnumEnhMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEnumFontFamiliesA (HDC Arg1,LPCSTR Arg2,FONTENUMPROC Arg3,LPARAM Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EnumFontFamiliesA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EnumFontFamiliesA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEnumFontFamiliesW (HDC Arg1,LPCWSTR Arg2,FONTENUMPROC Arg3,LPARAM Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EnumFontFamiliesW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EnumFontFamiliesW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEnumFontsA (HDC Arg1,LPCSTR Arg2,FONTENUMPROC Arg3,LPARAM Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EnumFontsA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EnumFontsA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEnumFontsW (HDC Arg1,LPCWSTR Arg2,FONTENUMPROC Arg3,LPARAM Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EnumFontsW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EnumFontsW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZEnumMetaFile (HDC Arg1,HMETAFILE Arg2,MFENUMPROC Arg3,LPARAM Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EnumMetaFile(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EnumMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEnumObjects (HDC Arg1,int Arg2,GOBJENUMPROC Arg3,LPARAM Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EnumObjects(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EnumObjects, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZEqualRgn (HRGN Arg1,HRGN Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = EqualRgn(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_EqualRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZEscape (HDC Arg1,int Arg2,int Arg3,LPCSTR Arg4,LPVOID Arg5) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Escape(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Escape, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZExcludeClipRect (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExcludeClipRect(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExcludeClipRect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HPEN ZExtCreatePen (DWORD Arg1,DWORD Arg2,const LOGBRUSH* Arg3,DWORD Arg4,const DWORD* Arg5) { HPEN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExtCreatePen(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExtCreatePen, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZExtCreateRegion (const XFORM* Arg1,DWORD Arg2,const RGNDATA* Arg3) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExtCreateRegion(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExtCreateRegion, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZExtEscape (HDC Arg1,int Arg2,int Arg3,LPCSTR Arg4,int Arg5,LPSTR Arg6) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExtEscape(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExtEscape, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZExtFloodFill (HDC Arg1,int Arg2,int Arg3,COLORREF Arg4,UINT Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExtFloodFill(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExtFloodFill, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZExtSelectClipRgn (HDC Arg1,HRGN Arg2,int Arg3) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExtSelectClipRgn(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExtSelectClipRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZExtTextOutA (HDC Arg1,int Arg2,int Arg3,UINT Arg4,const RECT* Arg5,LPCSTR Arg6,UINT Arg7,const INT* Arg8) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExtTextOutA(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExtTextOutA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZExtTextOutW (HDC Arg1,int Arg2,int Arg3,UINT Arg4,const RECT* Arg5,LPCWSTR Arg6,UINT Arg7,const INT* Arg8) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ExtTextOutW(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ExtTextOutW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZFillPath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = FillPath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_FillPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZFillRgn (HDC Arg1,HRGN Arg2,HBRUSH Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = FillRgn(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_FillRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZFixBrushOrgEx (HDC Arg1,int Arg2,int Arg3,LPPOINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = FixBrushOrgEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_FixBrushOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZFlattenPath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = FlattenPath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_FlattenPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZFloodFill (HDC Arg1,int Arg2,int Arg3,COLORREF Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = FloodFill(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_FloodFill, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZFrameRgn (HDC Arg1,HRGN Arg2,HBRUSH Arg3,int Arg4,int Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = FrameRgn(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_FrameRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGdiComment (HDC Arg1,UINT Arg2,const BYTE* Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GdiComment(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GdiComment, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGdiFlush () { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GdiFlush(); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GdiFlush, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGdiGetBatchLimit () { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GdiGetBatchLimit(); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GdiGetBatchLimit, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGdiSetBatchLimit (DWORD Arg1) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GdiSetBatchLimit(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GdiSetBatchLimit, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetArcDirection (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetArcDirection(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetArcDirection, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetAspectRatioFilterEx (HDC Arg1,LPSIZE Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetAspectRatioFilterEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetAspectRatioFilterEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } LONG ZGetBitmapBits (HBITMAP Arg1,LONG Arg2,LPVOID Arg3) { LONG RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetBitmapBits(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetBitmapBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetBitmapDimensionEx (HBITMAP Arg1,LPSIZE Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetBitmapDimensionEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetBitmapDimensionEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } COLORREF ZGetBkColor (HDC Arg1) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetBkColor(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetBkColor, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetBkMode (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetBkMode(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetBkMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetBoundsRect (HDC Arg1,LPRECT Arg2,UINT Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetBoundsRect(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetBoundsRect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetBrushOrgEx (HDC Arg1,LPPOINT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetBrushOrgEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetBrushOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharABCWidthsA (HDC Arg1,UINT Arg2,UINT Arg3,LPABC Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharABCWidthsA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharABCWidthsA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharABCWidthsFloatA (HDC Arg1,UINT Arg2,UINT Arg3,LPABCFLOAT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharABCWidthsFloatA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharABCWidthsFloatA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharABCWidthsFloatW (HDC Arg1,UINT Arg2,UINT Arg3,LPABCFLOAT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharABCWidthsFloatW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharABCWidthsFloatW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharABCWidthsW (HDC Arg1,UINT Arg2,UINT Arg3,LPABC Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharABCWidthsW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharABCWidthsW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharWidth32A (HDC Arg1,UINT Arg2,UINT Arg3,LPINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharWidth32A(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharWidth32A, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharWidth32W (HDC Arg1,UINT Arg2,UINT Arg3,LPINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharWidth32W(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharWidth32W, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharWidthA (HDC Arg1,UINT Arg2,UINT Arg3,LPINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharWidthA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharWidthA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharWidthFloatA (HDC Arg1,UINT Arg2,UINT Arg3,PFLOAT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharWidthFloatA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharWidthFloatA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharWidthFloatW (HDC Arg1,UINT Arg2,UINT Arg3,PFLOAT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharWidthFloatW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharWidthFloatW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCharWidthW (HDC Arg1,UINT Arg2,UINT Arg3,LPINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCharWidthW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCharWidthW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetClipBox (HDC Arg1,LPRECT Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetClipBox(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetClipBox, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetClipRgn (HDC Arg1,HRGN Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetClipRgn(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetClipRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetColorAdjustment (HDC Arg1,LPCOLORADJUSTMENT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetColorAdjustment(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetColorAdjustment, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HGDIOBJ ZGetCurrentObject (HDC Arg1,UINT Arg2) { HGDIOBJ RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCurrentObject(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCurrentObject, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetCurrentPositionEx (HDC Arg1,LPPOINT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetCurrentPositionEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetCurrentPositionEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetDCOrgEx (HDC Arg1,LPPOINT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetDCOrgEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetDCOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetDIBits (HDC Arg1,HBITMAP Arg2,UINT Arg3,UINT Arg4,LPVOID Arg5,LPBITMAPINFO Arg6,UINT Arg7) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetDIBits(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetDIBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetDeviceCaps (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetDeviceCaps(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetDeviceCaps, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HENHMETAFILE ZGetEnhMetaFileA (LPCSTR Arg1) { HENHMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetEnhMetaFileA(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetEnhMetaFileA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetEnhMetaFileBits (HENHMETAFILE Arg1,UINT Arg2,LPBYTE Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetEnhMetaFileBits(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetEnhMetaFileBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetEnhMetaFileDescriptionA (HENHMETAFILE Arg1,UINT Arg2,LPSTR Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetEnhMetaFileDescriptionA(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetEnhMetaFileDescriptionA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetEnhMetaFileDescriptionW (HENHMETAFILE Arg1,UINT Arg2,LPWSTR Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetEnhMetaFileDescriptionW(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetEnhMetaFileDescriptionW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetEnhMetaFileHeader (HENHMETAFILE Arg1,UINT Arg2,LPENHMETAHEADER Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetEnhMetaFileHeader(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetEnhMetaFileHeader, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetEnhMetaFilePaletteEntries (HENHMETAFILE Arg1,UINT Arg2,LPPALETTEENTRY Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetEnhMetaFilePaletteEntries(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetEnhMetaFilePaletteEntries, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HENHMETAFILE ZGetEnhMetaFileW (LPCWSTR Arg1) { HENHMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetEnhMetaFileW(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetEnhMetaFileW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGetFontData (HDC Arg1,DWORD Arg2,DWORD Arg3,LPVOID Arg4,DWORD Arg5) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetFontData(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetFontData, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGetGlyphOutlineA (HDC Arg1,UINT Arg2,UINT Arg3,LPGLYPHMETRICS Arg4,DWORD Arg5,LPVOID Arg6,const MAT2* Arg7) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetGlyphOutlineA(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetGlyphOutlineA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGetGlyphOutlineW (HDC Arg1,UINT Arg2,UINT Arg3,LPGLYPHMETRICS Arg4,DWORD Arg5,LPVOID Arg6,const MAT2* Arg7) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetGlyphOutlineW(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetGlyphOutlineW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetGraphicsMode (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetGraphicsMode(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetGraphicsMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGetKerningPairsA (HDC Arg1,DWORD Arg2,LPKERNINGPAIR Arg3) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetKerningPairsA(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetKerningPairsA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGetKerningPairsW (HDC Arg1,DWORD Arg2,LPKERNINGPAIR Arg3) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetKerningPairsW(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetKerningPairsW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetMapMode (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetMapMode(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetMapMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HMETAFILE ZGetMetaFileA (LPCSTR Arg1) { HMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetMetaFileA(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetMetaFileA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetMetaFileBitsEx (HMETAFILE Arg1,UINT Arg2,LPVOID Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetMetaFileBitsEx(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetMetaFileBitsEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HMETAFILE ZGetMetaFileW (LPCWSTR Arg1) { HMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetMetaFileW(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetMetaFileW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetMetaRgn (HDC Arg1,HRGN Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetMetaRgn(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetMetaRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetMiterLimit (HDC Arg1,PFLOAT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetMiterLimit(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetMiterLimit, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } COLORREF ZGetNearestColor (HDC Arg1,COLORREF Arg2) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetNearestColor(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetNearestColor, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetNearestPaletteIndex (HPALETTE Arg1,COLORREF Arg2) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetNearestPaletteIndex(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetNearestPaletteIndex, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetObjectA (HGDIOBJ Arg1,int Arg2,LPVOID Arg3) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetObjectA(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetObjectA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGetObjectType (HGDIOBJ h) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetObjectType(h); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetObjectType, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetObjectW (HGDIOBJ Arg1,int Arg2,LPVOID Arg3) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetObjectW(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetObjectW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetOutlineTextMetricsA (HDC Arg1,UINT Arg2,LPOUTLINETEXTMETRICA Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetOutlineTextMetricsA(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetOutlineTextMetricsA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetOutlineTextMetricsW (HDC Arg1,UINT Arg2,LPOUTLINETEXTMETRICW Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetOutlineTextMetricsW(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetOutlineTextMetricsW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetPaletteEntries (HPALETTE Arg1,UINT Arg2,UINT Arg3,LPPALETTEENTRY Arg4) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetPaletteEntries(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetPaletteEntries, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetPath (HDC Arg1,LPPOINT Arg2,LPBYTE Arg3,int Arg4) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetPath(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } COLORREF ZGetPixel (HDC Arg1,int Arg2,int Arg3) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetPixel(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetPixel, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetPolyFillMode (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetPolyFillMode(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetPolyFillMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetROP2 (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetROP2(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetROP2, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetRasterizerCaps (LPRASTERIZER_STATUS Arg1,UINT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetRasterizerCaps(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetRasterizerCaps, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZGetRegionData (HRGN Arg1,DWORD Arg2,LPRGNDATA Arg3) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetRegionData(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetRegionData, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetRgnBox (HRGN Arg1,LPRECT Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetRgnBox(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetRgnBox, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HGDIOBJ ZGetStockObject (int Arg1) { HGDIOBJ RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetStockObject(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetStockObject, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetStretchBltMode (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetStretchBltMode(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetStretchBltMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetSystemPaletteEntries (HDC Arg1,UINT Arg2,UINT Arg3,LPPALETTEENTRY Arg4) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetSystemPaletteEntries(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetSystemPaletteEntries, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetSystemPaletteUse (HDC Arg1) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetSystemPaletteUse(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetSystemPaletteUse, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetTextAlign (HDC Arg1) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextAlign(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextAlign, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetTextCharacterExtra (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextCharacterExtra(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextCharacterExtra, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } COLORREF ZGetTextColor (HDC Arg1) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextColor(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextColor, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextExtentExPointA (HDC Arg1,LPCSTR Arg2,int Arg3,int Arg4,LPINT Arg5,LPINT Arg6,LPSIZE Arg7) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextExtentExPointA(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextExtentExPointA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextExtentExPointW (HDC Arg1,LPCWSTR Arg2,int Arg3,int Arg4,LPINT Arg5,LPINT Arg6,LPSIZE Arg7) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextExtentExPointW(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextExtentExPointW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextExtentPoint32A (HDC Arg1,LPCSTR Arg2,int Arg3,LPSIZE Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextExtentPoint32A(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextExtentPoint32A, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextExtentPoint32W (HDC Arg1,LPCWSTR Arg2,int Arg3,LPSIZE Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextExtentPoint32W(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextExtentPoint32W, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextExtentPointA (HDC Arg1,LPCSTR Arg2,int Arg3,LPSIZE Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextExtentPointA(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextExtentPointA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextExtentPointW (HDC Arg1,LPCWSTR Arg2,int Arg3,LPSIZE Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextExtentPointW(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextExtentPointW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetTextFaceA (HDC Arg1,int Arg2,LPSTR Arg3) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextFaceA(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextFaceA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetTextFaceW (HDC Arg1,int Arg2,LPWSTR Arg3) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextFaceW(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextFaceW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextMetricsA (HDC Arg1,LPTEXTMETRICA Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextMetricsA(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextMetricsA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetTextMetricsW (HDC Arg1,LPTEXTMETRICW Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetTextMetricsW(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetTextMetricsW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetViewportExtEx (HDC Arg1,LPSIZE Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetViewportExtEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetViewportExtEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetViewportOrgEx (HDC Arg1,LPPOINT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetViewportOrgEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetViewportOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetWinMetaFileBits (HENHMETAFILE Arg1,UINT Arg2,LPBYTE Arg3,INT Arg4,HDC Arg5) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetWinMetaFileBits(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetWinMetaFileBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetWindowExtEx (HDC Arg1,LPSIZE Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetWindowExtEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetWindowExtEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetWindowOrgEx (HDC Arg1,LPPOINT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetWindowOrgEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetWindowOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZGetWorldTransform (HDC Arg1,LPXFORM Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetWorldTransform(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetWorldTransform, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZIntersectClipRect (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = IntersectClipRect(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_IntersectClipRect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZInvertRgn (HDC Arg1,HRGN Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = InvertRgn(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_InvertRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZLPtoDP (HDC Arg1,LPPOINT Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = LPtoDP(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_LPtoDP, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZLineDDA (int Arg1,int Arg2,int Arg3,int Arg4,LINEDDAPROC Arg5,LPARAM Arg6) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = LineDDA(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_LineDDA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZLineTo (HDC Arg1,int Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = LineTo(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_LineTo, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZMaskBlt (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,HDC Arg6,int Arg7,int Arg8,HBITMAP Arg9,int Arg10,int Arg11,DWORD Arg12) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = MaskBlt(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9,Arg10,Arg11,Arg12); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_MaskBlt, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZModifyWorldTransform (HDC Arg1,const XFORM* Arg2,DWORD Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ModifyWorldTransform(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ModifyWorldTransform, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZMoveToEx (HDC Arg1,int Arg2,int Arg3,LPPOINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = MoveToEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_MoveToEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZOffsetClipRgn (HDC Arg1,int Arg2,int Arg3) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = OffsetClipRgn(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_OffsetClipRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZOffsetRgn (HRGN Arg1,int Arg2,int Arg3) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = OffsetRgn(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_OffsetRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZOffsetViewportOrgEx (HDC Arg1,int Arg2,int Arg3,LPPOINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = OffsetViewportOrgEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_OffsetViewportOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZOffsetWindowOrgEx (HDC Arg1,int Arg2,int Arg3,LPPOINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = OffsetWindowOrgEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_OffsetWindowOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPaintRgn (HDC Arg1,HRGN Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PaintRgn(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PaintRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPatBlt (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,DWORD Arg6) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PatBlt(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PatBlt, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HRGN ZPathToRegion (HDC Arg1) { HRGN RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PathToRegion(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PathToRegion, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPie (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,int Arg6,int Arg7,int Arg8,int Arg9) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Pie(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Pie, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPlayEnhMetaFile (HDC Arg1,HENHMETAFILE Arg2,const RECT* Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PlayEnhMetaFile(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PlayEnhMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPlayEnhMetaFileRecord (HDC Arg1,LPHANDLETABLE Arg2,const ENHMETARECORD* Arg3,UINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PlayEnhMetaFileRecord(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PlayEnhMetaFileRecord, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPlayMetaFile (HDC Arg1,HMETAFILE Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PlayMetaFile(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PlayMetaFile, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPlayMetaFileRecord (HDC Arg1,LPHANDLETABLE Arg2,LPMETARECORD Arg3,UINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PlayMetaFileRecord(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PlayMetaFileRecord, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPlgBlt (HDC Arg1,const POINT* Arg2,HDC Arg3,int Arg4,int Arg5,int Arg6,int Arg7,HBITMAP Arg8,int Arg9,int Arg10) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PlgBlt(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9,Arg10); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PlgBlt, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyBezier (HDC Arg1,const POINT* Arg2,DWORD Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolyBezier(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolyBezier, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyBezierTo (HDC Arg1,const POINT* Arg2,DWORD Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolyBezierTo(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolyBezierTo, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyDraw (HDC Arg1,const POINT* Arg2,const BYTE* Arg3,int Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolyDraw(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolyDraw, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyPolygon (HDC Arg1,const POINT* Arg2,const INT* Arg3,int Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolyPolygon(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolyPolygon, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyPolyline (HDC Arg1,const POINT* Arg2,const DWORD* Arg3,DWORD Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolyPolyline(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolyPolyline, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyTextOutA (HDC Arg1,const POLYTEXTA* Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolyTextOutA(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolyTextOutA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyTextOutW (HDC Arg1,const POLYTEXTW* Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolyTextOutW(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolyTextOutW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolygon (HDC Arg1,const POINT* Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Polygon(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Polygon, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolyline (HDC Arg1,const POINT* Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Polyline(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Polyline, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPolylineTo (HDC Arg1,const POINT* Arg2,DWORD Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PolylineTo(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PolylineTo, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPtInRegion (HRGN Arg1,int Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PtInRegion(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PtInRegion, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZPtVisible (HDC Arg1,int Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = PtVisible(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_PtVisible, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZRealizePalette (HDC Arg1) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = RealizePalette(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_RealizePalette, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZRectInRegion (HRGN Arg1,const RECT* Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = RectInRegion(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_RectInRegion, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZRectVisible (HDC Arg1,const RECT* Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = RectVisible(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_RectVisible, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZRectangle (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = Rectangle(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_Rectangle, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZRemoveFontResourceA (LPCSTR Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = RemoveFontResourceA(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_RemoveFontResourceA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZRemoveFontResourceW (LPCWSTR Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = RemoveFontResourceW(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_RemoveFontResourceW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZResetDCA (HDC Arg1,const DEVMODEA* Arg2) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ResetDCA(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ResetDCA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HDC ZResetDCW (HDC Arg1,const DEVMODEW* Arg2) { HDC RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ResetDCW(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ResetDCW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZResizePalette (HPALETTE Arg1,UINT Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ResizePalette(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ResizePalette, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZRestoreDC (HDC Arg1,int Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = RestoreDC(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_RestoreDC, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZRoundRect (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,int Arg6,int Arg7) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = RoundRect(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_RoundRect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSaveDC (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SaveDC(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SaveDC, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZScaleViewportExtEx (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,LPSIZE Arg6) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ScaleViewportExtEx(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ScaleViewportExtEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZScaleWindowExtEx (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,LPSIZE Arg6) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = ScaleWindowExtEx(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_ScaleWindowExtEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSelectClipPath (HDC Arg1,int Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SelectClipPath(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SelectClipPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSelectClipRgn (HDC Arg1,HRGN Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SelectClipRgn(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SelectClipRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HGDIOBJ ZSelectObject (HDC Arg1,HGDIOBJ Arg2) { HGDIOBJ RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SelectObject(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SelectObject, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HPALETTE ZSelectPalette (HDC Arg1,HPALETTE Arg2,BOOL Arg3) { HPALETTE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SelectPalette(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SelectPalette, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetAbortProc (HDC Arg1,ABORTPROC Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetAbortProc(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetAbortProc, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetArcDirection (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetArcDirection(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetArcDirection, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } LONG ZSetBitmapBits (HBITMAP Arg1,DWORD Arg2,const void* Arg3) { LONG RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetBitmapBits(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetBitmapBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetBitmapDimensionEx (HBITMAP Arg1,int Arg2,int Arg3,LPSIZE Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetBitmapDimensionEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetBitmapDimensionEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } COLORREF ZSetBkColor (HDC Arg1,COLORREF Arg2) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetBkColor(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetBkColor, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetBkMode (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetBkMode(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetBkMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZSetBoundsRect (HDC Arg1,const RECT* Arg2,UINT Arg3) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetBoundsRect(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetBoundsRect, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetBrushOrgEx (HDC Arg1,int Arg2,int Arg3,LPPOINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetBrushOrgEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetBrushOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetColorAdjustment (HDC Arg1,const COLORADJUSTMENT* Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetColorAdjustment(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetColorAdjustment, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetDIBits (HDC Arg1,HBITMAP Arg2,UINT Arg3,UINT Arg4,const void* Arg5,const BITMAPINFO* Arg6,UINT Arg7) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetDIBits(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetDIBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetDIBitsToDevice (HDC Arg1,int Arg2,int Arg3,DWORD Arg4,DWORD Arg5,int Arg6,int Arg7,UINT Arg8,UINT Arg9,const void* Arg10,const BITMAPINFO* Arg11,UINT Arg12) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetDIBitsToDevice(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9,Arg10,Arg11,Arg12); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetDIBitsToDevice, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HENHMETAFILE ZSetEnhMetaFileBits (UINT Arg1,const BYTE* Arg2) { HENHMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetEnhMetaFileBits(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetEnhMetaFileBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetGraphicsMode (HDC hdc,int iMode) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetGraphicsMode(hdc,iMode); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetGraphicsMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetMapMode (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetMapMode(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetMapMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } DWORD ZSetMapperFlags (HDC Arg1,DWORD Arg2) { DWORD RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetMapperFlags(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetMapperFlags, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HMETAFILE ZSetMetaFileBitsEx (UINT Arg1,const BYTE* Arg2) { HMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetMetaFileBitsEx(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetMetaFileBitsEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetMetaRgn (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetMetaRgn(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetMetaRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetMiterLimit (HDC Arg1,FLOAT Arg2,PFLOAT Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetMiterLimit(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetMiterLimit, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZSetPaletteEntries (HPALETTE Arg1,UINT Arg2,UINT Arg3,const PALETTEENTRY* Arg4) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetPaletteEntries(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetPaletteEntries, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } COLORREF ZSetPixel (HDC Arg1,int Arg2,int Arg3,COLORREF Arg4) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetPixel(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetPixel, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetPixelV (HDC Arg1,int Arg2,int Arg3,COLORREF Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetPixelV(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetPixelV, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetPolyFillMode (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetPolyFillMode(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetPolyFillMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetROP2 (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetROP2(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetROP2, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetRectRgn (HRGN Arg1,int Arg2,int Arg3,int Arg4,int Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetRectRgn(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetRectRgn, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetStretchBltMode (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetStretchBltMode(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetStretchBltMode, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZSetSystemPaletteUse (HDC Arg1,UINT Arg2) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetSystemPaletteUse(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetSystemPaletteUse, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZSetTextAlign (HDC Arg1,UINT Arg2) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetTextAlign(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetTextAlign, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZSetTextCharacterExtra (HDC Arg1,int Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetTextCharacterExtra(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetTextCharacterExtra, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } COLORREF ZSetTextColor (HDC Arg1,COLORREF Arg2) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetTextColor(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetTextColor, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetTextJustification (HDC Arg1,int Arg2,int Arg3) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetTextJustification(Arg1,Arg2,Arg3); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetTextJustification, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetViewportExtEx (HDC Arg1,int Arg2,int Arg3,LPSIZE Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetViewportExtEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetViewportExtEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetViewportOrgEx (HDC Arg1,int Arg2,int Arg3,LPPOINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetViewportOrgEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetViewportOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } HENHMETAFILE ZSetWinMetaFileBits (UINT Arg1,const BYTE* Arg2,HDC Arg3,const METAFILEPICT* Arg4) { HENHMETAFILE RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetWinMetaFileBits(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetWinMetaFileBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetWindowExtEx (HDC Arg1,int Arg2,int Arg3,LPSIZE Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetWindowExtEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetWindowExtEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetWindowOrgEx (HDC Arg1,int Arg2,int Arg3,LPPOINT Arg4) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetWindowOrgEx(Arg1,Arg2,Arg3,Arg4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetWindowOrgEx, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetWorldTransform (HDC Arg1,const XFORM* Arg2) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetWorldTransform(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetWorldTransform, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZStartDocA (HDC Arg1,const DOCINFOA* Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = StartDocA(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_StartDocA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZStartDocW (HDC Arg1,const DOCINFOW* Arg2) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = StartDocW(Arg1,Arg2); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_StartDocW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZStartPage (HDC Arg1) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = StartPage(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_StartPage, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZStretchBlt (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,HDC Arg6,int Arg7,int Arg8,int Arg9,int Arg10,DWORD Arg11) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = StretchBlt(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9,Arg10,Arg11); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_StretchBlt, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZStretchDIBits (HDC Arg1,int Arg2,int Arg3,int Arg4,int Arg5,int Arg6,int Arg7,int Arg8,int Arg9,const void* Arg10,const BITMAPINFO* Arg11,UINT Arg12,DWORD Arg13) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = StretchDIBits(Arg1,Arg2,Arg3,Arg4,Arg5,Arg6,Arg7,Arg8,Arg9,Arg10,Arg11,Arg12,Arg13); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_StretchDIBits, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZStrokeAndFillPath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = StrokeAndFillPath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_StrokeAndFillPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZStrokePath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = StrokePath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_StrokePath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZTextOutA (HDC Arg1,int Arg2,int Arg3,LPCSTR Arg4,int Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = TextOutA(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_TextOutA, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZTextOutW (HDC Arg1,int Arg2,int Arg3,LPCWSTR Arg4,int Arg5) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = TextOutW(Arg1,Arg2,Arg3,Arg4,Arg5); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_TextOutW, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZUnrealizeObject (HGDIOBJ Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = UnrealizeObject(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_UnrealizeObject, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZUpdateColors (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = UpdateColors(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_UpdateColors, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZWidenPath (HDC Arg1) { BOOL RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = WidenPath(Arg1); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_WidenPath, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZGetDIBColorTable(HDC a1, UINT a2, UINT a3, RGBQUAD *a4) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetDIBColorTable(a1,a2,a3,a4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetDIBColorTable, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } UINT ZSetDIBColorTable(HDC a1, UINT a2, UINT a3, RGBQUAD *a4) { UINT RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetDIBColorTable(a1,a2,a3,a4); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetDIBColorTable, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } BOOL ZSetPixelFormat(HDC a1, int a2,PIXELFORMATDESCRIPTOR *a3) { COLORREF RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = SetPixelFormat(a1,a2,a3) ; // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_SetPixelFormat, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); } int ZGetPixelFormat(HDC hdc) { int RetVal; SHORT sTimerHandle; ULONG ulElapsedTime; if (fInitDone == FALSE) { ApfInitDll(); } TimerOpen(&sTimerHandle,MICROSECONDS); TimerInit(sTimerHandle); // // Call the api // RetVal = GetPixelFormat(hdc); // // Get the elapsed time // ulElapsedTime = TimerRead(sTimerHandle); ApfRecordInfo(I_GetPixelFormat, ulElapsedTime); TimerClose(sTimerHandle); return(RetVal); }