Ticket #3: win32.patch
| File win32.patch, 4.3 kB (added by SHOO, 2 years ago) |
|---|
-
directx/d3d10.d
old new 12 12 public import win32.directx.dxgitype; 13 13 public import win32.directx.dxgi; 14 14 public import win32.directx.d3d10misc; 15 public import win32.directx.d3d10shader;16 public import win32.directx.d3d10effect;17 15 18 16 pragma(lib, "d3d10.lib"); 19 17 … … 1120 1118 void CopySubresourceRegion(ID3D10Resource pDstResource, UINT DstSubresource, UINT DstX, UINT DstY, UINT DstZ, ID3D10Resource pSrcResource, UINT SrcSubresource, D3D10_BOX* pSrcBox); 1121 1119 void CopyResource(ID3D10Resource pDstResource, ID3D10Resource pSrcResource); 1122 1120 void UpdateSubresource(ID3D10Resource pDstResource, UINT DstSubresource, D3D10_BOX* pDstBox, void* pSrcData, UINT SrcRowPitch, UINT SrcDepthPitch); 1123 void ClearRenderTargetView(ID3D10RenderTargetView pRenderTargetView, FLOAT[4] ColorRGBA);1121 void ClearRenderTargetView(ID3D10RenderTargetView pRenderTargetView, FLOAT[4]* ColorRGBA); 1124 1122 void ClearDepthStencilView(ID3D10DepthStencilView pDepthStencilView, UINT ClearFlags, FLOAT Depth, UINT8 Stencil); 1125 1123 void GenerateMips(ID3D10ShaderResourceView pShaderResourceView); 1126 1124 void ResolveSubresource(ID3D10Resource pDstResource, UINT DstSubresource, ID3D10Resource pSrcResource, UINT SrcSubresource, DXGI_FORMAT Format); … … 1227 1225 extern(C) const GUID IID_ID3D10Device = {0x9B7E4C0F, 0x342C, 0x4106, [0xA1, 0x9F, 0x4F, 0x27, 0x04, 0xF6, 0x89, 0xF0]}; 1228 1226 extern(C) const GUID IID_ID3D10Multithread = {0x9B7E4E00, 0x342C, 0x4106, [0xA1, 0x9F, 0x4F, 0x27, 0x04, 0xF6, 0x89, 0xF0]}; 1229 1227 1228 public import win32.directx.d3d10shader; 1229 public import win32.directx.d3d10effect; -
directx/d3d10effect.d
old new 10 10 private import win32.windows; 11 11 private import win32.directx.d3d10; 12 12 13 // some forward references...14 enum D3D10_SHADER_VARIABLE_CLASS;15 enum D3D10_SHADER_VARIABLE_TYPE;16 13 17 14 enum D3D10_DEVICE_STATE_TYPES { 18 15 D3D10_DST_SO_BUFFERS = 1, -
directx/d3d10shader.d
old new 10 10 private import win32.windows; 11 11 private import win32.directx.d3d10; 12 12 13 // some forward references...14 enum D3D10_PRIMITIVE_TOPOLOGY;15 enum D3D10_SRV_DIMENSION;16 13 17 14 uint D3D10_TX_VERSION(uint _Major, uint _Minor) { 18 15 return ('T' << 24) | ('X' << 16) | (_Major << 8) | _Minor; -
makefile
old new 22 22 ######################################## 23 23 24 24 win32.lib : $(SOURCES) 25 $(DC) $^ -lib -of$@ $(DFLAGS)25 $(DC) -I.. $^ -lib -of$@ $(DFLAGS) 26 26 27 27 clean : 28 28 -del win32.lib -
rpcnsi.d
old new 51 51 uint*, ubyte**); 52 52 RPC_STATUS RpcNsProfileEltInqDone(RPC_NS_HANDLE*); 53 53 RPC_STATUS RpcNsEntryObjectInqNext(in RPC_NS_HANDLE, out UUID*); 54 RPC_STATUS RpcNsEntryObjectInqDone( inoutRPC_NS_HANDLE*);54 RPC_STATUS RpcNsEntryObjectInqDone(ref RPC_NS_HANDLE*); 55 55 RPC_STATUS RpcNsEntryExpandNameA(uint, ubyte*, ubyte**); 56 56 RPC_STATUS RpcNsMgmtBindingUnexportA(uint, ubyte*, RPC_IF_ID*, uint, 57 57 UUID_VECTOR*); -
winldap.d
old new 448 448 BerValue* ldvlv_context; 449 449 void* ldvlv_extradata; 450 450 } 451 451 private extern (C) int printf(in char* format, ...); 452 452 /* 453 453 * Under Microsoft WinLDAP the function ldap_error is only stub. 454 454 * This macro uses LDAP structure to get error string and pass it to the user. -
winsock2.d
old new 133 133 cmp(tvp.tv_usec, uvp.tv_usec); 134 134 }+/ 135 135 136 void timerclear( inoutTIMEVAL tvp) {136 void timerclear(ref TIMEVAL tvp) { 137 137 tvp.tv_sec = tvp.tv_usec = 0; 138 138 } 139 139
