IVsAsyncEnum.AdviseAsyncEnumCallback Method (IVsAsyncEnumCallback, UInt32)
Visual Studio 2015
Enables the client to receive events about changes to the asynchronous enumeration.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int AdviseAsyncEnumCallback( IVsAsyncEnumCallback pIVsAsyncEnumCallback, out uint pdwCookie )
Parameters
- pIVsAsyncEnumCallback
-
Type:
Microsoft.VisualStudio.Shell.Interop.IVsAsyncEnumCallback
[in] The object representing the entity to be called for the asynchronous enumeration events.
- pdwCookie
-
Type:
System.UInt32
[out] A cookie identifying the instance of the event callback specified in pIVsAsyncEnumCallback.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsAsyncEnum::AdviseAsyncEnumCallback(
[in] IVsAsyncEnumCallback *pIVsAsyncEnumCallback,
[out] VSCOOKIE *pdwCookie
);
Show: