2 * Win32 kernel functions
4 * Copyright 1995 Martin von Loewis and Cameron Heide
15 /***********************************************************************
16 * GetCommandLineA (KERNEL32.161)
18 LPSTR
GetCommandLineA(void)
20 static char buffer
[256];
21 PDB
*pdb
= (PDB
*)GlobalLock( GetCurrentPDB() );
22 memcpy( buffer
, &pdb
->cmdLine
[1], pdb
->cmdLine
[0] );
23 printf("CommandLine = %s\n", buffer
);