https://git.reactos.org/?p=reactos.git;a=commitdiff;h=91d291f7662d9e4e5463f…
commit 91d291f7662d9e4e5463f8b0e998645737edaff4
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Sun Dec 17 22:12:25 2023 +0100
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Dec 17 22:12:25 2023 +0100
[SDK:CMAKE] writing_CmakeLists_for_ReactOS.txt: Fix typos (#6105)
---
sdk/cmake/writing_CmakeLists_for_ReactOS.txt | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sdk/cmake/writing_CmakeLists_for_ReactOS.txt b/sdk/cmake/writing_CmakeLists_for_ReactOS.txt
index b13cbe91d43..c621b09006d 100644
--- a/sdk/cmake/writing_CmakeLists_for_ReactOS.txt
+++ b/sdk/cmake/writing_CmakeLists_for_ReactOS.txt
@@ -8,14 +8,14 @@ Optional arguments are marked with [brackets], input is marked with <comparison
---------------------------------------------------------------------------------------------------------------------------------------------
set_module_type(<target> <type> [UNICODE] [BASEADDRESS <baseaddress>] [ENTRYPOINT <entrypoint> <stacksize>])
-This set the type of the module, and take cares of setting common linker options or definitions to the specified target, module file extension, etc. Please always use this when adding a module to reactos build.
+This sets the type of the module, and takes care of setting common linker options or definitions to the specified target, module file extension, etc. Please always use this when adding a module to ReactOS build.
ARGUMENTS:
<target>: name of the target. The module must have been added with add_executable or add_library before calling this function.
-<type>: one of win32gui, win32cui, win32dll, win32ocx, cpl, nativecui, nativedll, kernelmodedriver
-UNICODE: provide this if the module was written for unicode API
-<baseaddress>: provide this if you want your module to have a different base address than the defualt one (according to <type>). For win32dll modules, please use baseaddress.cmake instead.
-<entrypoint>: name of the function which will be the entr point of the module. If it's not provided, it's guessed from the module type.
+<type>: one of win32gui, win32cui, win32dll, win32ocx, cpl, nativecui, nativedll, kernelmodedriver.
+UNICODE: provide this if the module was written for unicode API.
+<baseaddress>: provide this if you want your module to have a different base address than the default one (according to <type>). For win32dll modules, please use baseaddress.cmake instead.
+<entrypoint>: name of the function which will be the entry point of the module. If it's not provided, it's guessed from the module type.
<stacksize>: Size of stack required for the parameters of <entrypoint>.
TYPICAL USE:
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=44c7d9ad428c345e501af…
commit 44c7d9ad428c345e501af375bea7262e5e45fdac
Author: Andrew Shelkovenko <diakin(a)yandex.ru>
AuthorDate: Sun Dec 17 15:56:39 2023 +0300
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Dec 17 15:56:39 2023 +0300
[DXHALTEST] Correct some typos (#5737)
I.e. translate GreatLordish into proper English :)
Reviewed-by: Robert Naumann <gonzomdx(a)gmail.com>
Reviewed-by: Joachim Henze <joachim.henze(a)reactos.org>
Reviewed-by: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
Reviewed-by: Carl J. Bialorucki <cbialo2(a)outlook.com>
---
modules/rostests/tests/DxHalTest/main.c | 42 ++++++++++++++++-----------------
1 file changed, 21 insertions(+), 21 deletions(-)
diff --git a/modules/rostests/tests/DxHalTest/main.c b/modules/rostests/tests/DxHalTest/main.c
index ffc82451534..6d5c6bec22e 100644
--- a/modules/rostests/tests/DxHalTest/main.c
+++ b/modules/rostests/tests/DxHalTest/main.c
@@ -98,16 +98,16 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
DdAttachSurface = (BOOL (APIENTRY*)(LPDDRAWI_DDRAWSURFACE_LCL, LPDDRAWI_DDRAWSURFACE_LCL))GetProcAddress(lib, "GdiEntry11");
DdResetVisrgn = (BOOL (APIENTRY*)(LPDDRAWI_DDRAWSURFACE_LCL, HWND))GetProcAddress(lib, "GdiEntry6");
- printf("This apps showing how to start up directx draw/d3d interface and some other as well\n");
- printf("This code have been releae to some close applactons with my premtions, if any company\n");
- printf("want use part or whole code, you need contact the orginal author to ask for premtions\n");
- printf("This code are release under alot of diffent licen\n");
- printf("All GPL and LGPL project have right use and studing this code.\n");
- printf("This code maybe need more comment to known how stuff working and maybe looking bit mesy\n");
- printf("Bestreagds Magnus Olsen magnus(a)greatlord.com or greatlord(a)reactos.org\n");
+ printf("This app shows how to start up a DirectDraw/Direct3D interface and some others.\n");
+ printf("This code has been released to some closed applications with my permission. If any company\n");
+ printf("wants to use this code, you must contact the original author to ask for permission.\n");
+ printf("This code is released under many different licenses.\n");
+ printf("All GPL and LGPL projects have the right to use and study this code.\n");
+ printf("This code may require more comments to know how stuff works.\n");
+ printf("Best regards, Magnus Olsen magnus(a)greatlord.com or greatlord(a)reactos.org\n");
printf("Copyright 2006 by Magnus Olsen\n\n");
- printf("This demo showing how to start dx draw hal and create a primary surface,\n");
- printf("and a overlay sufrace and blt to the primary surface\n");
+ printf("This demo shows how to start DirectDraw, creating a primary surface\n");
+ printf("and an overlay surface, and a blt to the primary surface.\n");
/*
@@ -208,11 +208,11 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
mDDrawGlobal.dwRefCnt = 1; //addref / remove ref
- // Do not relase HDC it have been map in kernel mode
+ // Do not release HDC, it has been mapped in kernel mode
// DeleteDC(hdc);
- /* we need reanable it if screen res have changes, and some bad drv need be reanble very few
- to contiune */
+ /* we need to reenable it if the screen resolution has changed, and some
+ bad driver needs to be reenabled infrequently to continue */
/*
if (!DdReenableDirectDrawObject(&mDDrawGlobal, &newmode))
{
@@ -254,7 +254,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
HeapFree(GetProcessHeap(), 0, mpModeInfos);
DeleteDC(hdc);
DeleteObject(hbmp);
- // FIXME Close DX fristcall and second call
+ // FIXME Close DX first call and second call
return DD_FALSE;
}
@@ -265,8 +265,8 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
HeapFree(GetProcessHeap(), 0, mpModeInfos);
DeleteDC(hdc);
DeleteObject(hbmp);
- // FIXME Close DX fristcall and second call
- printf("Fail to QueryDirect Draw Object frist pass\n");
+ // FIXME Close DX first call and second call
+ printf("Fail to QueryDirect Draw Object first pass\n");
return DD_FALSE;
}
@@ -291,7 +291,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
HeapFree(GetProcessHeap(), 0, mpModeInfos);
DeleteDC(hdc);
DeleteObject(hbmp);
- // FIXME Close DX fristcall and second call
+ // FIXME Close DX first call and second call
printf("Fail QueryDirect Draw Object to Alloc mpTextures \n");
return DD_FALSE;
}
@@ -328,7 +328,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
Copy over from HalInfo to DirectDrawGlobal
*/
- // this is wrong, cDriverName need be in ASC code not UNICODE
+ // this is wrong, cDriverName needs to be in ASCII not UNICODE
//memcpy(mDDrawGlobal.cDriverName, mDisplayAdapter, sizeof(wchar)*MAX_DRIVER_NAME);
memcpy(&mDDrawGlobal.vmiData, &mHALInfo.vmiData,sizeof(VIDMEMINFO));
@@ -350,7 +350,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
/* Hal insate is down now */
- /* cleare surface code now*/
+ /* clear surface code now */
// memset(&mGlobal, 0, sizeof(DDRAWI_DDRAWSURFACE_GBL));
// memset(&mMore, 0, sizeof(DDRAWI_DDRAWSURFACE_MORE));
@@ -361,9 +361,9 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
mPrimaryLocal.lpSurfMore = &mPrimaryMore;
- /* cleare surface ends now */
+ /* clear surface ends now */
- /* create primare surface now */
+ /* create primary surface now */
memset(&mddsdPrimary, 0, sizeof(DDSURFACEDESC));
mddsdPrimary.dwSize = sizeof(DDSURFACEDESC);
@@ -453,7 +453,7 @@ int WINAPI WinMain (HINSTANCE hInst, HINSTANCE hPrevInst,
mDdBlt.lpDDDestSurface = mpPrimaryLocals[0];
- /* create primare surface is down now */
+ /* create primary surface is down now */
/* create overlay surface now */