Skip to content

Commit

Permalink
Fixed some function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrsatrio committed Sep 1, 2024
1 parent 971a3f2 commit 6abfd41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion SimpleWindowSwitcher/sws_WindowHelpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ BOOL CALLBACK sws_WindowHelpers_AddAltTabWindowsToTimeStampedHWNDList(HWND hWnd,
{
return FALSE;
}
if (sws_WindowHelpers_IsAltTabWindow(hWnd, NULL))
if (sws_WindowHelpers_IsAltTabWindow(hWnd))
{
sws_tshwnd* tshWnd = malloc(sizeof(sws_tshwnd));
if (tshWnd)
Expand Down
14 changes: 7 additions & 7 deletions SimpleWindowSwitcher/sws_WindowHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,21 @@ typedef struct IAppResolver_8Vtbl
BEGIN_INTERFACE

HRESULT(STDMETHODCALLTYPE* QueryInterface)(
sws_IInputSwitchControl* This,
IAppResolver_8* This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void** ppvObject);

ULONG(STDMETHODCALLTYPE* AddRef)(
sws_IInputSwitchControl* This);
IAppResolver_8* This);

ULONG(STDMETHODCALLTYPE* Release)(
sws_IInputSwitchControl* This);
IAppResolver_8* This);

HRESULT (STDMETHODCALLTYPE* GetAppIDForShortcut)();
HRESULT (STDMETHODCALLTYPE* GetAppIDForShortcutObject)();
HRESULT (STDMETHODCALLTYPE* GetAppIDForWindow)(HWND hWnd, WCHAR** pszAppId, void* pUnknown1, void* pUnknown2, void* pUnknown3);
HRESULT (STDMETHODCALLTYPE* GetAppIDForProcess)(DWORD dwProcessId, WCHAR** pszAppId, void* pUnknown1, void* pUnknown2, void* pUnknown3);
HRESULT (STDMETHODCALLTYPE* GetAppIDForShortcut)(IAppResolver_8* This);
HRESULT (STDMETHODCALLTYPE* GetAppIDForShortcutObject)(IAppResolver_8* This);
HRESULT (STDMETHODCALLTYPE* GetAppIDForWindow)(IAppResolver_8* This, HWND hWnd, WCHAR** pszAppId, int* pUnknown1, int* pUnknown2, int* pUnknown3);
HRESULT (STDMETHODCALLTYPE* GetAppIDForProcess)(IAppResolver_8* This, DWORD dwProcessId, WCHAR** pszAppId, int* pUnknown1, int* pUnknown2, int* pUnknown3);

END_INTERFACE
} IAppResolver_8Vtbl;
Expand Down

0 comments on commit 6abfd41

Please sign in to comment.