IVsThreadPool.ScheduleWaitableTask Method

Definition

Overloads

ScheduleWaitableTask(IntPtr, IntPtr, IntPtr)
ScheduleWaitableTask(UInt32, UInt32, UInt32)

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

ScheduleWaitableTask(IntPtr, IntPtr, IntPtr)

public:
 int ScheduleWaitableTask(IntPtr hWait, IntPtr pTaskProc, IntPtr pvParam);
public int ScheduleWaitableTask (IntPtr hWait, IntPtr pTaskProc, IntPtr pvParam);
abstract member ScheduleWaitableTask : nativeint * nativeint * nativeint -> int
Public Function ScheduleWaitableTask (hWait As IntPtr, pTaskProc As IntPtr, pvParam As IntPtr) As Integer

Parameters

hWait
IntPtr

nativeint

pTaskProc
IntPtr

nativeint

pvParam
IntPtr

nativeint

Returns

Applies to

ScheduleWaitableTask(UInt32, UInt32, UInt32)

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

public:
 int ScheduleWaitableTask(System::UInt32 hWait, System::UInt32 pTaskProc, System::UInt32 pvParam);
public:
 int ScheduleWaitableTask(unsigned int hWait, unsigned int pTaskProc, unsigned int pvParam);
int ScheduleWaitableTask(unsigned int hWait, unsigned int pTaskProc, unsigned int pvParam);
public int ScheduleWaitableTask (uint hWait, uint pTaskProc, uint pvParam);
abstract member ScheduleWaitableTask : uint32 * uint32 * uint32 -> int
Public Function ScheduleWaitableTask (hWait As UInteger, pTaskProc As UInteger, pvParam As UInteger) As Integer

Parameters

hWait
UInt32

[in] HANDLE to wait upon

pTaskProc
UInt32

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

pvParam
UInt32

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

Returns

Returns E_NOTIMPL.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsThreadPool::ScheduleWaitableTask(  
   [in] DWORD_PTR hWait,   
   [in] DWORD_PTR pTaskProc  
);  

Applies to