mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
- Sync clusapi, credui, crypt32, cryptui with Wine 1.1.21
svn path=/trunk/; revision=40846
This commit is contained in:
parent
561d4473ff
commit
edd881cea2
|
@ -97,7 +97,7 @@ DWORD WINAPI ClusterCloseEnum(HCLUSENUM hEnum)
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
|
DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWSTR lpszName, LPDWORD lpcchName)
|
||||||
{
|
{
|
||||||
FIXME("(%p, %u, %u, %s, %u) stub!\n", hEnum, dwIndex, *lpdwType, debugstr_w(lpszName), *lpcchName);
|
FIXME("(%p, %u, %u, %p, %u) stub!\n", hEnum, dwIndex, *lpdwType, lpszName, *lpcchName);
|
||||||
|
|
||||||
return ERROR_NO_MORE_ITEMS;
|
return ERROR_NO_MORE_ITEMS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
@ stub CloseClusterResource
|
@ stub CloseClusterResource
|
||||||
@ stdcall ClusterCloseEnum(ptr)
|
@ stdcall ClusterCloseEnum(ptr)
|
||||||
@ stub ClusterControl
|
@ stub ClusterControl
|
||||||
@ stdcall ClusterEnum(ptr long ptr wstr ptr)
|
@ stdcall ClusterEnum(ptr long ptr ptr ptr)
|
||||||
@ stub ClusterGetEnumCount
|
@ stub ClusterGetEnumCount
|
||||||
@ stub ClusterGroupCloseEnum
|
@ stub ClusterGroupCloseEnum
|
||||||
@ stub ClusterGroupControl
|
@ stub ClusterGroupControl
|
||||||
|
|
|
@ -47,7 +47,7 @@ STRINGTABLE DISCARDABLE
|
||||||
IDS_INCORRECTPASSWORDTITLE "Autentificare eșuată"
|
IDS_INCORRECTPASSWORDTITLE "Autentificare eșuată"
|
||||||
IDS_INCORRECTPASSWORD "Verificați numele de utilizator și parola."
|
IDS_INCORRECTPASSWORD "Verificați numele de utilizator și parola."
|
||||||
IDS_CAPSLOCKONTITLE "Tasta Caps Lock este activată"
|
IDS_CAPSLOCKONTITLE "Tasta Caps Lock este activată"
|
||||||
IDS_CAPSLOCKON "Cu tasta Caps Lock activată este foarte probabil că veți introduce parola greșit. \n\nInainte de a introduce parola apăsați tasta Caps Lock pentru a dezactiva scrierea cu majuscule."
|
IDS_CAPSLOCKON "Cu tasta Caps Lock activată este foarte probabil că veți introduce parola greșit.\n\nInainte de a introduce parola apăsați tasta Caps Lock pentru a dezactiva scrierea cu majuscule."
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma code_page(default)
|
#pragma code_page(default)
|
||||||
|
|
|
@ -616,11 +616,9 @@ BOOL fill_protect_data(struct protect_data_t * pInfo, LPCWSTR szDataDescr,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
pInfo->salt.cbData=CRYPT32_PROTECTDATA_SALT_LEN;
|
pInfo->salt.cbData=CRYPT32_PROTECTDATA_SALT_LEN;
|
||||||
}
|
|
||||||
|
|
||||||
/* debug: show our salt */
|
/* debug: show our salt */
|
||||||
TRACE_DATA_BLOB(&pInfo->salt);
|
TRACE_DATA_BLOB(&pInfo->salt);
|
||||||
|
}
|
||||||
pInfo->cipher.cbData=0;
|
pInfo->cipher.cbData=0;
|
||||||
pInfo->cipher.pbData=NULL;
|
pInfo->cipher.pbData=NULL;
|
||||||
|
|
||||||
|
|
|
@ -4993,6 +4993,12 @@ static LRESULT CALLBACK import_file_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
|
||||||
|
|
||||||
data = (struct ImportWizData *)page->lParam;
|
data = (struct ImportWizData *)page->lParam;
|
||||||
SetWindowLongPtrW(hwnd, DWLP_USER, (LPARAM)data);
|
SetWindowLongPtrW(hwnd, DWLP_USER, (LPARAM)data);
|
||||||
|
if (data->fileName)
|
||||||
|
{
|
||||||
|
HWND fileNameEdit = GetDlgItem(hwnd, IDC_IMPORT_FILENAME);
|
||||||
|
|
||||||
|
SendMessageW(fileNameEdit, WM_SETTEXT, 0, (LPARAM)data->fileName);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case WM_NOTIFY:
|
case WM_NOTIFY:
|
||||||
|
@ -5383,10 +5389,15 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
|
||||||
data.dwFlags = dwFlags;
|
data.dwFlags = dwFlags;
|
||||||
data.pwszWizardTitle = pwszWizardTitle;
|
data.pwszWizardTitle = pwszWizardTitle;
|
||||||
if (pImportSrc)
|
if (pImportSrc)
|
||||||
|
{
|
||||||
memcpy(&data.importSrc, pImportSrc, sizeof(data.importSrc));
|
memcpy(&data.importSrc, pImportSrc, sizeof(data.importSrc));
|
||||||
|
data.fileName = (LPWSTR)pImportSrc->u.pwszFileName;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
memset(&data.importSrc, 0, sizeof(data.importSrc));
|
memset(&data.importSrc, 0, sizeof(data.importSrc));
|
||||||
data.fileName = NULL;
|
data.fileName = NULL;
|
||||||
|
}
|
||||||
data.freeSource = FALSE;
|
data.freeSource = FALSE;
|
||||||
data.hDestCertStore = hDestCertStore;
|
data.hDestCertStore = hDestCertStore;
|
||||||
data.freeDest = FALSE;
|
data.freeDest = FALSE;
|
||||||
|
@ -5470,6 +5481,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
|
||||||
hdr.u4.pszbmWatermark = MAKEINTRESOURCEW(IDB_CERT_WATERMARK);
|
hdr.u4.pszbmWatermark = MAKEINTRESOURCEW(IDB_CERT_WATERMARK);
|
||||||
hdr.u5.pszbmHeader = MAKEINTRESOURCEW(IDB_CERT_HEADER);
|
hdr.u5.pszbmHeader = MAKEINTRESOURCEW(IDB_CERT_HEADER);
|
||||||
PropertySheetW(&hdr);
|
PropertySheetW(&hdr);
|
||||||
|
if (data.fileName != data.importSrc.u.pwszFileName)
|
||||||
HeapFree(GetProcessHeap(), 0, data.fileName);
|
HeapFree(GetProcessHeap(), 0, data.fileName);
|
||||||
if (data.freeSource &&
|
if (data.freeSource &&
|
||||||
data.importSrc.dwSubjectChoice == CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE)
|
data.importSrc.dwSubjectChoice == CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE)
|
||||||
|
|
Loading…
Reference in a new issue