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.2 KiB

  1. /* Copyright (c) 1996, Microsoft Corporation, all rights reserved
  2. **
  3. ** rnk.h
  4. ** Remote Access shortcut file (.RNK) library
  5. ** Public header
  6. **
  7. ** 02/15/96 Steve Cobb
  8. */
  9. #ifndef _RNK_H_
  10. #define _RNK_H_
  11. /*----------------------------------------------------------------------------
  12. ** Constants
  13. **----------------------------------------------------------------------------
  14. */
  15. #define RNK_SEC_Main "Dial-Up Shortcut"
  16. #define RNK_KEY_Phonebook "Phonebook"
  17. #define RNK_KEY_Entry "Entry"
  18. /*----------------------------------------------------------------------------
  19. ** Datatypes
  20. **----------------------------------------------------------------------------
  21. */
  22. /* Information read from the .RNK file.
  23. */
  24. #define RNKINFO struct tagRNKINFO
  25. RNKINFO
  26. {
  27. TCHAR* pszPhonebook;
  28. TCHAR* pszEntry;
  29. };
  30. /*----------------------------------------------------------------------------
  31. ** Prototypes
  32. **----------------------------------------------------------------------------
  33. */
  34. VOID
  35. FreeRnkInfo(
  36. IN RNKINFO* pInfo );
  37. RNKINFO*
  38. ReadShortcutFile(
  39. IN TCHAR* pszRnkPath );
  40. DWORD
  41. WriteShortcutFile(
  42. IN TCHAR* pszRnkPath,
  43. IN TCHAR* pszPbkPath,
  44. IN TCHAR* pszEntry );
  45. #endif // _RNK_H_