Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

81 lines
1.3 KiB

/*++
Copyright (c) 1995 Microsoft Corporation
Module Name :
tssched.hxx
Abstract:
This header file declares schedulable work item and functions for
scheduling work items.
Author:
Murali R. Krishnan ( MuraliK ) 31-July-1995
Environment:
Win32 -- User Mode
Project:
Internet services Common DLL
Revision History:
--*/
# ifndef _TSSCHED_HXX_
# define _TSSCHED_HXX_
/************************************************************
* Include Headers
************************************************************/
# include <windows.h>
/************************************************************
* Type Definitions
************************************************************/
//
// Scheduler stuff
//
typedef
VOID
(* PFN_SCHED_CALLBACK)(
VOID * pContext
);
dllexp
BOOL
SchedulerInitialize(
VOID
);
dllexp
VOID
SchedulerTerminate(
VOID
);
dllexp
DWORD
ScheduleWorkItem(
PFN_SCHED_CALLBACK pfnCallback,
PVOID pContext,
DWORD msecTime,
int nPriority = THREAD_PRIORITY_NORMAL
);
dllexp
BOOL
RemoveWorkItem(
DWORD pdwCookie
);
# endif // _TSSCHED_HXX_
/************************ End of File ***********************/