File Annotation

Not logged in
9b639cf2d6 2015-05-05        kinaba: /***********************************************************************\
9b639cf2d6 2015-05-05        kinaba: *                               d3d10misc.d                             *
9b639cf2d6 2015-05-05        kinaba: *                                                                       *
9b639cf2d6 2015-05-05        kinaba: *                       Windows API header module                       *
9b639cf2d6 2015-05-05        kinaba: *                                                                       *
9b639cf2d6 2015-05-05        kinaba: *                       Placed into public domain                       *
9b639cf2d6 2015-05-05        kinaba: \***********************************************************************/
9b639cf2d6 2015-05-05        kinaba: module win32.directx.d3d10misc;
9b639cf2d6 2015-05-05        kinaba: 
9b639cf2d6 2015-05-05        kinaba: private import win32.windows;
9b639cf2d6 2015-05-05        kinaba: 
9b639cf2d6 2015-05-05        kinaba: private import win32.directx.dxgi;
9b639cf2d6 2015-05-05        kinaba: private import win32.directx.d3d10;
9b639cf2d6 2015-05-05        kinaba: 
9b639cf2d6 2015-05-05        kinaba: extern (C) const GUID IID_ID3D10Blob = {
9b639cf2d6 2015-05-05        kinaba: 	0x8BA5FB08, 0x5195, 0x40E2, [0xAC, 0x58, 0x0D, 0x98, 0x9C, 0x3A, 0x01, 0x02]
9b639cf2d6 2015-05-05        kinaba: };
9b639cf2d6 2015-05-05        kinaba: 
9b639cf2d6 2015-05-05        kinaba: interface ID3D10Blob : IUnknown {
9b639cf2d6 2015-05-05        kinaba: 	extern(Windows) :
9b639cf2d6 2015-05-05        kinaba: 	LPVOID GetBufferPointer();
9b639cf2d6 2015-05-05        kinaba: 	SIZE_T GetBufferSize();
9b639cf2d6 2015-05-05        kinaba: }
9b639cf2d6 2015-05-05        kinaba: 
9b639cf2d6 2015-05-05        kinaba: enum D3D10_DRIVER_TYPE {
9b639cf2d6 2015-05-05        kinaba: 	D3D10_DRIVER_TYPE_HARDWARE  = 0,
9b639cf2d6 2015-05-05        kinaba: 	D3D10_DRIVER_TYPE_REFERENCE = 1,
9b639cf2d6 2015-05-05        kinaba: 	D3D10_DRIVER_TYPE_NULL      = 2,
9b639cf2d6 2015-05-05        kinaba: 	D3D10_DRIVER_TYPE_SOFTWARE  = 3
9b639cf2d6 2015-05-05        kinaba: }
9b639cf2d6 2015-05-05        kinaba: 
9b639cf2d6 2015-05-05        kinaba: extern (C) const GUID GUID_DeviceType = {
9b639cf2d6 2015-05-05        kinaba: 	0xD722FB4D, 0x7A68, 0x437A, [0xB2, 0x0C, 0x58, 0x04, 0xEE, 0x24, 0x94, 0xA6]
9b639cf2d6 2015-05-05        kinaba: };
9b639cf2d6 2015-05-05        kinaba: 
9b639cf2d6 2015-05-05        kinaba: extern(Windows) {
9b639cf2d6 2015-05-05        kinaba: 	HRESULT D3D10CreateDevice(IDXGIAdapter pAdapter,
9b639cf2d6 2015-05-05        kinaba: 	  D3D10_DRIVER_TYPE DriverType, HMODULE Software, UINT Flags,
9b639cf2d6 2015-05-05        kinaba: 	  UINT SDKVersion, ID3D10Device* ppDevice);
9b639cf2d6 2015-05-05        kinaba: 	HRESULT D3D10CreateDeviceAndSwapChain(IDXGIAdapter pAdapter,
9b639cf2d6 2015-05-05        kinaba: 	  D3D10_DRIVER_TYPE DriverType, HMODULE Software, UINT Flags,
9b639cf2d6 2015-05-05        kinaba: 	  UINT SDKVersion, DXGI_SWAP_CHAIN_DESC* pSwapChainDesc,
9b639cf2d6 2015-05-05        kinaba: 	  IDXGISwapChain* ppSwapChain, ID3D10Device* ppDevice);
9b639cf2d6 2015-05-05        kinaba: 	HRESULT D3D10CreateBlob(SIZE_T NumBytes, ID3D10Blob* ppBuffer);
9b639cf2d6 2015-05-05        kinaba: }