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.

59 lines
1.6 KiB

  1. /*
  2. * File: open_msc.h - stuff for calling Common Open Dialog
  3. *
  4. * Copyright 1991 by Hilgraeve Inc. -- Monroe, MI
  5. * All rights reserved
  6. *
  7. * $Revision: 4 $
  8. * $Date: 3/26/02 8:54a $
  9. */
  10. #if !defined(OPEN_MSC_H)
  11. #define OPEN_MSC_H
  12. // Typedef for open file name common dialog callback - mrw
  13. typedef UINT (CALLBACK *OFNPROC)(HWND, UINT, WPARAM, LPARAM);
  14. /* -------------- Function prototypes ------------- */
  15. // extern VOID phbkCallOpenDialog(HWND hwnd);
  16. // extern VOID phbkCallRemoveDialog(HWND hwnd);
  17. // extern VOID phbkCallDuplicateDialog(HWND hwnd);
  18. // extern VOID phbkCallConnectDialog(HWND hwnd);
  19. // extern BOOL phbkCallConnectSpecialDialog(HWND hwnd);
  20. // extern BOOL phbkConnectSpecialDlg(HWND hwnd);
  21. // extern VOID gnrcCallRunScriptDialog(HWND hwnd, HSESSION hSession);
  22. // extern VOID gnrcCallEditScriptDialog(HWND hwnd, HSESSION hSession);
  23. // extern INT xferSendBrowseDialog(HWND hwnd, HSESSION hSession,
  24. // struct stSendDlgStuff FAR *pstSnd);
  25. extern LPTSTR gnrcFindFileDialog(HWND hwnd,
  26. LPCTSTR pszTitle,
  27. LPCTSTR pszDirectory,
  28. LPCTSTR pszMasks);
  29. extern LPTSTR gnrcSaveFileDialog(HWND hwnd,
  30. LPCTSTR pszTitle,
  31. LPCTSTR pszDirectory,
  32. LPCTSTR pszMasks,
  33. LPCTSTR pszInitName);
  34. extern LPTSTR gnrcFindDirectoryDialog(HWND hwnd,
  35. HSESSION hSession,
  36. LPTSTR pszDirectory);
  37. extern DWORD GetUserDirectory(LPTSTR pszUserDir, DWORD dwSize);
  38. extern void CreateUserDirectory(void);
  39. extern DWORD GetWorkingDirectory(LPTSTR pszUserDir, DWORD dwSize);
  40. #endif