Spelling fixes.
This commit is contained in:
parent
7b48298e27
commit
06d429d6b6
@ -2056,7 +2056,7 @@ QueryServiceConfigW( SC_HANDLE hService,
|
|||||||
* QueryServiceConfig2A [ADVAPI32.@]
|
* QueryServiceConfig2A [ADVAPI32.@]
|
||||||
*
|
*
|
||||||
* Note
|
* Note
|
||||||
* observed unter win2k:
|
* observed under win2k:
|
||||||
* The functions QueryServiceConfig2A and QueryServiceConfig2W return the same
|
* The functions QueryServiceConfig2A and QueryServiceConfig2W return the same
|
||||||
* required buffer size (in byte) at least for dwLevel SERVICE_CONFIG_DESCRIPTION
|
* required buffer size (in byte) at least for dwLevel SERVICE_CONFIG_DESCRIPTION
|
||||||
*/
|
*/
|
||||||
|
@ -1153,7 +1153,7 @@ static int get_row_end_for_band(const REBAR_INFO *infoPtr, INT iBand)
|
|||||||
return iBand;
|
return iBand;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Compute the rcBand.{left,right} from the cxEffective bands widths computed earier.
|
/* Compute the rcBand.{left,right} from the cxEffective bands widths computed earlier.
|
||||||
* iBeginBand must be visible */
|
* iBeginBand must be visible */
|
||||||
static void REBAR_SetRowRectsX(const REBAR_INFO *infoPtr, INT iBeginBand, INT iEndBand)
|
static void REBAR_SetRowRectsX(const REBAR_INFO *infoPtr, INT iBeginBand, INT iEndBand)
|
||||||
{
|
{
|
||||||
|
@ -295,7 +295,7 @@ ULONG WINAPI D3D8CB_DestroyRenderTarget(IWineD3DSurface *pSurface) {
|
|||||||
return IDirect3DSurface8_Release((IDirect3DSurface8*) surfaceParent);
|
return IDirect3DSurface8_Release((IDirect3DSurface8*) surfaceParent);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Callback for creating the implicite swapchain when the device is created */
|
/* Callback for creating the implicit swapchain when the device is created */
|
||||||
static HRESULT WINAPI D3D8CB_CreateAdditionalSwapChain(IUnknown *device,
|
static HRESULT WINAPI D3D8CB_CreateAdditionalSwapChain(IUnknown *device,
|
||||||
WINED3DPRESENT_PARAMETERS* pPresentationParameters,
|
WINED3DPRESENT_PARAMETERS* pPresentationParameters,
|
||||||
IWineD3DSwapChain ** ppSwapChain){
|
IWineD3DSwapChain ** ppSwapChain){
|
||||||
|
@ -1147,7 +1147,7 @@ static void pending_flush(struct pending_block* pending, struct module* module,
|
|||||||
* Ends function creation: mainly:
|
* Ends function creation: mainly:
|
||||||
* - cleans up line number information
|
* - cleans up line number information
|
||||||
* - tries to set up a debug-start tag (FIXME: heuristic to be enhanced)
|
* - tries to set up a debug-start tag (FIXME: heuristic to be enhanced)
|
||||||
* - for stabs which have abolute address in them, initializes the size of the
|
* - for stabs which have absolute address in them, initializes the size of the
|
||||||
* function (assuming that current function ends where next function starts)
|
* function (assuming that current function ends where next function starts)
|
||||||
*/
|
*/
|
||||||
static void stabs_finalize_function(struct module* module, struct symt_function* func,
|
static void stabs_finalize_function(struct module* module, struct symt_function* func,
|
||||||
|
@ -288,7 +288,7 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceState(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* GetCapabilities : get the device capablitites
|
* GetCapabilities : get the device capabilities
|
||||||
*/
|
*/
|
||||||
static HRESULT WINAPI SysKeyboardAImpl_GetCapabilities(
|
static HRESULT WINAPI SysKeyboardAImpl_GetCapabilities(
|
||||||
LPDIRECTINPUTDEVICE8A iface,
|
LPDIRECTINPUTDEVICE8A iface,
|
||||||
|
@ -590,7 +590,7 @@ static HRESULT WINAPI SysMouseAImpl_GetProperty(LPDIRECTINPUTDEVICE8A iface,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* GetCapabilities : get the device capablitites
|
* GetCapabilities : get the device capabilities
|
||||||
*/
|
*/
|
||||||
static HRESULT WINAPI SysMouseAImpl_GetCapabilities(
|
static HRESULT WINAPI SysMouseAImpl_GetCapabilities(
|
||||||
LPDIRECTINPUTDEVICE8A iface,
|
LPDIRECTINPUTDEVICE8A iface,
|
||||||
|
@ -239,7 +239,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_Init (LPDIRECTMUSICPERFORMANC
|
|||||||
This->pDirectMusic = (IDirectMusic8*) *ppDirectMusic;
|
This->pDirectMusic = (IDirectMusic8*) *ppDirectMusic;
|
||||||
IDirectMusic8_AddRef(This->pDirectMusic);
|
IDirectMusic8_AddRef(This->pDirectMusic);
|
||||||
} else {
|
} else {
|
||||||
/* app allows the performance to initialise itfself and needs a pointer to object*/
|
/* app allows the performance to initialise itself and needs a pointer to object*/
|
||||||
CoCreateInstance (&CLSID_DirectMusic, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectMusic8, (void**)&This->pDirectMusic);
|
CoCreateInstance (&CLSID_DirectMusic, NULL, CLSCTX_INPROC_SERVER, &IID_IDirectMusic8, (void**)&This->pDirectMusic);
|
||||||
if (ppDirectMusic) {
|
if (ppDirectMusic) {
|
||||||
*ppDirectMusic = (LPDIRECTMUSIC) This->pDirectMusic;
|
*ppDirectMusic = (LPDIRECTMUSIC) This->pDirectMusic;
|
||||||
@ -758,7 +758,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_InitAudio (LPDIRECTMUSICPERFO
|
|||||||
|
|
||||||
IDirectMusicPerformance8Impl_Init(iface, ppDirectMusic, dsound, hWnd);
|
IDirectMusicPerformance8Impl_Init(iface, ppDirectMusic, dsound, hWnd);
|
||||||
|
|
||||||
/* Init increases the ref count of the dsound object. Decremente it if the app don't want a pointer to the object. */
|
/* Init increases the ref count of the dsound object. Decrement it if the app doesn't want a pointer to the object. */
|
||||||
if (NULL == ppDirectSound) {
|
if (NULL == ppDirectSound) {
|
||||||
IDirectSound_Release(This->pDirectSound);
|
IDirectSound_Release(This->pDirectSound);
|
||||||
}
|
}
|
||||||
@ -872,7 +872,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_CreateStandardAudioPath (LPDI
|
|||||||
desc.dwFlags |= DSBCAPS_CTRLFREQUENCY;
|
desc.dwFlags |= DSBCAPS_CTRLFREQUENCY;
|
||||||
break;
|
break;
|
||||||
case DMUS_APATH_SHARED_STEREOPLUSREVERB:
|
case DMUS_APATH_SHARED_STEREOPLUSREVERB:
|
||||||
/* normally we havet to create 2 buffers (one for music other for reverb)
|
/* normally we have to create 2 buffers (one for music other for reverb)
|
||||||
* in this case. See msdn
|
* in this case. See msdn
|
||||||
*/
|
*/
|
||||||
case DMUS_APATH_DYNAMIC_STEREO:
|
case DMUS_APATH_DYNAMIC_STEREO:
|
||||||
|
@ -175,7 +175,7 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicSegment8_GetTrack (LP
|
|||||||
if (FALSE == IsEqualGUID(&GUID_NULL, rguidType)) {
|
if (FALSE == IsEqualGUID(&GUID_NULL, rguidType)) {
|
||||||
/**
|
/**
|
||||||
* it rguidType is not null we must check if CLSID are equals
|
* it rguidType is not null we must check if CLSID are equals
|
||||||
* and the unqiue way to get it its using IPersistStream Interface
|
* and the unique way to get it is using IPersistStream Interface
|
||||||
*/
|
*/
|
||||||
hr = IDirectMusicTrack_QueryInterface(pIt->pTrack, &IID_IPersistStream, (void**) &pCLSIDStream);
|
hr = IDirectMusicTrack_QueryInterface(pIt->pTrack, &IID_IPersistStream, (void**) &pCLSIDStream);
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user