[SHELL32_NEW]
[reactos.git] / include / psdk / shlwapi_undoc.h
1 /*
2 * ReactOS shlwapi
3 *
4 * Copyright 2009 Andrew Hill <ash77 at domain reactos.org>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21 #ifndef __SHLWAPI_UNDOC_H
22 #define __SHLWAPI_UNDOC_H
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif /* defined(__cplusplus) */
27
28 struct IEThreadParamBlock
29 {
30 long offset0;
31 long offset4;
32 long offset8;
33 IUnknown *offsetC;
34 long offset10;
35 IUnknown *offset14;
36 LPITEMIDLIST directoryPIDL;
37 char filler1[84]; // unknown contents
38 IUnknown *offset70;
39 long filler2; // unknown contents
40 IUnknown *offset78;
41 LPITEMIDLIST offset7C;
42 LPITEMIDLIST offset80;
43 char filler3[116]; // unknown contents
44 IUnknown *offsetF8; // instance explorer
45 long filler4; // unknown contents
46 };
47
48 BOOL WINAPI SHAboutInfoA(LPSTR lpszDest, DWORD dwDestLen);
49 BOOL WINAPI SHAboutInfoW(LPWSTR lpszDest, DWORD dwDestLen);
50 HRESULT WINAPI IUnknown_QueryStatus(IUnknown *lpUnknown, REFGUID pguidCmdGroup, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT* pCmdText);
51 HRESULT WINAPI IUnknown_Exec(IUnknown* lpUnknown, REFGUID pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT* pvaIn, VARIANT* pvaOut);
52 LONG WINAPI SHSetWindowBits(HWND hwnd, INT offset, UINT wMask, UINT wFlags);
53 HWND WINAPI SHSetParentHwnd(HWND hWnd, HWND hWndParent);
54 HRESULT WINAPI ConnectToConnectionPoint(IUnknown *lpUnkSink, REFIID riid, BOOL bAdviseOnly, IUnknown *lpUnknown, LPDWORD lpCookie, IConnectionPoint **lppCP);
55 DWORD WINAPI IUnknown_AtomicRelease(IUnknown **lpUnknown);
56 BOOL WINAPI SHIsSameObject(IUnknown *lpInt1, IUnknown *lpInt2);
57 HRESULT WINAPI IUnknown_GetWindow(IUnknown *lpUnknown, HWND *lphWnd);
58 HRESULT WINAPI IUnknown_SetOwner(IUnknown *pUnk, ULONG arg);
59 HRESULT WINAPI IUnknown_SetSite(IUnknown *obj, IUnknown *site);
60 HRESULT WINAPI IUnknown_GetClassID(IUnknown *lpUnknown, CLSID *lpClassId);
61 HRESULT WINAPI IUnknown_QueryService(IUnknown* lpUnknown, REFGUID sid, REFIID riid, LPVOID *lppOut);
62 HRESULT WINAPI IUnknown_UIActivateIO(IUnknown *unknown, BOOL activate, LPMSG msg);
63 BOOL WINAPI SHLoadMenuPopup(HINSTANCE hInst, LPCWSTR szName);
64 void WINAPI SHPropagateMessage(HWND hWnd, UINT uiMsgId, WPARAM wParam, LPARAM lParam, BOOL bSend);
65 DWORD WINAPI SHRemoveAllSubMenus(HMENU hMenu);
66 UINT WINAPI SHEnableMenuItem(HMENU hMenu, UINT wItemID, BOOL bEnable);
67 DWORD WINAPI SHCheckMenuItem(HMENU hMenu, UINT uID, BOOL bCheck);
68 DWORD WINAPI SHRegisterClassA(WNDCLASSA *wndclass);
69 BOOL WINAPI SHSimulateDrop(IDropTarget *pDrop, IDataObject *pDataObj, DWORD grfKeyState, PPOINTL lpPt, DWORD* pdwEffect);
70 HRESULT WINAPI IUnknown_TranslateAcceleratorOCS(IUnknown *lpUnknown, LPMSG lpMsg, DWORD dwModifiers);
71 HRESULT WINAPI IUnknown_OnFocusOCS(IUnknown *lpUnknown, BOOL fGotFocus);
72 HRESULT WINAPI IUnknown_HandleIRestrict(LPUNKNOWN lpUnknown, PVOID lpArg1, PVOID lpArg2, PVOID lpArg3, PVOID lpArg4);
73 HMENU WINAPI SHGetMenuFromID(HMENU hMenu, UINT uID);
74 DWORD WINAPI SHGetCurColorRes();
75 DWORD WINAPI SHWaitForSendMessageThread(HANDLE hand, DWORD dwTimeout);
76 HRESULT WINAPI SHIsExpandableFolder(LPSHELLFOLDER lpFolder, LPCITEMIDLIST pidl);
77 DWORD WINAPI SHFillRectClr(HDC hDC, LPCRECT pRect, COLORREF cRef);
78 int WINAPI SHSearchMapInt(const int *lpKeys, const int *lpValues, int iLen, int iKey);
79 VOID WINAPI IUnknown_Set(IUnknown **lppDest, IUnknown *lpUnknown);
80 HRESULT WINAPI MayQSForward(IUnknown* lpUnknown, PVOID lpReserved, REFGUID riidCmdGrp, ULONG cCmds, OLECMD *prgCmds, OLECMDTEXT *pCmdText);
81 HRESULT WINAPI MayExecForward(IUnknown* lpUnknown, INT iUnk, REFGUID pguidCmdGroup, DWORD nCmdID, DWORD nCmdexecopt, VARIANT *pvaIn, VARIANT *pvaOut);
82 HRESULT WINAPI IsQSForward(REFGUID pguidCmdGroup,ULONG cCmds, OLECMD *prgCmds);
83 BOOL WINAPI SHIsChildOrSelf(HWND hParent, HWND hChild);
84
85 void WINAPI InitOCHostClass(long param8);
86 long WINAPI SHOpenFolderWindow(IEThreadParamBlock *param8);
87 void WINAPI SHCreateSavedWindows();
88 long WINAPI SHCreateFromDesktop(long param8);
89 long WINAPI SHExplorerParseCmdLine(LPCTSTR commandLine);
90 void WINAPI UEMRegisterNotify(long param8, long paramC);
91 HRESULT WINAPI SHCreateBandForPidl(LPCITEMIDLIST param8, IUnknown *paramC, BOOL param10);
92 HRESULT WINAPI SHPidlFromDataObject(IDataObject *param8, long *paramC, long param10, FILEDESCRIPTORW *param14);
93 long WINAPI IDataObject_GetDeskBandState(long param8);
94 IEThreadParamBlock *WINAPI SHCreateIETHREADPARAM(long param8, long paramC, IUnknown *param10, IUnknown *param14);
95 IEThreadParamBlock *WINAPI SHCloneIETHREADPARAM(IEThreadParamBlock *param);
96 long WINAPI SHParseIECommandLine(long param8, long paramC);
97 void WINAPI SHDestroyIETHREADPARAM(IEThreadParamBlock *param);
98 HRESULT WINAPI SHOnCWMCommandLine(long param8);
99 LPITEMIDLIST WINAPI Channel_GetFolderPidl();
100 IUnknown *WINAPI ChannelBand_Create(LPITEMIDLIST pidl);
101 HRESULT WINAPI Channels_SetBandInfoSFB(IUnknown *param8);
102 HRESULT WINAPI IUnknown_SetBandInfoSFB(IUnknown *param8, long paramC);
103 HRESULT WINAPI Channel_QuickLaunch();
104 HRESULT WINAPI SHGetNavigateTarget(long param8, long paramC, long param10, long param14);
105 HRESULT WINAPI GetInfoTip(IUnknown *param8, long paramC, LPTSTR *param10, long cchMax);
106 HRESULT WINAPI SHEnumClassesOfCategories(long param8, long paramC, long param10, long param14, long param18);
107 HRESULT WINAPI SHWriteClassesOfCategories(long param8, long paramC, long param10, long param14, long param18, long param1C, long param20);
108 BOOL WINAPI SHIsExplorerBrowser();
109 HRESULT WINAPI SHOpenNewFrame(LPITEMIDLIST pidl, IUnknown *paramC, long param10, long param14);
110
111 #ifdef __cplusplus
112 } /* extern "C" */
113 #endif /* defined(__cplusplus) */
114
115 #endif /* __SHLWAPI_UNDOC_H */