mirror of
https://github.com/reactos/reactos.git
synced 2025-07-13 16:24:12 +00:00
- Fix Greatlordisms:
* Don't try to link *user*mode program to static *kernelmode* libcntpr. msvcrt.dll exists for this. * Fix main()'s declaration and definition. * The above changes fix compiling of rostest module. svn path=/trunk/; revision=31043
This commit is contained in:
parent
766f1a8a1b
commit
96fcea9b72
2 changed files with 3 additions and 4 deletions
|
@ -5,7 +5,6 @@
|
||||||
<library>kernel32</library>
|
<library>kernel32</library>
|
||||||
<library>gdi32</library>
|
<library>gdi32</library>
|
||||||
<library>ddraw</library>
|
<library>ddraw</library>
|
||||||
<library>libcntpr</library>
|
|
||||||
<library>user32</library>
|
<library>user32</library>
|
||||||
<file>main.c</file>
|
<file>main.c</file>
|
||||||
</module>
|
</module>
|
|
@ -22,10 +22,10 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
INT main(INT argc, CHAR argv[]);
|
INT main(INT argc, TCHAR *argv[]);
|
||||||
VOID BuildReturnCode(DWORD * ReturnCode);
|
VOID BuildReturnCode(DWORD * ReturnCode);
|
||||||
|
|
||||||
INT main(INT argc, TCHAR argv[])
|
INT main(INT argc, TCHAR *argv[])
|
||||||
{
|
{
|
||||||
DWORD ReturnCode[256];
|
DWORD ReturnCode[256];
|
||||||
|
|
||||||
|
@ -44,6 +44,6 @@ VOID BuildReturnCode(DWORD * ReturnCode)
|
||||||
{
|
{
|
||||||
dp2command.bCommand = t;
|
dp2command.bCommand = t;
|
||||||
ReturnCode[t] = D3DParseUnknownCommand ( (LPVOID) &dp2command, (LPVOID *) lplpvReturnedCommand) ;
|
ReturnCode[t] = D3DParseUnknownCommand ( (LPVOID) &dp2command, (LPVOID *) lplpvReturnedCommand) ;
|
||||||
printf("D3DParseUnknownCommand return code = %x command %d \n", ReturnCode[t], t);
|
printf("D3DParseUnknownCommand return code = %x command %d \n", (UINT)ReturnCode[t], t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue