mirror of
https://github.com/reactos/reactos.git
synced 2026-05-27 11:24:34 +08:00
* Pass the correct handle to _RpcGetPrinter in GetPrinterW. * Pass an empty string instead of a NULL pointer as wszComputerName to the GetPrinterLevel* functions, because this variable is later used as source for StringCbCopyExW. * Don't check for GetLastError() == ERROR_SUCCESS in tests. Windows apparently only sets the last error in case of failure. The Printing code should probably be changed similarly in a future commit. Should fix CORE-14072
====================
ReactOS Tests
====================
This directory contains various tests for ReactOS.
Make sure you also have a copy of the rest of the ReactOS
source before you attempt to build anything in this module.
It is to be placed under "modules" subdirectory of a trunk checkout.
No additional changes to build files are necessary, it'll be picked up
automatically.
To include "rostests" in your build folder:
1. Copy the rostests folder into the reactos\modules folder, or
2. Link reactos/modules/rostests to rostests
# For Windows users
cd %%_ROSSOURCEDIR%%\reactos\modules
mklink /j rostests %%_ROSSOURCEDIR%%\rostests
# For UNIX users
cd \$$_ROSSOURCEDIR/reactos/modules
ln -s \$$_ROSSOURCEDIR/rostests rostests