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

dwmapi_main.c
Go to the documentation of this file.
00001 /*
00002  * Dwmapi
00003  *
00004  * Copyright 2007 Andras Kovacs
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00019  *
00020  */
00021 
00022 #include "config.h"
00023 #include <stdarg.h>
00024 
00025 #define NONAMELESSUNION
00026 #define NONAMELESSSTRUCT
00027 #define COBJMACROS
00028 #include "windef.h"
00029 #include "winbase.h"
00030 #include "wingdi.h"
00031 #include "winuser.h"
00032 #include "dwmapi.h"
00033 #include "wine/debug.h"
00034 
00035 WINE_DEFAULT_DEBUG_CHANNEL(dwmapi);
00036 
00037 
00038 /* At process attach */
00039 BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
00040 {
00041     switch(fdwReason)
00042     {
00043     case DLL_WINE_PREATTACH:
00044         return FALSE;  /* prefer native version */
00045     case DLL_PROCESS_ATTACH:
00046         DisableThreadLibraryCalls( hInstDLL );
00047         break;
00048     }
00049     return TRUE;
00050 }
00051 
00052 /**********************************************************************
00053  *           DwmIsCompositionEnabled         (DWMAPI.@)
00054  */
00055 HRESULT WINAPI DwmIsCompositionEnabled(BOOL *enabled)
00056 {
00057     static int once;
00058     if (!once)
00059     {
00060         FIXME("%p\n", enabled);
00061         once = 1;
00062     }
00063     else
00064         TRACE("%p\n", enabled);
00065 
00066     *enabled = FALSE;
00067     return S_OK;
00068 }
00069 
00070 /**********************************************************************
00071  *           DwmEnableComposition         (DWMAPI.102)
00072  */
00073 HRESULT WINAPI DwmEnableComposition(UINT uCompositionAction)
00074 {
00075     FIXME("(%d) stub\n", uCompositionAction);
00076 
00077     return S_OK;
00078 }
00079 
00080 /**********************************************************************
00081  *           DwmExtendFrameIntoClientArea    (DWMAPI.@)
00082  */
00083 HRESULT WINAPI DwmExtendFrameIntoClientArea(HWND hwnd, const MARGINS* margins)
00084 {
00085     FIXME("(%p, %p) stub\n", hwnd, margins);
00086 
00087     return E_NOTIMPL;
00088 }
00089 
00090 /**********************************************************************
00091  *           DwmGetColorizationColor      (DWMAPI.@)
00092  */
00093 HRESULT WINAPI DwmGetColorizationColor(DWORD *colorization, BOOL opaque_blend)
00094 {
00095     FIXME("(%p, %d) stub\n", colorization, opaque_blend);
00096 
00097     return E_NOTIMPL;
00098 }
00099 
00100 /**********************************************************************
00101  *                  DwmFlush              (DWMAPI.@)
00102  */
00103 HRESULT WINAPI DwmFlush(void)
00104 {
00105     FIXME("() stub\n");
00106 
00107     return E_NOTIMPL;
00108 }
00109 
00110 /**********************************************************************
00111  *           DwmSetWindowAttribute         (DWMAPI.@)
00112  */
00113 HRESULT WINAPI DwmSetWindowAttribute(HWND hwnd, DWORD attributenum, LPCVOID attribute, DWORD size)
00114 {
00115     FIXME("(%p, %x, %p, %x) stub\n", hwnd, attributenum, attribute, size);
00116 
00117     return E_NOTIMPL;
00118 }
00119 
00120 /**********************************************************************
00121  *           DwmGetGraphicsStreamClient         (DWMAPI.@)
00122  */
00123 HRESULT WINAPI DwmGetGraphicsStreamClient(UINT uIndex, UUID *pClientUuid)
00124 {
00125     FIXME("(%d, %p) stub\n", uIndex, pClientUuid);
00126 
00127     return E_NOTIMPL;
00128 }
00129 
00130 /**********************************************************************
00131  *           DwmGetTransportAttributes         (DWMAPI.@)
00132  */
00133 HRESULT WINAPI DwmGetTransportAttributes(BOOL *pfIsRemoting, BOOL *pfIsConnected, DWORD *pDwGeneration)
00134 {
00135     FIXME("(%p, %p, %p) stub\n", pfIsRemoting, pfIsConnected, pDwGeneration);
00136 
00137     return E_NOTIMPL;
00138 }
00139 
00140 /**********************************************************************
00141  *           DwmUnregisterThumbnail         (DWMAPI.@)
00142  */
00143 HRESULT WINAPI DwmUnregisterThumbnail(HTHUMBNAIL thumbnail)
00144 {
00145     FIXME("(%p) stub\n", thumbnail);
00146 
00147     return E_NOTIMPL;
00148 }
00149 
00150 /**********************************************************************
00151  *           DwmEnableMMCSS         (DWMAPI.@)
00152  */
00153 HRESULT WINAPI DwmEnableMMCSS(BOOL enableMMCSS)
00154 {
00155     FIXME("(%d) stub\n", enableMMCSS);
00156 
00157     return S_OK;
00158 }
00159 
00160 /**********************************************************************
00161  *           DwmGetGraphicsStreamTransformHint         (DWMAPI.@)
00162  */
00163 HRESULT WINAPI DwmGetGraphicsStreamTransformHint(UINT uIndex, MilMatrix3x2D *pTransform)
00164 {
00165     FIXME("(%d, %p) stub\n", uIndex, pTransform);
00166 
00167     return E_NOTIMPL;
00168 }
00169 
00170 /**********************************************************************
00171  *           DwmEnableBlurBehindWindow         (DWMAPI.@)
00172  */
00173 HRESULT WINAPI DwmEnableBlurBehindWindow(HWND hWnd, const DWM_BLURBEHIND *pBlurBuf)
00174 {
00175     FIXME("%p %p\n", hWnd, pBlurBuf);
00176 
00177     return E_NOTIMPL;
00178 }
00179 
00180 /**********************************************************************
00181  *           DwmDefWindowProc         (DWMAPI.@)
00182  */
00183 BOOL WINAPI DwmDefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT *plResult)
00184 {
00185     static int i;
00186 
00187     if (!i++) FIXME("stub\n");
00188 
00189     return FALSE;
00190 }
00191 
00192 /**********************************************************************
00193  *           DwmGetWindowAttribute         (DWMAPI.@)
00194  */
00195 HRESULT WINAPI DwmGetWindowAttribute(HWND hwnd, DWORD attribute, PVOID pv_attribute, DWORD size)
00196 {
00197     FIXME("(%p %d %p %d) stub\n", hwnd, attribute, pv_attribute, size);
00198 
00199     return E_NOTIMPL;
00200 }
00201 
00202 /**********************************************************************
00203  *           DwmRegisterThumbnail         (DWMAPI.@)
00204  */
00205 HRESULT WINAPI DwmRegisterThumbnail(HWND dest, HWND src, PHTHUMBNAIL thumbnail_id)
00206 {
00207     FIXME("(%p %p %p) stub\n", dest, src, thumbnail_id);
00208 
00209     return E_NOTIMPL;
00210 }

Generated on Sun May 27 2012 04:23:31 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.