mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 07:32:57 +00:00
build fixes
svn path=/trunk/; revision=19170
This commit is contained in:
parent
61f6a69b0e
commit
fcad5d2773
12 changed files with 34 additions and 14 deletions
|
@ -7,6 +7,10 @@
|
||||||
#define ID_ACCEL3 0x102
|
#define ID_ACCEL3 0x102
|
||||||
#define ID_ACCEL4 0x103
|
#define ID_ACCEL4 0x103
|
||||||
|
|
||||||
|
#ifndef VK_A
|
||||||
|
#define VK_A 0x41
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* {fVirt, key, cmd}
|
* {fVirt, key, cmd}
|
||||||
* fVirt |= FVIRTKEY | FCONTROL | FALT | FSHIFT
|
* fVirt |= FVIRTKEY | FCONTROL | FALT | FSHIFT
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
BOOL WINAPI GdiAlphaBlend(HDC hdcDst, int xDst, int yDst, int widthDst, int heightDst,
|
||||||
|
HDC hdcSrc, int xSrc, int ySrc, int widthSrc, int heightSrc,
|
||||||
|
BLENDFUNCTION blendFunction);
|
||||||
|
|
||||||
#ifndef AC_SRC_ALPHA
|
#ifndef AC_SRC_ALPHA
|
||||||
#define AC_SRC_ALPHA (0x1)
|
#define AC_SRC_ALPHA (0x1)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
#include <stdarg.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ddk/ntddk.h>
|
#define NTOS_MODE_USER
|
||||||
#include <rosrtl/string.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
HANDLE OutputHandle;
|
HANDLE OutputHandle;
|
||||||
HANDLE InputHandle;
|
HANDLE InputHandle;
|
||||||
|
@ -22,7 +21,7 @@ int main(int argc, char* argv[])
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
HANDLE FileHandle;
|
HANDLE FileHandle;
|
||||||
OBJECT_ATTRIBUTES ObjectAttributes;
|
OBJECT_ATTRIBUTES ObjectAttributes;
|
||||||
UNICODE_STRING FileName = ROS_STRING_INITIALIZER(L"\\C:\\a.txt");
|
UNICODE_STRING FileName = RTL_CONSTANT_STRING(L"\\C:\\a.txt");
|
||||||
IO_STATUS_BLOCK IoStatus;
|
IO_STATUS_BLOCK IoStatus;
|
||||||
CHAR Buffer[256];
|
CHAR Buffer[256];
|
||||||
HANDLE EventHandle;
|
HANDLE EventHandle;
|
||||||
|
|
|
@ -3,5 +3,6 @@
|
||||||
<define name="_WIN32_WINNT">0x0501</define>
|
<define name="_WIN32_WINNT">0x0501</define>
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
|
<library>ntdll</library>
|
||||||
<file>apc.c</file>
|
<file>apc.c</file>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ddk/ntddk.h>
|
#define NTOS_MODE_USER
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
#define BUFFER_SIZE 256
|
#define BUFFER_SIZE 256
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,6 @@
|
||||||
<define name="_WIN32_WINNT">0x0501</define>
|
<define name="_WIN32_WINNT">0x0501</define>
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
<library>gdi32</library>
|
<library>ntdll</library>
|
||||||
<file>atomtest.c</file>
|
<file>atomtest.c</file>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -8,6 +8,8 @@ static int CharWidth = 10;
|
||||||
static int CharHeight = 16;
|
static int CharHeight = 16;
|
||||||
static HBITMAP CaretBitmap;
|
static HBITMAP CaretBitmap;
|
||||||
|
|
||||||
|
ULONG __cdecl DbgPrint(IN PCH Format, IN ...);
|
||||||
|
|
||||||
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM);
|
LRESULT WINAPI MainWndProc(HWND, UINT, WPARAM, LPARAM);
|
||||||
|
|
||||||
int WINAPI
|
int WINAPI
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <reactos/resource.h>
|
|
||||||
#include "resource.h"
|
|
||||||
|
|
||||||
IDB_CARET BITMAP DISCARDABLE "caret.bmp"
|
1 BITMAP DISCARDABLE "caret.bmp"
|
||||||
|
|
|
@ -4,5 +4,7 @@
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
<library>gdi32</library>
|
<library>gdi32</library>
|
||||||
|
<library>ntdll</library>
|
||||||
<file>carets.c</file>
|
<file>carets.c</file>
|
||||||
|
<efile>carets.rc</efile>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -5,4 +5,5 @@
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
<library>gdi32</library>
|
<library>gdi32</library>
|
||||||
<file>combotst.c</file>
|
<file>combotst.c</file>
|
||||||
|
<file>utils.c</file>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -4,5 +4,9 @@
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
<library>gdi32</library>
|
<library>gdi32</library>
|
||||||
|
<library>ole32</library>
|
||||||
|
<library>uuid</library>
|
||||||
|
<library>shell32</library>
|
||||||
|
<library>shlwapi</library>
|
||||||
<file>create-links.c</file>
|
<file>create-links.c</file>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -8,12 +8,16 @@
|
||||||
* PROGRAMMER: Hartmut Birr
|
* PROGRAMMER: Hartmut Birr
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <ddk/ntddk.h>
|
|
||||||
#include <ddk/ntddscsi.h>
|
#include <windows.h>
|
||||||
#include <ddk/scsi.h>
|
#define NTOS_MODE_USER
|
||||||
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
|
#define _NTSCSI_USER_MODE_
|
||||||
|
#include <ntddscsi.h>
|
||||||
|
#include <scsi.h>
|
||||||
|
|
||||||
BOOL GetInquiryData(HANDLE hDevice, PINQUIRYDATA InquiryData)
|
BOOL GetInquiryData(HANDLE hDevice, PINQUIRYDATA InquiryData)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue