os/graphics/graphicsdeviceinterface/screendriver/scdv_switch/scdv_stubs.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/graphics/graphicsdeviceinterface/screendriver/scdv_switch/scdv_stubs.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,161 @@
     1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// 
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +// Generated from "../bwins/scdvu.def" file size: 2505
    1.22 +// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
    1.23 +
    1.24 +extern "C" {
    1.25 +void common_dispatch();
    1.26 +
    1.27 +__declspec(dllexport)
    1.28 +__declspec(naked)
    1.29 +void call_vector_1 ()
    1.30 +	{
    1.31 +	// ; class CFbsDrawDevice * CFbsDrawDevice::NewBitmapDeviceL(class TScreenInfoV01, enum TDisplayMode, int)
    1.32 +	_asm mov eax, 1
    1.33 +	_asm jmp common_dispatch
    1.34 +	}
    1.35 +
    1.36 +__declspec(dllexport)
    1.37 +__declspec(naked)
    1.38 +void call_vector_2 ()
    1.39 +	{
    1.40 +	// ; public: static class CFbsDrawDevice * __cdecl CFbsDrawDevice::NewScreenDeviceL(class TScreenInfoV01,enum TDisplayMode)
    1.41 +	_asm mov eax, 2
    1.42 +	_asm jmp common_dispatch
    1.43 +	}
    1.44 +
    1.45 +__declspec(dllexport)
    1.46 +__declspec(naked)
    1.47 +void call_vector_3 ()
    1.48 +	{
    1.49 +	// ; private: int __thiscall RHardwareBitmap::Create(enum TDisplayMode,class TSize,class TUid)
    1.50 +	_asm mov eax, 3
    1.51 +	_asm jmp common_dispatch
    1.52 +	}
    1.53 +
    1.54 +__declspec(dllexport)
    1.55 +__declspec(naked)
    1.56 +void call_vector_4 ()
    1.57 +	{
    1.58 +	// ; private: void __thiscall RHardwareBitmap::Destroy(void)
    1.59 +	_asm mov eax, 4
    1.60 +	_asm jmp common_dispatch
    1.61 +	}
    1.62 +
    1.63 +__declspec(dllexport)
    1.64 +__declspec(naked)
    1.65 +void call_vector_5 ()
    1.66 +	{
    1.67 +	// ; public: static class TGraphicsAcceleratorCaps const * __cdecl CHardwareGraphicsAccelerator::GenericCapabilities(void)
    1.68 +	_asm mov eax, 5
    1.69 +	_asm jmp common_dispatch
    1.70 +	}
    1.71 +
    1.72 +__declspec(dllexport)
    1.73 +__declspec(naked)
    1.74 +void call_vector_6 ()
    1.75 +	{
    1.76 +	// ; public: int __thiscall RHardwareBitmap::GetInfo(class TAcceleratedBitmapInfo &)const 
    1.77 +	_asm mov eax, 6
    1.78 +	_asm jmp common_dispatch
    1.79 +	}
    1.80 +
    1.81 +__declspec(dllexport)
    1.82 +__declspec(naked)
    1.83 +void call_vector_7 ()
    1.84 +	{
    1.85 +	// ; public: static class CHardwareGraphicsAccelerator * __cdecl CHardwareGraphicsAccelerator::NewL(class RHardwareBitmap)
    1.86 +	_asm mov eax, 7
    1.87 +	_asm jmp common_dispatch
    1.88 +	}
    1.89 +
    1.90 +__declspec(dllexport)
    1.91 +__declspec(naked)
    1.92 +void call_vector_8 ()
    1.93 +	{
    1.94 +	// ; private: int __thiscall RHardwareBitmap::SetAsScreenReference(int)
    1.95 +	_asm mov eax, 8
    1.96 +	_asm jmp common_dispatch
    1.97 +	}
    1.98 +
    1.99 +__declspec(dllexport)
   1.100 +__declspec(naked)
   1.101 +void call_vector_9 ()
   1.102 +	{
   1.103 +	// ; public: static class CDirectScreenBitmap * __cdecl CDirectScreenBitmap::NewL(void)
   1.104 +	_asm mov eax, 9
   1.105 +	_asm jmp common_dispatch
   1.106 +	}
   1.107 +
   1.108 +__declspec(dllexport)
   1.109 +__declspec(naked)
   1.110 +void call_vector_10 ()
   1.111 +	{
   1.112 +	// ; public: static enum TDisplayMode  __cdecl CFbsDrawDevice::DisplayMode16M(void)
   1.113 +	_asm mov eax, 10
   1.114 +	_asm jmp common_dispatch
   1.115 +	}
   1.116 +
   1.117 +__declspec(dllexport)
   1.118 +__declspec(naked)
   1.119 +void call_vector_11 ()
   1.120 +	{
   1.121 +	// ; class CFbsDrawDevice * CFbsDrawDevice::NewBitmapDeviceL(class TSize const &, enum TDisplayMode, int)
   1.122 +	_asm mov eax, 11
   1.123 +	_asm jmp common_dispatch
   1.124 +	}
   1.125 +
   1.126 +__declspec(dllexport)
   1.127 +__declspec(naked)
   1.128 +void call_vector_12 ()
   1.129 +	{
   1.130 +	// ; class CFbsDrawDevice * CFbsDrawDevice::NewScreenDeviceL(int, enum TDisplayMode)
   1.131 +	_asm mov eax, 12
   1.132 +	_asm jmp common_dispatch
   1.133 +	}
   1.134 +
   1.135 +__declspec(dllexport)
   1.136 +__declspec(naked)
   1.137 +void call_vector_13 ()
   1.138 +	{
   1.139 +	// ; class CDirectScreenBitmap * CDirectScreenBitmap::NewL(int)
   1.140 +	_asm mov eax, 13
   1.141 +	_asm jmp common_dispatch
   1.142 +	}
   1.143 +
   1.144 +__declspec(dllexport)
   1.145 +__declspec(naked)
   1.146 +void call_vector_14 ()
   1.147 +	{
   1.148 +	// ; class TGraphicsAcceleratorCaps const * CSoftwareGraphicsAccelerator::GenericCapabilities(void)
   1.149 +	_asm mov eax, 14
   1.150 +	_asm jmp common_dispatch
   1.151 +	}
   1.152 +
   1.153 +__declspec(dllexport)
   1.154 +__declspec(naked)
   1.155 +void call_vector_15 ()
   1.156 +	{
   1.157 +	// ; class CSoftwareGraphicsAccelerator * CSoftwareGraphicsAccelerator::NewL(class CFbsBitmap *)
   1.158 +	_asm mov eax, 15
   1.159 +	_asm jmp common_dispatch
   1.160 +	}
   1.161 +
   1.162 +}
   1.163 +#define MAX_ORDINAL 16
   1.164 +