MCPcopy Create free account
hub / github.com/enthought/comtypes / IShellLinkW

Class IShellLinkW

comtypes/shelllink.py:202–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201
202class IShellLinkW(IUnknown):
203 _iid_ = GUID("{000214F9-0000-0000-C000-000000000046}")
204 _methods_ = [
205 COMMETHOD(
206 [],
207 HRESULT,
208 "GetPath",
209 (["in", "out"], c_wchar_p, "pszFile"),
210 (["in"], c_int, "cchMaxPath"),
211 (["in", "out"], POINTER(WIN32_FIND_DATAW), "pfd"),
212 (["in"], DWORD, "fFlags"),
213 ),
214 COMMETHOD(
215 [],
216 HRESULT,
217 "GetIDList",
218 (["retval", "out"], POINTER(LPITEMIDLIST), "ppidl"),
219 ),
220 COMMETHOD([], HRESULT, "SetIDList", (["in"], LPCITEMIDLIST, "pidl")),
221 COMMETHOD(
222 [],
223 HRESULT,
224 "GetDescription",
225 (["in", "out"], c_wchar_p, "pszName"),
226 (["in"], c_int, "cchMaxName"),
227 ),
228 COMMETHOD([], HRESULT, "SetDescription", (["in"], c_wchar_p, "pszName")),
229 COMMETHOD(
230 [],
231 HRESULT,
232 "GetWorkingDirectory",
233 (["in", "out"], c_wchar_p, "pszDir"),
234 (["in"], c_int, "cchMaxPath"),
235 ),
236 COMMETHOD([], HRESULT, "SetWorkingDirectory", (["in"], c_wchar_p, "pszDir")),
237 COMMETHOD(
238 [],
239 HRESULT,
240 "GetArguments",
241 (["in", "out"], c_wchar_p, "pszArgs"),
242 (["in"], c_int, "cchMaxPath"),
243 ),
244 COMMETHOD([], HRESULT, "SetArguments", (["in"], c_wchar_p, "pszArgs")),
245 COMMETHOD(
246 ["propget"],
247 HRESULT,
248 "Hotkey",
249 (["retval", "out"], POINTER(c_short), "pwHotkey"),
250 ),
251 COMMETHOD(["propput"], HRESULT, "Hotkey", (["in"], c_short, "pwHotkey")),
252 COMMETHOD(
253 ["propget"],
254 HRESULT,
255 "ShowCmd",
256 (["retval", "out"], POINTER(c_int), "piShowCmd"),
257 ),
258 COMMETHOD(["propput"], HRESULT, "ShowCmd", (["in"], c_int, "piShowCmd")),
259 COMMETHOD(

Callers

nothing calls this directly

Calls 2

GUIDClass · 0.90
COMMETHODFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…