Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
528 B

#define DOSWIN32
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <lmerr.h>
extern BOOL FAR PASCAL WriteAfpMgrIniStrings (
DWORD nArgs,
LPSTR apszArgs[],
LPSTR *ppszResult
);
extern int CDECL main(int argc, char *argv[]);
int CDECL
main (int argc, char *argv[])
{
TCHAR ResultBuffer[1024];
// go past the file name argument
argc--;
++argv;
if(WriteAfpMgrIniStrings(argc, argv , &ResultBuffer))
printf("Write successful\n");
else
printf("Write failed\n");
return(0);
}