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.

14 lines
371 B

  1. // Copyright (c) Microsoft Corporation
  2. #include "stdinc.h"
  3. void PrintComctl32Path(PCSTR Class)
  4. {
  5. WCHAR Buffer[MAX_PATH];
  6. PWSTR FilePart;
  7. Buffer[0] = 0;
  8. SearchPathW(NULL, L"comctl32.dll", NULL, MAX_PATH, Buffer, &FilePart);
  9. //DebugBreak();
  10. DbgPrint("Class %s, Thread 0x%lx, comctl32 %ls\n", Class, GetCurrentThreadId(), Buffer);
  11. }