UnregisterPagesLink function

The UnregisterPagesLink function removes a registration link between two pages created with the RegisterPageWithPage function.

Syntax

HRESULT WINAPI UnregisterPagesLink(
  _In_ const GUID *pguidParentPage,
  _In_ const GUID *pguidChildPage
);

Parameters

pguidParentPage [in]

Pointer to a GUID that uniquely identifies the parent page whose link to a child page will be removed.

pguidChildPage [in]

Pointer to a GUID that uniquely identifies the child page whose link will be removed.

Return value

If the function succeeds, the return value is S_OK.

If the link has been previously removed, the return value is S_FALSE.

If the method fails, the return value is one of the standard error codes.

Remarks

An import library containing the UnregisterPagesLink function is not included in the Microsoft Windows Software Development Kit (SDK). Applications must use the GetModuleHandle and GetProcAddress functions to retrieve the function pointer from the corresponding DLL and call this function.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Connect.dll