IWindowsParentalControls::GetVisibility method

Indicates the visibility of the Parental Controls user interface.

Syntax


HRESULT GetVisibility(
  [out] WPCFLAG_VISIBILITY *peVisibility
);

Parameters

peVisibility [out]

Indicates whether the user interface is hidden. This parameter can be one of the following values.

ValueMeaning
WPCFLAG_WPC_VISIBLE
0

The user interface is visible.

WPCFLAG_WPC_HIDDEN
0x1

The user interface is hidden.

 

Return value

This method can return one of these values.

Return codeDescription
S_OK

The method completed successfully.

E_INVALIDARG

A pointer argument is NULL.

E_OUT_OF_MEMORY

There is insufficient memory to complete the operation.

E_FAIL

The method failed.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

None supported

Header

Wpcapi.h

See also

IWindowsParentalControls

 

 

Show: