@@ -74,6 +74,9 @@ class IPersistFile(COMInterface):
7474class IShellLinkA (COMInterface ):
7575 IID = generate_IID (0x000214EE , 0x0000 , 0x0000 , 0xC0 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x46 , name = "IShellLinkA" , strid = "000214EE-0000-0000-C000-000000000046" )
7676
77+ class IShellLinkW (COMInterface ):
78+ IID = generate_IID (0x000214F9 , 0x0000 , 0x0000 , 0xC0 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x46 , name = "IShellLinkW" , strid = "000214F9-0000-0000-C000-000000000046" )
79+
7780class IUnknown (COMInterface ):
7881 IID = generate_IID (0x00000000 , 0x0000 , 0x0000 , 0xC0 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x46 , name = "IUnknown" , strid = "00000000-0000-0000-C000-000000000046" )
7982
@@ -684,6 +687,51 @@ class IWbemServices(COMInterface):
684687 "SetPath" : ctypes .WINFUNCTYPE (HRESULT , LPCSTR )(20 , "SetPath" ),
685688 }
686689
690+ IShellLinkW ._functions_ = {
691+ # QueryInterface -> riid:REFIID, ppvObject:**void
692+ "QueryInterface" : ctypes .WINFUNCTYPE (HRESULT , REFIID , POINTER (PVOID ))(0 , "QueryInterface" ),
693+ # AddRef ->
694+ "AddRef" : ctypes .WINFUNCTYPE (ULONG )(1 , "AddRef" ),
695+ # Release ->
696+ "Release" : ctypes .WINFUNCTYPE (ULONG )(2 , "Release" ),
697+ # GetPath -> pszFile:LPWSTR, cch:INT, pfd:*WIN32_FIND_DATAW, fFlags:DWORD
698+ "GetPath" : ctypes .WINFUNCTYPE (HRESULT , LPWSTR , INT , POINTER (WIN32_FIND_DATAW ), DWORD )(3 , "GetPath" ),
699+ # GetIDList -> ppidl:*PIDLIST_ABSOLUTE
700+ "GetIDList" : ctypes .WINFUNCTYPE (HRESULT , POINTER (PIDLIST_ABSOLUTE ))(4 , "GetIDList" ),
701+ # SetIDList -> pidl:PCIDLIST_ABSOLUTE
702+ "SetIDList" : ctypes .WINFUNCTYPE (HRESULT , PCIDLIST_ABSOLUTE )(5 , "SetIDList" ),
703+ # GetDescription -> pszName:LPWSTR, cch:INT
704+ "GetDescription" : ctypes .WINFUNCTYPE (HRESULT , LPWSTR , INT )(6 , "GetDescription" ),
705+ # SetDescription -> pszName:LPCWSTR
706+ "SetDescription" : ctypes .WINFUNCTYPE (HRESULT , LPCWSTR )(7 , "SetDescription" ),
707+ # GetWorkingDirectory -> pszDir:LPWSTR, cch:INT
708+ "GetWorkingDirectory" : ctypes .WINFUNCTYPE (HRESULT , LPWSTR , INT )(8 , "GetWorkingDirectory" ),
709+ # SetWorkingDirectory -> pszDir:LPCWSTR
710+ "SetWorkingDirectory" : ctypes .WINFUNCTYPE (HRESULT , LPCWSTR )(9 , "SetWorkingDirectory" ),
711+ # GetArguments -> pszArgs:LPWSTR, cch:INT
712+ "GetArguments" : ctypes .WINFUNCTYPE (HRESULT , LPWSTR , INT )(10 , "GetArguments" ),
713+ # SetArguments -> pszArgs:LPCWSTR
714+ "SetArguments" : ctypes .WINFUNCTYPE (HRESULT , LPCWSTR )(11 , "SetArguments" ),
715+ # GetHotkey -> pwHotkey:*WORD
716+ "GetHotkey" : ctypes .WINFUNCTYPE (HRESULT , POINTER (WORD ))(12 , "GetHotkey" ),
717+ # SetHotkey -> wHotkey:WORD
718+ "SetHotkey" : ctypes .WINFUNCTYPE (HRESULT , WORD )(13 , "SetHotkey" ),
719+ # GetShowCmd -> piShowCmd:*INT
720+ "GetShowCmd" : ctypes .WINFUNCTYPE (HRESULT , POINTER (INT ))(14 , "GetShowCmd" ),
721+ # SetShowCmd -> iShowCmd:INT
722+ "SetShowCmd" : ctypes .WINFUNCTYPE (HRESULT , INT )(15 , "SetShowCmd" ),
723+ # GetIconLocation -> pszIconPath:LPWSTR, cch:INT, piIcon:*INT
724+ "GetIconLocation" : ctypes .WINFUNCTYPE (HRESULT , LPWSTR , INT , POINTER (INT ))(16 , "GetIconLocation" ),
725+ # SetIconLocation -> pszIconPath:LPCWSTR, iIcon:INT
726+ "SetIconLocation" : ctypes .WINFUNCTYPE (HRESULT , LPCWSTR , INT )(17 , "SetIconLocation" ),
727+ # SetRelativePath -> pszPathRel:LPCWSTR, dwReserved:DWORD
728+ "SetRelativePath" : ctypes .WINFUNCTYPE (HRESULT , LPCWSTR , DWORD )(18 , "SetRelativePath" ),
729+ # Resolve -> hwnd:HWND, fFlags:DWORD
730+ "Resolve" : ctypes .WINFUNCTYPE (HRESULT , HWND , DWORD )(19 , "Resolve" ),
731+ # SetPath -> pszFile:LPCWSTR
732+ "SetPath" : ctypes .WINFUNCTYPE (HRESULT , LPCWSTR )(20 , "SetPath" ),
733+ }
734+
687735IUnknown ._functions_ = {
688736 # QueryInterface -> riid:REFIID, ppvObject:**void
689737 "QueryInterface" : ctypes .WINFUNCTYPE (HRESULT , REFIID , POINTER (PVOID ))(0 , "QueryInterface" ),
0 commit comments