Leaked source code of windows server 2003
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.
 
 
 
 
 
 

31 lines
595 B

#include "windows.h"
#include "stdio.h"
#include "stdlib.h"
#include "identbuilder.h"
#ifdef INVALID_HANDLE_VALUE
#undef INVALID_HANDLE_VALUE
#endif
#include "windows.h"
#include "identbuilder.h"
int __cdecl wmain(int argc, WCHAR** argv)
{
CHAR cchBuffer[0x5a];
SIZE_T cchChars = sizeof(cchBuffer)/sizeof(*cchBuffer);
BOOL fResult;
cchBuffer[0] = '\0';
fResult = SxsIdentDetermineManifestPlacementPath(
0,
argv[1],
cchBuffer,
&cchChars);
printf("%s\n", cchBuffer);
fflush(stdout);
return 0;
}