SHSkipJunction function (shlwapi.h)
Checks a bind context to see if it is safe to bind to a particular component object.
Syntax
BOOL SHSkipJunction(
[in, optional] IBindCtx *pbc,
[in] const CLSID *pclsid
);
Parameters
[in, optional] pbc
Type: IBindCtx*
A pointer to an IBindCtx interface that specifies the bind context you want to check. This value can be NULL.
[in] pclsid
Type: const CLSID*
A pointer to a variable that specifies the CLSID of the object being tested to see if it must be skipped. Typically, this is the CLSID of the object that IShellFolder::BindToObject is about to create.
Return value
Type: BOOL
Returns TRUE if the object specified by pclsid must be skipped, or FALSE otherwise.
Remarks
This function can be used to avoid infinite cycles in namespace binding. For example, a folder shortcut that refers to a folder above it in the namespace tree can produce an infinitely recursive loop.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | shlwapi.h |
Library | Shlwapi.lib |
DLL | Shlwapi.dll (version 4.71 or later) |