Commit c2a627c6 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

janitorial: Remove links to any microsoft site.

parent 26ad9394
...@@ -226,11 +226,6 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_Init (LPDIRECTMUSICPERFORMANC ...@@ -226,11 +226,6 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_Init (LPDIRECTMUSICPERFORMANC
hr = DirectSoundCreate8(NULL, (LPDIRECTSOUND8*) &This->pDirectSound, NULL); hr = DirectSoundCreate8(NULL, (LPDIRECTSOUND8*) &This->pDirectSound, NULL);
if (!This->pDirectSound) return DSERR_NODRIVER; if (!This->pDirectSound) return DSERR_NODRIVER;
/**
* as seen in msdn
*
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directX/htm/idirectmusicperformance8initaudio.asp
*/
if (NULL != hWnd) { if (NULL != hWnd) {
IDirectSound8_SetCooperativeLevel(This->pDirectSound, hWnd, DSSCL_PRIORITY); IDirectSound8_SetCooperativeLevel(This->pDirectSound, hWnd, DSSCL_PRIORITY);
} else { } else {
...@@ -772,10 +767,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_InitAudio (LPDIRECTMUSICPERFO ...@@ -772,10 +767,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_InitAudio (LPDIRECTMUSICPERFO
if (NULL != pParams) { if (NULL != pParams) {
This->pParams = *pParams; This->pParams = *pParams;
} else { } else {
/** /* TODO, how can i fill the struct as seen on msdn */
* TODO, how can i fill the struct
* as seen at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directX/htm/dmusaudioparams.asp
*/
memset(&This->pParams, 0, sizeof(DMUS_AUDIOPARAMS)); memset(&This->pParams, 0, sizeof(DMUS_AUDIOPARAMS));
This->pParams.dwSize = sizeof(DMUS_AUDIOPARAMS); This->pParams.dwSize = sizeof(DMUS_AUDIOPARAMS);
This->pParams.fInitNow = FALSE; This->pParams.fInitNow = FALSE;
...@@ -834,9 +826,6 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateAudioPath (LPDIRECTMUSI ...@@ -834,9 +826,6 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateAudioPath (LPDIRECTMUSI
return IDirectMusicAudioPath_Activate(*ppNewPath, fActivate); return IDirectMusicAudioPath_Activate(*ppNewPath, fActivate);
} }
/**
* see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directX/htm/standardaudiopaths.asp
*/
static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateStandardAudioPath (LPDIRECTMUSICPERFORMANCE8 iface, DWORD dwType, DWORD dwPChannelCount, BOOL fActivate, IDirectMusicAudioPath** ppNewPath) { static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateStandardAudioPath (LPDIRECTMUSICPERFORMANCE8 iface, DWORD dwType, DWORD dwPChannelCount, BOOL fActivate, IDirectMusicAudioPath** ppNewPath) {
IDirectMusicAudioPathImpl *default_path; IDirectMusicAudioPathImpl *default_path;
IDirectMusicAudioPath *pPath; IDirectMusicAudioPath *pPath;
...@@ -1043,9 +1032,6 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPerformanceImpl (LPCGUID lpcGUID, LPVOID ...@@ -1043,9 +1032,6 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPerformanceImpl (LPCGUID lpcGUID, LPVOID
InitializeCriticalSection(&obj->safe); InitializeCriticalSection(&obj->safe);
obj->safe.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IDirectMusicPerformance8Impl*->safe"); obj->safe.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IDirectMusicPerformance8Impl*->safe");
/**
* @see http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/htm/latencyandbumpertime.asp
*/
obj->rtLatencyTime = 100; /* 100ms TO FIX */ obj->rtLatencyTime = 100; /* 100ms TO FIX */
obj->dwBumperLength = 50; /* 50ms default */ obj->dwBumperLength = 50; /* 50ms default */
obj->dwPrepareTime = 1000; /* 1000ms default */ obj->dwPrepareTime = 1000; /* 1000ms default */
......
...@@ -310,7 +310,6 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetGraph (LP ...@@ -310,7 +310,6 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetGraph (LP
} }
/** /**
* should return This, as seen in msdn * should return This, as seen in msdn
* http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/htm/idirectmusicsegment8getgraph.asp
* "...The segment object implements IDirectMusicGraph directly..." * "...The segment object implements IDirectMusicGraph directly..."
*/ */
*ppGraph = This->pGraph; *ppGraph = This->pGraph;
......
...@@ -787,8 +787,7 @@ void shader_dump_param( ...@@ -787,8 +787,7 @@ void shader_dump_param(
/** Shared code in order to generate the bulk of the shader string. /** Shared code in order to generate the bulk of the shader string.
Use the shader_header_fct & shader_footer_fct to add strings Use the shader_header_fct & shader_footer_fct to add strings
that are specific to pixel or vertex functions that are specific to pixel or vertex functions
NOTE: A description of how to parse tokens can be found at: NOTE: A description of how to parse tokens can be found on msdn */
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/graphics/hh/graphics/usermodedisplaydriver_shader_cc8e4e05-f5c3-4ec0-8853-8ce07c1551b2.xml.asp */
void shader_generate_main( void shader_generate_main(
IWineD3DBaseShader *iface, IWineD3DBaseShader *iface,
SHADER_BUFFER* buffer, SHADER_BUFFER* buffer,
......
...@@ -1784,7 +1784,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexDeclarationFromFVF(IWineD3D ...@@ -1784,7 +1784,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexDeclarationFromFVF(IWineD3D
return WINED3D_OK; return WINED3D_OK;
} }
/* http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/graphics/programmingguide/programmable/vertexshaders/vscreate.asp */
static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexShader(IWineD3DDevice *iface, IWineD3DVertexDeclaration *vertex_declaration, CONST DWORD *pFunction, IWineD3DVertexShader **ppVertexShader, IUnknown *parent) { static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexShader(IWineD3DDevice *iface, IWineD3DVertexDeclaration *vertex_declaration, CONST DWORD *pFunction, IWineD3DVertexShader **ppVertexShader, IUnknown *parent) {
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
IWineD3DVertexShaderImpl *object; /* NOTE: impl usage is ok, this is a create */ IWineD3DVertexShaderImpl *object; /* NOTE: impl usage is ok, this is a create */
...@@ -4008,8 +4007,7 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo ...@@ -4008,8 +4007,7 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo
* against d3d8 or d3d9! * against d3d8 or d3d9!
*/ */
/* Clipping conditions: From /* Clipping conditions: From msdn
* http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/graphics/programmingguide/fixedfunction/viewportsclipping/clippingvolumes.asp
* *
* A vertex is clipped if it does not match the following requirements * A vertex is clipped if it does not match the following requirements
* -rhw < x <= rhw * -rhw < x <= rhw
...@@ -5734,7 +5732,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawRectPatch(IWineD3DDevice *iface, UI ...@@ -5734,7 +5732,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawRectPatch(IWineD3DDevice *iface, UI
return WINED3D_OK; return WINED3D_OK;
} }
/* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3d/interfaces/idirect3ddevice9/DrawTriPatch.asp */
static HRESULT WINAPI IWineD3DDeviceImpl_DrawTriPatch(IWineD3DDevice *iface, UINT Handle, CONST float* pNumSegs, CONST WINED3DTRIPATCH_INFO* pTriPatchInfo) { static HRESULT WINAPI IWineD3DDeviceImpl_DrawTriPatch(IWineD3DDevice *iface, UINT Handle, CONST float* pNumSegs, CONST WINED3DTRIPATCH_INFO* pTriPatchInfo) {
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface;
TRACE("(%p) Handle(%d) noSegs(%p) tripatch(%p)\n", This, Handle, pNumSegs, pTriPatchInfo); TRACE("(%p) Handle(%d) noSegs(%p) tripatch(%p)\n", This, Handle, pNumSegs, pTriPatchInfo);
...@@ -6427,9 +6424,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderTarget(IWineD3DDevice *iface, ...@@ -6427,9 +6424,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderTarget(IWineD3DDevice *iface,
/* MSDN says that null disables the render target /* MSDN says that null disables the render target
but a device must always be associated with a render target but a device must always be associated with a render target
nope MSDN says that we return invalid call to a null rendertarget with an index of 0 nope MSDN says that we return invalid call to a null rendertarget with an index of 0
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/programmingguide/AdvancedTopics/PixelPipe/MultipleRenderTarget.asp
for more details
*/ */
if (RenderTargetIndex == 0 && pRenderTarget == NULL) { if (RenderTargetIndex == 0 && pRenderTarget == NULL) {
FIXME("Trying to set render target 0 to NULL\n"); FIXME("Trying to set render target 0 to NULL\n");
......
...@@ -1887,9 +1887,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt ...@@ -1887,9 +1887,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
break; break;
} }
} }
/* TODO: Check support against more of the WINED3DUSAGE_QUERY_* constants /* TODO: Check support against more of the WINED3DUSAGE_QUERY_* constants */
* See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/IDirect3D9__CheckDeviceFormat.asp
* and http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/D3DUSAGE_QUERY.asp */
if (Usage & WINED3DUSAGE_QUERY_VERTEXTEXTURE) { if (Usage & WINED3DUSAGE_QUERY_VERTEXTEXTURE) {
if (!GL_LIMITS(vertex_samplers)) { if (!GL_LIMITS(vertex_samplers)) {
TRACE_(d3d_caps)("[FAILED]\n"); TRACE_(d3d_caps)("[FAILED]\n");
......
...@@ -25,8 +25,6 @@ ...@@ -25,8 +25,6 @@
#include "wined3d_private.h" #include "wined3d_private.h"
/* /*
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/programmingguide/advancedtopics/Queries.asp
*
* Occlusion Queries: * Occlusion Queries:
* http://www.gris.uni-tuebingen.de/~bartz/Publications/paper/hww98.pdf * http://www.gris.uni-tuebingen.de/~bartz/Publications/paper/hww98.pdf
* http://oss.sgi.com/projects/ogl-sample/registry/ARB/occlusion_query.txt * http://oss.sgi.com/projects/ogl-sample/registry/ARB/occlusion_query.txt
......
...@@ -1430,8 +1430,6 @@ static void state_pscale(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3 ...@@ -1430,8 +1430,6 @@ static void state_pscale(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3
* POINTSCALEENABLE controls how point size value is treated. If set to * POINTSCALEENABLE controls how point size value is treated. If set to
* true, the point size is scaled with respect to height of viewport. * true, the point size is scaled with respect to height of viewport.
* When set to false point size is in pixels. * When set to false point size is in pixels.
*
* http://msdn.microsoft.com/library/en-us/directx9_c/point_sprites.asp
*/ */
/* Default values */ /* Default values */
...@@ -1564,7 +1562,6 @@ static void state_pointsprite(DWORD state, IWineD3DStateBlockImpl *stateblock, W ...@@ -1564,7 +1562,6 @@ static void state_pointsprite(DWORD state, IWineD3DStateBlockImpl *stateblock, W
static void state_wrap(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *context) { static void state_wrap(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *context) {
/** /**
http://www.cosc.brocku.ca/Offerings/3P98/course/lectures/texture/ http://www.cosc.brocku.ca/Offerings/3P98/course/lectures/texture/
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/graphics/programmingguide/FixedFunction/Textures/texturewrapping.asp
http://www.gamedev.net/reference/programming/features/rendererdll3/page2.asp http://www.gamedev.net/reference/programming/features/rendererdll3/page2.asp
Discussion on the ways to turn on WRAPing to solve an OpenGL conversion problem. Discussion on the ways to turn on WRAPing to solve an OpenGL conversion problem.
http://www.flipcode.org/cgi-bin/fcmsg.cgi?thread_show=10248 http://www.flipcode.org/cgi-bin/fcmsg.cgi?thread_show=10248
......
...@@ -44,30 +44,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader); ...@@ -44,30 +44,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader);
#endif #endif
/** /**
* DirectX9 SDK download
* http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp
*
* Exploring D3DX
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndrive/html/directx07162002.asp
*
* Using Vertex Shaders
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndrive/html/directx02192001.asp
*
* Dx9 New
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/whatsnew.asp
*
* Dx9 Shaders
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/Shaders/VertexShader2_0/VertexShader2_0.asp
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/Shaders/VertexShader2_0/Instructions/Instructions.asp
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/programmingguide/GettingStarted/VertexDeclaration/VertexDeclaration.asp
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/Shaders/VertexShader3_0/VertexShader3_0.asp
*
* Dx9 D3DX
* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/programmingguide/advancedtopics/VertexPipe/matrixstack/matrixstack.asp
*
* FVF
* http://msdn.microsoft.com/library/en-us/directx9_c/directx/graphics/programmingguide/GettingStarted/VertexFormats/vformats.asp
*
* NVIDIA: DX8 Vertex Shader to NV Vertex Program * NVIDIA: DX8 Vertex Shader to NV Vertex Program
* http://developer.nvidia.com/view.asp?IO=vstovp * http://developer.nvidia.com/view.asp?IO=vstovp
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment