IAppVisibility::Advise method (shobjidl_core.h)
Registers an advise sink object to receive notification of changes to the display.
Syntax
HRESULT Advise(
[in] IAppVisibilityEvents *pCallback,
[out] DWORD *pdwCookie
);
Parameters
[in] pCallback
The client's advise sink that receives outgoing calls from the connection point.
[out] pdwCookie
A token that uniquely identifies this connection. Use this token to delete the connection by passing it to the Unadvise method.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
pdwCookie is NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για