From c2a627c6e8d1b5a7824945f31d259cc75a005e02 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Fri, 29 Feb 2008 22:34:39 -0600 Subject: [PATCH] janitorial: Remove links to any microsoft site. --- dlls/dmime/performance.c | 18 ++---------------- dlls/dmime/segment.c | 1 - dlls/wined3d/baseshader.c | 3 +-- dlls/wined3d/device.c | 8 +------- dlls/wined3d/directx.c | 4 +--- dlls/wined3d/query.c | 2 -- dlls/wined3d/state.c | 3 --- dlls/wined3d/vertexshader.c | 24 ------------------------ 8 files changed, 5 insertions(+), 58 deletions(-) diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c index 961af4d84f3..9c518efde54 100644 --- a/dlls/dmime/performance.c +++ b/dlls/dmime/performance.c @@ -225,12 +225,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_Init (LPDIRECTMUSICPERFORMANC HRESULT hr; hr = DirectSoundCreate8(NULL, (LPDIRECTSOUND8*) &This->pDirectSound, NULL); 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) { IDirectSound8_SetCooperativeLevel(This->pDirectSound, hWnd, DSSCL_PRIORITY); } else { @@ -772,10 +767,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_InitAudio (LPDIRECTMUSICPERFO if (NULL != pParams) { This->pParams = *pParams; } else { - /** - * 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 - */ + /* TODO, how can i fill the struct as seen on msdn */ memset(&This->pParams, 0, sizeof(DMUS_AUDIOPARAMS)); This->pParams.dwSize = sizeof(DMUS_AUDIOPARAMS); This->pParams.fInitNow = FALSE; @@ -834,9 +826,6 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateAudioPath (LPDIRECTMUSI 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) { IDirectMusicAudioPathImpl *default_path; IDirectMusicAudioPath *pPath; @@ -1043,9 +1032,6 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPerformanceImpl (LPCGUID lpcGUID, LPVOID InitializeCriticalSection(&obj->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->dwBumperLength = 50; /* 50ms default */ obj->dwPrepareTime = 1000; /* 1000ms default */ diff --git a/dlls/dmime/segment.c b/dlls/dmime/segment.c index 64ffb51184f..1daee42d3c7 100644 --- a/dlls/dmime/segment.c +++ b/dlls/dmime/segment.c @@ -310,7 +310,6 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetGraph (LP } /** * 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..." */ *ppGraph = This->pGraph; diff --git a/dlls/wined3d/baseshader.c b/dlls/wined3d/baseshader.c index fdb5236b787..ed292ce329f 100644 --- a/dlls/wined3d/baseshader.c +++ b/dlls/wined3d/baseshader.c @@ -787,8 +787,7 @@ void shader_dump_param( /** Shared code in order to generate the bulk of the shader string. Use the shader_header_fct & shader_footer_fct to add strings that are specific to pixel or vertex functions - NOTE: A description of how to parse tokens can be found at: - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/graphics/hh/graphics/usermodedisplaydriver_shader_cc8e4e05-f5c3-4ec0-8853-8ce07c1551b2.xml.asp */ + NOTE: A description of how to parse tokens can be found on msdn */ void shader_generate_main( IWineD3DBaseShader *iface, SHADER_BUFFER* buffer, diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index d1ab9a32030..9f2b9101fa7 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -1784,7 +1784,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexDeclarationFromFVF(IWineD3D 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) { IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; IWineD3DVertexShaderImpl *object; /* NOTE: impl usage is ok, this is a create */ @@ -4008,8 +4007,7 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo * against d3d8 or d3d9! */ - /* Clipping conditions: From - * http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/directx9_c/directx/graphics/programmingguide/fixedfunction/viewportsclipping/clippingvolumes.asp + /* Clipping conditions: From msdn * * A vertex is clipped if it does not match the following requirements * -rhw < x <= rhw @@ -5734,7 +5732,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DrawRectPatch(IWineD3DDevice *iface, UI 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) { IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; TRACE("(%p) Handle(%d) noSegs(%p) tripatch(%p)\n", This, Handle, pNumSegs, pTriPatchInfo); @@ -6427,9 +6424,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderTarget(IWineD3DDevice *iface, /* MSDN says that null disables the 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 - - 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) { FIXME("Trying to set render target 0 to NULL\n"); diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 9d4a16adb6c..42896b6bb42 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1887,9 +1887,7 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt break; } } - /* 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 */ + /* TODO: Check support against more of the WINED3DUSAGE_QUERY_* constants */ if (Usage & WINED3DUSAGE_QUERY_VERTEXTEXTURE) { if (!GL_LIMITS(vertex_samplers)) { TRACE_(d3d_caps)("[FAILED]\n"); diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c index 3f029012de6..b8b7a9511e3 100644 --- a/dlls/wined3d/query.c +++ b/dlls/wined3d/query.c @@ -25,8 +25,6 @@ #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: * http://www.gris.uni-tuebingen.de/~bartz/Publications/paper/hww98.pdf * http://oss.sgi.com/projects/ogl-sample/registry/ARB/occlusion_query.txt diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 8f5060f035e..bbf87b590d9 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -1430,8 +1430,6 @@ static void state_pscale(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3 * POINTSCALEENABLE controls how point size value is treated. If set to * true, the point size is scaled with respect to height of viewport. * When set to false point size is in pixels. - * - * http://msdn.microsoft.com/library/en-us/directx9_c/point_sprites.asp */ /* Default values */ @@ -1564,7 +1562,6 @@ static void state_pointsprite(DWORD state, IWineD3DStateBlockImpl *stateblock, W static void state_wrap(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *context) { /** 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 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 diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c index 04b52d9e922..71b61d5fb85 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -44,30 +44,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3d_shader); #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 * http://developer.nvidia.com/view.asp?IO=vstovp * -- 2.11.4.GIT