IVsThreadPool::ScheduleWaitableTask Method (UInt32, UInt32, UInt32)

 

Deprecated. Schedules a task and a handle to wait on before running the task.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int ScheduleWaitableTask(
	unsigned int hWait,
	unsigned int pTaskProc,
	unsigned int pvParam
)

Parameters

hWait
Type: System::UInt32

[in] HANDLE to wait upon

pTaskProc
Type: System::UInt32

[in] The environment explicitly casts this pointer to a PVsBackgroundTask_Function_Pointer prior to being called.

pvParam
Type: System::UInt32

[in] The value passed to the task procedure in pTaskProc when the task is started.

Return Value

Type: System::Int32

Returns E_NOTIMPL.

From vsshell80.idl:

HRESULT IVsThreadPool::ScheduleWaitableTask(
   [in] DWORD_PTR hWait, 
   [in] DWORD_PTR pTaskProc
);
Return to top
Show: