📄 freedirectx.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Wed Aug 10 22:06:11 2005
*/
/* Compiler settings for E:\MyProjects\DX\DirectDraw_Engine_ATL\FreeDirectX\FreeDirectX.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 440
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __FreeDirectX_h__
#define __FreeDirectX_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IFreeDirectDraw_FWD_DEFINED__
#define __IFreeDirectDraw_FWD_DEFINED__
typedef interface IFreeDirectDraw IFreeDirectDraw;
#endif /* __IFreeDirectDraw_FWD_DEFINED__ */
#ifndef __FreeDirectDraw_FWD_DEFINED__
#define __FreeDirectDraw_FWD_DEFINED__
#ifdef __cplusplus
typedef class FreeDirectDraw FreeDirectDraw;
#else
typedef struct FreeDirectDraw FreeDirectDraw;
#endif /* __cplusplus */
#endif /* __FreeDirectDraw_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
#ifndef __IFreeDirectDraw_INTERFACE_DEFINED__
#define __IFreeDirectDraw_INTERFACE_DEFINED__
/* interface IFreeDirectDraw */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_IFreeDirectDraw;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("42FD365D-D9DF-4CE4-810F-D3D343B714BF")
IFreeDirectDraw : public IDispatch
{
public:
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Init(
/* [in] */ ULONG hWnd,
/* [in] */ int nWidth,
/* [in] */ int nHeight,
/* [in] */ int nBit) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnInit( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetClipper(
int nNum,
ULONG lp_rect) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdatePalette(
/* [in] */ ULONG lp_palette_entry) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE DrawRandPixel_08(
/* [in] */ int nCount) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Flip( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Start_Clock( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Wait_Clock(
/* [in] */ double count) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadBitmapFile(
/* [in] */ ULONG bitmap_file_ptr,
/* [in] */ ULONG bitmap_file_name) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CopyBitmapToPlain08(
/* [in] */ ULONG bitmap_file_ptr,
/* [in] */ ULONG plain_ptr) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ShowUnit(
ULONG plain_ptr,
int x_pos,
int y_pos) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CreateOffScreenPlain(
/* [in] */ ULONG plain_ptr,
/* [in] */ int nWidth,
/* [in] */ int nHeight,
/* [in] */ ULONG dwFlags) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UnloadBitmapFile(
/* [in] */ ULONG bitmap_file_ptr) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReleaseOffScreenPlain(
/* [in] */ ULONG plain_ptr) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadFromConfigFile(
/* [in] */ ULONG config_struct_ptr) = 0;
};
#else /* C style interface */
typedef struct IFreeDirectDrawVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IFreeDirectDraw __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IFreeDirectDraw __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
IFreeDirectDraw __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Init )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG hWnd,
/* [in] */ int nWidth,
/* [in] */ int nHeight,
/* [in] */ int nBit);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnInit )(
IFreeDirectDraw __RPC_FAR * This);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetClipper )(
IFreeDirectDraw __RPC_FAR * This,
int nNum,
ULONG lp_rect);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdatePalette )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG lp_palette_entry);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DrawRandPixel_08 )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ int nCount);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Flip )(
IFreeDirectDraw __RPC_FAR * This);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Start_Clock )(
IFreeDirectDraw __RPC_FAR * This);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Wait_Clock )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ double count);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LoadBitmapFile )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG bitmap_file_ptr,
/* [in] */ ULONG bitmap_file_name);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CopyBitmapToPlain08 )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG bitmap_file_ptr,
/* [in] */ ULONG plain_ptr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowUnit )(
IFreeDirectDraw __RPC_FAR * This,
ULONG plain_ptr,
int x_pos,
int y_pos);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CreateOffScreenPlain )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG plain_ptr,
/* [in] */ int nWidth,
/* [in] */ int nHeight,
/* [in] */ ULONG dwFlags);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UnloadBitmapFile )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG bitmap_file_ptr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseOffScreenPlain )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG plain_ptr);
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LoadFromConfigFile )(
IFreeDirectDraw __RPC_FAR * This,
/* [in] */ ULONG config_struct_ptr);
END_INTERFACE
} IFreeDirectDrawVtbl;
interface IFreeDirectDraw
{
CONST_VTBL struct IFreeDirectDrawVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IFreeDirectDraw_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IFreeDirectDraw_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IFreeDirectDraw_Release(This) \
(This)->lpVtbl -> Release(This)
#define IFreeDirectDraw_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define IFreeDirectDraw_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define IFreeDirectDraw_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -