IShellWindows::OnCreated method (exdisp.h)
Occurs when a new Shell window is created for a frame.
Syntax
HRESULT OnCreated(
[in] long lCookie,
[in] IUnknown *punk
);
Parameters
[in] lCookie
Type: long
The cookie that identifies the window.
[in] punk
Type: IUnknown*
The address of the new window's IUnknown interface.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
A window is granted a cookie when it is registered as a Shell window. For more information, see IShellWindows::Register.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | exdisp.h |
DLL | Shdocvw.dll (version 5.00.2014.0216 or later) |
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για