user.h

来自「Wine-20031016」· C头文件 代码 · 共 65 行

H
65
字号
/* * Copyright 2000-2001 TransGaming Technologies Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef WINE_DDRAW_DDRAW_USER_H_INCLUDED#define WINE_DDRAW_DDRAW_USER_H_INCLUDED#define USER_DDRAW_PRIV(ddraw) ((User_DirectDrawImpl*)((ddraw)->private))#define USER_DDRAW_PRIV_VAR(name,ddraw) \	User_DirectDrawImpl* name = USER_DDRAW_PRIV(ddraw)typedef struct{    int empty;    /* empty */} User_DirectDrawImpl_Part;typedef struct{    User_DirectDrawImpl_Part user;} User_DirectDrawImpl;void User_DirectDraw_final_release(IDirectDrawImpl* This);HRESULT User_DirectDraw_create_primary(IDirectDrawImpl* This,				       const DDSURFACEDESC2* pDDSD,				       LPDIRECTDRAWSURFACE7* ppSurf,				       LPUNKNOWN pOuter);HRESULT User_DirectDraw_create_backbuffer(IDirectDrawImpl* This,					  const DDSURFACEDESC2* pDDSD,					  LPDIRECTDRAWSURFACE7* ppSurf,					  LPUNKNOWN pOuter,					  IDirectDrawSurfaceImpl* primary);HRESULT User_DirectDraw_Construct(IDirectDrawImpl *This, BOOL ex);HRESULT User_DirectDraw_Create(const GUID* pGUID, LPDIRECTDRAW7* pIface,			       IUnknown* pUnkOuter, BOOL ex);HRESULT WINAPIUser_DirectDraw_EnumDisplayModes(LPDIRECTDRAW7 iface, DWORD dwFlags,				 LPDDSURFACEDESC2 pDDSD, LPVOID context,				 LPDDENUMMODESCALLBACK2 callback);HRESULT WINAPIUser_DirectDraw_GetDeviceIdentifier(LPDIRECTDRAW7 iface,				    LPDDDEVICEIDENTIFIER2 pDDDI,				    DWORD dwFlags);HRESULT WINAPIUser_DirectDraw_SetDisplayMode(LPDIRECTDRAW7 iface, DWORD dwWidth,			       DWORD dwHeight, DWORD dwBPP,			       DWORD dwRefreshRate, DWORD dwFlags);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?