Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ScreenPipe.h

Go to the documentation of this file.
00001 // ScreenPipe.h: interface for the ScreenPipe class.
00004 
00005 
00006 #if !defined(AFX_SCREENPIPE_H__8F28C996_E78E_4DDD_A034_DDD253AF41A7__INCLUDED_)
00007 #define AFX_SCREENPIPE_H__8F28C996_E78E_4DDD_A034_DDD253AF41A7__INCLUDED_
00008 
00009 #if _MSC_VER > 1000
00010 #pragma once
00011 #endif // _MSC_VER > 1000
00012 
00013 #define SP_UNKNOWN_ERROR            0L  
00014 #define SP_SUCCESS                  1L  
00015 #define SP_NOT_CONNECTED            2L  
00016 #define SP_ERROR_CREATING_BITMAP    3L  
00017 #define SP_INVALID_DATA             4L  
00018 
00019 
00026 class ScreenPipe : public PServer  
00027 {
00028 public:
00029     DWORD readToDIB(DIBitmap&);
00030 
00031     ScreenPipe(const TString &);
00032 
00033 private:
00034     inline DWORD readError();
00035 
00037 
00041     typedef struct screenInfo {
00042         int hdrSize;    
00043         int bitCount;   
00044         int clrUsed;    
00045         int width;      
00046         int height;     
00047     } screenInfo;
00048 
00049 };
00050 
00051 
00052 
00053 #endif // !defined(AFX_SCREENPIPE_H__8F28C996_E78E_4DDD_A034_DDD253AF41A7__INCLUDED_)

Generated on Mon Mar 25 06:29:59 2002 for Window Dressing by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001