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.

47 lines
851 B

  1. #define STRICT
  2. #ifdef CSC_ON_NT
  3. #define UNICODE // use all widecharacter APIs
  4. #endif
  5. #include <windows.h>
  6. #include <windowsx.h>
  7. // Dont link - just do it.
  8. #pragma intrinsic(memcpy,memcmp,memset,strcpy,strlen,strcmp,strcat)
  9. #include <stdio.h>
  10. #include <stdlib.h>
  11. #include <string.h>
  12. #include <limits.h> // implementation dependent values
  13. #include <memory.h>
  14. #include <winioctl.h>
  15. #include "shdcom.h"
  16. BOOL
  17. Find32WToFind32A(
  18. WIN32_FIND_DATAW *lpFind32W,
  19. WIN32_FIND_DATAA *lpFind32A
  20. );
  21. BOOL
  22. Find32AToFind32W(
  23. WIN32_FIND_DATAA *lpFind32A,
  24. WIN32_FIND_DATAW *lpFind32W
  25. );
  26. BOOL
  27. ConvertCopyParamsFromUnicodeToAnsi(
  28. LPCOPYPARAMSW lpCPUni,
  29. LPCOPYPARAMSA lpCP
  30. );
  31. BOOL
  32. ShareInfoWToShareInfoA(
  33. LPSHAREINFOW lpShareInfoW,
  34. LPSHAREINFOA lpShareInfoA
  35. );