mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Convert to spec. Minor 64bit fixes.
svn path=/branches/ros-amd64-bringup/; revision=36466
This commit is contained in:
@@ -17,7 +17,7 @@ LaunchDeviceManager(HWND hWndParent)
|
||||
{
|
||||
/* hack for ROS to start our devmgmt until we have mmc */
|
||||
#ifdef __REACTOS__
|
||||
return ((INT)ShellExecuteW(NULL, L"open", L"devmgmt.exe", NULL, NULL, SW_SHOWNORMAL) > 32);
|
||||
return ((INT_PTR)ShellExecuteW(NULL, L"open", L"devmgmt.exe", NULL, NULL, SW_SHOWNORMAL) > 32);
|
||||
#else
|
||||
HMODULE hDll;
|
||||
PDEVMGREXEC DevMgrExec;
|
||||
|
||||
@@ -437,7 +437,7 @@ DeleteBootRecords(HWND hwndDlg)
|
||||
for (index = 0; index <lIndex; index++)
|
||||
{
|
||||
pRecord = (PBOOTRECORD) SendDlgItemMessage(hwndDlg, IDC_STRECOSCOMBO, CB_GETITEMDATA, (WPARAM)index, (LPARAM)0);
|
||||
if ((INT)pRecord != CB_ERR)
|
||||
if ((INT_PTR)pRecord != CB_ERR)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, pRecord);
|
||||
}
|
||||
@@ -570,7 +570,7 @@ WriteStartupRecoveryOptions(HWND hwndDlg, PSTARTINFO pStartInfo)
|
||||
RegSetValueEx(hKey, _T("MinidumpDir"), 0, REG_EXPAND_SZ, (LPBYTE)pStartInfo->szDumpFile, (_tcslen(pStartInfo->szDumpFile) + 1) * sizeof(TCHAR));
|
||||
}
|
||||
|
||||
RegSetValueEx(hKey, _T("CrashDumpEnabled"), 0, REG_DWORD, (LPBYTE)pStartInfo->dwCrashDumpEnabled, sizeof(pStartInfo->dwCrashDumpEnabled));
|
||||
RegSetValueEx(hKey, _T("CrashDumpEnabled"), 0, REG_DWORD, (LPBYTE)(DWORD_PTR)pStartInfo->dwCrashDumpEnabled, sizeof(pStartInfo->dwCrashDumpEnabled));
|
||||
RegCloseKey(hKey);
|
||||
}
|
||||
|
||||
@@ -741,7 +741,7 @@ StartRecDlgProc(HWND hwndDlg,
|
||||
|
||||
pRecord = (PBOOTRECORD) SendDlgItemMessage(hwndDlg, IDC_STRECOSCOMBO, CB_GETITEMDATA, (WPARAM)lResult, (LPARAM)0);
|
||||
|
||||
if ((INT)pRecord != CB_ERR)
|
||||
if ((INT_PTR)pRecord != CB_ERR)
|
||||
{
|
||||
if (pStartInfo->iFreeLdrIni == 1) // FreeLdrIni style
|
||||
{
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
LIBRARY sysdm.cpl
|
||||
|
||||
EXPORTS
|
||||
CPlApplet@16
|
||||
|
||||
; EOF
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<module name="sysdm" type="win32dll" extension=".cpl" baseaddress="${BASEADDRESS_SYSDM}" installbase="system32" installname="sysdm.cpl" unicode="yes">
|
||||
<importlibrary definition="sysdm.def" />
|
||||
<importlibrary definition="sysdm.spec.def" />
|
||||
<include base="sysdm">.</include>
|
||||
<define name="_WIN32_IE">0x600</define>
|
||||
<define name="_WIN32_WINNT">0x501</define>
|
||||
@@ -29,5 +29,6 @@
|
||||
<file>userprofile.c</file>
|
||||
<file>virtmem.c</file>
|
||||
<file>sysdm.rc</file>
|
||||
<file>sysdm.spec</file>
|
||||
<pch>precomp.h</pch>
|
||||
</module>
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
@ stdcall CPlApplet(ptr long ptr ptr)
|
||||
Reference in New Issue
Block a user