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.

35 lines
2.7 KiB

  1. #include "stdafx.h"
  2. void GetErrorMsg(int errCode, LPCTSTR szExtraMsg);
  3. void MyLoadString(int nID, CString &csResult);
  4. int MyMessageBox(HWND hWnd, LPCTSTR lpszTheMessage, UINT style);
  5. int MyMessageBox(HWND hWnd, LPCTSTR lpszTheMessage, LPCTSTR lpszTheTitle, UINT style);
  6. int MyMessageBox(HWND hWnd, CString csTheMessage, HRESULT iTheErrorCode, UINT style);
  7. int MyMessageBox(HWND hWnd, UINT iTheMessage, UINT style);
  8. int MyMessageBox(HWND hWnd, UINT iTheMessage, int iTheErrorCode, UINT style);
  9. int MyMessageBox(HWND hWnd, UINT iTheMessage, LPCTSTR lpszTheFileNameOrWhatever, UINT style);
  10. int MyMessageBox(HWND hWnd, UINT iTheMessage, LPCTSTR lpszTheFileNameOrWhatever, int iTheErrorCode, UINT style);
  11. int MyMessageBox(HWND hWnd, UINT iTheMessage, LPCTSTR lpszTheFileNameOrWhatever1, LPCTSTR lpszTheFileNameOrWhatever2, int iTheErrorCode, UINT style);
  12. int MyMessageBox(HWND hWnd, UINT iTheMessage, LPCTSTR lpszTheFileNameOrWhatever1, LPCTSTR lpszTheFileNameOrWhatever2, LPCTSTR lpszTheFileNameOrWhatever3,int iTheErrorCode, UINT style);
  13. int MyMessageBoxArgs(HWND hWnd, TCHAR *pszfmt, ...);
  14. HRESULT MySetLinkInfoTip(LPCTSTR lpszLink, LPCTSTR lpszDescription);
  15. HRESULT MyQueryLink(LPCTSTR lpszLink, LPTSTR lpszProgram, LPTSTR lpszArgs, LPTSTR lpszDir, LPTSTR lpszIconPath, int *piIconIndex);
  16. HRESULT MyCreateLink(LPCTSTR lpszProgram, LPCTSTR lpszArgs, LPCTSTR lpszLink, LPCTSTR lpszDir, LPCTSTR lpszIconPath, int iIconIndex, LPCTSTR lpszDescription);
  17. BOOL MyDeleteLink(LPTSTR lpszShortcut);
  18. void MyMoveLink(LPCTSTR lpszItemDesc, LPCTSTR lpszOldGroup, LPCTSTR lpszNewGroup);
  19. void MyGetSendToPath(LPTSTR szPath);
  20. void MyGetDeskTopPath(LPTSTR szPath);
  21. void MyGetGroupPath(LPCTSTR szGroupName, LPTSTR szPath);
  22. BOOL MyAddGroup(LPCTSTR szGroupName);
  23. BOOL MyIsGroupEmpty(LPCTSTR szGroupName);
  24. BOOL MyDeleteGroup(LPCTSTR szGroupName);
  25. void MyAddSendToItem(LPCTSTR szItemDesc, LPCTSTR szProgram, LPCTSTR szArgs, LPCTSTR szDir);
  26. void MyDeleteLinkWildcard(TCHAR *szDir, TCHAR *szFileName);
  27. void MyDeleteSendToItem(LPCTSTR szAppName);
  28. void MyAddDeskTopItem(LPCTSTR szItemDesc, LPCTSTR szProgram, LPCTSTR szArgs, LPCTSTR szDir, LPCTSTR szIconPath, int iIconIndex);
  29. void MyDeleteDeskTopItem(LPCTSTR szAppName);
  30. void MyDeleteDeskTopItem2(LPTSTR szSemiColonDelmitedListOfExeNames, BOOL bDeleteItsDirToo);
  31. void MyAddItem(LPCTSTR szGroupName, LPCTSTR szItemDesc, LPCTSTR szProgram, LPCTSTR szArgs, LPCTSTR szDir, LPCTSTR lpszIconPath);
  32. void MyAddItemInfoTip(LPCTSTR szGroupName, LPCTSTR szAppName, LPCTSTR szDescription);
  33. void MyDeleteItem(LPCTSTR szGroupName, LPCTSTR szAppName);
  34. BOOL AddURLShortcutItem( LPCTSTR szGroupName, LPCTSTR szItemDesc, LPCTSTR szURL );
  35. void DeleteFromGroup(LPCTSTR szGroupName, LPTSTR szApplicationExec);