Export (0) Print
Expand All

SHSkipJunction function

Checks a bind context to see if it is safe to bind to a particular component object.

Syntax


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

Parameters

pbc [in, optional]

Type: IBindCtx*

A pointer to an IBindCtx interface that specifies the bind context you want to check. This value can be NULL.

pclsid [in]

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

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 4.71 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft