#include "Capture.h"
-static char *VB_Name = "CaptureModule";
+#if 0
+
+// static char *VB_Name = "CaptureModule";
+
// --------------------------------------------------------------------
// ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//
long RealizePalette(long hDC);
long GetWindowDC(long hWnd);
long GetDC(long hWnd);
+#if 0
long GetWindowRect(long hWnd, RECT lpRect);
+#endif
long ReleaseDC(long hWnd, long hDC);
long GetDesktopWindow();
int RealizePalette(int hDC);
int GetWindowDC(int hWnd);
int GetDC(int hWnd);
+#if 0
int GetWindowRect(int hWnd, RECT lpRect);
+#endif
int ReleaseDC(int hWnd, int hDC);
int GetDesktopWindow();
// Fill Pic with necessary parts.
{
- pic.Size = Len(pic); // Length of structure.
+ pic.Size = sizeof(pic); // Length of structure.
pic.Type = vbPicTypeBitmap; // Type of Picture (bitmap).
pic.hBmp = hBmp; // Handle to bitmap.
pic.hPal = hPal; // Handle to palette (may be null).
return CaptureClient;
}
+#if 0
+
// ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//
// CaptureActiveWindow
return CaptureActiveWindow;
}
+#endif
+
// ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//
}
// Print the picture using the PaintPicture method.
- Prn_PaintPicture(pic, 0, 0, PrnPicWidth, PrnPicHeight);
+#if 0
+ Prn.PaintPicture(pic, 0, 0, PrnPicWidth, PrnPicHeight);
+#endif
}
// --------------------------------------------------------------------
+#endif