dlls: Assorted spelling fixes.
This commit is contained in:
parent
65d1760452
commit
f932abf326
|
@ -1024,8 +1024,8 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 1. iterate over HKEY_CLASSES_ROOT\\AVIFile\\Extensions and collect
|
* 1. iterate over HKEY_CLASSES_ROOT\\AVIFile\\Extensions and collect
|
||||||
* extensions and CLSID's
|
* extensions and CLSIDs
|
||||||
* 2. iterate over collected CLSID's and copy its description and its
|
* 2. iterate over collected CLSIDs and copy its description and its
|
||||||
* extensions to szFilter if it fits
|
* extensions to szFilter if it fits
|
||||||
*
|
*
|
||||||
* First filter is named "All multimedia files" and its filter is a
|
* First filter is named "All multimedia files" and its filter is a
|
||||||
|
|
|
@ -215,7 +215,7 @@ static LPVOID WINAPI IGetFrame_fnGetFrame(IGetFrame *iface, LONG lPos)
|
||||||
if (FAILED(AVIStreamSampleSize(This->pStream, lNext, &readBytes)))
|
if (FAILED(AVIStreamSampleSize(This->pStream, lNext, &readBytes)))
|
||||||
return NULL; /* bad thing, but bad things will happen */
|
return NULL; /* bad thing, but bad things will happen */
|
||||||
if (readBytes <= 0) {
|
if (readBytes <= 0) {
|
||||||
ERR(": IAVIStream::REad doesn't return needed bytes!\n");
|
ERR(": IAVIStream::Read doesn't return needed bytes!\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
* Test unit(s).
|
* Test unit(s).
|
||||||
*
|
*
|
||||||
* The fdintNEXT_CABINET callbacks are probably not working quite as they should.
|
* The fdintNEXT_CABINET callbacks are probably not working quite as they should.
|
||||||
* There are several FIXME's in the source describing some of the deficiencies in
|
* There are several FIXMEs in the source describing some of the deficiencies in
|
||||||
* some detail. Additionally, we do not do a very good job of returning the right
|
* some detail. Additionally, we do not do a very good job of returning the right
|
||||||
* error codes to this callback.
|
* error codes to this callback.
|
||||||
*
|
*
|
||||||
|
@ -2731,7 +2731,7 @@ BOOL __cdecl FDICopy(
|
||||||
|
|
||||||
TRACE("Resetting folder for file %s.\n", debugstr_a(file->filename));
|
TRACE("Resetting folder for file %s.\n", debugstr_a(file->filename));
|
||||||
|
|
||||||
/* free stuff for the old decompresser */
|
/* free stuff for the old decompressor */
|
||||||
switch (ct2) {
|
switch (ct2) {
|
||||||
case cffoldCOMPTYPE_LZX:
|
case cffoldCOMPTYPE_LZX:
|
||||||
if (LZX(window)) {
|
if (LZX(window)) {
|
||||||
|
@ -2752,7 +2752,7 @@ BOOL __cdecl FDICopy(
|
||||||
CAB(offset) = 0;
|
CAB(offset) = 0;
|
||||||
CAB(outlen) = 0;
|
CAB(outlen) = 0;
|
||||||
|
|
||||||
/* initialize the new decompresser */
|
/* initialize the new decompressor */
|
||||||
switch (ct1) {
|
switch (ct1) {
|
||||||
case cffoldCOMPTYPE_NONE:
|
case cffoldCOMPTYPE_NONE:
|
||||||
CAB(decompress) = NONEfdi_decomp;
|
CAB(decompress) = NONEfdi_decomp;
|
||||||
|
|
|
@ -97,7 +97,7 @@ typedef struct
|
||||||
* Special flag set in DRAWITEMSTRUCT itemState field. It is set by
|
* Special flag set in DRAWITEMSTRUCT itemState field. It is set by
|
||||||
* the ComboEx version of the Combo Window Proc so that when the
|
* the ComboEx version of the Combo Window Proc so that when the
|
||||||
* WM_DRAWITEM message is then passed to ComboEx, we know that this
|
* WM_DRAWITEM message is then passed to ComboEx, we know that this
|
||||||
* particular WM_DRAWITEM message is for listbox only items. Any messasges
|
* particular WM_DRAWITEM message is for listbox only items. Any message
|
||||||
* without this flag is then for the Edit control field.
|
* without this flag is then for the Edit control field.
|
||||||
*
|
*
|
||||||
* We really cannot use the ODS_COMBOBOXEDIT flag because MSDN states that
|
* We really cannot use the ODS_COMBOBOXEDIT flag because MSDN states that
|
||||||
|
|
|
@ -192,7 +192,7 @@ static BOOL create_manifest( BOOL install )
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* hinstDLL [I] handle to the 'dlls' instance
|
* hinstDLL [I] handle to the 'dlls' instance
|
||||||
* fdwReason [I]
|
* fdwReason [I]
|
||||||
* lpvReserved [I] reserverd, must be NULL
|
* lpvReserved [I] reserved, must be NULL
|
||||||
*
|
*
|
||||||
* RETURNS
|
* RETURNS
|
||||||
* Success: TRUE
|
* Success: TRUE
|
||||||
|
@ -701,7 +701,7 @@ CreateUpDownControl (DWORD style, INT x, INT y, INT cx, INT cy,
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* This function is just a dummy - all the controls are registered at
|
* This function is just a dummy - all the controls are registered at
|
||||||
* the DLL's initialization. See InitCommonContolsEx for details.
|
* the DLL initialization time. See InitCommonContolsEx for details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
VOID WINAPI
|
VOID WINAPI
|
||||||
|
@ -1088,7 +1088,7 @@ VOID WINAPI InitMUILanguage (LANGID uiLang)
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* hWnd [in] handle to window subclass.
|
* hWnd [in] handle to window subclass.
|
||||||
* pfnSubclass [in] Pointer to new window procedure.
|
* pfnSubclass [in] Pointer to new window procedure.
|
||||||
* uIDSubclass [in] Unique identifier of sublass together with pfnSubclass.
|
* uIDSubclass [in] Unique identifier of subclass together with pfnSubclass.
|
||||||
* dwRef [in] Reference data to pass to window procedure.
|
* dwRef [in] Reference data to pass to window procedure.
|
||||||
*
|
*
|
||||||
* RETURNS
|
* RETURNS
|
||||||
|
@ -1177,7 +1177,7 @@ BOOL WINAPI SetWindowSubclass (HWND hWnd, SUBCLASSPROC pfnSubclass,
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* hWnd [in] Handle to window which were subclassing
|
* hWnd [in] Handle to window which were subclassing
|
||||||
* pfnSubclass [in] Pointer to the subclass procedure
|
* pfnSubclass [in] Pointer to the subclass procedure
|
||||||
* uID [in] Unique indentifier of the subclassing procedure
|
* uID [in] Unique identifier of the subclassing procedure
|
||||||
* pdwRef [out] Pointer to the reference data
|
* pdwRef [out] Pointer to the reference data
|
||||||
*
|
*
|
||||||
* RETURNS
|
* RETURNS
|
||||||
|
@ -1320,7 +1320,7 @@ static LRESULT WINAPI COMCTL32_SubclassProc (HWND hWnd, UINT uMsg, WPARAM wParam
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* DefSubclassProc [COMCTL32.413]
|
* DefSubclassProc [COMCTL32.413]
|
||||||
*
|
*
|
||||||
* Calls the next window procedure (ie. the one before this subclass)
|
* Calls the next window procedure (i.e. the one before this subclass)
|
||||||
*
|
*
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* hWnd [in] The window that we're subclassing
|
* hWnd [in] The window that we're subclassing
|
||||||
|
|
|
@ -1296,7 +1296,7 @@ static RANGE iterator_range(const ITERATOR *i)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* Releases resources associated with this ierator.
|
* Releases resources associated with this iterator.
|
||||||
*/
|
*/
|
||||||
static inline void iterator_destroy(const ITERATOR *i)
|
static inline void iterator_destroy(const ITERATOR *i)
|
||||||
{
|
{
|
||||||
|
@ -4938,7 +4938,7 @@ static void LISTVIEW_RefreshReportGrid(LISTVIEW_INFO *infoPtr, HDC hdc)
|
||||||
LineTo (hdc, rcItem.right, infoPtr->rcList.bottom);
|
LineTo (hdc, rcItem.right, infoPtr->rcList.bottom);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* draw the horizontial lines for the rows */
|
/* draw the horizontal lines for the rows */
|
||||||
itemheight = LISTVIEW_CalculateItemHeight(infoPtr);
|
itemheight = LISTVIEW_CalculateItemHeight(infoPtr);
|
||||||
rcItem.left = infoPtr->rcList.left;
|
rcItem.left = infoPtr->rcList.left;
|
||||||
rcItem.right = infoPtr->rcList.right;
|
rcItem.right = infoPtr->rcList.right;
|
||||||
|
@ -5543,7 +5543,7 @@ static BOOL LISTVIEW_DeleteColumn(LISTVIEW_INFO *infoPtr, INT nColumn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if we found our subitem, zapp it */
|
/* if we found our subitem, zap it */
|
||||||
if (nSubItem > 0)
|
if (nSubItem > 0)
|
||||||
{
|
{
|
||||||
/* free string */
|
/* free string */
|
||||||
|
@ -8418,7 +8418,7 @@ static DWORD LISTVIEW_SetExtendedListViewStyle(LISTVIEW_INFO *infoPtr, DWORD dwM
|
||||||
ImageList_Destroy(infoPtr->himlState);
|
ImageList_Destroy(infoPtr->himlState);
|
||||||
}
|
}
|
||||||
himl = LISTVIEW_SetImageList(infoPtr, LVSIL_STATE, himl);
|
himl = LISTVIEW_SetImageList(infoPtr, LVSIL_STATE, himl);
|
||||||
/* checkbox list replaces prevous custom list or... */
|
/* checkbox list replaces previous custom list or... */
|
||||||
if(((infoPtr->dwLvExStyle & LVS_EX_CHECKBOXES) &&
|
if(((infoPtr->dwLvExStyle & LVS_EX_CHECKBOXES) &&
|
||||||
!(infoPtr->dwStyle & LVS_SHAREIMAGELISTS)) ||
|
!(infoPtr->dwStyle & LVS_SHAREIMAGELISTS)) ||
|
||||||
/* ...previous was checkbox list */
|
/* ...previous was checkbox list */
|
||||||
|
|
|
@ -68,7 +68,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(monthcal);
|
||||||
to the next/prev month */
|
to the next/prev month */
|
||||||
#define MC_TODAYUPDATEDELAY 120000 /* time between today check for update (2 min) */
|
#define MC_TODAYUPDATEDELAY 120000 /* time between today check for update (2 min) */
|
||||||
|
|
||||||
#define MC_PREVNEXTMONTHTIMER 1 /* Timer ID's */
|
#define MC_PREVNEXTMONTHTIMER 1 /* Timer IDs */
|
||||||
#define MC_TODAYUPDATETIMER 2
|
#define MC_TODAYUPDATETIMER 2
|
||||||
|
|
||||||
#define countof(arr) (sizeof(arr)/sizeof(arr[0]))
|
#define countof(arr) (sizeof(arr)/sizeof(arr[0]))
|
||||||
|
@ -199,7 +199,7 @@ static inline void MONTHCAL_NotifySelect(const MONTHCAL_INFO *infoPtr)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* returns the number of days in any given month, checking for leap days */
|
/* returns the number of days in any given month, checking for leap days */
|
||||||
/* january is 1, december is 12 */
|
/* January is 1, December is 12 */
|
||||||
int MONTHCAL_MonthLength(int month, int year)
|
int MONTHCAL_MonthLength(int month, int year)
|
||||||
{
|
{
|
||||||
const int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
|
const int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
|
||||||
|
@ -286,7 +286,7 @@ static void MONTHCAL_CopyDate(const SYSTEMTIME *from, SYSTEMTIME *to)
|
||||||
* 0 : first == second
|
* 0 : first == second
|
||||||
* 1 : first > second
|
* 1 : first > second
|
||||||
*
|
*
|
||||||
* Note that no date validation performed, alreadt validated values expected.
|
* Note that no date validation performed, already validated values expected.
|
||||||
*/
|
*/
|
||||||
static LONG MONTHCAL_CompareSystemTime(const SYSTEMTIME *first, const SYSTEMTIME *second)
|
static LONG MONTHCAL_CompareSystemTime(const SYSTEMTIME *first, const SYSTEMTIME *second)
|
||||||
{
|
{
|
||||||
|
@ -331,7 +331,7 @@ static LONG MONTHCAL_CompareDate(const SYSTEMTIME *first, const SYSTEMTIME *seco
|
||||||
*
|
*
|
||||||
* RETURN VALUE
|
* RETURN VALUE
|
||||||
*
|
*
|
||||||
* TRUE - date whithin largest and configured range
|
* TRUE - date within largest and configured range
|
||||||
* FALSE - date is outside largest or configured range
|
* FALSE - date is outside largest or configured range
|
||||||
*/
|
*/
|
||||||
static BOOL MONTHCAL_IsDateInValidRange(const MONTHCAL_INFO *infoPtr,
|
static BOOL MONTHCAL_IsDateInValidRange(const MONTHCAL_INFO *infoPtr,
|
||||||
|
@ -532,7 +532,7 @@ static void MONTHCAL_GetMaxDate(const MONTHCAL_INFO *infoPtr, SYSTEMTIME *date)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* From a given point, calculate the row (weekpos), column(daypos)
|
/* From a given point, calculate the row (weekpos), column(daypos)
|
||||||
and day in the calendar. day== 0 mean the last day of tha last month
|
and day in the calendar. day== 0 mean the last day of the last month
|
||||||
*/
|
*/
|
||||||
static int MONTHCAL_CalcDayFromPos(const MONTHCAL_INFO *infoPtr, int x, int y,
|
static int MONTHCAL_CalcDayFromPos(const MONTHCAL_INFO *infoPtr, int x, int y,
|
||||||
int *daypos, int *weekpos)
|
int *daypos, int *weekpos)
|
||||||
|
@ -820,7 +820,7 @@ static void MONTHCAL_PaintWeeknumbers(const MONTHCAL_INFO *infoPtr, HDC hdc, con
|
||||||
The week containing Jan 1 is the first week of year
|
The week containing Jan 1 is the first week of year
|
||||||
LOCALE_IFIRSTWEEKOFYEAR == 2 (e.g. Germany):
|
LOCALE_IFIRSTWEEKOFYEAR == 2 (e.g. Germany):
|
||||||
First week of year must contain 4 days of the new year
|
First week of year must contain 4 days of the new year
|
||||||
LOCALE_IFIRSTWEEKOFYEAR == 1 (what contries?)
|
LOCALE_IFIRSTWEEKOFYEAR == 1 (what countries?)
|
||||||
The first week of the year must contain only days of the new year
|
The first week of the year must contain only days of the new year
|
||||||
*/
|
*/
|
||||||
GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_IFIRSTWEEKOFYEAR, buf, countof(buf));
|
GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_IFIRSTWEEKOFYEAR, buf, countof(buf));
|
||||||
|
@ -840,7 +840,7 @@ static void MONTHCAL_PaintWeeknumbers(const MONTHCAL_INFO *infoPtr, HDC hdc, con
|
||||||
|
|
||||||
if (date->wMonth == 1)
|
if (date->wMonth == 1)
|
||||||
{
|
{
|
||||||
/* calculate all those exceptions for january */
|
/* calculate all those exceptions for January */
|
||||||
st.wDay = st.wMonth = 1;
|
st.wDay = st.wMonth = 1;
|
||||||
weeknum1 = MONTHCAL_CalculateDayOfWeek(&st, FALSE);
|
weeknum1 = MONTHCAL_CalculateDayOfWeek(&st, FALSE);
|
||||||
if ((infoPtr->firstDay - weeknum1) % 7 > mindays)
|
if ((infoPtr->firstDay - weeknum1) % 7 > mindays)
|
||||||
|
@ -1228,7 +1228,7 @@ MONTHCAL_GetFirstDayOfWeek(const MONTHCAL_INFO *infoPtr)
|
||||||
* RETURN VALUE:
|
* RETURN VALUE:
|
||||||
* Low word contains previous first day,
|
* Low word contains previous first day,
|
||||||
* high word indicates was first day forced with this message before or is
|
* high word indicates was first day forced with this message before or is
|
||||||
* locale difined (TRUE - was forced, FALSE - wasn't).
|
* locale defined (TRUE - was forced, FALSE - wasn't).
|
||||||
*
|
*
|
||||||
* FIXME: this needs to be implemented properly in MONTHCAL_Refresh()
|
* FIXME: this needs to be implemented properly in MONTHCAL_Refresh()
|
||||||
* FIXME: we need more error checking here
|
* FIXME: we need more error checking here
|
||||||
|
|
|
@ -325,7 +325,7 @@ TOOLBAR_ButtonHasString(const TBUTTON_INFO *btnPtr)
|
||||||
* TOOLBAR_CheckStyle
|
* TOOLBAR_CheckStyle
|
||||||
*
|
*
|
||||||
* This function validates that the styles set are implemented and
|
* This function validates that the styles set are implemented and
|
||||||
* issues FIXME's warning of possible problems. In a perfect world this
|
* issues FIXMEs warning of possible problems. In a perfect world this
|
||||||
* function should be null.
|
* function should be null.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
@ -1467,7 +1467,7 @@ TOOLBAR_WrapToolbar(TOOLBAR_INFO *infoPtr)
|
||||||
*
|
*
|
||||||
* +--------------------------------------------------------+ ^
|
* +--------------------------------------------------------+ ^
|
||||||
* | ^ ^ | |
|
* | ^ ^ | |
|
||||||
* | | pad.cy / 2 | centred | |
|
* | | pad.cy / 2 | centered | |
|
||||||
* | pad.cx/2 + cxedge +--------------+ +------------+ | | DEFPAD_CY +
|
* | pad.cx/2 + cxedge +--------------+ +------------+ | | DEFPAD_CY +
|
||||||
* |<----------------->| nBitmapWidth | | Text | | | max(nBitmapHeight, szText.cy)
|
* |<----------------->| nBitmapWidth | | Text | | | max(nBitmapHeight, szText.cy)
|
||||||
* | |<------------>| | | | |
|
* | |<------------>| | | | |
|
||||||
|
@ -1483,7 +1483,7 @@ TOOLBAR_WrapToolbar(TOOLBAR_INFO *infoPtr)
|
||||||
*
|
*
|
||||||
* +-----------------------------------+ ^
|
* +-----------------------------------+ ^
|
||||||
* | ^ | |
|
* | ^ | |
|
||||||
* | | centred | | LISTPAD_CY +
|
* | | centered | | LISTPAD_CY +
|
||||||
* | +------------+ | | szText.cy
|
* | +------------+ | | szText.cy
|
||||||
* | | Text | | |
|
* | | Text | | |
|
||||||
* | | | | |
|
* | | | | |
|
||||||
|
@ -1521,13 +1521,13 @@ TOOLBAR_WrapToolbar(TOOLBAR_INFO *infoPtr)
|
||||||
* | | pad.cy / 2 | | nBitmapHeight +
|
* | | pad.cy / 2 | | nBitmapHeight +
|
||||||
* | - | | szText.cy +
|
* | - | | szText.cy +
|
||||||
* | +------------+ | | DEFPAD_CY + 1
|
* | +------------+ | | DEFPAD_CY + 1
|
||||||
* | centred | Bitmap | | |
|
* | centered | Bitmap | | |
|
||||||
* |<----------------->| | | |
|
* |<----------------->| | | |
|
||||||
* | +------------+ | |
|
* | +------------+ | |
|
||||||
* | ^ | |
|
* | ^ | |
|
||||||
* | 1 | | |
|
* | 1 | | |
|
||||||
* | - | |
|
* | - | |
|
||||||
* | centred +---------------+ | |
|
* | centered +---------------+ | |
|
||||||
* |<--------------->| Text | | |
|
* |<--------------->| Text | | |
|
||||||
* | +---------------+ | |
|
* | +---------------+ | |
|
||||||
* +-----------------------------------+ -
|
* +-----------------------------------+ -
|
||||||
|
@ -1540,7 +1540,7 @@ TOOLBAR_WrapToolbar(TOOLBAR_INFO *infoPtr)
|
||||||
* | ^ | |
|
* | ^ | |
|
||||||
* | | 2 + pad.cy / 2 | |
|
* | | 2 + pad.cy / 2 | |
|
||||||
* | - | | szText.cy +
|
* | - | | szText.cy +
|
||||||
* | centred +-----------------+ | | pad.cy + 2
|
* | centered +-----------------+ | | pad.cy + 2
|
||||||
* |<--------------->| Text | | |
|
* |<--------------->| Text | | |
|
||||||
* | +-----------------+ | |
|
* | +-----------------+ | |
|
||||||
* | | |
|
* | | |
|
||||||
|
@ -4378,7 +4378,7 @@ TOOLBAR_SetButtonSize (TOOLBAR_INFO *infoPtr, LPARAM lParam)
|
||||||
/*
|
/*
|
||||||
* The documentation also does not mention that if 0 is supplied for
|
* The documentation also does not mention that if 0 is supplied for
|
||||||
* either size, the system changes it to the default of 24 wide and
|
* either size, the system changes it to the default of 24 wide and
|
||||||
* 22 high. Demonstarted in ControlSpy Toolbar. GLA 3/02
|
* 22 high. Demonstrated in ControlSpy Toolbar. GLA 3/02
|
||||||
*/
|
*/
|
||||||
if (cx == 0) cx = 24;
|
if (cx == 0) cx = 24;
|
||||||
if (cy == 0) cy = 22;
|
if (cy == 0) cy = 22;
|
||||||
|
|
|
@ -1511,7 +1511,7 @@ static LRESULT FILEDLG95_InitControls(HWND hwnd)
|
||||||
|
|
||||||
/* Initialise the file name edit control */
|
/* Initialise the file name edit control */
|
||||||
handledPath = FALSE;
|
handledPath = FALSE;
|
||||||
TRACE("Before manipilation, file = %s, dir = %s\n", debugstr_w(fodInfos->filename), debugstr_w(fodInfos->initdir));
|
TRACE("Before manipulation, file = %s, dir = %s\n", debugstr_w(fodInfos->filename), debugstr_w(fodInfos->initdir));
|
||||||
|
|
||||||
if(fodInfos->filename)
|
if(fodInfos->filename)
|
||||||
{
|
{
|
||||||
|
|
|
@ -441,7 +441,7 @@ static LRESULT FD31_FileListSelect( const FD31_DATA *lfs )
|
||||||
if (lRet == LB_ERR)
|
if (lRet == LB_ERR)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
/* set the edit control to the choosen file */
|
/* set the edit control to the chosen file */
|
||||||
if ((pstr = HeapAlloc(GetProcessHeap(), 0, BUFFILEALLOC)))
|
if ((pstr = HeapAlloc(GetProcessHeap(), 0, BUFFILEALLOC)))
|
||||||
{
|
{
|
||||||
SendDlgItemMessageW(hWnd, lst1, LB_GETTEXT, lRet,
|
SendDlgItemMessageW(hWnd, lst1, LB_GETTEXT, lRet,
|
||||||
|
|
|
@ -95,7 +95,7 @@ typedef struct
|
||||||
} FileOpenDlgInfos;
|
} FileOpenDlgInfos;
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* Control ID's
|
* Control IDs
|
||||||
*/
|
*/
|
||||||
#define IDS_ABOUTBOX 101
|
#define IDS_ABOUTBOX 101
|
||||||
#define IDS_DOCUMENTFOLDERS 102
|
#define IDS_DOCUMENTFOLDERS 102
|
||||||
|
|
|
@ -183,7 +183,7 @@ static INT_PTR CALLBACK COMDLG32_FindReplaceDlgProc(HWND hDlgWnd, UINT iMsg, WPA
|
||||||
pdata = (COMDLG32_FR_Data *)lParam;
|
pdata = (COMDLG32_FR_Data *)lParam;
|
||||||
if(!SetPropA(hDlgWnd, (LPSTR)COMDLG32_Atom, (HANDLE)pdata))
|
if(!SetPropA(hDlgWnd, (LPSTR)COMDLG32_Atom, (HANDLE)pdata))
|
||||||
{
|
{
|
||||||
ERR("Could not Set prop; invent a gracefull exit?...\n");
|
ERR("Could not Set prop; invent a graceful exit?...\n");
|
||||||
DestroyWindow(hDlgWnd);
|
DestroyWindow(hDlgWnd);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2586,7 +2586,7 @@ static inline WORD get_devname_offset(const DEVNAMES *dn, devnames_name which)
|
||||||
case devnames_device_name: return dn->wDeviceOffset;
|
case devnames_device_name: return dn->wDeviceOffset;
|
||||||
case devnames_output_name: return dn->wOutputOffset;
|
case devnames_output_name: return dn->wOutputOffset;
|
||||||
}
|
}
|
||||||
ERR("Souldn't be here\n");
|
ERR("Shouldn't be here\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ BOOL16 CALLBACK FileSaveDlgProc16(HWND16 hWnd16, UINT16 wMsg, WPARAM16 wParam, L
|
||||||
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
|
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
|
||||||
*
|
*
|
||||||
* BUGS
|
* BUGS
|
||||||
* unknown, there are some FIXME's left.
|
* unknown, there are some FIXMEs left.
|
||||||
*/
|
*/
|
||||||
BOOL16 WINAPI GetOpenFileName16( SEGPTR ofn ) /* [in/out] address of structure with data*/
|
BOOL16 WINAPI GetOpenFileName16( SEGPTR ofn ) /* [in/out] address of structure with data*/
|
||||||
{
|
{
|
||||||
|
@ -116,7 +116,7 @@ BOOL16 WINAPI GetOpenFileName16( SEGPTR ofn ) /* [in/out] address of structure w
|
||||||
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
|
* FALSE on cancel, error, close or filename-does-not-fit-in-buffer.
|
||||||
*
|
*
|
||||||
* BUGS
|
* BUGS
|
||||||
* unknown. There are some FIXME's left.
|
* unknown. There are some FIXMEs left.
|
||||||
*/
|
*/
|
||||||
BOOL16 WINAPI GetSaveFileName16( SEGPTR ofn ) /* [in/out] address of structure with data*/
|
BOOL16 WINAPI GetSaveFileName16( SEGPTR ofn ) /* [in/out] address of structure with data*/
|
||||||
{
|
{
|
||||||
|
|
|
@ -174,7 +174,7 @@ static LRESULT REPLACEDLG_WMInitDialog(HWND hWnd, LPARAM lParam,
|
||||||
SetWindowLongPtrW(hWnd, DWLP_USER, lParam);
|
SetWindowLongPtrW(hWnd, DWLP_USER, lParam);
|
||||||
*lpFlags &= ~(FR_FINDNEXT | FR_REPLACE | FR_REPLACEALL | FR_DIALOGTERM);
|
*lpFlags &= ~(FR_FINDNEXT | FR_REPLACE | FR_REPLACEALL | FR_DIALOGTERM);
|
||||||
/*
|
/*
|
||||||
* FIXME : If the initial FindWhat string is empty, we should disable the FinNext /
|
* FIXME : If the initial FindWhat string is empty, we should disable the FindNext /
|
||||||
* Replace / ReplaceAll buttons. Only after typing some text, the buttons should be
|
* Replace / ReplaceAll buttons. Only after typing some text, the buttons should be
|
||||||
* enabled.
|
* enabled.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -260,7 +260,7 @@ static void CredDialogShowIncorrectPasswordBalloon(HWND hwndDlg, struct cred_dia
|
||||||
SendMessageW(params->hwndBalloonTip, TTM_SETTITLEW, TTI_ERROR, (LPARAM)wszTitle);
|
SendMessageW(params->hwndBalloonTip, TTM_SETTITLEW, TTI_ERROR, (LPARAM)wszTitle);
|
||||||
|
|
||||||
GetWindowRect(GetDlgItem(hwndDlg, IDC_PASSWORD), &rcPassword);
|
GetWindowRect(GetDlgItem(hwndDlg, IDC_PASSWORD), &rcPassword);
|
||||||
/* centred vertically and in the right side of the password edit control */
|
/* centered vertically and in the right side of the password edit control */
|
||||||
x = rcPassword.right - 12;
|
x = rcPassword.right - 12;
|
||||||
y = (rcPassword.top + rcPassword.bottom) / 2;
|
y = (rcPassword.top + rcPassword.bottom) / 2;
|
||||||
SendMessageW(params->hwndBalloonTip, TTM_TRACKPOSITION, 0, MAKELONG(x, y));
|
SendMessageW(params->hwndBalloonTip, TTM_TRACKPOSITION, 0, MAKELONG(x, y));
|
||||||
|
|
|
@ -591,7 +591,7 @@ BOOL WINAPI CryptGetDefaultOIDFunctionAddress(HCRYPTOIDFUNCSET hFuncSet,
|
||||||
* CryptRegisterOIDFunction (CRYPT32.@)
|
* CryptRegisterOIDFunction (CRYPT32.@)
|
||||||
*
|
*
|
||||||
* Register the DLL and the functions it uses to cover the combination
|
* Register the DLL and the functions it uses to cover the combination
|
||||||
* of encoding type, functionname and OID.
|
* of encoding type, function name and OID.
|
||||||
*
|
*
|
||||||
* PARAMS
|
* PARAMS
|
||||||
* dwEncodingType [I] Encoding type to be used.
|
* dwEncodingType [I] Encoding type to be used.
|
||||||
|
|
|
@ -167,7 +167,7 @@ BOOL WINAPI CertSerializeCTLStoreElement(PCCTL_CONTEXT pCtlContext,
|
||||||
|
|
||||||
/* Looks for the property with ID propID in the buffer buf. Returns a pointer
|
/* Looks for the property with ID propID in the buffer buf. Returns a pointer
|
||||||
* to its header if a valid header is found, NULL if not. Valid means the
|
* to its header if a valid header is found, NULL if not. Valid means the
|
||||||
* length of thte property won't overrun buf, and the unknown field is 1.
|
* length of the property won't overrun buf, and the unknown field is 1.
|
||||||
*/
|
*/
|
||||||
static const WINE_CERT_PROP_HEADER *CRYPT_findPropID(const BYTE *buf,
|
static const WINE_CERT_PROP_HEADER *CRYPT_findPropID(const BYTE *buf,
|
||||||
DWORD size, DWORD propID)
|
DWORD size, DWORD propID)
|
||||||
|
|
|
@ -571,7 +571,7 @@ static BOOL CRYPT_GetObjectFromCache(LPCWSTR pszURL, PCRYPT_BLOB_ARRAY pObject,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Parses the URL, and sets components's lpszHostName and lpszUrlPath members
|
/* Parses the URL, and sets components' lpszHostName and lpszUrlPath members
|
||||||
* to NULL-terminated copies of those portions of the URL (to be freed with
|
* to NULL-terminated copies of those portions of the URL (to be freed with
|
||||||
* CryptMemFree.)
|
* CryptMemFree.)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -539,7 +539,7 @@ static HRESULT parse_fx10_type(struct d3d10_effect_type *t, const char *ptr, con
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Not sure if this calculation is 100% correct, but a test
|
* Not sure if this calculation is 100% correct, but a test
|
||||||
* show's that these values work.
|
* shows that these values work.
|
||||||
*/
|
*/
|
||||||
t->elementtype->size_unpacked = t->size_packed / t->element_count;
|
t->elementtype->size_unpacked = t->size_packed / t->element_count;
|
||||||
TRACE("\tUnpacked size: %#x.\n", t->elementtype->size_unpacked);
|
TRACE("\tUnpacked size: %#x.\n", t->elementtype->size_unpacked);
|
||||||
|
|
|
@ -3146,7 +3146,7 @@ HRESULT device_init(IDirect3DDevice8Impl *device, IDirect3D8Impl *parent, struct
|
||||||
device->decls = HeapAlloc(GetProcessHeap(), 0, device->declArraySize * sizeof(*device->decls));
|
device->decls = HeapAlloc(GetProcessHeap(), 0, device->declArraySize * sizeof(*device->decls));
|
||||||
if (!device->decls)
|
if (!device->decls)
|
||||||
{
|
{
|
||||||
ERR("Failed to allocate FVF vertex delcaration map memory.\n");
|
ERR("Failed to allocate FVF vertex declaration map memory.\n");
|
||||||
hr = E_OUTOFMEMORY;
|
hr = E_OUTOFMEMORY;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
|
@ -193,7 +193,7 @@ size_t parse_token(const DWORD* pToken)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
TRACE(" 0x%08x UNKNOWN\n", token);
|
TRACE(" 0x%08x UNKNOWN\n", token);
|
||||||
/* argg error */
|
/* arg error */
|
||||||
}
|
}
|
||||||
|
|
||||||
return tokenlen;
|
return tokenlen;
|
||||||
|
|
|
@ -528,8 +528,7 @@ static void asmparser_instr(struct asm_parser *This, DWORD opcode,
|
||||||
}
|
}
|
||||||
TRACE_(parsed_shader)("\n");
|
TRACE_(parsed_shader)("\n");
|
||||||
|
|
||||||
/* Check for instructions with different syntaxes in different shader versio
|
/* Check for instructions with different syntaxes in different shader versions */
|
||||||
ns */
|
|
||||||
switch(opcode) {
|
switch(opcode) {
|
||||||
case BWRITERSIO_SINCOS:
|
case BWRITERSIO_SINCOS:
|
||||||
/* The syntax changes between vs 2 and the other shader versions */
|
/* The syntax changes between vs 2 and the other shader versions */
|
||||||
|
|
|
@ -1385,7 +1385,7 @@ _exit:
|
||||||
|
|
||||||
if (buf->pxo->nb_childs > MAX_CHILDS)
|
if (buf->pxo->nb_childs > MAX_CHILDS)
|
||||||
{
|
{
|
||||||
FIXME("Too many childs %d\n", buf->pxo->nb_childs);
|
FIXME("Too many children %d\n", buf->pxo->nb_childs);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -485,7 +485,7 @@ struct cpu
|
||||||
/* dwarf dedicated information */
|
/* dwarf dedicated information */
|
||||||
unsigned (*map_dwarf_register)(unsigned regno);
|
unsigned (*map_dwarf_register)(unsigned regno);
|
||||||
|
|
||||||
/* context related maniputation */
|
/* context related manipulation */
|
||||||
void* (*fetch_context_reg)(CONTEXT* context, unsigned regno, unsigned* size);
|
void* (*fetch_context_reg)(CONTEXT* context, unsigned regno, unsigned* size);
|
||||||
const char* (*fetch_regname)(unsigned regno);
|
const char* (*fetch_regname)(unsigned regno);
|
||||||
};
|
};
|
||||||
|
|
|
@ -1664,7 +1664,7 @@ static void dwarf2_parse_variable(dwarf2_subprogram_t* subpgm,
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* variable has been optimiezd away... report anyway */
|
/* variable has been optimized away... report anyway */
|
||||||
loc.kind = loc_error;
|
loc.kind = loc_error;
|
||||||
loc.reg = loc_err_no_location;
|
loc.reg = loc_err_no_location;
|
||||||
if (subpgm->func)
|
if (subpgm->func)
|
||||||
|
|
|
@ -763,7 +763,7 @@ static int elf_new_wine_thunks(struct module* module, const struct hash_table* h
|
||||||
* we are adding new symbols, but as we're parsing a symbol table
|
* we are adding new symbols, but as we're parsing a symbol table
|
||||||
* (hopefully without duplicate symbols) we delay rebuilding the sorted
|
* (hopefully without duplicate symbols) we delay rebuilding the sorted
|
||||||
* module table until we're done with the symbol table
|
* module table until we're done with the symbol table
|
||||||
* Otherwise, as we intertwine symbols's add and lookup, performance
|
* Otherwise, as we intertwine symbols' add and lookup, performance
|
||||||
* is rather bad
|
* is rather bad
|
||||||
*/
|
*/
|
||||||
module->sortlist_valid = TRUE;
|
module->sortlist_valid = TRUE;
|
||||||
|
@ -1285,7 +1285,7 @@ static BOOL elf_load_file_from_dll_path(HANDLE hProcess,
|
||||||
/******************************************************************
|
/******************************************************************
|
||||||
* elf_search_auxv
|
* elf_search_auxv
|
||||||
*
|
*
|
||||||
* locate some a value from the debuggee auxillary vector
|
* locate some a value from the debuggee auxiliary vector
|
||||||
*/
|
*/
|
||||||
static BOOL elf_search_auxv(const struct process* pcs, unsigned type, unsigned long* val)
|
static BOOL elf_search_auxv(const struct process* pcs, unsigned type, unsigned long* val)
|
||||||
{
|
{
|
||||||
|
@ -1307,7 +1307,7 @@ static BOOL elf_search_auxv(const struct process* pcs, unsigned type, unsigned l
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
/* walk through envp[] */
|
/* walk through envp[] */
|
||||||
/* envp[] strings are located after the auxillary vector, so protect the walk */
|
/* envp[] strings are located after the auxiliary vector, so protect the walk */
|
||||||
str_max = (void*)(DWORD_PTR)~0L;
|
str_max = (void*)(DWORD_PTR)~0L;
|
||||||
while (ReadProcessMemory(pcs->handle, addr, &str, sizeof(str), NULL) &&
|
while (ReadProcessMemory(pcs->handle, addr, &str, sizeof(str), NULL) &&
|
||||||
(addr = (void*)((DWORD_PTR)addr + sizeof(str))) != NULL && str != NULL)
|
(addr = (void*)((DWORD_PTR)addr + sizeof(str))) != NULL && str != NULL)
|
||||||
|
|
|
@ -1398,7 +1398,7 @@ static void codeview_snarf_linetab(const struct msc_debug_info* msc_dbg, const B
|
||||||
{
|
{
|
||||||
/* now locate function (if any) */
|
/* now locate function (if any) */
|
||||||
addr = func_addr0 + ltb->offsets[k] - start[j].start;
|
addr = func_addr0 + ltb->offsets[k] - start[j].start;
|
||||||
/* unfortunetaly, we can have several functions in the same block, if there's no
|
/* unfortunately, we can have several functions in the same block, if there's no
|
||||||
* gap between them... find the new function if needed
|
* gap between them... find the new function if needed
|
||||||
*/
|
*/
|
||||||
if (!func || addr >= func->address + func->size)
|
if (!func || addr >= func->address + func->size)
|
||||||
|
|
|
@ -88,7 +88,7 @@ const char* pe_map_section(struct image_section_map* ism)
|
||||||
return IMAGE_NO_MAP;
|
return IMAGE_NO_MAP;
|
||||||
}
|
}
|
||||||
/* FIXME: that's rather drastic, but that will do for now
|
/* FIXME: that's rather drastic, but that will do for now
|
||||||
* that's ok if the full file map exists, but we could be less agressive otherwise and
|
* that's ok if the full file map exists, but we could be less aggressive otherwise and
|
||||||
* only map the relevant section
|
* only map the relevant section
|
||||||
*/
|
*/
|
||||||
if ((mapping = pe_map_full(ism->fmap, &nth)))
|
if ((mapping = pe_map_full(ism->fmap, &nth)))
|
||||||
|
|
|
@ -155,7 +155,7 @@ static HDDEDATA CALLBACK WDML_InvokeCallback16(DWORD pfn16, UINT uType, UINT uFm
|
||||||
* a 32bit callback. This thunk also stores (in the code!) the 16bit
|
* a 32bit callback. This thunk also stores (in the code!) the 16bit
|
||||||
* address of the 16bit callback, and passes it back to
|
* address of the 16bit callback, and passes it back to
|
||||||
* WDML_InvokeCallback16.
|
* WDML_InvokeCallback16.
|
||||||
* The code below is mainly to create the thunks themselved
|
* The code below is mainly to create the thunks themselves
|
||||||
*/
|
*/
|
||||||
#include "pshpack1.h"
|
#include "pshpack1.h"
|
||||||
static struct ddeml_thunk
|
static struct ddeml_thunk
|
||||||
|
|
|
@ -215,7 +215,7 @@ static HRESULT WINAPI ddraw7_QueryInterface(IDirectDraw7 *iface, REFIID refiid,
|
||||||
}
|
}
|
||||||
else if(This->ImplType != SURFACE_OPENGL && DefaultSurfaceType == SURFACE_UNKNOWN)
|
else if(This->ImplType != SURFACE_OPENGL && DefaultSurfaceType == SURFACE_UNKNOWN)
|
||||||
{
|
{
|
||||||
ERR("(%p) The App is requesting a D3D device, but a non-OpenGL surface type was choosen. Prepare for trouble!\n", This);
|
ERR("(%p) The App is requesting a D3D device, but a non-OpenGL surface type was chosen. Prepare for trouble!\n", This);
|
||||||
ERR(" (%p) You may want to contact wine-devel for help\n", This);
|
ERR(" (%p) You may want to contact wine-devel for help\n", This);
|
||||||
/* Should I assert(0) here??? */
|
/* Should I assert(0) here??? */
|
||||||
}
|
}
|
||||||
|
@ -2734,7 +2734,7 @@ static HRESULT ddraw_create_surface(IDirectDrawImpl *This, DDSURFACEDESC2 *pDDSD
|
||||||
DDRAW_dump_surface_desc(pDDSD);
|
DDRAW_dump_surface_desc(pDDSD);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Select the surface type, if it wasn't choosen yet */
|
/* Select the surface type, if it wasn't chosen yet */
|
||||||
if(ImplType == SURFACE_UNKNOWN)
|
if(ImplType == SURFACE_UNKNOWN)
|
||||||
{
|
{
|
||||||
/* Use GL Surfaces if a D3DDEVICE Surface is requested */
|
/* Use GL Surfaces if a D3DDEVICE Surface is requested */
|
||||||
|
|
|
@ -47,7 +47,7 @@ static inline IDirect3DVertexBufferImpl *impl_from_IDirect3DVertexBuffer7(IDirec
|
||||||
* For a link to QueryInterface rules, see IDirectDraw7::QueryInterface
|
* For a link to QueryInterface rules, see IDirectDraw7::QueryInterface
|
||||||
*
|
*
|
||||||
* Params
|
* Params
|
||||||
* riid: Queryied Interface id
|
* riid: Queried Interface id
|
||||||
* obj: Address to return the interface pointer
|
* obj: Address to return the interface pointer
|
||||||
*
|
*
|
||||||
* Returns:
|
* Returns:
|
||||||
|
|
|
@ -431,7 +431,7 @@ static HRESULT create_DataFormat(LPCDIDATAFORMAT asked_format, DataFormat *forma
|
||||||
* instance id.
|
* instance id.
|
||||||
*/
|
*/
|
||||||
((asked_format->rgodf[j].dwType & DIDFT_INSTANCEMASK) == DIDFT_ANYINSTANCE) ||
|
((asked_format->rgodf[j].dwType & DIDFT_INSTANCEMASK) == DIDFT_ANYINSTANCE) ||
|
||||||
(DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType) == 0x00FF) || /* This is mentionned in no DX docs, but it works fine - tested on WinXP */
|
(DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType) == 0x00FF) || /* This is mentioned in no DX docs, but it works fine - tested on WinXP */
|
||||||
(DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType) == DIDFT_GETINSTANCE(format->wine_df->rgodf[i].dwType)))
|
(DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType) == DIDFT_GETINSTANCE(format->wine_df->rgodf[i].dwType)))
|
||||||
&&
|
&&
|
||||||
( /* Then if the asked type matches the one Wine provides */
|
( /* Then if the asked type matches the one Wine provides */
|
||||||
|
|
|
@ -427,7 +427,7 @@ static JoystickImpl *alloc_device(REFGUID rguid, IDirectInputImpl *dinput, unsig
|
||||||
newDevice->ff_state = FF_STATUS_STOPPED;
|
newDevice->ff_state = FF_STATUS_STOPPED;
|
||||||
#endif
|
#endif
|
||||||
/* There is no way in linux to query force feedback autocenter status.
|
/* There is no way in linux to query force feedback autocenter status.
|
||||||
Instead, track it with ff_autocenter, and assume it's initialy
|
Instead, track it with ff_autocenter, and assume it's initially
|
||||||
enabled. */
|
enabled. */
|
||||||
newDevice->ff_autocenter = 1;
|
newDevice->ff_autocenter = 1;
|
||||||
newDevice->ff_gain = 0xFFFF;
|
newDevice->ff_gain = 0xFFFF;
|
||||||
|
@ -716,8 +716,8 @@ static HRESULT WINAPI JoystickWImpl_Unacquire(LPDIRECTINPUTDEVICE8W iface)
|
||||||
/* Enable autocenter. */
|
/* Enable autocenter. */
|
||||||
event.type = EV_FF;
|
event.type = EV_FF;
|
||||||
event.code = FF_AUTOCENTER;
|
event.code = FF_AUTOCENTER;
|
||||||
/* TODO: Read autocenter strengh before disabling it, and use it here
|
/* TODO: Read autocenter strength before disabling it, and use it here
|
||||||
* instead of 0xFFFF (maximum strengh).
|
* instead of 0xFFFF (maximum strength).
|
||||||
*/
|
*/
|
||||||
event.value = 0xFFFF;
|
event.value = 0xFFFF;
|
||||||
if (write(This->joyfd, &event, sizeof(event)) == -1)
|
if (write(This->joyfd, &event, sizeof(event)) == -1)
|
||||||
|
|
|
@ -398,7 +398,7 @@ static void get_osx_device_elements(JoystickImpl *device, int axis_map[8])
|
||||||
int usagePage = IOHIDElementGetUsagePage( tIOHIDElementRef );
|
int usagePage = IOHIDElementGetUsagePage( tIOHIDElementRef );
|
||||||
if (usagePage != kHIDPage_Button)
|
if (usagePage != kHIDPage_Button)
|
||||||
{
|
{
|
||||||
/* avoid strange elements found on the 360 controler */
|
/* avoid strange elements found on the 360 controller */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -749,7 +749,7 @@ static HRESULT WINAPI SysMouseAImpl_GetDeviceInfo(
|
||||||
TRACE("(this=%p,%p)\n", This, pdidi);
|
TRACE("(this=%p,%p)\n", This, pdidi);
|
||||||
|
|
||||||
if (pdidi->dwSize != sizeof(DIDEVICEINSTANCEA)) {
|
if (pdidi->dwSize != sizeof(DIDEVICEINSTANCEA)) {
|
||||||
WARN(" dinput3 not supporte yet...\n");
|
WARN(" dinput3 not supported yet...\n");
|
||||||
return DI_OK;
|
return DI_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -764,7 +764,7 @@ static HRESULT WINAPI SysMouseWImpl_GetDeviceInfo(LPDIRECTINPUTDEVICE8W iface, L
|
||||||
TRACE("(this=%p,%p)\n", This, pdidi);
|
TRACE("(this=%p,%p)\n", This, pdidi);
|
||||||
|
|
||||||
if (pdidi->dwSize != sizeof(DIDEVICEINSTANCEW)) {
|
if (pdidi->dwSize != sizeof(DIDEVICEINSTANCEW)) {
|
||||||
WARN(" dinput3 not supporte yet...\n");
|
WARN(" dinput3 not supported yet...\n");
|
||||||
return DI_OK;
|
return DI_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Misc marshaling routinues
|
* Misc marshaling routines
|
||||||
*
|
*
|
||||||
* Copyright 2010 Huw Davies
|
* Copyright 2010 Huw Davies
|
||||||
*
|
*
|
||||||
|
|
|
@ -282,7 +282,7 @@ static HRESULT WINAPI IDirectMusicBandImpl_IDirectMusicObject_ParseDescriptor (L
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -302,7 +302,7 @@ static HRESULT WINAPI IDirectMusicBandImpl_IDirectMusicObject_ParseDescriptor (L
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -439,7 +439,7 @@ static HRESULT IDirectMusicBandImpl_IPersistStream_ParseInstrument (LPPERSISTSTR
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -508,7 +508,7 @@ static HRESULT IDirectMusicBandImpl_IPersistStream_ParseInstrumentsList (LPPERSI
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = ListSize[1];
|
liMove.QuadPart = ListSize[1];
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -517,7 +517,7 @@ static HRESULT IDirectMusicBandImpl_IPersistStream_ParseInstrumentsList (LPPERSI
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -582,7 +582,7 @@ static HRESULT IDirectMusicBandImpl_IPersistStream_ParseBandForm (LPPERSISTSTREA
|
||||||
if (hr == S_FALSE) {
|
if (hr == S_FALSE) {
|
||||||
switch (Chunk.fccID) {
|
switch (Chunk.fccID) {
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -609,7 +609,7 @@ static HRESULT IDirectMusicBandImpl_IPersistStream_ParseBandForm (LPPERSISTSTREA
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -401,7 +401,7 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_ParseBandsList (LPPERSISTSTR
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = StreamSize;
|
liMove.QuadPart = StreamSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -410,7 +410,7 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_ParseBandsList (LPPERSISTSTR
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -421,7 +421,7 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_ParseBandsList (LPPERSISTSTR
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -484,7 +484,7 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_ParseBandTrackForm (LPPERSIS
|
||||||
if (hr == S_FALSE) {
|
if (hr == S_FALSE) {
|
||||||
switch (Chunk.fccID) {
|
switch (Chunk.fccID) {
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -511,7 +511,7 @@ static HRESULT IDirectMusicBandTrack_IPersistStream_ParseBandTrackForm (LPPERSIS
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -290,7 +290,7 @@ HRESULT IDirectMusicUtils_IPersistStream_ParseReference (LPPERSISTSTREAM iface,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -272,7 +272,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescripto
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -292,7 +292,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IDirectMusicObject_ParseDescripto
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -453,7 +453,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTR
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = chunkSize;
|
liMove.QuadPart = chunkSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -473,7 +473,7 @@ static HRESULT WINAPI IDirectMusicChordMapImpl_IPersistStream_Load (LPPERSISTSTR
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = chunkSize;
|
liMove.QuadPart = chunkSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -383,7 +383,7 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicObject_ParseDescript
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -403,7 +403,7 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IDirectMusicObject_ParseDescript
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -563,7 +563,7 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IPersistStream_Load (LPPERSISTST
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = chunkSize;
|
liMove.QuadPart = chunkSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -583,7 +583,7 @@ static HRESULT WINAPI IDirectMusicAudioPathImpl_IPersistStream_Load (LPPERSISTST
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = chunkSize;
|
liMove.QuadPart = chunkSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -186,7 +186,7 @@ HRESULT IDirectMusicUtils_IPersistStream_ParseReference (LPPERSISTSTREAM iface,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE(": unknown chunk (irrevelant & skipping)\n");
|
TRACE(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -348,7 +348,7 @@ static HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicObject_ParseDescriptor (
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -368,7 +368,7 @@ static HRESULT WINAPI IDirectMusicGraphImpl_IDirectMusicObject_ParseDescriptor (
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -527,7 +527,7 @@ static HRESULT WINAPI IDirectMusicGraphImpl_IPersistStream_Load (LPPERSISTSTREAM
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = chunkSize;
|
liMove.QuadPart = chunkSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -547,7 +547,7 @@ static HRESULT WINAPI IDirectMusicGraphImpl_IPersistStream_Load (LPPERSISTSTREAM
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = chunkSize;
|
liMove.QuadPart = chunkSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -674,7 +674,7 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_ParseDescripto
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -692,7 +692,7 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_ParseDescripto
|
||||||
TRACE_(dmfile)(": %s chunk (size = %d)", debugstr_fourcc (Chunk.fccID), Chunk.dwSize);
|
TRACE_(dmfile)(": %s chunk (size = %d)", debugstr_fourcc (Chunk.fccID), Chunk.dwSize);
|
||||||
switch (Chunk.fccID) {
|
switch (Chunk.fccID) {
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -712,7 +712,7 @@ static HRESULT WINAPI IDirectMusicSegment8Impl_IDirectMusicObject_ParseDescripto
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStream, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -971,7 +971,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseTrackForm (LPPERSIST
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -1015,7 +1015,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseTrackList (LPPERSIST
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = StreamSize;
|
liMove.QuadPart = StreamSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -1024,7 +1024,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseTrackList (LPPERSIST
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -1124,7 +1124,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseSegmentForm (LPPERSI
|
||||||
if (hr == S_FALSE) {
|
if (hr == S_FALSE) {
|
||||||
switch (Chunk.fccID) {
|
switch (Chunk.fccID) {
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -1152,7 +1152,7 @@ static HRESULT IDirectMusicSegment8Impl_IPersistStream_ParseSegmentForm (LPPERSI
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -326,7 +326,7 @@ static HRESULT IDirectMusicSegTriggerTrack_IPersistStream_ParseSegment (LPPERSIS
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -380,7 +380,7 @@ static HRESULT IDirectMusicSegTriggerTrack_IPersistStream_ParseSegmentsList (LPP
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
@ -440,7 +440,7 @@ static HRESULT IDirectMusicSegTriggerTrack_IPersistStream_ParseSegTrackList (LPP
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
TRACE_(dmfile)(": unknown chunk (irrevelant & skipping)\n");
|
TRACE_(dmfile)(": unknown chunk (irrelevant & skipping)\n");
|
||||||
liMove.QuadPart = Chunk.dwSize;
|
liMove.QuadPart = Chunk.dwSize;
|
||||||
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
IStream_Seek (pStm, liMove, STREAM_SEEK_CUR, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue