IShellWindows::Revoke method
Revokes a Shell window's registration and removes the window from the Shell windows collection.
Syntax
HRESULT Revoke( [in] long *plCookie );
Parameters
- plCookie [in]
-
Type: long*
The cookie that identifies the window to un-register.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
In the context of the Shell windows collection, a cookie is a token that uniquely identifies a registered Shell window.
Use the IShellWindows::Register method to register an open window by handle. Use the IShellWindows::RegisterPending method to register a pending-open window by absolute PIDL.
Requirements
|
Product |
Internet Explorer 5 |
|---|---|
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
Show: