mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
kill rosrtl from system modules
svn path=/trunk/; revision=16354
This commit is contained in:
parent
493ca2fe71
commit
30a6f296fd
4 changed files with 6 additions and 17 deletions
|
@ -13,12 +13,6 @@
|
|||
<directory name="expand">
|
||||
<xi:include href="expand/expand.xml" />
|
||||
</directory>
|
||||
<directory name="explorer">
|
||||
<xi:include href="explorer/explorer.xml" />
|
||||
</directory>
|
||||
<directory name="ibrowser">
|
||||
<xi:include href="ibrowser/ibrowser.xml" />
|
||||
</directory>
|
||||
<directory name="format">
|
||||
<xi:include href="format/format.xml" />
|
||||
</directory>
|
||||
|
|
|
@ -28,8 +28,6 @@
|
|||
#include "services.h"
|
||||
#include <services/services.h>
|
||||
|
||||
#include <rosrtl/string.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
@ -298,7 +296,8 @@ ScmCreateServiceDataBase(VOID)
|
|||
{
|
||||
RTL_QUERY_REGISTRY_TABLE QueryTable[2];
|
||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||
UNICODE_STRING ServicesKeyName;
|
||||
UNICODE_STRING ServicesKeyName =
|
||||
RTL_CONSTANT_STRING(L"\\Registry\\Machine\\System\\CurrentControlSet\\Services");
|
||||
UNICODE_STRING SubKeyName;
|
||||
HKEY ServicesKey;
|
||||
ULONG Index;
|
||||
|
@ -329,9 +328,6 @@ ScmCreateServiceDataBase(VOID)
|
|||
if (!NT_SUCCESS(Status))
|
||||
return Status;
|
||||
|
||||
RtlRosInitUnicodeStringFromLiteral(&ServicesKeyName,
|
||||
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services");
|
||||
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
&ServicesKeyName,
|
||||
OBJ_CASE_INSENSITIVE,
|
||||
|
@ -417,12 +413,12 @@ ScmCheckDriver(PSERVICE Service)
|
|||
|
||||
if (Service->Type == SERVICE_KERNEL_DRIVER)
|
||||
{
|
||||
RtlRosInitUnicodeStringFromLiteral(&DirName,
|
||||
RtlInitUnicodeString(&DirName,
|
||||
L"\\Driver");
|
||||
}
|
||||
else
|
||||
{
|
||||
RtlRosInitUnicodeStringFromLiteral(&DirName,
|
||||
RtlInitUnicodeString(&DirName,
|
||||
L"\\FileSystem");
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <stdio.h>
|
||||
#include <tchar.h>
|
||||
#include <string.h>
|
||||
#include <rosrtl/resstr.h>
|
||||
#include "resources.h"
|
||||
|
||||
typedef struct _MIXER_WINDOW
|
||||
|
|
|
@ -37,11 +37,11 @@ void Font_DrawText(HDC hDC, LPCTSTR lpszText, int x, int y)
|
|||
if ((lpszText[i] >= '0') && (lpszText[i] <= '9')) {
|
||||
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, (lpszText[i] - '0') * 8, 0, SRCCOPY);
|
||||
}
|
||||
else if (lpszText[i] == 'K')
|
||||
else if (lpszText[i] == '%')
|
||||
{
|
||||
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, 80, 0, SRCCOPY);
|
||||
}
|
||||
else if (lpszText[i] == '%')
|
||||
else if (lpszText[i] == 'K')
|
||||
{
|
||||
BitBlt(hDC, x + (i * 8), y, 8, 11, hFontDC, 88, 0, SRCCOPY);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue