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.

81 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 2001 Microsoft Corporation
  3. Module Name:
  4. interface.c
  5. Abstract:
  6. Implements the APIs exposed by osuninst.dll. This version is a no-op stub used
  7. to allow non-X86 components to use the API.
  8. Author:
  9. Jim Schmidt (jimschm) 19-Jan-2001
  10. Revision History:
  11. <alias> <date> <comments>
  12. --*/
  13. #include <windows.h>
  14. #include <undo.h>
  15. BOOL
  16. WINAPI
  17. DllMain (
  18. IN HINSTANCE hInstance,
  19. IN DWORD dwReason,
  20. IN LPVOID lpReserved
  21. )
  22. {
  23. return TRUE;
  24. }
  25. UNINSTALLSTATUS
  26. IsUninstallImageValid (
  27. UNINSTALLTESTCOMPONENT DontCare,
  28. OSVERSIONINFOEX *BackedUpOsVersion OPTIONAL
  29. )
  30. {
  31. return Uninstall_Unsupported;
  32. }
  33. BOOL
  34. RemoveUninstallImage (
  35. VOID
  36. )
  37. {
  38. return TRUE;
  39. }
  40. BOOL
  41. ExecuteUninstall (
  42. VOID
  43. )
  44. {
  45. return FALSE;
  46. }
  47. ULONGLONG
  48. GetUninstallImageSize (
  49. VOID
  50. )
  51. {
  52. return 0;
  53. }
  54. BOOL
  55. ProvideUiAlerts (
  56. IN HWND UiParent
  57. )
  58. {
  59. return FALSE;
  60. }