Leaked source code of windows server 2003
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.
 
 
 
 
 
 

61 lines
1.1 KiB

/*++
Copyright (c) 2002 Microsoft Corporation
Module Name:
workproc.h
Abstract:
External definitions for intermodule functions.
Revision History:
--*/
#ifndef _SDBUS_WORKPROC_H_
#define _SDBUS_WORKPROC_H_
typedef enum {
SDWP_READBLOCK,
SDWP_WRITEBLOCK,
SDWP_READIO,
SDWP_WRITEIO,
SDWP_READIO_EXTENDED,
SDWP_WRITEIO_EXTENDED,
SDWP_CARD_RESET,
SDWP_PASSTHRU,
SDWP_POWER_ON,
SDWP_POWER_OFF,
SDWP_IDENTIFY_IO_DEVICE,
SDWP_IDENTIFY_MEMORY_DEVICE,
SDWP_INITIALIZE_CARD,
SDWP_INITIALIZE_FUNCTION
} WORKPROC_FUNCTION;
//
// Work proc routines
//
NTSTATUS
SdbusBuildWorkPacket(
PFDO_EXTENSION FdoExtension,
WORKPROC_FUNCTION Function,
PSDBUS_WORKPACKET_COMPLETION_ROUTINE CompletionRoutine,
PVOID CompletionContext,
PSD_WORK_PACKET *ReturnedWorkPacket
);
NTSTATUS
SdbusExecuteWorkSynchronous(
WORKPROC_FUNCTION Function,
IN PFDO_EXTENSION FdoExtension,
IN PPDO_EXTENSION PdoExtension
);
#endif // _SDBUS_WORKPROC_H_