ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dciman_main.c
Go to the documentation of this file.
00001 /*
00002  * Implementation of DCIMAN32 - DCI Manager
00003  * "Device Context Interface" ?
00004  *
00005  * Copyright 2000 Marcus Meissner
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation; either
00010  * version 2.1 of the License, or (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00020  */
00021 
00022 #include <stdarg.h>
00023 #include <stdio.h> 
00024 
00025 #include "windows.h"
00026 #include "dciman.h"
00027 #include "wine/debug.h"
00028 
00029 WINE_DEFAULT_DEBUG_CHANNEL(dciman);
00030 
00031 /***********************************************************************
00032  *           DllEntryPoint (DCIMAN32.@)
00033  *
00034  * DCIMAN32 initialisation routine.
00035  */
00036 BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
00037 {
00038     if (reason == DLL_PROCESS_ATTACH) DisableThreadLibraryCalls( inst );
00039     return TRUE;
00040 }
00041 
00042 
00043 /***********************************************************************
00044  *      DCIOpenProvider (DCIMAN32.@)
00045  */
00046 HDC WINAPI
00047 DCIOpenProvider(void) {
00048     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00049     return NULL;
00050 }
00051 
00052 /***********************************************************************
00053  *      DCICloseProvider (DCIMAN32.@)
00054  */
00055 void WINAPI
00056 DCICloseProvider(HDC hdc) {
00057     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00058     return;
00059 }
00060 
00061 /**************************************************************************
00062  *                 DCICreatePrimary (DCIMAN32.@)
00063  */
00064 int WINAPI 
00065 DCICreatePrimary(HDC hdc, LPDCISURFACEINFO *pDciSurfaceInfo)
00066 {
00067     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
00068     FIXME("%p %p\n", hdc, pDciSurfaceInfo);
00069     return DCI_FAIL_UNSUPPORTED;
00070 }

Generated on Sat May 26 2012 04:22:02 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.