Hermès Bélusca-Maïto
f488102c86
[CDFS] Addendum to 5429771b
, 6c733856
and 3c64b4cb
(r75579): When the CDFS driver is used as a fixed disk FS,
...
the type of device it should return must not be FILE_DEVICE_CD_ROM, but must be the actual underlying one!
This fixes recognizing *removable* USB keys as disks and not CD-ROMs.
CORE-13184
2018-12-30 15:26:43 +01:00
Hermès Bélusca-Maïto
bf6b5e1ceb
[NTOS] Fix a NULL-pointer access bug.
2018-12-30 15:26:43 +01:00
Hermès Bélusca-Maïto
fefb982d64
[NTOS] Don't use TAG_IO_NAME when calling ExFreePoolWithTag() for freeing FileObject->FileName.Buffer .
...
This may look strange, since this buffer is originally allocated using
the TAG_IO_NAME tag. However, it happens that file-system drivers are
allowed to re-allocate this buffer: this is what the MS' open-sourced
CDFS driver does, see e.g. CdCommonCreate() and CdNormalizeFileNames()
in cdfs/create.c .
This fixes a pool tag mismatch 'mNoI' != 'nFdC' BSOD when resources
are freed when closing a file that has been opened with a relative name
on a CDFS-mounted volume.
2018-12-30 15:26:42 +01:00
Hermès Bélusca-Maïto
d3a97e2228
[NTOS] Code formatting only.
2018-12-30 15:26:35 +01:00
Eric Kohl
969de9062c
[UMPNPMGR] PNP_GetDeviceListSize: Implement the buffer size calculation for a list of all device instances.
2018-12-30 14:43:10 +01:00
Pierre Schweitzer
1a9b9800b1
[SERVICES] Implement ScmGenerateServiceTag and call it on service creation
...
This allows assigning an unique ServiceTag to each Win32 service
2018-12-30 14:27:04 +01:00
Pierre Schweitzer
519a2c9f6f
[SERVICES] Implement ScmGetServiceNameFromTag
2018-12-30 14:27:04 +01:00
Pierre Schweitzer
90f5e6b6c3
[SERVICES] Implement RI_ScQueryServiceTagInfo
2018-12-30 14:27:03 +01:00
Pierre Schweitzer
e29a99245b
[ADVAPI32] Implement I_ScQueryServiceTagInfo
2018-12-30 14:27:03 +01:00
Pierre Schweitzer
19304da5c3
[ADVAPI32] Implement I_QueryTagInformation
2018-12-30 14:27:02 +01:00
Pierre Schweitzer
dfaee51f98
[SERVICES] Define the RI_ScQueryServiceTagInfo RPC call
...
All the definitions are taken from ProcessHacker:
https://github.com/processhacker/processhacker/blob/master/phnt/include/subprocesstag.h
2018-12-30 14:26:57 +01:00
Eric Kohl
4f37d96857
[UMPNPMGR] PNP_GetDeviceList: Implement the enumeration of device instances for a given enumerator.
2018-12-30 12:58:30 +01:00
Timo Kreuzer
71fefa32db
[NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION ( #779 )
...
* Add an NDK header to define INIT_FUNCTION/INIT_SECTION globally
* Use _declspec(allocate(x)) and _declspec(code_seg(x)) on MSVC versions that support it
* Use INIT_FUNCTION on functions only and INIT_SECTION on data only (required by MSVC)
* Place INIT_FUNCTION before the return type (required by MSVC)
* Make sure declarations and implementations share the same modifiers (required by MSVC)
* Add a global linker option to suppress warnings about defined but unused INIT section
* Merge INIT section into .text in freeldr
2018-12-30 12:19:11 +01:00
Eric Kohl
7c66247343
[UMPNPMGR] PNP_GetDeviceListSize: Implement the buffer size calculation for given enumerators and take care of the terminating double Unicode null character.
2018-12-30 09:06:59 +01:00
Thomas Faber
e3c8002dfc
[WIN32K:NTUSER] Reference menus owned by a popup menu. CORE-15504
2018-12-30 00:25:01 +01:00
Eric Kohl
a9b88efa7c
[UMPNPMGR] PNP_GetDeviceList / PNP_GetDeviceListSize: Implement the buffer size calculation and device instance enumeration for a given enumerator and device name.
2018-12-29 22:13:32 +01:00
Pierre Schweitzer
830f2998ab
[ADVAPI32_APITEST] Unknown field isn't that unknown and should contain "1"
...
See processhacker source code (as reference)
2018-12-29 22:09:52 +01:00
Timo Kreuzer
bcb0d7c6c9
[CABMAN] Fix a problem with creating temp files on some Windows system
2018-12-29 21:37:42 +01:00
Mark Jansen
86ea03bf51
[FONT][WIN32SS] Re-add casts for gcc
2018-12-29 20:06:04 +01:00
Mark Jansen
85db46d75c
[FONT][WIN32SS] Remove casts
2018-12-29 19:47:00 +01:00
Mark Jansen
971c657b80
[FONT][WIN32SS] Hold the freetype lock while accessing freetype data
2018-12-29 19:47:00 +01:00
Mark Jansen
2e44e5ce54
[FONT][WIN32SS] Fix a memory leak
2018-12-29 19:47:00 +01:00
Mark Jansen
1f13b95e5b
[FONT][WIN32SS] Fix a memory leak
2018-12-29 19:47:00 +01:00
Mark Jansen
1d1b7f46fc
[FONT][WIN32SS] Hold the freetype lock while accessing freetype data
2018-12-29 19:47:00 +01:00
Mark Jansen
436d8d962a
[FONT][WIN32SS] Hold the freetype lock while accessing freetype data
2018-12-29 19:46:59 +01:00
Mark Jansen
2fa400b521
[FONT][WIN32SS] Do not return an uninitialized variable
2018-12-29 19:46:59 +01:00
Eric Kohl
aecc523b6a
[NTOS:IO] Fix indentation. No code changes.
2018-12-29 17:49:38 +01:00
Katayama Hirofumi MZ
c5f89b8159
[APPWIZ] Show message box upon error
2018-12-29 05:55:19 +09:00
Pierre Schweitzer
4ed6b1ffca
[SETUP] Add support for selecting FS type in unattended setups
...
By default, we still fallback to FAT if nothing asked, or if there
is an invalid input.
0 is FAT, 1 is BtrFS. This can be grown as soon as we add more IFS.
2018-12-28 20:36:47 +01:00
Thomas Faber
c526f94b8c
[WIN32K:NTUSER] Acquire the user lock exclusively in NtUserGetSystemMenu. CORE-15512
2018-12-28 13:59:33 +01:00
Thomas Faber
0013b0f71c
[NTDLL:LDR] Avoid passing an uninitialized variable to another function.
2018-12-28 13:41:09 +01:00
Katayama Hirofumi MZ
65f0926086
[MENU][WIN32SS] Fix non-menubar menu text Y position ( #1199 )
...
CORE-15226
2018-12-28 12:12:42 +09:00
Mark Jansen
ec5c0c926b
[NTOS] When checking something for NULL, let's initialize it to NULL...
2018-12-27 23:03:22 +01:00
Eric Kohl
b17e8a5e3c
[ADVAPI32] CreateProcessAsUserA/W: Partially revert an obvious case of over-engineering. Only share the common parts! Now it looks a lot better. No more stupid bUnicode!
2018-12-27 19:29:20 +01:00
Luo Yufan
c34833390a
[TRANSLATION] Update Traditional Chinese translation. ( #1193 )
2018-12-27 16:24:24 +09:00
Katayama Hirofumi MZ
6ee576f91d
[FONT][WIN32SS] Optimize a bit
2018-12-27 09:23:49 +09:00
Luo Yufan
d1de19002a
[TRANSLATION] Update Traditional Chinese translation. ( #1192 )
2018-12-26 21:02:23 +01:00
Eric Kohl
079f7027f6
[NTOS:IO] When a device has been started, create an Enum sub key to its service key and add the device instance name to the Enum sub key.
2018-12-25 23:04:27 +01:00
Katayama Hirofumi MZ
be84465883
[FONT][WIN32SS] Follow-up of #1184
2018-12-25 21:54:33 +09:00
Pierre Schweitzer
e6cd48809a
[BTRFS] Reduce diff with upstream
...
CORE-15452
2018-12-25 13:50:41 +01:00
Pierre Schweitzer
f75ea083e3
[NTOSKRNL_VISTA] Implement FsRtlGetEcpListFromIrp and FsRtlGetNextExtraCreateParameter
...
CORE-15452
2018-12-25 13:50:41 +01:00
Pierre Schweitzer
a76b8843a8
[NTOSKRNL_VISTA] Implement IoGetIrpExtraCreateParameter
...
CORE-15452
2018-12-25 13:50:40 +01:00
Katayama Hirofumi MZ
d6cfeaef51
[FONT][WIN32SS] Refactor rendering text background ( #1184 )
...
Simplify the background filling codes. CORE-14856
2018-12-25 20:41:25 +09:00
Katayama Hirofumi MZ
968c8f37f1
[WIN32SS] Fix RLE4 bitmap decoding ( #1188 )
...
CORE-10553, CORE-11399
2018-12-25 18:04:21 +09:00
Luo Yufan
0a3f6f3b47
[TRANSLATION] Update Chinese translation. ( #1187 )
...
[REG][REACTOS][EXPLORER][APPWIZ][CONSOLE][INETCPL][INPUT]
[INTL][OPENGLCFG][TIMEDATE][DEVCPUX][COMCTL32][COMDLG32]
[MSGINA][NETCFGX][NETID][SETUPAPI][SHELL32][SYSSETUP]
Update Simplified and Traditional Chinese translations.
2018-12-25 17:28:36 +09:00
Eric Kohl
9703a42a6e
[MC] Fix the build
2018-12-24 18:19:58 +01:00
Eric Kohl
f0d096838b
[MC] Fix build issue?
2018-12-24 18:10:38 +01:00
Eric Kohl
69ff796168
Fix the build
2018-12-24 17:03:00 +01:00
Eric Kohl
7a27dc8a55
[NET] Add (incomplete) COMPUTER command and rename help.c to cmdHelp.c.
2018-12-24 14:39:26 +01:00
Luo Yufan
c4118adf80
[COMDLG32] Update Simplified Chinese translation.
2018-12-24 12:00:29 +01:00