IWindowsParentalControlsCore::GetVisibility method (wpcapi.h)

Indicates the visibility of the Parental Controls user interface.

Syntax

HRESULT GetVisibility(
  [out] WPCFLAG_VISIBILITY *peVisibility
);

Parameters

[out] peVisibility

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

Value Meaning
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 code Description
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

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header wpcapi.h

See also

IWindowsParentalControls

IWindowsParentalControlsCore