mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[DLLS] Spelling fixes by Josh Soref. CORE-12286
svn path=/trunk/; revision=73216
This commit is contained in:
parent
1072717a60
commit
4297c7b0b6
166 changed files with 364 additions and 364 deletions
|
@ -213,7 +213,7 @@ NTSTATUS SdbpOpenKey(PUNICODE_STRING FullPath, BOOL bMachine, ACCESS_MASK Access
|
|||
Status = RtlFormatCurrentUserKeyPath(&BasePath);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
SHIM_ERR("Unable to aquire user registry key, Error: 0x%lx\n", Status);
|
||||
SHIM_ERR("Unable to acquire user registry key, Error: 0x%lx\n", Status);
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
/* The above definition of TAGID_ROOT is used in winapi and can be found
|
||||
* on msdn it but doesn't make sense, especially internally, because
|
||||
* TAGID represents offset into database data and there is a header at
|
||||
* offset 0, NOT a tag. Therfore, this definition should be used internally
|
||||
* offset 0, NOT a tag. Therefore, this definition should be used internally
|
||||
* to represent first valid TAGID. Header size is 12 bytes. */
|
||||
#define _TAGID_ROOT 12
|
||||
|
||||
|
|
|
@ -95,7 +95,7 @@ static BOOL WINAPI SdbpWriteStringtable(PDB db)
|
|||
*
|
||||
* If a file already exists on specified path, that file shall be overwritten.
|
||||
*
|
||||
* @note Use SdbCloseDatabasWrite to close the database opened with this function.
|
||||
* @note Use SdbCloseDatabaseWrite to close the database opened with this function.
|
||||
*
|
||||
* @param [in] path Path to the new shim database.
|
||||
* @param [in] type Type of path. Either DOS_PATH or NT_PATH.
|
||||
|
|
|
@ -11,7 +11,7 @@ pSdbCreateDatabase
|
|||
[Err ][SdbpWriteBufferedData] Failed to allocate 65548 bytes.
|
||||
|
||||
pSdbWriteStringTag
|
||||
[Err ][SdbpAddStringToTable] Error Gettting temp path 0x8
|
||||
[Err ][SdbpAddStringToTable] Error Getting temp path 0x8
|
||||
[Err ][SdbpCreateFile ] Failed to convert DOS path "C:\Users\MAE67~1.JAN\AppData\Local\Temp\SDBAB16.tmp"
|
||||
[Err ][SdbpAddStringToTable] Error copying string table temp filename
|
||||
[Err ][HashCreate ] Failed to allocate 8 bytes.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* PROJECT: ReactOS Accessibility Control Panel
|
||||
* LICENSE: GPL - See COPYING in the top level directory
|
||||
* FILE: dll/cpl/access/sound.c
|
||||
* PURPOSE: Sound-related acessibility settings
|
||||
* PURPOSE: Sound-related accessibility settings
|
||||
* COPYRIGHT: Copyright 2004 Johannes Anderwald (johannes.anderwald@reactos.org)
|
||||
* Copyright 2007 Eric Kohl
|
||||
*/
|
||||
|
|
|
@ -90,7 +90,7 @@ ApplyConsoleInfo(HWND hwndDlg)
|
|||
static BOOL ConsoleInfoAlreadySaved = FALSE;
|
||||
|
||||
/*
|
||||
* We alread applied all the console properties (and saved if needed).
|
||||
* We already applied all the console properties (and saved if needed).
|
||||
* Nothing more needs to be done.
|
||||
*/
|
||||
if (ConsoleInfoAlreadySaved)
|
||||
|
|
|
@ -70,7 +70,7 @@ typedef struct
|
|||
* and different sizes. In other words the user can select a combination
|
||||
* of colour and size.
|
||||
* That means that for the classic theme THEME.SizesList is unused and
|
||||
* every color has some child styles that corespond its sizes.
|
||||
* every color has some child styles that correspond its sizes.
|
||||
* The themes for visual styles however will use both ColoursList and SizesList
|
||||
* and ChildStyle will not be used.
|
||||
*/
|
||||
|
|
|
@ -564,7 +564,7 @@ CDevSettings_GetData(IDataObject* iface,
|
|||
pformatetcIn);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
/* Return the reqested data back to the shell extension */
|
||||
/* Return the requested data back to the shell extension */
|
||||
|
||||
if (pformatetcIn->cfFormat == This->cfDisplayDevice)
|
||||
{
|
||||
|
|
|
@ -220,7 +220,7 @@ LoadCurrentScheme(OUT COLOR_SCHEME *scheme)
|
|||
}
|
||||
|
||||
/*
|
||||
* LoadSchemeFromReg: Populates the passed scheme with values retireved from registry
|
||||
* LoadSchemeFromReg: Populates the passed scheme with values retrieved from registry
|
||||
*/
|
||||
BOOL
|
||||
LoadSchemeFromReg(OUT COLOR_SCHEME *scheme, IN PTHEME_SELECTION pSelectedTheme)
|
||||
|
|
|
@ -128,7 +128,7 @@ SearchPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
}
|
||||
|
||||
static INT_PTR CALLBACK
|
||||
IsConnctedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
IsConnectedPageDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch (uMsg)
|
||||
{
|
||||
|
@ -811,7 +811,7 @@ HardwareWizardInit(HWND hwnd)
|
|||
psp.pszHeaderSubTitle = NULL;
|
||||
psp.hInstance = hApplet;
|
||||
psp.lParam = 0;
|
||||
psp.pfnDlgProc = IsConnctedPageDlgProc;
|
||||
psp.pfnDlgProc = IsConnectedPageDlgProc;
|
||||
psp.pszTemplate = MAKEINTRESOURCE(IDD_ISCONNECTEDPAGE);
|
||||
ahpsp[nPages++] = CreatePropertySheetPage(&psp);
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
;@ stub HotPlugEjectDeviceEx
|
||||
;@ stub HotPlugEjectVetoedW
|
||||
;@ stub HotPlugHibernateVetoedW
|
||||
;@ stub HotPlugRemovealVetoedW
|
||||
;@ stub HotPlugRemovalVetoedW
|
||||
;@ stub HotPlugSafeRemovalDriveNotificationW
|
||||
;@ stub HotPlugSafeRemovalNotificationW
|
||||
;@ stub HotPlugStandyVetoedW
|
||||
;@ stub HotPlugStandbyVetoedW
|
||||
;@ stub HotPlugWarmEjectVetoedW
|
||||
|
|
|
@ -190,16 +190,16 @@ InputList_AddInputMethodToUserRegistry(DWORD dwIndex, INPUT_LIST_NODE *pNode)
|
|||
KEY_SET_VALUE,
|
||||
&hKey) == ERROR_SUCCESS)
|
||||
{
|
||||
WCHAR szSubstitues[MAX_PATH];
|
||||
WCHAR szSubstitutes[MAX_PATH];
|
||||
|
||||
StringCchPrintfW(szSubstitues, ARRAYSIZE(szSubstitues), L"%08X", pNode->pLayout->dwId);
|
||||
StringCchPrintfW(szSubstitutes, ARRAYSIZE(szSubstitutes), L"%08X", pNode->pLayout->dwId);
|
||||
|
||||
RegSetValueExW(hKey,
|
||||
szPreload,
|
||||
0,
|
||||
REG_SZ,
|
||||
(LPBYTE)szSubstitues,
|
||||
(wcslen(szSubstitues) + 1) * sizeof(WCHAR));
|
||||
(LPBYTE)szSubstitutes,
|
||||
(wcslen(szSubstitutes) + 1) * sizeof(WCHAR));
|
||||
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
|
|
@ -81,7 +81,7 @@ CreateSortList(HWND hwnd, LCID lcid)
|
|||
|
||||
hWndSortList = hwnd;
|
||||
|
||||
/* Handle special case for Spainish (Spain) */
|
||||
/* Handle special case for Spanish (Spain) */
|
||||
if (lcid == MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH), SORT_DEFAULT) ||
|
||||
lcid == MAKELCID(MAKELANGID(LANG_SPANISH, SUBLANG_SPANISH_MODERN), SORT_DEFAULT))
|
||||
{
|
||||
|
|
|
@ -1113,7 +1113,7 @@ LoadInitialCursorScheme(HWND hwndDlg)
|
|||
_tcsncat(szSchemeName, szSystemScheme, MAX_PATH - _tcslen(szSchemeName) - 1);
|
||||
}
|
||||
|
||||
/* Search and select the curent scheme name from the scheme list */
|
||||
/* Search and select the current scheme name from the scheme list */
|
||||
nSel = SendDlgItemMessage(hwndDlg, IDC_COMBO_CURSOR_SCHEME, CB_FINDSTRINGEXACT, -1, (LPARAM)szSchemeName);
|
||||
if (nSel != CB_ERR)
|
||||
SendDlgItemMessage(hwndDlg, IDC_COMBO_CURSOR_SCHEME, CB_SETCURSEL, (WPARAM)nSel, (LPARAM)0);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
* PROJECT: ReactOS Multimedia Control Panel
|
||||
* FILE: dll/cpl/mmsys/mmsys.c
|
||||
* PURPOSE: ReactOS Multimedia Control Panel
|
||||
* PROGRAMMER: Thoams Weidenmueller <w3seek@reactos.com>
|
||||
* PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
|
||||
* Dmitry Chapyshev <dmitry@reactos.org>
|
||||
* UPDATE HISTORY:
|
||||
* 2005/11/23 Created
|
||||
|
|
|
@ -185,7 +185,7 @@ ShowCurrentPowerActionPolicies(HWND hwndDlg)
|
|||
if (!IsBatteryUsed())
|
||||
{
|
||||
#if 0
|
||||
/* expiremental code */
|
||||
/* experimental code */
|
||||
// ShowCurrentPowerButtonAcAction(hList2,
|
||||
ShowCurrentPowerActionPolicy(GetDlgItem(hwndDlg, IDC_POWERBUTTON),
|
||||
g_SystemBatteries,
|
||||
|
@ -206,7 +206,7 @@ ShowCurrentPowerActionPolicies(HWND hwndDlg)
|
|||
&gGPP.user.PowerButtonAc);
|
||||
|
||||
#if 0
|
||||
/* expiremental code */
|
||||
/* experimental code */
|
||||
ShowCurrentPowerActionPolicy(GetDlgItem(hwndDlg, IDC_SLEEPBUTTON),
|
||||
g_SleepButton,
|
||||
sizeof(g_SleepButton) / sizeof(POWER_ACTION),
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
LANGUAGE LANG_BULGARIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Наредби на захранването"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Schémata napájení"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 218
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 218
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Energieschemata"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_GREEK, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Συνδυασμοί τροφοδοσίας"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Power Schemes"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_SPANISH, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 262, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 262, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Combinaciones de energía"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_FRENCH, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Profils d'alimentation"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_HEBREW, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "תכניות צריכת חשמל"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_INDONESIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Skema Tenaga"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
LANGUAGE LANG_ITALIAN, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Gestione risparmio energia"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "電源設定"
|
||||
FONT 9, "MS UI Gothic"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
LANGUAGE LANG_DUTCH, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Energie schema's"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_NORWEGIAN, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Strømstyringsplan"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Schematy zasilania"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
LANGUAGE LANG_ROMANIAN, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Regim de consum"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Схемы управления питанием"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Schémy napájania"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
LANGUAGE LANG_ALBANIAN, SUBLANG_NEUTRAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Skema e Energjisë"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
LANGUAGE LANG_THAI, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 250, 220
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 250, 220
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Power Schemes"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Güç Düzenleri"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
LANGUAGE LANG_UKRAINIAN, SUBLANG_DEFAULT
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Схеми керування живленням"
|
||||
FONT 8, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "电源使用方案"
|
||||
FONT 9, "MS Shell Dlg"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
||||
|
||||
IDD_PROPPAGEPOWERSHEMES DIALOGEX 0, 0, 252, 237
|
||||
IDD_PROPPAGEPOWERSCHEMES DIALOGEX 0, 0, 252, 237
|
||||
STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "電源使用方案"
|
||||
FONT 9, "MS Shell Dlg"
|
||||
|
|
|
@ -97,7 +97,7 @@ Applet1(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
|
|||
psh.nStartPage = 0;
|
||||
psh.phpage = hpsp;
|
||||
|
||||
InitPropSheetPage(&psh, IDD_PROPPAGEPOWERSHEMES, (DLGPROC)PowerSchemesDlgProc);
|
||||
InitPropSheetPage(&psh, IDD_PROPPAGEPOWERSCHEMES, (DLGPROC)PowerSchemesDlgProc);
|
||||
if (GetPwrCapabilities(&spc))
|
||||
{
|
||||
if (spc.SystemBatteriesPresent)
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
#define IDS_CONFIG1 53
|
||||
#define IDS_CONFIG2 54
|
||||
|
||||
#define IDD_PROPPAGEPOWERSHEMES 70
|
||||
#define IDD_PROPPAGEALARMS 71
|
||||
#define IDD_PROPPAGEPOWERMETER 72
|
||||
#define IDD_PROPPAGEADVANCED 73
|
||||
#define IDD_PROPPAGEHIBERNATE 74
|
||||
#define IDD_PROPPAGEPOWERSCHEMES 70
|
||||
#define IDD_PROPPAGEALARMS 71
|
||||
#define IDD_PROPPAGEPOWERMETER 72
|
||||
#define IDD_PROPPAGEADVANCED 73
|
||||
#define IDD_PROPPAGEHIBERNATE 74
|
||||
|
||||
#define IDS_NOACTION 100
|
||||
#define IDS_PowerActionNone1 114
|
||||
|
|
|
@ -538,7 +538,7 @@ SetAllVars(HWND hwndDlg,
|
|||
hwndListView = GetDlgItem(hwndDlg, iDlgItem);
|
||||
/* First item is 0 */
|
||||
iItem = 0;
|
||||
/* Set up struct to retreive item */
|
||||
/* Set up struct to retrieve item */
|
||||
lvi.mask = LVIF_PARAM;
|
||||
lvi.iItem = iItem;
|
||||
|
||||
|
|
|
@ -298,7 +298,7 @@ BEGIN
|
|||
IDS_PAGEFILE_NONE "None"
|
||||
IDS_PAGEFILE_SYSTEM "System Managed"
|
||||
IDS_INFOREBOOT "You have to reboot the computer in order to apply the changes."
|
||||
IDS_DEVS "\nReactOS Team\n\nProject Coordinator\n\nAleksey Bragin\n\nDevelopment Team\n\nAleksey Bragin\nAndrew Greenwood\nAndrey Korotaev\nArt Yerkes\nChristoph von Wittich\nColin Finck\nDaniel Reimer\nDmitry Chapyshev\nEric Kohl\nGed Murphy\nGregor Brunmar\nHervé Poussineau\nJames Tabor\nJeffrey Morlan\nJohannes Anderwald\nKamil Horníček\nKJK::Hyperion\nMaarten Bosma\nMagnus Olsen\nMarc Piulachs\nMatthias Kupfer\nMike Nordell\nPeter Ward\nPierre Schweitzer\nSaveliy Tretiakov\nStefan Ginsberg\nSylvain Petreolle\nThomas Blümel\nTimo Kreuzer \n\nAlex Ionescu\nFilip Navara\nGunnar Dalsnes\nMartin Fuchs\nRoyce Mitchell III\nBrandon Turner\nBrian Palmer\nCasper Hornstrup\nDavid Welch\nEmanuele Aliberti\nGé van Geldorp\nGregor Anich\nJason Filby\nJens Collin\nMichael Wirth\nNathan Woods\nRobert Dickenson\nRex Jolliff\nVizzini \n\nRelease Engineers\n\nColin Finck\nZ98\n\nWebsite Team\n\nColin Finck\nJaix Bly\nKlemens Friedl\nZ98\n\nMedia Team\n\nMindflyer\nWierd_W\n\nfurther thanks go to\n\nall Contributers\nWine Team\n\n"
|
||||
IDS_DEVS "\nReactOS Team\n\nProject Coordinator\n\nAleksey Bragin\n\nDevelopment Team\n\nAleksey Bragin\nAndrew Greenwood\nAndrey Korotaev\nArt Yerkes\nChristoph von Wittich\nColin Finck\nDaniel Reimer\nDmitry Chapyshev\nEric Kohl\nGed Murphy\nGregor Brunmar\nHervé Poussineau\nJames Tabor\nJeffrey Morlan\nJohannes Anderwald\nKamil Horníček\nKJK::Hyperion\nMaarten Bosma\nMagnus Olsen\nMarc Piulachs\nMatthias Kupfer\nMike Nordell\nPeter Ward\nPierre Schweitzer\nSaveliy Tretiakov\nStefan Ginsberg\nSylvain Petreolle\nThomas Blümel\nTimo Kreuzer \n\nAlex Ionescu\nFilip Navara\nGunnar Dalsnes\nMartin Fuchs\nRoyce Mitchell III\nBrandon Turner\nBrian Palmer\nCasper Hornstrup\nDavid Welch\nEmanuele Aliberti\nGé van Geldorp\nGregor Anich\nJason Filby\nJens Collin\nMichael Wirth\nNathan Woods\nRobert Dickenson\nRex Jolliff\nVizzini \n\nRelease Engineers\n\nColin Finck\nZ98\n\nWebsite Team\n\nColin Finck\nJaix Bly\nKlemens Friedl\nZ98\n\nMedia Team\n\nMindflyer\nWierd_W\n\nfurther thanks go to\n\nall Contributors\nWine Team\n\n"
|
||||
IDS_HWPROFILE_CONFIRM_DELETE_TITLE "Confirm Profile Delete"
|
||||
IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware profile ""%s""?"
|
||||
IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use."
|
||||
|
|
|
@ -108,7 +108,7 @@ ReceiveData(PINFO pInfo)
|
|||
INT Ret;
|
||||
ULONG ulTime = 0;
|
||||
|
||||
/* Monitor socket for incomming connections */
|
||||
/* Monitor socket for incoming connections */
|
||||
FD_ZERO(&readFDS);
|
||||
FD_SET(pInfo->Sock, &readFDS);
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS User Manager Control Panel
|
||||
* FILE: dll/cpl/usrmgr/misc.c
|
||||
* PURPOSE: Miscellaneus functions
|
||||
* PURPOSE: Miscellaneous functions
|
||||
*
|
||||
* PROGRAMMERS: Eric Kohl
|
||||
*/
|
||||
|
@ -41,7 +41,7 @@ CheckAccountName(HWND hwndDlg,
|
|||
_tcspbrk((lpAccountName) ? lpAccountName : szAccountName, TEXT("\"*+,/\\:;<=>?[]|")) != NULL)
|
||||
{
|
||||
MessageBox(hwndDlg,
|
||||
TEXT("The account name you entered is invalid! An account name must not contain the following charecters: *+,/:;<=>?[\\]|"),
|
||||
TEXT("The account name you entered is invalid! An account name must not contain the following characters: *+,/:;<=>?[\\]|"),
|
||||
TEXT("ERROR"),
|
||||
MB_OK | MB_ICONERROR);
|
||||
return FALSE;
|
||||
|
|
|
@ -36,10 +36,10 @@ public:
|
|||
}
|
||||
|
||||
//IBDA_LNBInfo methods
|
||||
HRESULT STDMETHODCALLTYPE put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow);
|
||||
HRESULT STDMETHODCALLTYPE get_LocalOscilatorFrequencyLowBand(ULONG *pulLOFLow);
|
||||
HRESULT STDMETHODCALLTYPE put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh);
|
||||
HRESULT STDMETHODCALLTYPE get_LocalOscilatorFrequencyHighBand(ULONG *pulLOFHigh);
|
||||
HRESULT STDMETHODCALLTYPE put_LocalOscillatorFrequencyLowBand(ULONG ulLOFLow);
|
||||
HRESULT STDMETHODCALLTYPE get_LocalOscillatorFrequencyLowBand(ULONG *pulLOFLow);
|
||||
HRESULT STDMETHODCALLTYPE put_LocalOscillatorFrequencyHighBand(ULONG ulLOFHigh);
|
||||
HRESULT STDMETHODCALLTYPE get_LocalOscillatorFrequencyHighBand(ULONG *pulLOFHigh);
|
||||
HRESULT STDMETHODCALLTYPE put_HighLowSwitchFrequency(ULONG ulSwitchFrequency);
|
||||
HRESULT STDMETHODCALLTYPE get_HighLowSwitchFrequency(ULONG *pulSwitchFrequency);
|
||||
|
||||
|
@ -88,7 +88,7 @@ CBDALNBInfo::QueryInterface(
|
|||
|
||||
HRESULT
|
||||
STDMETHODCALLTYPE
|
||||
CBDALNBInfo::put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow)
|
||||
CBDALNBInfo::put_LocalOscillatorFrequencyLowBand(ULONG ulLOFLow)
|
||||
{
|
||||
KSP_NODE Node;
|
||||
HRESULT hr;
|
||||
|
@ -102,7 +102,7 @@ CBDALNBInfo::put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow)
|
|||
|
||||
#ifdef BDAPLGIN_TRACE
|
||||
WCHAR Buffer[100];
|
||||
swprintf(Buffer, L"CBDALNBInfo::put_LocalOscilatorFrequencyLowBand: m_NodeId %lu ulLOFLow %lu hr %lx\n", m_NodeId, ulLOFLow, hr);
|
||||
swprintf(Buffer, L"CBDALNBInfo::put_LocalOscillatorFrequencyLowBand: m_NodeId %lu ulLOFLow %lu hr %lx\n", m_NodeId, ulLOFLow, hr);
|
||||
OutputDebugStringW(Buffer);
|
||||
#endif
|
||||
|
||||
|
@ -111,14 +111,14 @@ CBDALNBInfo::put_LocalOscilatorFrequencyLowBand(ULONG ulLOFLow)
|
|||
|
||||
HRESULT
|
||||
STDMETHODCALLTYPE
|
||||
CBDALNBInfo::get_LocalOscilatorFrequencyLowBand(ULONG *pulLOFLow)
|
||||
CBDALNBInfo::get_LocalOscillatorFrequencyLowBand(ULONG *pulLOFLow)
|
||||
{
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
HRESULT
|
||||
STDMETHODCALLTYPE
|
||||
CBDALNBInfo::put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh)
|
||||
CBDALNBInfo::put_LocalOscillatorFrequencyHighBand(ULONG ulLOFHigh)
|
||||
{
|
||||
KSP_NODE Node;
|
||||
HRESULT hr;
|
||||
|
@ -132,7 +132,7 @@ CBDALNBInfo::put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh)
|
|||
|
||||
#ifdef BDAPLGIN_TRACE
|
||||
WCHAR Buffer[100];
|
||||
swprintf(Buffer, L"CBDALNBInfo::put_LocalOscilatorFrequencyHighBand: m_NodeId %lu ulLOFHigh %lu hr %lx\n", m_NodeId, ulLOFHigh, hr);
|
||||
swprintf(Buffer, L"CBDALNBInfo::put_LocalOscillatorFrequencyHighBand: m_NodeId %lu ulLOFHigh %lu hr %lx\n", m_NodeId, ulLOFHigh, hr);
|
||||
OutputDebugStringW(Buffer);
|
||||
#endif
|
||||
|
||||
|
@ -141,7 +141,7 @@ CBDALNBInfo::put_LocalOscilatorFrequencyHighBand(ULONG ulLOFHigh)
|
|||
|
||||
HRESULT
|
||||
STDMETHODCALLTYPE
|
||||
CBDALNBInfo::get_LocalOscilatorFrequencyHighBand(ULONG *pulLOFHigh)
|
||||
CBDALNBInfo::get_LocalOscillatorFrequencyHighBand(ULONG *pulLOFHigh)
|
||||
{
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
|
|
@ -499,7 +499,7 @@ HRESULT WINAPI IDirect3DDevice9Base_Reset(LPDIRECT3DDEVICE9 iface, D3DPRESENT_PA
|
|||
* @param CONST RGNDATA* pDirtyRegion
|
||||
* A pointer to a RGNDATA structure representing an area of the back buffer to display where
|
||||
* NULL means the whole back buffer. This parameter MUST be NULL unless the back buffer
|
||||
* was created with the D3DSWAPEFFECT_COPY flag. This is an opimization region only.
|
||||
* was created with the D3DSWAPEFFECT_COPY flag. This is an optimization region only.
|
||||
*
|
||||
* @return HRESULT
|
||||
* If the method successfully displays the back buffer content, the return value is D3D_OK.
|
||||
|
|
|
@ -242,7 +242,7 @@ static UINT WINAPI IDirect3D9Impl_GetAdapterModeCount(LPDIRECT3D9 iface, UINT Ad
|
|||
*
|
||||
* @param UINT Mode
|
||||
* Index within the pixel format to be returned.
|
||||
* The maximym value for this is the value returned by IDirect3D9::GetAdapterModeCount() - 1.
|
||||
* The maximum value for this is the value returned by IDirect3D9::GetAdapterModeCount() - 1.
|
||||
*
|
||||
* @param D3DDISPLAYMODE* pMode
|
||||
* Pointer to a D3DDISPLAYMODE structure to be filled with the display mode information
|
||||
|
@ -434,7 +434,7 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceType(LPDIRECT3D9 iface, UINT Ada
|
|||
|
||||
if (TRUE == Windowed && TRUE == IsExtendedFormat(DisplayFormat))
|
||||
{
|
||||
DPRINT1("Extended diplay modes can only be used in fullscreen mode");
|
||||
DPRINT1("Extended display modes can only be used in fullscreen mode");
|
||||
UNLOCK_D3D9();
|
||||
return D3DERR_NOTAVAILABLE;
|
||||
}
|
||||
|
@ -623,7 +623,7 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceFormat(LPDIRECT3D9 iface, UINT A
|
|||
|
||||
if (RType != D3DRTYPE_TEXTURE)
|
||||
{
|
||||
DPRINT1("Invalid Usage speficied, D3DUSAGE_DMAP must be combined with RType D3DRTYPE_TEXTURE");
|
||||
DPRINT1("Invalid Usage specified, D3DUSAGE_DMAP must be combined with RType D3DRTYPE_TEXTURE");
|
||||
UNLOCK_D3D9();
|
||||
return D3DERR_INVALIDCALL;
|
||||
}
|
||||
|
@ -664,7 +664,7 @@ static HRESULT WINAPI IDirect3D9Impl_CheckDeviceMultiSampleType(LPDIRECT3D9 ifac
|
|||
* One of the D3DDEVTYPE enum members.
|
||||
*
|
||||
* @param D3DFORMAT AdapterFormat
|
||||
* One of the D3DFORMAT enum members except D3DFMT_UNKNOWN that the display adapter mode where the test should occurr.
|
||||
* One of the D3DFORMAT enum members except D3DFMT_UNKNOWN that the display adapter mode where the test should occur.
|
||||
*
|
||||
* @param D3DFORMAT RenderTargetFormat
|
||||
* One of the D3DFORMAT enum members except D3DFMT_UNKNOWN for the display adapter mode's render target format to be tested.
|
||||
|
|
|
@ -90,7 +90,7 @@ HRESULT WINAPI D3D9MipMap_GetDevice(LPDIRECT3DTEXTURE9 iface, IDirect3DDevice9**
|
|||
|
||||
if (FAILED(D3D9BaseObject_GetDevice(&This->BaseTexture.BaseResource.BaseObject, ppDevice)))
|
||||
{
|
||||
DPRINT1("Invalid This parameter speficied");
|
||||
DPRINT1("Invalid This parameter specified");
|
||||
UNLOCK_D3DDEVICE9();
|
||||
return D3DERR_INVALIDDEVICE;
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ static HRESULT WINAPI Direct3DSwapChain9_GetDevice(LPDIRECT3DSWAPCHAIN9 iface, I
|
|||
|
||||
if (FAILED(D3D9BaseObject_GetDevice(&This->BaseObject, ppDevice)))
|
||||
{
|
||||
DPRINT1("Invalid This parameter speficied");
|
||||
DPRINT1("Invalid This parameter specified");
|
||||
UNLOCK_D3DDEVICE9();
|
||||
return D3DERR_INVALIDDEVICE;
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
/* TODO
|
||||
* lpddNLVHELCaps and lpddNLVCaps
|
||||
* Thouse two can be null or inviald in lpGBL
|
||||
* Thouse two can be null or invalid in lpGBL
|
||||
* we need add code in startup to detect if we have lpddNLVCaps set
|
||||
* ms HEL does not support lpddNLVHELCaps shall we do that ?
|
||||
* ms HEL does not support dwVidMemTotal and dwVidMemFree shall we implement a emulate of them ?
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
/* TODO
|
||||
* We need adding digtial signarture detections for the drivers
|
||||
* We need adding digital signature detections for the drivers
|
||||
* and count out which level the signtature driver got, the value
|
||||
* shall be save to pDDDI->dwWHQLLevel, But I do not known how todo
|
||||
* this part yet, That is only missing feature in this functions
|
||||
|
|
|
@ -229,7 +229,7 @@ DWORD CALLBACK HelDdSurfSetColorKey(LPDDHAL_SETCOLORKEYDATA lpSetColorKeyData);
|
|||
DWORD CALLBACK HelDdSurfSetOverlayPosition(LPDDHAL_SETOVERLAYPOSITIONDATA lpSetOverlayPositionData);
|
||||
DWORD CALLBACK HelDdSurfSetPalette(LPDDHAL_SETPALETTEDATA lpSetPaletteData);
|
||||
DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData);
|
||||
DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOveryLayData);
|
||||
DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOverLayData);
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -380,7 +380,7 @@ Main_DirectDraw_GetDisplayMode (LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC pD
|
|||
}
|
||||
else
|
||||
{
|
||||
// FIXME: More stucture members might need to be filled
|
||||
// FIXME: More structure members might need to be filled
|
||||
|
||||
pDDSD->dwFlags |= DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT | DDSD_PITCH | DDSD_REFRESHRATE;
|
||||
pDDSD->dwHeight = This->lpLcl->lpGbl->vmiData.dwDisplayHeight;
|
||||
|
@ -416,7 +416,7 @@ Main_DirectDraw_GetDisplayMode4 (LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC2
|
|||
}
|
||||
else
|
||||
{
|
||||
// FIXME: More stucture members might need to be filled
|
||||
// FIXME: More structure members might need to be filled
|
||||
|
||||
pDDSD->dwFlags |= DDSD_HEIGHT | DDSD_WIDTH | DDSD_PIXELFORMAT | DDSD_PITCH | DDSD_REFRESHRATE;
|
||||
pDDSD->dwHeight = This->lpLcl->lpGbl->vmiData.dwDisplayHeight;
|
||||
|
|
|
@ -45,7 +45,7 @@ Main_DirectDraw_QueryInterface (LPDDRAWI_DIRECTDRAW_INT This,
|
|||
_SEH2_TRY
|
||||
{
|
||||
/* FIXME
|
||||
the D3D object can be optained from here
|
||||
the D3D object can be obtained from here
|
||||
Direct3D7
|
||||
*/
|
||||
if (IsEqualGUID(&IID_IDirectDraw7, id))
|
||||
|
@ -161,7 +161,7 @@ Main_DirectDraw_AddRef (LPDDRAWI_DIRECTDRAW_INT This)
|
|||
|
||||
if (This->lpLcl->lpGbl != NULL)
|
||||
{
|
||||
/* Increment the gobal internal ref counter */
|
||||
/* Increment the global internal ref counter */
|
||||
This->lpLcl->lpGbl->dwRefCnt++;
|
||||
}
|
||||
}
|
||||
|
@ -214,7 +214,7 @@ Main_DirectDraw_Release (LPDDRAWI_DIRECTDRAW_INT This)
|
|||
|
||||
if ( This->lpLcl->lpGbl->dwRefCnt == 0)
|
||||
{
|
||||
// set resoltion back to the one in registry
|
||||
// set resolution back to the one in registry
|
||||
/*if(This->cooperative_level & DDSCL_EXCLUSIVE)
|
||||
{
|
||||
ChangeDisplaySettings(NULL, 0);
|
||||
|
@ -254,7 +254,7 @@ Main_DirectDraw_Initialize (LPDDRAWI_DIRECTDRAW_INT This, LPGUID lpGUID)
|
|||
* @name DDraw->Compact
|
||||
* @implemented
|
||||
*
|
||||
* In exlusive mode the function DDraw->Compact returns DERR_NOEXCLUSIVEMODE, otherwise it returns DD_OK
|
||||
* In exclusive mode the function DDraw->Compact returns DERR_NOEXCLUSIVEMODE, otherwise it returns DD_OK
|
||||
*
|
||||
* @return
|
||||
* Returns only error code DD_OK or DERR_NOEXCLUSIVEMODE
|
||||
|
@ -325,7 +325,7 @@ Main_DirectDraw_GetAvailableVidMem4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSCAPS2 dds
|
|||
|
||||
_SEH2_TRY
|
||||
{
|
||||
// There is no HEL implentation of this api
|
||||
// There is no HEL implementation of this api
|
||||
if (!(This->lpLcl->lpDDCB->HALDDMiscellaneous.dwFlags & DDHAL_MISCCB32_GETAVAILDRIVERMEMORY) ||
|
||||
(This->lpLcl->lpGbl->dwFlags & DDRAWI_NOHARDWARE) )
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ Main_DirectDraw_GetFourCCCodes(LPDDRAWI_DIRECTDRAW_INT This, LPDWORD lpNumCodes,
|
|||
|
||||
|
||||
/*
|
||||
* We can optain the version of the directdraw object by compare the
|
||||
* We can obtain the version of the directdraw object by compare the
|
||||
* vtl table pointer from iface we do not need pass which version
|
||||
* we whant to use
|
||||
*
|
||||
|
@ -539,7 +539,7 @@ Main_DirectDraw_CreateSurface4(LPDDRAWI_DIRECTDRAW_INT This, LPDDSURFACEDESC2 pD
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* 5 of 31 DirectDraw7_Vtable api are working simluare to windows */
|
||||
/* 5 of 31 DirectDraw7_Vtable api are working similar to windows */
|
||||
/* 8 of 31 DirectDraw7_Vtable api are under devloping / testing */
|
||||
|
||||
HRESULT WINAPI Main_DirectDraw_CreatePalette(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "rosdraw.h"
|
||||
|
||||
/*
|
||||
* Status: Implentation removed due to rewrite
|
||||
* Status: Implementation removed due to rewrite
|
||||
*/
|
||||
HRESULT
|
||||
WINAPI
|
||||
|
@ -58,7 +58,7 @@ Main_DirectDraw_EnumSurfaces7(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
|
|||
}
|
||||
|
||||
/*
|
||||
* Status: Implentation removed due to rewrite
|
||||
* Status: Implementation removed due to rewrite
|
||||
*/
|
||||
HRESULT WINAPI
|
||||
Main_DirectDraw_FlipToGDISurface(LPDDRAWI_DIRECTDRAW_INT This)
|
||||
|
@ -91,7 +91,7 @@ Main_DirectDraw_GetVerticalBlankStatus(LPDDRAWI_DIRECTDRAW_INT This, LPBOOL lpbI
|
|||
}
|
||||
|
||||
/*
|
||||
* Status: Implentation removed due to rewrite
|
||||
* Status: Implementation removed due to rewrite
|
||||
*/
|
||||
HRESULT WINAPI
|
||||
Main_DirectDraw_WaitForVerticalBlank(LPDDRAWI_DIRECTDRAW_INT This, DWORD dwFlags,
|
||||
|
|
|
@ -163,7 +163,7 @@ DWORD CALLBACK HelDdSurfLock(LPDDHAL_LOCKDATA lpLockData)
|
|||
|
||||
DWORD CALLBACK HelDdSurfreserved4(DWORD *lpPtr)
|
||||
{
|
||||
/* This api is not doucmented by MS, keep it stubbed */
|
||||
/* This api is not documented by MS, keep it stubbed */
|
||||
DX_STUB;
|
||||
}
|
||||
|
||||
|
@ -205,7 +205,7 @@ DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData)
|
|||
{
|
||||
/* Create a memory bitmap to store a copy of current hdc surface */
|
||||
|
||||
/* fixme the rcarea are not store in the struct yet so the data will look corupted */
|
||||
/* fixme the rcarea are not store in the struct yet so the data will look corrupted */
|
||||
hImage = CreateCompatibleBitmap (hDC, lpUnLockData->lpDDSurface->lpGbl->wWidth, lpUnLockData->lpDDSurface->lpGbl->wHeight);
|
||||
|
||||
/* Create a memory hdc so we can draw on our current memory bitmap */
|
||||
|
@ -249,7 +249,7 @@ DWORD CALLBACK HelDdSurfUnlock(LPDDHAL_UNLOCKDATA lpUnLockData)
|
|||
return DDHAL_DRIVER_HANDLED;
|
||||
}
|
||||
|
||||
DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOveryLayData)
|
||||
DWORD CALLBACK HelDdSurfUpdateOverlay(LPDDHAL_UPDATEOVERLAYDATA lpUpDateOverLayData)
|
||||
{
|
||||
DX_STUB;
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ Internal_CreateSurface( LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD,
|
|||
|
||||
/*
|
||||
* program does not need set the DDSD_LPSURFACE,
|
||||
* if they forget set it, the ddraw will autoamtic
|
||||
* if they forget set it, the ddraw will automatic
|
||||
* set it for system memory.
|
||||
*/
|
||||
if ( ((pDDSD->ddsCaps.dwCaps & DDSCAPS_SYSTEMMEMORY) == DDSCAPS_SYSTEMMEMORY) &&
|
||||
|
@ -229,7 +229,7 @@ Internal_CreateSurface( LPDDRAWI_DIRECTDRAW_INT pDDraw, LPDDSURFACEDESC2 pDDSD,
|
|||
|
||||
/* Fixme call on DdCanCreate then on DdCreateSurface createsurface data here */
|
||||
|
||||
/* FIXME bIsDifferentPixelFormat being set to true or false with automatic detcitons */
|
||||
/* FIXME bIsDifferentPixelFormat being set to true or false with automatic detections */
|
||||
mDdCanCreateSurface.bIsDifferentPixelFormat = FALSE;
|
||||
|
||||
mDdCanCreateSurface.lpDD = pDDraw->lpLcl->lpGbl;
|
||||
|
|
|
@ -354,7 +354,7 @@ HRESULT WINAPI Main_DDrawSurface_Blt(LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT
|
|||
/* FIXME
|
||||
* compare so we do not write too far
|
||||
* ThisDest->lpLcl->lpGbl->wWidth; <- surface max width
|
||||
* ThisDest->lpLcl->lpGbl->wHeight <- surface max heght
|
||||
* ThisDest->lpLcl->lpGbl->wHeight <- surface max height
|
||||
* ThisDest->lpLcl->lpGbl->lPitch <- surface bpp
|
||||
*/
|
||||
|
||||
|
@ -377,7 +377,7 @@ HRESULT WINAPI Main_DDrawSurface_Blt(LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT
|
|||
/* FIXME
|
||||
* compare so we do not write too far
|
||||
* ThisDest->lpLcl->lpGbl->wWidth; <- surface max width
|
||||
* ThisDest->lpLcl->lpGbl->wHeight <- surface max heght
|
||||
* ThisDest->lpLcl->lpGbl->wHeight <- surface max height
|
||||
* ThisDest->lpLcl->lpGbl->lPitch <- surface bpp
|
||||
*/
|
||||
|
||||
|
@ -451,7 +451,7 @@ Main_DDrawSurface_Lock (LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT prect,
|
|||
return DDERR_INVALIDPARAMS;
|
||||
}
|
||||
|
||||
/* FIXME add a check see if lock suport or not */
|
||||
/* FIXME add a check see if lock support or not */
|
||||
|
||||
if (prect!=NULL)
|
||||
{
|
||||
|
@ -494,7 +494,7 @@ Main_DDrawSurface_Lock (LPDDRAWI_DDRAWSURFACE_INT ThisDest, LPRECT prect,
|
|||
//if (pDDSD->dwSize == sizeof(DDSURFACEDESC2))
|
||||
//{
|
||||
// ZeroMemory(pDDSD,sizeof(DDSURFACEDESC2));
|
||||
// // FIXME the interanl mddsdPrimary shall be DDSURFACEDESC2
|
||||
// // FIXME the internal mddsdPrimary shall be DDSURFACEDESC2
|
||||
// memcpy(pDDSD,&This->Surf->mddsdPrimary,sizeof(DDSURFACEDESC));
|
||||
// pDDSD->dwSize = sizeof(DDSURFACEDESC2);
|
||||
//}
|
||||
|
|
|
@ -68,7 +68,7 @@ typedef struct _DDRAWI_DIRECTDRAW_GBL {
|
|||
LPDDRAWI_DIRECTDRAW_GBL lp16DD; // pointer to it self (DDRAWI_DIRECTDRAW_GBL)
|
||||
DWORD dwMaxOverlays;
|
||||
DWORD dwCurrOverlays;
|
||||
DWORD dwMonitorFrequency; // current mointor freq, (nivida always set this to 0, it is a bug in nvida drv)
|
||||
DWORD dwMonitorFrequency; // current monitor freq, (nvidia always set this to 0, it is a bug in nvidia drv)
|
||||
DDCORECAPS ddHELCaps;
|
||||
DWORD dwUnused2[50];
|
||||
DDCOLORKEY ddckCKDestOverlay;
|
||||
|
|
|
@ -305,7 +305,7 @@ DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback,
|
|||
| D3DHAL_DP2VIEWPORTINFO | 0x04 - xxxx |
|
||||
---------------------------------------
|
||||
|
||||
to calculate the end of the lpCmd buffer in this exmaple
|
||||
to calculate the end of the lpCmd buffer in this example
|
||||
D3DHAL_DP2COMMAND->wStateCount * sizeof(D3DHAL_DP2VIEWPORTINFO);
|
||||
now you got number of bytes but we need to add the size of D3DHAL_DP2COMMAND
|
||||
to get this right. the end should be
|
||||
|
@ -319,7 +319,7 @@ DirectDrawEnumerateExW(LPDDENUMCALLBACKEXW lpCallback,
|
|||
* The D3DParseUnknownCommand routine <FILLMEIN>.
|
||||
*
|
||||
* @param lpCmd
|
||||
* Is a typcast to LPD3DHAL_DP2COMMAND struct
|
||||
* Is a typecast to LPD3DHAL_DP2COMMAND struct
|
||||
* typedef struct _D3DHAL_DP2COMMAND
|
||||
* {
|
||||
* BYTE bCommand;
|
||||
|
@ -372,7 +372,7 @@ D3DParseUnknownCommand( LPVOID lpCmd,
|
|||
|
||||
switch (dp2command->bCommand)
|
||||
{
|
||||
/* check for vaild command, only 3 commands are vaild */
|
||||
/* check for valid command, only 3 commands are valid */
|
||||
case D3DDP2OP_VIEWPORTINFO:
|
||||
*(PBYTE)lpRetCmd += ((dp2command->wStateCount * sizeof(D3DHAL_DP2VIEWPORTINFO)) + sizeof(D3DHAL_DP2COMMAND));
|
||||
break;
|
||||
|
|
|
@ -48,7 +48,7 @@ extern IDirect3D7Vtbl IDirect3D7_Vtbl;
|
|||
|
||||
/* Start up direct hal or hel
|
||||
* iface = a pointer to the com object
|
||||
* pGUID = guid hardware acclations or software acclation this can be NULL
|
||||
* pGUID = guid hardware accelerations or software acceleration this can be NULL
|
||||
* reenable = FALSE if we whant create a new directdraw com
|
||||
* = TRUE if we really whant rebuild the whole com interface (not in use)
|
||||
*/
|
||||
|
@ -103,7 +103,7 @@ void CopyDDSurfDescToDDSurfDesc2(LPDDSURFACEDESC2 dst_pDesc, LPDDSURFACEDESC src
|
|||
/* DirectDraw Cleanup code only internal use */
|
||||
VOID Cleanup(LPDDRAWI_DIRECTDRAW_INT iface);
|
||||
|
||||
/* own macro to alloc memmory */
|
||||
/* own macro to alloc memory */
|
||||
|
||||
/*
|
||||
#define DxHeapMemAlloc(m) HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, m)
|
||||
|
@ -184,9 +184,9 @@ VOID Hal_DirectDraw_Release (LPDIRECTDRAW7);
|
|||
|
||||
/*
|
||||
use this macro to close
|
||||
down the debuger text complete
|
||||
down the debugger text complete
|
||||
no debuging at all, it will
|
||||
crash ms debuger in VS
|
||||
crash ms debugger in VS
|
||||
*/
|
||||
|
||||
//#define DX_WINDBG_trace()
|
||||
|
@ -197,12 +197,12 @@ VOID Hal_DirectDraw_Release (LPDIRECTDRAW7);
|
|||
|
||||
|
||||
/*
|
||||
Use this macro if you want deboug in visual studio or
|
||||
Use this macro if you want debug in visual studio or
|
||||
if you have a program to look at the _INT struct from
|
||||
ReactOS ddraw.dll or ms ddraw.dll, so you can see what
|
||||
value ms are being setup.
|
||||
|
||||
This macro will create allot warings and can not be help when you compile
|
||||
This macro will create allot warnings and can not be help when you compile
|
||||
*/
|
||||
|
||||
|
||||
|
@ -218,7 +218,7 @@ VOID Hal_DirectDraw_Release (LPDIRECTDRAW7);
|
|||
so you can figout what going wrong and what
|
||||
api are being call or if it hel or is it hal
|
||||
|
||||
This marco does not create warings when you compile
|
||||
This marco does not create warnings when you compile
|
||||
*/
|
||||
|
||||
#define DX_STUB \
|
||||
|
|
|
@ -75,7 +75,7 @@ Create_DirectDraw (LPGUID pGUID, LPDIRECTDRAW* pIface,
|
|||
|
||||
DX_STUB_str("2.linking\n");
|
||||
|
||||
/* step 1.Alloc the new DDRAWI_DIRECTDRAW_INT for the lnking */
|
||||
/* step 1.Alloc the new DDRAWI_DIRECTDRAW_INT for the link */
|
||||
DxHeapMemAlloc(newThis, sizeof(DDRAWI_DIRECTDRAW_INT));
|
||||
if (newThis == NULL)
|
||||
{
|
||||
|
@ -213,7 +213,7 @@ StartDirectDraw(LPDIRECTDRAW iface, LPGUID lpGuid, BOOL reenable)
|
|||
DxHeapMemAlloc( ddgbl.lpDDCBtmp , sizeof(DDHAL_CALLBACKS));
|
||||
if (ddgbl.lpDDCBtmp == NULL)
|
||||
{
|
||||
DX_STUB_str("Out of memmory\n");
|
||||
DX_STUB_str("Out of memory\n");
|
||||
return DD_FALSE;
|
||||
}
|
||||
}
|
||||
|
@ -500,7 +500,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
|
|||
}
|
||||
|
||||
/* Some card disable the dx after it have been created so
|
||||
* we are force reanble it
|
||||
* we are force reenabling it
|
||||
*/
|
||||
if (!DdReenableDirectDrawObject(This->lpLcl->lpGbl, &newmode))
|
||||
{
|
||||
|
@ -650,7 +650,7 @@ StartDirectDrawHal(LPDIRECTDRAW iface, BOOL reenable)
|
|||
{
|
||||
DWORD dwSize;
|
||||
DWORD dwFlags;
|
||||
PDD_ALPHABLT AlphaBlt; // unsuse acoding msdn and always set to NULL
|
||||
PDD_ALPHABLT AlphaBlt; // unsuse according to msdn and always set to NULL
|
||||
PDD_CREATESURFACEEX CreateSurfaceEx;
|
||||
PDD_GETDRIVERSTATE GetDriverState;
|
||||
PDD_DESTROYDDLOCAL DestroyDDLocal;
|
||||
|
|
|
@ -187,7 +187,7 @@ CDirectSoundCapture_fnInitialize(
|
|||
return DSERR_ALREADYINITIALIZED;
|
||||
}
|
||||
|
||||
/* fixme mutual exlucsion */
|
||||
/* fixme mutual exclusion */
|
||||
|
||||
if (pcGuidDevice == NULL || IsEqualGUID(pcGuidDevice, &GUID_NULL))
|
||||
{
|
||||
|
|
|
@ -322,7 +322,7 @@ IDirectSound8_fnInitialize(
|
|||
return DSERR_ALREADYINITIALIZED;
|
||||
}
|
||||
|
||||
/* fixme mutual exlucsion */
|
||||
/* fixme mutual exclusion */
|
||||
|
||||
if (pcGuidDevice == NULL || IsEqualGUID(pcGuidDevice, &GUID_NULL))
|
||||
{
|
||||
|
|
|
@ -75,7 +75,7 @@ protected:
|
|||
LONG m_cBuffers;
|
||||
LONG m_cbAlign;
|
||||
LONG m_cbPrefix;
|
||||
BOOL m_Commited;
|
||||
BOOL m_Committed;
|
||||
CRITICAL_SECTION m_CriticalSection;
|
||||
MediaSampleStack m_FreeList;
|
||||
MediaSampleList m_UsedList;
|
||||
|
@ -118,7 +118,7 @@ CKsAllocator::CKsAllocator() : m_Ref(0),
|
|||
m_cBuffers(0),
|
||||
m_cbAlign(0),
|
||||
m_cbPrefix(0),
|
||||
m_Commited(FALSE),
|
||||
m_Committed(FALSE),
|
||||
m_FreeList(),
|
||||
m_UsedList(),
|
||||
m_Buffer(0),
|
||||
|
@ -168,7 +168,7 @@ CKsAllocator::SetProperties(
|
|||
return VFW_E_ALREADY_COMMITTED;
|
||||
}
|
||||
|
||||
if (m_Commited)
|
||||
if (m_Committed)
|
||||
{
|
||||
// need to decommit first
|
||||
LeaveCriticalSection(&m_CriticalSection);
|
||||
|
@ -230,9 +230,9 @@ CKsAllocator::Commit()
|
|||
return NOERROR;
|
||||
}
|
||||
|
||||
if (m_Commited)
|
||||
if (m_Committed)
|
||||
{
|
||||
// already commited
|
||||
// already committed
|
||||
LeaveCriticalSection(&m_CriticalSection);
|
||||
return NOERROR;
|
||||
}
|
||||
|
@ -293,8 +293,8 @@ CKsAllocator::Commit()
|
|||
CurrentBuffer += Size;
|
||||
}
|
||||
|
||||
// we are now commited
|
||||
m_Commited = true;
|
||||
// we are now committed
|
||||
m_Committed = true;
|
||||
|
||||
LeaveCriticalSection(&m_CriticalSection);
|
||||
return S_OK;
|
||||
|
@ -317,7 +317,7 @@ CKsAllocator::Decommit()
|
|||
return NOERROR;
|
||||
}
|
||||
|
||||
m_Commited = false;
|
||||
m_Committed = false;
|
||||
|
||||
if (m_Allocated != m_FreeList.size())
|
||||
{
|
||||
|
@ -348,7 +348,7 @@ CKsAllocator::GetBuffer(
|
|||
{
|
||||
IMediaSample * Sample = NULL;
|
||||
|
||||
if (!m_Commited)
|
||||
if (!m_Committed)
|
||||
return VFW_E_NOT_COMMITTED;
|
||||
|
||||
do
|
||||
|
|
|
@ -225,7 +225,7 @@ KsGetMediaTypeCount(
|
|||
PKSMULTIPLE_ITEM MultipleItem;
|
||||
HRESULT hr;
|
||||
|
||||
/* try get contrained data ranges */
|
||||
/* try get constrained data ranges */
|
||||
hr = KsGetMultiplePinFactoryItems(FilterHandle, PinFactoryId, KSPROPERTY_PIN_CONSTRAINEDDATARANGES, (PVOID*)&MultipleItem);
|
||||
|
||||
/* check for failure*/
|
||||
|
|
|
@ -127,7 +127,7 @@ KsCreateAllocator(HANDLE ConnectionHandle,
|
|||
* Handle to use to create the clock
|
||||
*
|
||||
* @param PKSCLOCK_CREATE ClockCreate
|
||||
* paramenter to use to create the clock
|
||||
* parameter to use to create the clock
|
||||
*
|
||||
* @param PHANDLE ClockHandle
|
||||
* The new handle
|
||||
|
@ -169,7 +169,7 @@ KsCreateClock(HANDLE ConnectionHandle,
|
|||
* requested for the connection.
|
||||
|
||||
* @param ACCESS_MASK DesiredAccess
|
||||
* Desrided access
|
||||
* Desired access
|
||||
*
|
||||
* @param PHANDLE ConnectionHandle
|
||||
* connection handle passed
|
||||
|
@ -179,7 +179,7 @@ KsCreateClock(HANDLE ConnectionHandle,
|
|||
*
|
||||
* @remarks.
|
||||
* The flag in PKSDATAFORMAT is not really document,
|
||||
* to find it u need api mointor allot api and figout
|
||||
* to find it u need api monitor allot api and figout
|
||||
* how it works, only flag I have found is the
|
||||
* KSDATAFORMAT_ATTRIBUTES flag, it doing a Align
|
||||
* of LONLONG size, it also round up it.
|
||||
|
@ -222,7 +222,7 @@ KsCreatePin(HANDLE FilterHandle,
|
|||
* topology node parameters to use when it is create
|
||||
*
|
||||
* @param ACCESS_MASK DesiredAccess
|
||||
* Desrided access
|
||||
* Desired access
|
||||
*
|
||||
* @param PHANDLE NodeHandle
|
||||
* Location for the topology node handle
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
HRESULT STDMETHODCALLTYPE GetNetworkType(GUID *pguidNetworkType);
|
||||
HRESULT STDMETHODCALLTYPE PutTuningSpace(REFGUID guidTuningSpace);
|
||||
HRESULT STDMETHODCALLTYPE GetTuningSpace(GUID *pguidTuingSpace);
|
||||
HRESULT STDMETHODCALLTYPE RegisterDeviceFilter(IUnknown *pUnkFilterControl, ULONG *ppvRegisitrationContext);
|
||||
HRESULT STDMETHODCALLTYPE RegisterDeviceFilter(IUnknown *pUnkFilterControl, ULONG *ppvRegistrationContext);
|
||||
HRESULT STDMETHODCALLTYPE UnRegisterDeviceFilter(ULONG pvRegistrationContext);
|
||||
|
||||
CNetworkProvider(LPCGUID ClassID);
|
||||
|
@ -454,7 +454,7 @@ HRESULT
|
|||
STDMETHODCALLTYPE
|
||||
CNetworkProvider::RegisterDeviceFilter(
|
||||
IUnknown *pUnkFilterControl,
|
||||
ULONG *ppvRegisitrationContext)
|
||||
ULONG *ppvRegistrationContext)
|
||||
{
|
||||
HRESULT hr;
|
||||
IBDA_DeviceControl * pDeviceControl = NULL;
|
||||
|
@ -462,7 +462,7 @@ CNetworkProvider::RegisterDeviceFilter(
|
|||
|
||||
OutputDebugStringW(L"CNetworkProvider::RegisterDeviceFilter\n");
|
||||
|
||||
if (!pUnkFilterControl || !ppvRegisitrationContext)
|
||||
if (!pUnkFilterControl || !ppvRegistrationContext)
|
||||
{
|
||||
//invalid argument
|
||||
return E_POINTER;
|
||||
|
@ -497,7 +497,7 @@ CNetworkProvider::RegisterDeviceFilter(
|
|||
pTopology->Release();
|
||||
|
||||
// store registration ctx
|
||||
*ppvRegisitrationContext = (m_DeviceFilters.size() | DEVICE_FILTER_MASK);
|
||||
*ppvRegistrationContext = (m_DeviceFilters.size() | DEVICE_FILTER_MASK);
|
||||
|
||||
// store filter
|
||||
m_DeviceFilters.push_back(pUnkFilterControl);
|
||||
|
|
|
@ -574,14 +574,14 @@ CScanningTunner::SetLnbInfo(
|
|||
{
|
||||
HRESULT hr;
|
||||
|
||||
hr = pLnbInfo->put_LocalOscilatorFrequencyLowBand(ulLOFLow);
|
||||
hr = pLnbInfo->put_LocalOscillatorFrequencyLowBand(ulLOFLow);
|
||||
if (hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NOT_FOUND) || hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_SET_NOT_FOUND))
|
||||
hr = NOERROR;
|
||||
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
||||
hr = pLnbInfo->put_LocalOscilatorFrequencyHighBand(ulLOFHigh);
|
||||
hr = pLnbInfo->put_LocalOscillatorFrequencyHighBand(ulLOFHigh);
|
||||
if (hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_NOT_FOUND) || hr == MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_SET_NOT_FOUND))
|
||||
hr = NOERROR;
|
||||
|
||||
|
|
|
@ -262,7 +262,7 @@ CsrClientConnectToServer(IN PWSTR ObjectDirectory,
|
|||
/* Now check if connection info is given */
|
||||
if (ConnectionInfo)
|
||||
{
|
||||
/* Well, we're defintely in a client now */
|
||||
/* Well, we're definitely in a client now */
|
||||
InsideCsrProcess = FALSE;
|
||||
|
||||
/* Do we have a connection to CSR yet? */
|
||||
|
|
|
@ -272,14 +272,14 @@ DbgUiConvertStateChangeStructure(IN PDBGUI_WAIT_STATE_CHANGE WaitStateChange,
|
|||
*/
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
DbgUiWaitStateChange(OUT PDBGUI_WAIT_STATE_CHANGE DbgUiWaitStateCange,
|
||||
DbgUiWaitStateChange(OUT PDBGUI_WAIT_STATE_CHANGE WaitStateChange,
|
||||
IN PLARGE_INTEGER TimeOut OPTIONAL)
|
||||
{
|
||||
/* Tell the kernel to wait */
|
||||
return NtWaitForDebugEvent(NtCurrentTeb()->DbgSsReserved[1],
|
||||
TRUE,
|
||||
TimeOut,
|
||||
DbgUiWaitStateCange);
|
||||
WaitStateChange);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -839,7 +839,7 @@ LdrpRunInitializeRoutines(IN PCONTEXT Context OPTIONAL)
|
|||
NextEntry = NextEntry->Flink;
|
||||
while (NextEntry != ListHead)
|
||||
{
|
||||
/* Get the Data Entrry */
|
||||
/* Get the Data Entry */
|
||||
LdrEntry = CONTAINING_RECORD(NextEntry, LDR_DATA_TABLE_ENTRY, InInitializationOrderLinks);
|
||||
|
||||
/* FIXME: Verify NX Compat */
|
||||
|
@ -1338,7 +1338,7 @@ LdrpInitializeExecutionOptions(PUNICODE_STRING ImagePathName, PPEB Peb, PHANDLE
|
|||
/* Return error if we were not provided a pointer where to save the options key handle */
|
||||
if (!OptionsKey) return STATUS_INVALID_HANDLE;
|
||||
|
||||
/* Zero initialize the optinos key pointer */
|
||||
/* Zero initialize the options key pointer */
|
||||
*OptionsKey = NULL;
|
||||
|
||||
/* Open the options key */
|
||||
|
@ -1523,7 +1523,7 @@ LdrpInitializeProcess(IN PCONTEXT Context,
|
|||
IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR,
|
||||
&ComSectionSize))
|
||||
{
|
||||
/* Remeber this for later */
|
||||
/* Remember this for later */
|
||||
IsDotNetImage = TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ LdrpSnapIAT(IN PLDR_DATA_TABLE_ENTRY ExportLdrEntry,
|
|||
/* We'll only do forwarders. Get the import name */
|
||||
ImportName = (LPSTR)((ULONG_PTR)ImportLdrEntry->DllBase + IatEntry->Name);
|
||||
|
||||
/* Get the list of forwaders */
|
||||
/* Get the list of forwarders */
|
||||
ForwarderChain = IatEntry->ForwarderChain;
|
||||
|
||||
/* Loop them */
|
||||
|
@ -288,7 +288,7 @@ LdrpHandleOneNewFormatImportDescriptor(IN LPWSTR DllPath OPTIONAL,
|
|||
/* Get the name's VA */
|
||||
BoundImportName = (LPSTR)FirstEntry + BoundEntry->OffsetModuleName;
|
||||
|
||||
/* Show debug mesage */
|
||||
/* Show debug message */
|
||||
if (ShowSnaps)
|
||||
{
|
||||
DPRINT1("LDR: %wZ bound to %s\n", &LdrEntry->BaseDllName, BoundImportName);
|
||||
|
|
|
@ -21,7 +21,7 @@ BOOLEAN g_ShimsEnabled;
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
/* NOTE: Remove thise one once our actctx support becomes better */
|
||||
/* NOTE: Remove this one once our actctx support becomes better */
|
||||
NTSTATUS find_actctx_dll( LPCWSTR libname, WCHAR *fullname )
|
||||
{
|
||||
static const WCHAR winsxsW[] = {'\\','w','i','n','s','x','s','\\'};
|
||||
|
@ -2290,7 +2290,7 @@ LdrpGetProcedureAddress(IN PVOID BaseAddress,
|
|||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
/* Set the orginal flag in the thunk */
|
||||
/* Set the original flag in the thunk */
|
||||
Thunk.u1.Ordinal = Ordinal | IMAGE_ORDINAL_FLAG;
|
||||
}
|
||||
|
||||
|
|
|
@ -598,7 +598,7 @@ NTSTATUS
|
|||
NTAPI
|
||||
RtlComputeImportTableHash(IN HANDLE FileHandle,
|
||||
OUT PCHAR Hash,
|
||||
IN ULONG ImporTTableHashSize)
|
||||
IN ULONG ImportTableHashSize)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <precomp.h>
|
||||
|
||||
/* This is a table driven implemetation of the glGet*v() functions.
|
||||
/* This is a table driven implementation of the glGet*v() functions.
|
||||
* The basic idea is that most getters just look up an int somewhere
|
||||
* in struct gl_context and then convert it to a bool or float according to
|
||||
* which of glGetIntegerv() glGetBooleanv() etc is being called.
|
||||
|
|
|
@ -432,7 +432,7 @@ void _tnl_build_vertices( struct gl_context *ctx,
|
|||
}
|
||||
|
||||
/* Emit VB vertices start..end to dest. Note that VB vertex at
|
||||
* postion start will be emitted to dest at position zero.
|
||||
* position start will be emitted to dest at position zero.
|
||||
*/
|
||||
void *_tnl_emit_vertices_to_buffer( struct gl_context *ctx,
|
||||
GLuint start,
|
||||
|
@ -449,7 +449,7 @@ void *_tnl_emit_vertices_to_buffer( struct gl_context *ctx,
|
|||
}
|
||||
|
||||
/* Emit indexed VB vertices start..end to dest. Note that VB vertex at
|
||||
* postion start will be emitted to dest at position zero.
|
||||
* position start will be emitted to dest at position zero.
|
||||
*/
|
||||
|
||||
void *_tnl_emit_indexed_vertices_to_buffer( struct gl_context *ctx,
|
||||
|
|
|
@ -793,7 +793,7 @@ static void GLAPIENTRY vbo_exec_Begin( GLenum mode )
|
|||
return;
|
||||
}
|
||||
|
||||
/* Heuristic: attempt to isolate attributes occuring outside
|
||||
/* Heuristic: attempt to isolate attributes occurring outside
|
||||
* begin/end pairs.
|
||||
*/
|
||||
if (exec->vtx.vertex_size && !exec->vtx.attrsz[0])
|
||||
|
|
|
@ -90,9 +90,9 @@ struct vbo_save_vertex_list {
|
|||
* changes, so don't make too big or apps which dynamically create
|
||||
* dlists and use only a few times will suffer.
|
||||
*
|
||||
* Consider stategy of uploading regions from the VBO on demand in the
|
||||
* Consider strategy of uploading regions from the VBO on demand in the
|
||||
* case of dynamic vbos. Then make the dlist code signal that
|
||||
* likelyhood as it occurs. No reason we couldn't change usage
|
||||
* likelihood as it occurs. No reason we couldn't change usage
|
||||
* internally even though this probably isn't allowed for client VBOs?
|
||||
*/
|
||||
#define VBO_SAVE_BUFFER_SIZE (8*1024) /* dwords */
|
||||
|
|
|
@ -361,7 +361,7 @@ _generic_read_RGBA_span_BGRA8888_REV_SSE2:
|
|||
|
||||
/* If the source pointer isn't a multiple of 16 we have to process
|
||||
* a few pixels the "slow" way to get the address aligned for
|
||||
* the SSE fetch intsructions.
|
||||
* the SSE fetch instructions.
|
||||
*/
|
||||
|
||||
negl %eax
|
||||
|
|
|
@ -1146,7 +1146,7 @@ void mmx_movq( struct x86_function *p,
|
|||
*/
|
||||
|
||||
|
||||
/* Retreive a reference to one of the function arguments, taking into
|
||||
/* Retrieve a reference to one of the function arguments, taking into
|
||||
* account any push/pop activity:
|
||||
*/
|
||||
struct x86_reg x86_fn_arg( struct x86_function *p,
|
||||
|
|
|
@ -75,7 +75,7 @@ enum sse_cc {
|
|||
#define cc_Z cc_E
|
||||
#define cc_NZ cc_NE
|
||||
|
||||
/* Begin/end/retreive function creation:
|
||||
/* Begin/end/retrieve function creation:
|
||||
*/
|
||||
|
||||
|
||||
|
@ -246,8 +246,8 @@ void x87_fucom( struct x86_function *p, struct x86_reg arg );
|
|||
|
||||
|
||||
|
||||
/* Retreive a reference to one of the function arguments, taking into
|
||||
* account any push/pop activity. Note - doesn't track explict
|
||||
/* Retrieve a reference to one of the function arguments, taking into
|
||||
* account any push/pop activity. Note - doesn't track explicit
|
||||
* manipulation of ESP by other instructions.
|
||||
*/
|
||||
struct x86_reg x86_fn_arg( struct x86_function *p, unsigned arg );
|
||||
|
|
|
@ -117,7 +117,7 @@ sw_get_string( struct gl_context *ctx, GLenum name )
|
|||
static void
|
||||
sw_update_state( struct gl_context *ctx, GLuint new_state )
|
||||
{
|
||||
/* easy - just propogate */
|
||||
/* easy - just propagate */
|
||||
_swrast_InvalidateState( ctx, new_state );
|
||||
_swsetup_InvalidateState( ctx, new_state );
|
||||
_tnl_InvalidateState( ctx, new_state );
|
||||
|
|
|
@ -235,7 +235,7 @@ HRESULT WINAPI CNetworkConnections::ParseDisplayName (
|
|||
}
|
||||
|
||||
/**************************************************************************
|
||||
* CreateNetConnectEnumListss()
|
||||
* CreateNetConnectEnumList()
|
||||
*/
|
||||
static BOOL CreateNetConnectEnumList(CEnumIDList *list, DWORD dwFlags)
|
||||
{
|
||||
|
|
|
@ -42,7 +42,7 @@ const LPCWSTR ObjectTypeNames [] = {
|
|||
L"Mutant", L"Section", L"Event", L"Semaphore",
|
||||
L"Timer", L"Key", L"EventPair", L"IoCompletion",
|
||||
L"Device", L"File", L"Controller", L"Profile",
|
||||
L"Type", L"Desktop", L"WindowStatiom", L"Driver",
|
||||
L"Type", L"Desktop", L"WindowStation", L"Driver",
|
||||
L"Token", L"Process", L"Thread", L"Adapter", L"Port",
|
||||
0
|
||||
};
|
||||
|
@ -86,7 +86,7 @@ static DWORD NtOpenObject(OBJECT_TYPE type, PHANDLE phandle, DWORD access, LPCWS
|
|||
case TIMER_OBJECT: return NtOpenTimer(phandle, access, &open_struct);
|
||||
case KEY_OBJECT: return NtOpenKey(phandle, access, &open_struct);
|
||||
case EVENTPAIR_OBJECT: return NtOpenEventPair(phandle, access, &open_struct);
|
||||
case IOCOMPLETITION_OBJECT: return NtOpenIoCompletion(phandle, access, &open_struct);
|
||||
case IOCOMPLETION_OBJECT: return NtOpenIoCompletion(phandle, access, &open_struct);
|
||||
case FILE_OBJECT: return NtOpenFile(phandle, access, &open_struct, &ioStatusBlock, FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE, 0);
|
||||
default:
|
||||
return ERROR_INVALID_FUNCTION;
|
||||
|
|
|
@ -27,7 +27,7 @@ extern "C" {
|
|||
enum OBJECT_TYPE {
|
||||
DIRECTORY_OBJECT, SYMBOLICLINK_OBJECT,
|
||||
MUTANT_OBJECT, SECTION_OBJECT, EVENT_OBJECT, SEMAPHORE_OBJECT,
|
||||
TIMER_OBJECT, KEY_OBJECT, EVENTPAIR_OBJECT, IOCOMPLETITION_OBJECT,
|
||||
TIMER_OBJECT, KEY_OBJECT, EVENTPAIR_OBJECT, IOCOMPLETION_OBJECT,
|
||||
DEVICE_OBJECT, FILE_OBJECT, CONTROLLER_OBJECT, PROFILE_OBJECT,
|
||||
TYPE_OBJECT, DESKTOP_OBJECT, WINDOWSTATION_OBJECT, DRIVER_OBJECT,
|
||||
TOKEN_OBJECT, PROCESS_OBJECT, THREAD_OBJECT, ADAPTER_OBJECT, PORT_OBJECT,
|
||||
|
@ -82,7 +82,7 @@ struct RegPidlEntry
|
|||
|
||||
union {
|
||||
struct {
|
||||
// For Value entries, this contains the value contents, if it's resonably small.
|
||||
// For Value entries, this contains the value contents, if it's reasonably small.
|
||||
// For Key entries, this contains the custom class name
|
||||
DWORD contentType;
|
||||
USHORT contentsLength;
|
||||
|
|
|
@ -34,7 +34,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - Laufwerk (%s)"
|
||||
IDS_HOTPLUG_DRIVES " - Laufwerke (%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "Diese Hardware erfordert ""Sicheres Entfernen"""
|
||||
IDS_HOTPLUG_REQUIRES "Diese Hardware erfordert ""Sicheres Entfernen"""
|
||||
IDS_HOTPLUG_CLICK "Klicken Sie auf dieses Symbol, und wählen Sie die zu entfernende Hardware, bevor Sie diese Hardware entfernen."
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -34,7 +34,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - Drive(%s)"
|
||||
IDS_HOTPLUG_DRIVES " - Drives(%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "This hardware requires ""Safe Removal"""
|
||||
IDS_HOTPLUG_REQUIRES "This hardware requires ""Safe Removal"""
|
||||
IDS_HOTPLUG_CLICK "Before removing this hardware, click on this icon and select the hardware you want to remove."
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -35,7 +35,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - Unidad(%s)"
|
||||
IDS_HOTPLUG_DRIVES " - Unidades(%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "Este dispositivo necesita una ""desconexión segura"""
|
||||
IDS_HOTPLUG_REQUIRES "Este dispositivo necesita una ""desconexión segura"""
|
||||
IDS_HOTPLUG_CLICK "Antes de desconectar el dispositivo, haga clic en este icono y eliga el dispositivo a desconectar."
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -34,7 +34,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - Unità disco(%s)"
|
||||
IDS_HOTPLUG_DRIVES " - Unità dischi(%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "Questo dispositivo richiede ""Rimozione Sicura"""
|
||||
IDS_HOTPLUG_REQUIRES "Questo dispositivo richiede ""Rimozione Sicura"""
|
||||
IDS_HOTPLUG_CLICK "Prima di rimuovere questo dispositivo, fare clic su questa icona e selezionare la voce che si desidera rimuovere."
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -35,7 +35,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - unitate (%s)"
|
||||
IDS_HOTPLUG_DRIVES " - unități (%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "Acest dispozitiv necesită „Scoatere în siguranță”"
|
||||
IDS_HOTPLUG_REQUIRES "Acest dispozitiv necesită „Scoatere în siguranță”"
|
||||
IDS_HOTPLUG_CLICK "Înainte de a scoate acest dispozitiv, apăsați pe această pictogramă și selectați dispozitivul pe care doriți să-l scoateți."
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -36,7 +36,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - Диск(%s)"
|
||||
IDS_HOTPLUG_DRIVES " - Диски(%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "Это оборудование требует ""Безопасного извлечения"""
|
||||
IDS_HOTPLUG_REQUIRES "Это оборудование требует ""Безопасного извлечения"""
|
||||
IDS_HOTPLUG_CLICK "Перед извлечением устройства, кликните эту иконку и выберите устройство, которое вы хотите отключить."
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -36,7 +36,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - Sürücü (%s)"
|
||||
IDS_HOTPLUG_DRIVES " - Sürücüler (%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "Bu donanım ""Güvenli Kaldır""mayı destekliyor."
|
||||
IDS_HOTPLUG_REQUIRES "Bu donanım ""Güvenli Kaldır""mayı destekliyor."
|
||||
IDS_HOTPLUG_CLICK "Bu donanımı kaldırmadan önce bu simgenin üzerine tıklayınız ve kaldırmak istediğiniz donanımı seçiniz."
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -36,7 +36,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - 磁盘(%s)"
|
||||
IDS_HOTPLUG_DRIVES " - 磁盘(%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "此硬件所需""安全删除"""
|
||||
IDS_HOTPLUG_REQUIRES "此硬件所需""安全删除"""
|
||||
IDS_HOTPLUG_CLICK "删除这个硬件之前, 单击此图标并选择您想要删除的硬件。"
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -36,7 +36,7 @@ BEGIN
|
|||
IDS_HOTPLUG_DRIVE " - 磁碟(%s)"
|
||||
IDS_HOTPLUG_DRIVES " - 磁碟(%s)"
|
||||
IDS_HOTPLUG_A "A:"
|
||||
IDS_HOTPLUG_REQUIERES "此硬體所需""安全刪除"""
|
||||
IDS_HOTPLUG_REQUIRES "此硬體所需""安全刪除"""
|
||||
IDS_HOTPLUG_CLICK "刪除這個硬體之前, 單擊此圖示並選擇您想要刪除的硬體。"
|
||||
|
||||
//Volume related strings
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#define IDS_HOTPLUG_DRIVE 219
|
||||
#define IDS_HOTPLUG_DRIVES 220
|
||||
#define IDS_HOTPLUG_A 221
|
||||
#define IDS_HOTPLUG_REQUIERES 222
|
||||
#define IDS_HOTPLUG_REQUIRES 222
|
||||
#define IDS_HOTPLUG_CLICK 223
|
||||
|
||||
#define IDI_VOLUME 230
|
||||
|
|
|
@ -967,7 +967,7 @@ PaintControl(IN PCHECKLISTWND infoPtr,
|
|||
}
|
||||
|
||||
/* draw the standard checkbox if no themes are enabled or drawing the
|
||||
themeed control failed */
|
||||
themed control failed */
|
||||
if (FAILED(hDrawResult))
|
||||
#endif
|
||||
{
|
||||
|
@ -1022,7 +1022,7 @@ PaintControl(IN PCHECKLISTWND infoPtr,
|
|||
}
|
||||
|
||||
/* draw the standard checkbox if no themes are enabled or drawing the
|
||||
themeed control failed */
|
||||
themed control failed */
|
||||
if (FAILED(hDrawResult))
|
||||
#endif
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS System Libraries
|
||||
* FILE: lib/advapi32/advapi32.h
|
||||
* PURPOSE: Win32 Advanced API Libary Header
|
||||
* PURPOSE: Win32 Advanced API Library Header
|
||||
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
|
||||
*/
|
||||
#ifndef __ADVAPI32_H
|
||||
|
|
|
@ -292,7 +292,7 @@ InitiateSystemShutdownExW(LPWSTR lpMachineName,
|
|||
/******************************************************************************
|
||||
* InitiateShutdownW [ADVAPI32.@]
|
||||
*
|
||||
* @unimplamented
|
||||
* @unimplemented
|
||||
*/
|
||||
DWORD WINAPI
|
||||
InitiateShutdownW(LPWSTR lpMachineName,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue