// // lnk - Shell link tool. // #ifndef Lnk_h #define Lnk_h #include #include class ShellLinkData { public: ShellLinkData(); ~ShellLinkData(); BOOL Init(LPCSTR path, LPCSTR link = NULL); BOOL SetArguments(LPCSTR arg); BOOL SetDirectory(LPCSTR dir); BOOL SetDescription(LPCSTR desc); BOOL SetIcon(LPCSTR path, int index); BOOL SetShowCommand(int show); BOOL SetHotkey(WORD key); BOOL Register(); private: LPSTR _path; LPWSTR _linkw; LPSTR _desc; LPSTR _arg; LPSTR _dir; LPSTR _iconp; int _iconx; int _show; WORD _hotkey; }; #endif