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
1.7 KiB

  1. //
  2. // APITHK.H
  3. //
  4. #ifndef _APITHK_H_
  5. #define _APITHK_H_
  6. STDAPI_(BOOL) NT5_CreateAndWaitForProcess(LPTSTR pszExeName);
  7. // Appmgmts APIs
  8. STDAPI NT5_ReleaseAppCategoryInfoList(APPCATEGORYINFOLIST *pAppCategoryList);
  9. // Advapi APIs
  10. STDAPI_(DWORD) NT5_InstallApplication(PINSTALLDATA pInstallInfo);
  11. STDAPI_(DWORD) NT5_UninstallApplication(WCHAR * ProductCode, DWORD dwStatus);
  12. STDAPI_(DWORD) NT5_GetManagedApplications(GUID * pCategory, DWORD dwQueryFlags, DWORD dwInfoLevel, LPDWORD pdwApps, PMANAGEDAPPLICATION* prgManagedApps);
  13. STDAPI_(DWORD) NT5_GetManagedApplicationCategories(DWORD dwReserved, APPCATEGORYINFOLIST *pAppCategoryList);
  14. // Kernel APIs
  15. STDAPI_(ULONGLONG) NT5_VerSetConditionMask(ULONGLONG ConditionMask, DWORD TypeMask, BYTE Condition);
  16. // User32 APIs
  17. STDAPI_(BOOL) NT5_AllowSetForegroundWindow( DWORD dwProcessID );
  18. // NetApi32
  19. STDAPI_(NET_API_STATUS) NT5_NetGetJoinInformation(LPCWSTR lpServer, LPWSTR *lpNameBuffer, PNETSETUP_JOIN_STATUS BufferType);
  20. STDAPI_(NET_API_STATUS) NT5_NetApiBufferFree(LPVOID lpBuffer);
  21. #define AllowSetForegroundWindow NT5_AllowSetForegroundWindow
  22. #define ReleaseAppCategoryInfoList NT5_ReleaseAppCategoryInfoList
  23. #define VerSetConditionMask NT5_VerSetConditionMask
  24. #define InstallApplication NT5_InstallApplication
  25. #define UninstallApplication NT5_UninstallApplication
  26. #define GetManagedApplications NT5_GetManagedApplications
  27. #define GetManagedApplicationCategories NT5_GetManagedApplicationCategories
  28. #define NetGetJoinInformation NT5_NetGetJoinInformation
  29. #define NetApiBufferFree NT5_NetApiBufferFree
  30. #endif // _APITHK_H_