Shell Miscellaneous Utility Functions
This section describes those Microsoft Windows Shell functions exported by Shlwapi.dll and defined in Shlwapi.h and Shlwapi.lib that do not fall under one of the other utility function categories.

ConnectToConnectionPoint

Establishes or terminates a connection between a client's sink and a connection point container.

DllInstall

Handles installation and setup for a DLL.

FindResourceWrapW

Determines the location of a resource with the specified type and name in the specified module.

To specify a language, use the FindResourceEx function.

Note  FindResourceWrapW is a wrapper for the FindResourceW function. See the FindResource page for further usage notes.
GetMenuPosFromID

Determines the position of an item in a menu. Used in the case where the item's ID is known.

HashData

Hashes an array of data.

IsInternetESCEnabled

Determines whether Windows Internet Explorer is in the Enhanced Security Configuration.

IsOS

Checks for specified operating systems and operating system features.

IStream_Copy

Copies a stream to another stream.

IStream_Read

Reads bytes from a specified stream and returns a value that indicates whether all bytes were successfully read.

IStream_ReadPidl

Reads a pointer to an item identifier list (PIDL) from an IStream object into a PIDLIST_RELATIVE object.

IStream_ReadStr

Reads from a stream and writes into a string.

IStream_Reset

Moves the seek position in a specified stream to the beginning of the stream.

IStream_Size

Retrieves the size, in bytes, of a specified stream.

IStream_Write

Writes data of unknown format from a buffer to a specified stream.

IStream_WritePidl

Writes a PIDL from a PCUIDLIST_RELATIVE object into an IStream object.

IStream_WriteStr

Reads from a string and writes into a stream.

IUnknown_AtomicRelease

Releases a Component Object Model (COM) pointer and sets it to NULL.

IUnknown_GetSite

Calls the specified object's IObjectWithSite::GetSite method.

IUnknown_GetWindow

Attempts to retrieve a window handle from a COM object by querying for various interfaces that have a GetWindow method.

IUnknown_QueryService

Retrieves an interface for a service from a specified object.

IUnknown_Set

Changes the value of a COM interface pointer and releases the previous interface.

IUnknown_SetSite

Sets the specified object's site by calling its IObjectWithSite::SetSite method.

MLFreeLibrary

Unmaps a resource DLL loaded by the MLLoadLibrary function.

Note  This function is not present in Windows 7 or later systems.
MLHtmlHelp

Displays a help window corresponding to the current user interface (UI) language setting.

MLLoadLibrary

Maps an appropriate resource DLL into the address space of the calling function, based on the user's default UI language.

Note  This function is not present in Windows 7 or later systems.
MLWinHelp

Starts Windows Help (Winhelp.exe) and passes additional data that indicates the nature of the help requested by the application.

ParseURL

Performs rudimentary parsing of a URL.

QISearch

A table-driven implementation of the IUnknown::QueryInterface method.

SHAnsiToAnsi

Copies an ANSI string.

SHAnsiToUnicode

Converts a string from the ANSI code page to the Unicode code page.

SHAutoComplete

Instructs system edit controls to use AutoComplete to help complete URLs or file system paths.

SHCreateMemStream

Creates a memory stream using a similar process to CreateStreamOnHGlobal, but with less functionality.

SHCreateStreamOnFile

Opens or creates a file and retrieves a stream to read or write to that file.

Note  This function has been replaced by SHCreateStreamOnFileEx.
SHCreateStreamOnFileEx

Opens or creates a file and retrieves a stream to read or write to that file.

SHCreateThread

Creates a thread.

SHCreateThreadRef

Creates a per-thread reference to a COM object.

SHCreateThreadWithHandle

Creates a new thread and retrieves its handle.

SHFormatDateTime

Produces a string representation of a time specified as a FILETIME structure.

SHGetThreadRef

Retrieves the per-thread object reference set by SHSetThreadRef.

SHGlobalCounterDecrement

Decrements a global counter.

SHGlobalCounterGetValue

Gets the current value of a global counter.

SHGlobalCounterIncrement

Increments a global counter.

SHIsChildOrSelf

Compares whether a window is equal to, a child of, or a descendant of, a second window.

SHIsLowMemoryMachine

Not currently supported.

SHMessageBoxCheck

Displays a message box that gives the user the option of suppressing further occurrences. If the user has already opted to suppress the message box, the function does not display a dialog box and instead simply returns the default value.

SHReleaseThreadRef

Releases a thread reference before the thread procedure returns.

SHSendMessageBroadcast

Sends a message to all top-level windows in the system.

SHSetThreadRef

Stores a per-thread reference to a COM object.

SHStripMneumonic

Removes the mnemonic marker from a string.

SHUnicodeToAnsi

Converts a string from the Unicode code page to the ANSI code page.

SHUnicodeToUnicode

Copies a Unicode string.

StopWatchFlush

Writes out performance statistics if performance logging is enabled.

StopWatchMode

Retrieves a value that indicates which performance information is being logged.

UrlFixupW

Attempts to correct misspellings in the scheme portion or lead punctuation of a URL.

WhichPlatform

Retrieves a value that indicates the type of Shell32.dll that the platform contains.

Tags :


Page view tracker