This topic has not yet been rated - Rate this topic

SHSkipJunction function

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

Shlwapi.h

Library

Shlwapi.lib

DLL

Shlwapi.dll (version 4.71 or later)

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ