Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1.2 and tip

stable shellext: use STDMETHOD for method prototypes

Changeset 6f32582eec57

Parent a2ff4157e207

by David Golub

Changes to 3 files · Browse files at 6f32582eec57 Showing diff from parent a2ff4157e207 Diff from another changeset...

 
48
49
50
51
 
52
53
54
55
 
 
56
57
58
59
 
 
60
61
62
63
 
64
65
66
 
48
49
50
 
51
52
53
 
 
54
55
56
57
 
 
58
59
60
61
62
 
63
64
65
66
@@ -48,19 +48,19 @@
  DECLARE_UNKNOWN()     // IContextMenu3 - STDMETHODIMP QueryContextMenu( + STDMETHOD(QueryContextMenu)(   HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast,   UINT uFlags); - STDMETHODIMP InvokeCommand(LPCMINVOKECOMMANDINFO lpcmi); - STDMETHODIMP GetCommandString( + STDMETHOD(InvokeCommand)(LPCMINVOKECOMMANDINFO lpcmi); + STDMETHOD(GetCommandString)(   UINT_PTR idCmd, UINT uFlags, UINT FAR* reserved,LPSTR pszName,   UINT cchMax); - STDMETHODIMP HandleMenuMsg(UINT uMsg, WPARAM wParam, LPARAM lParam); - STDMETHODIMP HandleMenuMsg2( + STDMETHOD(HandleMenuMsg)(UINT uMsg, WPARAM wParam, LPARAM lParam); + STDMETHOD(HandleMenuMsg2)(   UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT* pResult);     // IShellExtInit - STDMETHODIMP Initialize( + STDMETHOD(Initialize)(   LPCITEMIDLIST pIDFolder, LPDATAOBJECT pDataObj, HKEY hKeyID);  };  
 
16
17
18
19
 
20
21
22
23
24
 
25
26
27
 
16
17
18
 
19
20
21
22
23
 
24
25
26
27
@@ -16,12 +16,12 @@
  ~CShellExtDnd();     // IContextMenu3 - STDMETHODIMP QueryContextMenu( + STDMETHOD(QueryContextMenu)(   HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast,   UINT uFlags);     // IShellExtInit - STDMETHODIMP Initialize( + STDMETHOD(Initialize)(   LPCITEMIDLIST pIDFolder, LPDATAOBJECT pDataObj, HKEY hKeyID);  };  
 
14
15
16
17
 
18
19
20
 
 
21
22
23
 
14
15
16
 
17
18
 
 
19
20
21
22
23
@@ -14,10 +14,10 @@
  DECLARE_UNKNOWN()     // IShellIconOverlayIdentifier - STDMETHODIMP GetOverlayInfo( + STDMETHOD(GetOverlayInfo)(   LPWSTR pwszIconFile, int cchMax, int* pIndex, DWORD* pdwFlags); - STDMETHODIMP GetPriority(int* pPriority); - STDMETHODIMP IsMemberOf(LPCWSTR pwszPath, DWORD dwAttrib); + STDMETHOD(GetPriority)(int* pPriority); + STDMETHOD(IsMemberOf)(LPCWSTR pwszPath, DWORD dwAttrib);  };