|
ReactOS 0.4.17-dev-343-gb35a9be
|
#include <stdarg.h>#include "windef.h"#include "winbase.h"#include "wingdi.h"#include "winuser.h"#include "initguid.h"#include "ocidl.h"#include "featurestagingapi.h"#include "shellscalingapi.h"#include "shcore.h"#include "shlwapi.h"#include "wine/debug.h"
Go to the source code of this file.
Classes | |
| struct | shstream |
| struct | threadref |
| struct | thread_data |
Macros | |
| #define | COBJMACROS |
| #define | WINSHLWAPI |
| #define | ISOS_RETURN(x) |
Variables | |
| static DWORD | shcore_tls |
| static IUnknown * | process_ref |
| static const IStreamVtbl | memstreamvtbl |
| static const IStreamVtbl | filestreamvtbl |
| static const IStreamVtbl | regstreamvtbl |
| static const IStreamVtbl | dummystreamvtbl |
| static struct shstream | dummyregstream = { { &dummystreamvtbl } } |
| static const IUnknownVtbl | threadrefvtbl |
Definition at line 294 of file main.c.
Referenced by _tmain(), CmdDebugService(), command_line_to_args(), DisplayApplet(), DoEntry(), get_utf8_args(), main(), ParseCmdAndExecute(), CCleanMgrModule::ParseCommandLine(), PrintUIEntryW(), ProcessCmdLine(), ProcessCommandLine(), test_commandline2argv(), test_one_cmdline(), and wWinMain().
| HRESULT WINAPI CreateRandomAccessStreamOverStream | ( | IStream * | stream, |
| BSOS_OPTIONS | options, | ||
| REFIID | riid, | ||
| void ** | ppv | ||
| ) |
Definition at line 43 of file main.c.
|
static |
Definition at line 990 of file main.c.
|
static |
|
static |
|
static |
Definition at line 964 of file main.c.
Definition at line 1040 of file main.c.
|
static |
Definition at line 919 of file main.c.
| FEATURE_ENABLED_STATE WINAPI GetFeatureEnabledState | ( | UINT32 | feature, |
| FEATURE_CHANGE_TIME | change_time | ||
| ) |
| HRESULT WINAPI GetProcessDpiAwareness | ( | HANDLE | process, |
| PROCESS_DPI_AWARENESS * | value | ||
| ) |
Definition at line 64 of file main.c.
Definition at line 1546 of file main.c.
Referenced by init(), and SHCreateThread().
| DEVICE_SCALE_FACTOR WINAPI GetScaleFactorForDevice | ( | DISPLAY_DEVICE_TYPE | device_type | ) |
| HRESULT WINAPI GetScaleFactorForMonitor | ( | HMONITOR | monitor, |
| DEVICE_SCALE_FACTOR * | scale | ||
| ) |
Definition at line 549 of file main.c.
Referenced by filestream_CopyTo(), filestream_Read(), filestream_Release(), filestream_Seek(), filestream_SetSize(), filestream_Stat(), filestream_Write(), memstream_Read(), memstream_Release(), memstream_Seek(), memstream_SetSize(), memstream_Stat(), memstream_Write(), regstream_Release(), shstream_AddRef(), shstream_Clone(), shstream_CopyTo(), shstream_LockRegion(), shstream_QueryInterface(), shstream_Revert(), and shstream_UnlockRegion().
Definition at line 2392 of file main.c.
Referenced by CDefView::GetDefaultViewMode(), CShellDispatch::GetSetting(), CShellDispatch::GetSystemInformation(), InitializeServerAdminUI(), IsSystem64Bit(), and CControlPanelFolder::MessageSFVCB().
| HRESULT WINAPI IStream_Size | ( | IStream * | stream, |
| ULARGE_INTEGER * | size | ||
| ) |
Definition at line 120 of file main.c.
Referenced by CDesktopUpgradePropertyBag::_GetOldDesktopViewStream(), CRegPropertyBag::_GetStreamSize(), CDesktopUpgradePropertyBag::_NewStreamFromOld(), and init().
Definition at line 161 of file main.c.
Referenced by CMenuDeskBar::_IsSubMenuParent(), CShellMenuCallback::OnInitMenu(), and CMenuFocusManager::UpdateFocus().
Definition at line 181 of file main.c.
Referenced by CDefViewBckgrndMenu::_bIsDesktopBrowserMenu(), CExplorerBand::_CreateTreeView(), CExplorerBand::_DestroyTreeView(), CDefView::_MergeToolbar(), CMenuDeskBar::_OnActivate(), CDefaultContextMenu::BrowserFlagsFromVerb(), CDefaultContextMenu::DoCopyOrCut(), CDefaultContextMenu::DoCreateNewFolder(), CDefaultContextMenu::DoRename(), CFSDropTarget::Drop(), CMenuDeskBar::Exec(), CAddressEditBox::Execute(), CBandProxy::FindBrowserWindow(), CAddressEditBox::GetAbsolutePidl(), CShellBrowser::GetMenuBand(), CSearchBar::GetSearchResultsFolder(), CRegTreeOptions::GetSetState(), CFolderOptions::HandleDefFolderSettings(), CAddressEditBox::Init(), CDefViewBckgrndMenu::InvokeCommand(), CNetConUiObject::InvokeCommand(), CAddressBand::IsGoButtonVisible(), CMenuFocusManager::IsTrackedWindowOrParent(), IUnknown_QueryServiceForWebBrowserApp(), IUnknown_QueryServicePropertyBag(), CFindFolder::MessageSFVCB(), CSearchBar::OnInitDialog(), CInternetToolbar::OnMenuDropDown(), CSearchBar::OnSearchButtonClicked(), CInternetToolbar::OnTravelBack(), CInternetToolbar::OnTravelForward(), CAddressEditBox::ParseNow(), CMenuDeskBar::Popup(), QueryActiveShellView(), CInternetToolbar::QueryService(), CDefView::QueryService(), CMenuDeskBar::QueryService(), CMenuSite::QueryService(), CDefaultContextMenu::QueryService(), CNewMenu::SelectNewItem(), CAddressEditBox::SetOwner(), CInternetToolbar::SetSite(), CMenuBand::SetSite(), CMenuDeskBar::SetSite(), SHShouldShowWizards(), CDefaultContextMenu::TryToBrowse(), and CMenuBand::UIActivateIO().
Definition at line 209 of file main.c.
Referenced by Free(), and CFindFolderContextMenu::SetSite().
Definition at line 222 of file main.c.
Referenced by CMenuBand::_OnPopupSubMenu(), CMenuSite::AddBand(), CShellBrowser::BrowseToPath(), CreateStartMenu(), DCMA_DestroyEntry(), DCMA_InsertMenuItems(), CShellBrowser::DoFolderOptions(), CDefView::drag_notify_subitem(), CDefView::FillFileMenu(), CShellBrowser::GetBaseBar(), CDefView::GetItemObject(), CShellBrowser::Initialize(), CDockSite::Initialize(), CDefView::InvokeContextMenuCommand(), CDefaultContextMenu::LoadDynamicContextMenuHandler(), CDefView::OnDestroy(), CMenuBand::SetClient(), CMenuSite::SetDeskBarSite(), CFindFolderContextMenu::SetSite(), CDefViewBckgrndMenu::SetSite(), SHInvokeCommandOnContextMenuInternal(), SHInvokeCommandsOnContextMenu(), CDefaultContextMenu::~CDefaultContextMenu(), and MenuCleanup::~MenuCleanup().
|
static |
|
static |
Definition at line 655 of file main.c.
|
static |
Definition at line 790 of file main.c.
|
static |
Definition at line 627 of file main.c.
Definition at line 1219 of file main.c.
| HRESULT WINAPI SetProcessDpiAwareness | ( | PROCESS_DPI_AWARENESS | value | ) |
Definition at line 70 of file main.c.
Referenced by set_dpi_aware().
Definition at line 1801 of file main.c.
Referenced by CDefaultContextMenu::_DoInvokeCommandCallback(), CheckEscapesA(), CShellLink::DoOpen(), CCopyMoveToMenu::GetCommandString(), CDefaultContextMenu::GetCommandString(), init(), CRegTreeOptions::InitTree(), CStartMenuBtnCtxMenu::InvokeCommand(), CDefView::InvokeContextMenuCommand(), IsLFNDriveA(), MakeShellURLFromPathA(), CDefaultContextMenu::MapVerbToCmdId(), PathIsTemporaryA(), PathQualifyA(), PathResolveA(), SHChangeNotify(), SHELL_GetCommandStringImpl(), SHGetFileDescriptionA(), SHInvokeCommandOnContextMenuInternal(), SHUpdateImageA(), ZoneCheckPathA(), ZoneCheckUrlA(), ZoneCheckUrlExA(), and ZoneCheckUrlExCacheA().
Definition at line 1950 of file main.c.
Referenced by init().
Definition at line 1968 of file main.c.
Referenced by COpenWithList::SetDefaultHandler(), SHCopyKeyA(), and SHCopyKeyW().
Definition at line 1582 of file main.c.
Referenced by SHCreateThread().
Definition at line 873 of file main.c.
Referenced by CDesktopUpgradePropertyBag::_NewStreamFromOld(), CRegPropertyBag::_ReadStream(), create_decoder(), MSSTYLES_TryLoadPng(), CDefView::SaveViewState(), SHPropertyBag_OnRegKey(), test_load(), test_persiststream(), Test_Read_EmptyStream(), Test_Read_MissingTerminator(), Test_Read_OutputNullOnFailure(), Test_Read_TooSmallCbSize(), Test_Read_TruncatedData(), Test_RoundTrip_EmptyPidl(), Test_RoundTrip_MultiItemPidl(), Test_RoundTrip_SimplePidl(), test_SHCreateMemStream(), test_transformNodeToObject(), and Test_Write_StreamPosition().
Definition at line 1196 of file main.c.
Referenced by init(), and test_SHCreateStreamOnFileA().
| HRESULT WINAPI SHCreateStreamOnFileEx | ( | const WCHAR * | path, |
| DWORD | mode, | ||
| DWORD | attributes, | ||
| BOOL | create, | ||
| IStream * | template, | ||
| IStream ** | ret | ||
| ) |
Definition at line 1097 of file main.c.
Referenced by DoLoadPicture(), OpenStreamOnFile(), SHCreateStreamOnFileW(), test_SHCreateStreamOnFileEx(), and test_SHCreateStreamOnFileEx_CopyTo().
Definition at line 1180 of file main.c.
Referenced by dump_stream_to_file(), GdipCreateStreamOnFile(), IWICStreamImpl_InitializeFromFilename(), CShellLink::Load(), Open(), CShellLink::Save(), SHCreateStreamOnFileA(), and test_SHCreateStreamOnFileW().
| BOOL WINAPI SHCreateThread | ( | LPTHREAD_START_ROUTINE | thread_proc, |
| void * | data, | ||
| DWORD | flags, | ||
| LPTHREAD_START_ROUTINE | callback | ||
| ) |
Definition at line 1628 of file main.c.
Referenced by CRecyclerDropTarget::_DoDeleteAsync(), DoFormatDriveAsync(), CFSDropTarget::Drop(), EnableCommandIfVerbExists(), CCabFolder::ExtractFilesUI(), FormatDriveDlg(), CTrayWindow::HandleCommand(), CFileDefExt::InitFileAttr(), CFileDefExt::InitMultifilePage(), InstallDlgProc(), ShellPropSheetDialog::ShowAsync(), ShowFolderOptionsDialog(), CFindFolder::StartSearch(), and UIDlgProc().
Definition at line 1478 of file main.c.
Referenced by SHCreateFromDesktop().
Definition at line 1868 of file main.c.
Definition at line 1840 of file main.c.
Referenced by SHDeleteEmptyKeyA().
Definition at line 1896 of file main.c.
Referenced by delete_key(), init(), test_getstring_no_extra(), test_SHCopyKey(), test_SHDeleteKey(), and testRegStore().
Definition at line 1886 of file main.c.
Referenced by CMruNode::_DeleteValue(), CleanupRegistry(), DeleteExt(), EditTypeDlg_WriteClass(), HandleMruData(), MRUList_DataList(), MRUList_PidlList(), PNP_DeleteClassKey(), and SHAddToRecentDocs().
Definition at line 1926 of file main.c.
Referenced by test_objecttag(), UnregisterExtensionForMIMETypeA(), and UnregisterMIMETypeForExtensionA().
Definition at line 1906 of file main.c.
Referenced by CMruBase::_DeleteValue(), CMruLongList::_ImportShortList(), MRUList_DataList(), CGlobalFolderSettings::Save(), CRegFolder::SetNameOf(), SHDeleteValueA(), UnregisterExtensionForMIMETypeW(), UnregisterMIMETypeForExtensionW(), and CRegPropertyBag::Write().
Definition at line 2059 of file main.c.
| LONG WINAPI SHEnumValueA | ( | HKEY | hkey, |
| DWORD | index, | ||
| char * | value, | ||
| DWORD * | length, | ||
| DWORD * | type, | ||
| void * | data, | ||
| DWORD * | data_len | ||
| ) |
Definition at line 2079 of file main.c.
Definition at line 1505 of file main.c.
Referenced by SHCreateThread().
| DWORD WINAPI SHGetValueA | ( | HKEY | hkey, |
| const char * | subkey, | ||
| const char * | value, | ||
| DWORD * | type, | ||
| void * | data, | ||
| DWORD * | data_len | ||
| ) |
Definition at line 2197 of file main.c.
Referenced by getregdw(), init(), MIME_GetExtensionA(), PathIsContentTypeA(), SHGetValueGoodBootA(), SHLWAPI_GetMappedFlags(), SHLWAPI_GetRegistryCompatFlags(), SHLWAPI_UseSystemForSystemFolders(), SHRegGetPathA(), and test_SHGetValue().
| DWORD WINAPI SHGetValueW | ( | HKEY | hkey, |
| const WCHAR * | subkey, | ||
| const WCHAR * | value, | ||
| DWORD * | type, | ||
| void * | data, | ||
| DWORD * | data_len | ||
| ) |
Definition at line 2222 of file main.c.
Referenced by _AllocValueString(), CDesktopUpgradePropertyBag::_AlreadyUpgraded(), CBandSiteMenu::_CreateMenuPart(), CViewStatePropertyBag::_GetMRUSize(), CMruShortList::_InitSlots(), CMruLongList::_InitSlots(), CMruBase::_LoadItem(), CMruPidlList::_LoadNodeSlots(), CRegPropertyBag::_ReadBinary(), CRegPropertyBag::_ReadDword(), CDesktopUpgradePropertyBag::_ReadFlags(), CRegPropertyBag::_ReadString(), Candidate_SHGetRestriction(), CTrayWindow::DoExitWindows(), GetAssocClass(), CRegFolder::GetDisplayNameOf(), CMruNode::GetNodeSlot(), GetZipCodePage(), HCR_GetExecuteCommandW(), InitializeServerAdminUI(), TaskbarSettings::Load(), MIME_GetExtensionW(), MRUList_Check(), MRUList_DataList(), MRUList_PidlList_0(), PathIsContentTypeW(), CRegistrySource::QueryValueDword(), CRegistrySource::QueryValueExists(), CRegistrySource::QueryValueString(), CRegPropertyBag::Read(), SHAboutInfoW(), SHCreatePropSheetExtArrayEx(), SHELL32_ReadRegShellState(), SHELL_GetCachedComputerDescription(), SHGetRestriction(), SHGetValueGoodBootW(), SHRegGetPathW(), SIC_GetMetricsValue(), and CDefView::UpdateListColors().
| IStream *WINAPI SHOpenRegStream2A | ( | HKEY | hKey, |
| const char * | subkey, | ||
| const char * | value, | ||
| DWORD | mode | ||
| ) |
Definition at line 1316 of file main.c.
| IStream *WINAPI SHOpenRegStream2W | ( | HKEY | hKey, |
| const WCHAR * | subkey, | ||
| const WCHAR * | value, | ||
| DWORD | mode | ||
| ) |
Definition at line 1266 of file main.c.
Referenced by CDesktopUpgradePropertyBag::_GetOldDesktopViewStream(), CDefView::GetDefaultViewStream(), CInternetToolbar::GetStream(), SHOpenRegStream2A(), and SHOpenRegStreamW().
Definition at line 1340 of file main.c.
| IStream *WINAPI SHOpenRegStreamW | ( | HKEY | hkey, |
| const WCHAR * | subkey, | ||
| const WCHAR * | value, | ||
| DWORD | mode | ||
| ) |
Definition at line 1404 of file main.c.
Referenced by CTrayBandSite::GetDefaultBandsStream(), CTrayBandSite::GetUserBandsStream(), and SHOpenRegStreamA().
| LONG WINAPI SHQueryInfoKeyA | ( | HKEY | hkey, |
| DWORD * | subkeys, | ||
| DWORD * | subkey_max, | ||
| DWORD * | values, | ||
| DWORD * | value_max | ||
| ) |
Definition at line 2372 of file main.c.
| DWORD WINAPI SHQueryValueExA | ( | HKEY | hkey, |
| const char * | name, | ||
| DWORD * | reserved, | ||
| DWORD * | type, | ||
| void * | buff, | ||
| DWORD * | buff_len | ||
| ) |
Definition at line 2149 of file main.c.
Referenced by init(), SHADD_get_policy(), SHGetValueA(), SHRegQueryValueExA(), test_SHCopyKey(), and test_SHQueryValueEx().
| DWORD WINAPI SHQueryValueExW | ( | HKEY | hkey, |
| const WCHAR * | name, | ||
| DWORD * | reserved, | ||
| DWORD * | type, | ||
| void * | buff, | ||
| DWORD * | buff_len | ||
| ) |
Definition at line 2101 of file main.c.
Referenced by CFSExtractIcon_CreateInstance(), CQueryAssociations::GetValue(), IsOS(), read_advanced_key(), SH32_CoCreateInstance(), SHELL_ReadSingleUnreadMailCount(), SHGetValueW(), SHRegGetIntW(), SHRegQueryValueExW(), SKAllocValueW(), and SKGetValueW().
Definition at line 1828 of file main.c.
Referenced by CRegistrySource::GetKey(), init(), CMruBase::InitData(), CDefaultContextMenu::Initialize(), CRegistrySource::SetKey(), SHRegCreateUSKeyW(), and SHRegOpenUSKeyW().
Definition at line 2247 of file main.c.
Referenced by LoadCurrentScheme(), and LoadSchemeFromReg().
| DWORD WINAPI SHRegGetPathA | ( | HKEY | hkey, |
| const char * | subkey, | ||
| const char * | value, | ||
| char * | path, | ||
| DWORD | flags | ||
| ) |
Definition at line 2268 of file main.c.
Referenced by init().
| DWORD WINAPI SHRegGetPathW | ( | HKEY | hkey, |
| const WCHAR * | subkey, | ||
| const WCHAR * | value, | ||
| WCHAR * | path, | ||
| DWORD | flags | ||
| ) |
Definition at line 2280 of file main.c.
| DWORD WINAPI SHRegSetPathA | ( | HKEY | hkey, |
| const char * | subkey, | ||
| const char * | value, | ||
| const char * | path, | ||
| DWORD | flags | ||
| ) |
Definition at line 2346 of file main.c.
| DWORD WINAPI SHRegSetPathW | ( | HKEY | hkey, |
| const WCHAR * | subkey, | ||
| const WCHAR * | value, | ||
| const WCHAR * | path, | ||
| DWORD | flags | ||
| ) |
| DWORD WINAPI SHSetValueA | ( | HKEY | hkey, |
| const char * | subkey, | ||
| const char * | value, | ||
| DWORD | type, | ||
| const void * | data, | ||
| DWORD | data_len | ||
| ) |
Definition at line 2319 of file main.c.
Referenced by RegisterExtensionForMIMETypeA(), RegisterMIMETypeForExtensionA(), and SHRegSetPathA().
| DWORD WINAPI SHSetValueW | ( | HKEY | hkey, |
| const WCHAR * | subkey, | ||
| const WCHAR * | value, | ||
| DWORD | type, | ||
| const void * | data, | ||
| DWORD | data_len | ||
| ) |
Definition at line 2292 of file main.c.
Referenced by CMruBase::_AddItem(), CDesktopUpgradePropertyBag::_MarkAsUpgraded(), CMruPidlList::_SaveNodeSlots(), CMruShortList::_SaveSlots(), CMruLongList::_SaveSlots(), CRegPropertyBag::_WriteStream(), ApplyScheme(), CRegTreeOptions::GetSetState(), InitializeServerAdminUI(), MRUList_DataList(), RegisterExtensionForMIMETypeW(), RegisterMIMETypeForExtensionW(), TaskbarSettings::Save(), CGlobalFolderSettings::Save(), CRegFolder::SetNameOf(), CMruNode::SetNodeSlot(), SetUnreadMailInfo(), CRegistrySource::SetValueDirect(), SHCopyKeyW(), SHELL32_WriteRegShellState(), SHELL_CacheComputerDescription(), SHGetSetSettings(), SHRegSetPathW(), and CRegPropertyBag::Write().
Definition at line 1716 of file main.c.
Referenced by SHCopyKeyA(), SHDeleteEmptyKeyA(), SHDeleteValueA(), SHOpenRegStream2A(), SHOpenRegStreamA(), and TestFilenameA().
Definition at line 1692 of file main.c.
Referenced by CRegistryEnumBase::_Next(), AssocGetPerceivedType(), DoSanitizeClipboard(), GetDisplayNameOf(), CRecycleBin::GetDisplayNameOf(), CAutoComplete::GetDropDownStatus(), GetItemOriginalFolder(), CACListISF::GetPaths(), CShellFolder::GetValidCharacters(), CDesktopFolder::GetValidCharacters(), CFSFolder::GetValidCharacters(), CMyDocsFolder::GetValidCharacters(), CMergedFolder::GetValidCharacters(), CCleanupHandler::Initialize(), CFSDropTarget::Initialize(), CFSFolder::Initialize(), CFSFolder::InitializeEx(), load_APE_metadata(), load_GCE_metadata(), load_GifComment_metadata(), load_IMD_metadata(), load_LSD_metadata(), LoadChrmMetadata(), LoadGamaMetadata(), LoadHistMetadata(), LoadTimeMetadata(), CEnumString::Next(), CRecycleBinCleaner::OutputResourceString(), CAddressEditBox::ParseNow(), CRegistrySource::QueryValueString(), CCleanupHandler::ReadProperty(), RecursiveFind(), CFindFolder::SearchThreadProc(), SHExplorerParseCmdLine(), SHOpenRegStream2W(), ShellPropSheetDialog::ShowAsync(), START_TEST(), and TEST_StrRet().
|
static |
Definition at line 702 of file main.c.
|
static |
Definition at line 834 of file main.c.
Referenced by SHCreateMemStream(), and SHOpenRegStream2W().
|
static |
|
static |
Definition at line 1756 of file main.c.
Referenced by CheckEscapesA(), CDefaultContextMenu::GetCommandString(), GetCommandStringA(), init(), CStartMenuBtnCtxMenu::InvokeCommand(), CDefView::InvokeContextMenuCommand(), MakeShellURLFromPathA(), CAutoComplete::OnNotify(), PathQualifyA(), PathResolveA(), SHBrowseForFolderA(), SHELL_IsVerb(), SHELL_MapContextMenuVerbToCmdId(), SHGetFileDescriptionA(), SHInvokeCommandOnContextMenuInternal(), and ViewDlg_OnInitDialog().
| void WINAPI SubscribeFeatureStateChangeNotification | ( | FEATURE_STATE_CHANGE_SUBSCRIPTION * | subscription, |
| FEATURE_STATE_CHANGE_CALLBACK * | callback, | ||
| void * | context | ||
| ) |
Definition at line 1445 of file main.c.
Definition at line 1419 of file main.c.
Referenced by threadref_AddRef(), threadref_QueryInterface(), and threadref_Release().
|
static |
| WINE_DEFAULT_DEBUG_CHANNEL | ( | shcore | ) |
|
static |
Definition at line 1399 of file main.c.
Referenced by SHOpenRegStreamW().
|
static |
|
static |
Definition at line 1076 of file main.c.
Referenced by SHCreateStreamOnFileEx().
|
static |
Definition at line 816 of file main.c.
Referenced by SHCreateMemStream().
|
static |
Definition at line 41 of file main.c.
Referenced by GetProcessReference(), and SetProcessReference().
|
static |
|
static |
Definition at line 40 of file main.c.
Referenced by DllMain(), SHGetThreadRef(), and SHSetThreadRef().
|
static |
Definition at line 1468 of file main.c.
Referenced by SHCreateThreadRef().