Associates an app window other than the primary foreground window with an app's contracts. Use this function if you are a developer writing a Windows Store app in native C++.
- hwndSource [in]
The handle of the app window normally associated with its contracts.
- hwndDelegate [in, optional]
The handle of another of the app's windows that will act as the contract delegate for hwndSource. Set this value to NULL to remove the delegate connection.
This function does not return a value.
This is an inline function, with the source code included in the header file. It is not included in a .lib or .dll file.
Minimum supported client
|Windows 8 [desktop apps only]|
Minimum supported server
|Windows Server 2012 [desktop apps only]|