SHSkipJunction

This function determines whether a given class of object is exempted from binding.

Declaration

BOOL
SHSkipJunction (
IBindCtx *pbc,
CLSID const *pclsid);

Parameters

The pbc argument is the address of a binding context
to query.

The pclsid argument is the address of a CLSID for
the object of interest.

Return Value

The function returns TRUE for success, else FALSE for failure.

Behaviour

The function succeeds if all the following are true:

a binding is given, i.e., pbc is not NULL;

the binding has an object registered under the string “Skip Binding CLSID”
(defined symbolically as STR_SKIP_BINDING_CLSID);

the registered object implements an IPersist
or IPersistFolder interface;

this interface’s GetClassID method produces the
given CLSID.

Availability

The SHSkipJunction function is exported by name
from SHLWAPI.DLL in version 5.00 and higher.

This function is documented, but as being available from “version 4.71 or later”.
Another curiosity is that documentation of this function does not mention the bind
context string STR_SKIP_BINDING_CLSID, or vice versa.