Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

INameSpaceTreeControl2::GetControlStyle method

Gets the display styles set for the namespace object's treeview controls.

Syntax


HRESULT GetControlStyle(
  [in]   NSTCSTYLE nstcsMask,
  [out]  NSTCSTYLE *pnstcsStyle
);

Parameters

nstcsMask [in]

Type: NSTCSTYLE

One or more of the NSTCSTYLE constants that specify the values for which the method should retrieve the current settings.

pnstcsStyle [out]

Type: NSTCSTYLE*

Pointer to a value that, when this method returns successfully, receives the values requested in nstcsMask. If the bit that represents the individual NSTCSTYLE value is 0, that value is not set. If the value is 1, it is the current setting. Bit values in positions not specifically requested in nstcsMask do not necessarily reflect the current settings and should not be used.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

INameSpaceTreeControl2
INameSpaceTreeControl2::GetControlStyle2
INameSpaceTreeControl2::SetControlStyle
NSTCSTYLE

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.