Author: hbelusca
Date: Tue Jan 17 15:16:06 2017
New Revision: 73566
URL:
http://svn.reactos.org/svn/reactos?rev=73566&view=rev
Log:
[INCLUDES]: Add in shlwapi_undoc.h the exported-by-ordinal-only shlwapi functions
SH[Add|Remove|Find]DataBlock, SH[Write|Read|Free]DataBlockList, and
SHExpandEnvironmentStrings[ForUser]A/W . Will be used later.
CORE-12682
Modified:
trunk/reactos/sdk/include/reactos/shlwapi_undoc.h
Modified: trunk/reactos/sdk/include/reactos/shlwapi_undoc.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/shlwap…
==============================================================================
--- trunk/reactos/sdk/include/reactos/shlwapi_undoc.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/shlwapi_undoc.h [iso-8859-1] Tue Jan 17 15:16:06
2017
@@ -54,6 +54,34 @@
HRESULT WINAPI SHForwardContextMenuMsg(IUnknown* pUnk, UINT uMsg, WPARAM wParam, LPARAM
lParam, LRESULT* pResult, BOOL useIContextMenu2);
+BOOL WINAPI SHAddDataBlock(LPDBLIST* lppList, const DATABLOCK_HEADER *lpNewItem);
+BOOL WINAPI SHRemoveDataBlock(LPDBLIST* lppList, DWORD dwSignature);
+DATABLOCK_HEADER* WINAPI SHFindDataBlock(LPDBLIST lpList, DWORD dwSignature);
+HRESULT WINAPI SHWriteDataBlockList(IStream* lpStream, LPDBLIST lpList);
+HRESULT WINAPI SHReadDataBlockList(IStream* lpStream, LPDBLIST* lppList);
+VOID WINAPI SHFreeDataBlockList(LPDBLIST lpList);
+
+/* Redirected to kernel32.ExpandEnvironmentStringsA/W */
+DWORD WINAPI SHExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD);
+DWORD WINAPI SHExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD);
+#ifdef UNICODE
+#define SHExpandEnvironmentStrings SHExpandEnvironmentStringsW
+#else
+#define SHExpandEnvironmentStrings SHExpandEnvironmentStringsA
+#endif
+
+/* Redirected to userenv.ExpandEnvironmentStringsForUserA/W */
+#if (WINVER >= 0x0500)
+BOOL WINAPI SHExpandEnvironmentStringsForUserA(HANDLE, LPCSTR, LPSTR, DWORD);
+BOOL WINAPI SHExpandEnvironmentStringsForUserW(HANDLE, LPCWSTR, LPWSTR, DWORD);
+#ifdef UNICODE
+#define SHExpandEnvironmentStringsForUser SHExpandEnvironmentStringsForUserW
+#else
+#define SHExpandEnvironmentStringsForUser SHExpandEnvironmentStringsForUserA
+#endif
+#endif
+
+
BOOL WINAPI SHIsEmptyStream(IStream*);
HRESULT WINAPI SHInvokeDefaultCommand(HWND,IShellFolder*,LPCITEMIDLIST);
HRESULT WINAPI SHPropertyBag_ReadPOINTL(IPropertyBag*,LPCWSTR,POINTL*);