|
typedef PHYSICAL_ADDRESS | SCSI_PHYSICAL_ADDRESS |
|
typedef PHYSICAL_ADDRESS * | PSCSI_PHYSICAL_ADDRESS |
|
typedef struct _ACCESS_RANGE | ACCESS_RANGE |
|
typedef struct _ACCESS_RANGE * | PACCESS_RANGE |
|
typedef struct _PORT_CONFIGURATION_INFORMATION | PORT_CONFIGURATION_INFORMATION |
|
typedef struct _PORT_CONFIGURATION_INFORMATION * | PPORT_CONFIGURATION_INFORMATION |
|
typedef enum _SCSI_ADAPTER_CONTROL_TYPE | SCSI_ADAPTER_CONTROL_TYPE |
|
typedef enum _SCSI_ADAPTER_CONTROL_TYPE * | PSCSI_ADAPTER_CONTROL_TYPE |
|
typedef enum _SCSI_ADAPTER_CONTROL_STATUS | SCSI_ADAPTER_CONTROL_STATUS |
|
typedef enum _SCSI_ADAPTER_CONTROL_STATUS * | PSCSI_ADAPTER_CONTROL_STATUS |
|
typedef struct _SCSI_SUPPORTED_CONTROL_TYPE_LIST | SCSI_SUPPORTED_CONTROL_TYPE_LIST |
|
typedef struct _SCSI_SUPPORTED_CONTROL_TYPE_LIST * | PSCSI_SUPPORTED_CONTROL_TYPE_LIST |
|
typedef struct _SCSI_REQUEST_BLOCK | SCSI_REQUEST_BLOCK |
|
typedef struct _SCSI_REQUEST_BLOCK * | PSCSI_REQUEST_BLOCK |
|
typedef struct _SCSI_WMI_REQUEST_BLOCK | SCSI_WMI_REQUEST_BLOCK |
|
typedef struct _SCSI_WMI_REQUEST_BLOCK * | PSCSI_WMI_REQUEST_BLOCK |
|
typedef enum _STOR_DEVICE_POWER_STATE | STOR_DEVICE_POWER_STATE |
|
typedef enum _STOR_DEVICE_POWER_STATE * | PSTOR_DEVICE_POWER_STATE |
|
typedef enum _STOR_POWER_ACTION | STOR_POWER_ACTION |
|
typedef enum _STOR_POWER_ACTION * | PSTOR_POWER_ACTION |
|
typedef struct _SCSI_POWER_REQUEST_BLOCK | SCSI_POWER_REQUEST_BLOCK |
|
typedef struct _SCSI_POWER_REQUEST_BLOCK * | PSCSI_POWER_REQUEST_BLOCK |
|
typedef enum _STOR_PNP_ACTION | STOR_PNP_ACTION |
|
typedef enum _STOR_PNP_ACTION * | PSTOR_PNP_ACTION |
|
typedef struct _STOR_DEVICE_CAPABILITIES | STOR_DEVICE_CAPABILITIES |
|
typedef struct _STOR_DEVICE_CAPABILITIES * | PSTOR_DEVICE_CAPABILITIES |
|
typedef struct _SCSI_PNP_REQUEST_BLOCK | SCSI_PNP_REQUEST_BLOCK |
|
typedef struct _SCSI_PNP_REQUEST_BLOCK * | PSCSI_PNP_REQUEST_BLOCK |
|
typedef enum _SRBEXDATATYPE | SRBEXDATATYPE |
|
typedef enum _SRBEXDATATYPE * | PSRBEXDATATYPE |
|
typedef struct SRB_ALIGN _SRBEX_DATA | SRBEX_DATA |
|
typedef struct SRB_ALIGN _SRBEX_DATA * | PSRBEX_DATA |
|
typedef struct SRB_ALIGN _SRBEX_DATA_BIDIRECTIONAL | SRBEX_DATA_BIDIRECTIONAL |
|
typedef struct SRB_ALIGN _SRBEX_DATA_BIDIRECTIONAL * | PSRBEX_DATA_BIDIRECTIONAL |
|
typedef struct SRB_ALIGN _SRBEX_DATA_SCSI_CDB16 | SRBEX_DATA_SCSI_CDB16 |
|
typedef struct SRB_ALIGN _SRBEX_DATA_SCSI_CDB16 * | PSRBEX_DATA_SCSI_CDB16 |
|
typedef struct SRB_ALIGN _SRBEX_DATA_SCSI_CDB32 | SRBEX_DATA_SCSI_CDB32 |
|
typedef struct SRB_ALIGN _SRBEX_DATA_SCSI_CDB32 * | PSRBEX_DATA_SCSI_CDB32 |
|
typedef struct SRB_ALIGN _SRBEX_DATA_SCSI_CDB_VAR | SRBEX_DATA_SCSI_CDB_VAR |
|
typedef struct SRB_ALIGN _SRBEX_DATA_SCSI_CDB_VAR * | PSRBEX_DATA_SCSI_CDB_VAR |
|
typedef struct SRB_ALIGN _SRBEX_DATA_WMI | SRBEX_DATA_WMI |
|
typedef struct SRB_ALIGN _SRBEX_DATA_WMI * | PSRBEX_DATA_WMI |
|
typedef struct SRB_ALIGN _SRBEX_DATA_POWER | SRBEX_DATA_POWER |
|
typedef struct SRB_ALIGN _SRBEX_DATA_POWER * | PSRBEX_DATA_POWER |
|
typedef struct SRB_ALIGN _SRBEX_DATA_PNP | SRBEX_DATA_PNP |
|
typedef struct SRB_ALIGN _SRBEX_DATA_PNP * | PSRBEX_DATA_PNP |
|
typedef struct SRB_ALIGN _SRBEX_DATA_IO_INFO | SRBEX_DATA_IO_INFO |
|
typedef struct SRB_ALIGN _SRBEX_DATA_IO_INFO * | PSRBEX_DATA_IO_INFO |
|
typedef struct SRB_ALIGN _STORAGE_REQUEST_BLOCK_HEADER | STORAGE_REQUEST_BLOCK_HEADER |
|
typedef struct SRB_ALIGN _STORAGE_REQUEST_BLOCK_HEADER * | PSTORAGE_REQUEST_BLOCK_HEADER |
|
typedef _Must_inspect_result_ BOOLEAN(NTAPI * | PHW_INITIALIZE) (_In_ PVOID DeviceExtension) |
|
typedef _Must_inspect_result_ BOOLEAN(NTAPI * | PHW_STARTIO) (_In_ PVOID DeviceExtension, _In_ PSCSI_REQUEST_BLOCK Srb) |
|
typedef _Must_inspect_result_ BOOLEAN(NTAPI * | PHW_INTERRUPT) (_In_ PVOID DeviceExtension) |
|
typedef VOID(NTAPI * | PHW_TIMER) (_In_ PVOID DeviceExtension) |
|
typedef VOID(NTAPI * | PHW_DMA_STARTED) (_In_ PVOID DeviceExtension) |
|
typedef _Must_inspect_result_ ULONG(NTAPI * | PHW_FIND_ADAPTER) (_In_ PVOID DeviceExtension, _In_ PVOID HwContext, _In_ PVOID BusInformation, _In_ PCHAR ArgumentString, _Inout_ PPORT_CONFIGURATION_INFORMATION ConfigInfo, _Out_ PBOOLEAN Again) |
|
typedef _Must_inspect_result_ BOOLEAN(NTAPI * | PHW_RESET_BUS) (_In_ PVOID DeviceExtension, _In_ ULONG PathId) |
|
typedef _Must_inspect_result_ BOOLEAN(NTAPI * | PHW_ADAPTER_STATE) (_In_ PVOID DeviceExtension, _In_ PVOID Context, _In_ BOOLEAN SaveState) |
|
typedef _Must_inspect_result_ SCSI_ADAPTER_CONTROL_STATUS(NTAPI * | PHW_ADAPTER_CONTROL) (_In_ PVOID DeviceExtension, _In_ SCSI_ADAPTER_CONTROL_TYPE ControlType, _In_ PVOID Parameters) |
|
typedef enum _SCSI_NOTIFICATION_TYPE | SCSI_NOTIFICATION_TYPE |
|
typedef enum _SCSI_NOTIFICATION_TYPE * | PSCSI_NOTIFICATION_TYPE |
|
typedef struct _HW_INITIALIZATION_DATA | HW_INITIALIZATION_DATA |
|
typedef struct _HW_INITIALIZATION_DATA * | PHW_INITIALIZATION_DATA |
|
|
enum | _SCSI_ADAPTER_CONTROL_TYPE {
ScsiQuerySupportedControlTypes = 0
, ScsiStopAdapter
, ScsiRestartAdapter
, ScsiSetBootConfig
,
ScsiSetRunningConfig
, ScsiAdapterControlMax
, MakeAdapterControlTypeSizeOfUlong = 0xffffffff
, ScsiQuerySupportedControlTypes = 0
,
ScsiStopAdapter
, ScsiRestartAdapter
, ScsiSetBootConfig
, ScsiSetRunningConfig
,
ScsiAdapterControlMax
, MakeAdapterControlTypeSizeOfUlong = 0xffffffff
, ScsiQuerySupportedControlTypes = 0
, ScsiStopAdapter
,
ScsiRestartAdapter
, ScsiSetBootConfig
, ScsiSetRunningConfig
, ScsiAdapterControlMax
,
MakeAdapterControlTypeSizeOfUlong = 0xffffffff
} |
|
enum | _SCSI_ADAPTER_CONTROL_STATUS {
ScsiAdapterControlSuccess = 0
, ScsiAdapterControlUnsuccessful
, ScsiAdapterControlSuccess = 0
, ScsiAdapterControlUnsuccessful
,
ScsiAdapterControlSuccess = 0
, ScsiAdapterControlUnsuccessful
} |
|
enum | _STOR_DEVICE_POWER_STATE {
StorPowerDeviceUnspecified = 0
, StorPowerDeviceD0
, StorPowerDeviceD1
, StorPowerDeviceD2
,
StorPowerDeviceD3
, StorPowerDeviceMaximum
, StorPowerDeviceUnspecified = 0
, StorPowerDeviceD0
,
StorPowerDeviceD1
, StorPowerDeviceD2
, StorPowerDeviceD3
, StorPowerDeviceMaximum
} |
|
enum | _STOR_POWER_ACTION {
StorPowerActionNone = 0
, StorPowerActionReserved
, StorPowerActionSleep
, StorPowerActionHibernate
,
StorPowerActionShutdown
, StorPowerActionShutdownReset
, StorPowerActionShutdownOff
, StorPowerActionWarmEject
,
StorPowerActionNone = 0
, StorPowerActionReserved
, StorPowerActionSleep
, StorPowerActionHibernate
,
StorPowerActionShutdown
, StorPowerActionShutdownReset
, StorPowerActionShutdownOff
, StorPowerActionWarmEject
} |
|
enum | _STOR_PNP_ACTION {
StorStartDevice = 0x0
, StorRemoveDevice = 0x2
, StorStopDevice = 0x4
, StorQueryCapabilities = 0x9
,
StorQueryResourceRequirements = 0xB
, StorFilterResourceRequirements = 0xD
, StorSurpriseRemoval = 0x17
, StorStartDevice = 0x0
,
StorRemoveDevice = 0x2
, StorStopDevice = 0x4
, StorQueryCapabilities = 0x9
, StorQueryResourceRequirements = 0xB
,
StorFilterResourceRequirements = 0xD
, StorSurpriseRemoval = 0x17
} |
|
enum | _SRBEXDATATYPE {
SrbExDataTypeUnknown = 0
, SrbExDataTypeBidirectional
, SrbExDataTypeScsiCdb16 = 0x40
, SrbExDataTypeScsiCdb32
,
SrbExDataTypeScsiCdbVar
, SrbExDataTypeWmi = 0x60
, SrbExDataTypePower
, SrbExDataTypePnP
,
SrbExDataTypeIoInfo = 0x80
, SrbExDataTypeMSReservedStart = 0xf0000000
, SrbExDataTypeReserved = 0xffffffff
} |
|
enum | _SCSI_NOTIFICATION_TYPE {
RequestComplete
, NextRequest
, NextLuRequest
, ResetDetected
,
CallDisableInterrupts
, CallEnableInterrupts
, RequestTimerCall
, BusChangeDetected
,
WMIEvent
, WMIReregister
, RequestComplete
, NextRequest
,
NextLuRequest
, ResetDetected
, CallDisableInterrupts
, CallEnableInterrupts
,
RequestTimerCall
, BusChangeDetected
, WMIEvent
, WMIReregister
,
LinkUp
, LinkDown
, QueryTickCount
, BufferOverrunDetected
,
TraceNotification
, RequestComplete
, NextRequest
, NextLuRequest
,
ResetDetected
, _obsolete1
, _obsolete2
, RequestTimerCall
,
BusChangeDetected
, WMIEvent
, WMIReregister
, LinkUp
,
LinkDown
, QueryTickCount
, BufferOverrunDetected
, TraceNotification
,
GetExtendedFunctionTable
, EnablePassiveInitialization = 0x1000
, InitializeDpc
, IssueDpc
,
AcquireSpinLock
, ReleaseSpinLock
} |
|
|
typedef | _Struct_size_bytes_ (SrbLength) struct SRB_ALIGN _STORAGE_REQUEST_BLOCK |
|
SCSIPORT_API VOID NTAPI | ScsiPortCompleteRequest (_In_ PVOID HwDeviceExtension, _In_ UCHAR PathId, _In_ UCHAR TargetId, _In_ UCHAR Lun, _In_ UCHAR SrbStatus) |
|
_Must_inspect_result_ SCSIPORT_API ULONG NTAPI | ScsiPortConvertPhysicalAddressToUlong (_In_ SCSI_PHYSICAL_ADDRESS Address) |
|
_Must_inspect_result_ SCSIPORT_API SCSI_PHYSICAL_ADDRESS NTAPI | ScsiPortConvertUlongToPhysicalAddress (_In_ ULONG_PTR UlongAddress) |
|
SCSIPORT_API VOID NTAPI | ScsiPortFlushDma (_In_ PVOID DeviceExtension) |
|
SCSIPORT_API VOID NTAPI | ScsiPortFreeDeviceBase (_In_ PVOID HwDeviceExtension, _In_ PVOID MappedAddress) |
|
_Must_inspect_result_ SCSIPORT_API ULONG NTAPI | ScsiPortGetBusData (_In_ PVOID DeviceExtension, _In_ ULONG BusDataType, _In_ ULONG SystemIoBusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length) |
|
_Must_inspect_result_ SCSIPORT_API PVOID NTAPI | ScsiPortGetDeviceBase (_In_ PVOID HwDeviceExtension, _In_ INTERFACE_TYPE BusType, _In_ ULONG SystemIoBusNumber, _In_ SCSI_PHYSICAL_ADDRESS IoAddress, _In_ ULONG NumberOfBytes, _In_ BOOLEAN InIoSpace) |
|
_Must_inspect_result_ SCSIPORT_API PVOID NTAPI | ScsiPortGetLogicalUnit (_In_ PVOID HwDeviceExtension, _In_ UCHAR PathId, _In_ UCHAR TargetId, _In_ UCHAR Lun) |
|
_Must_inspect_result_ SCSIPORT_API SCSI_PHYSICAL_ADDRESS NTAPI | ScsiPortGetPhysicalAddress (_In_ PVOID HwDeviceExtension, _In_ PSCSI_REQUEST_BLOCK Srb, _In_ PVOID VirtualAddress, _Out_ ULONG *Length) |
|
_Must_inspect_result_ SCSIPORT_API PSCSI_REQUEST_BLOCK NTAPI | ScsiPortGetSrb (_In_ PVOID DeviceExtension, _In_ UCHAR PathId, _In_ UCHAR TargetId, _In_ UCHAR Lun, _In_ LONG QueueTag) |
|
_Must_inspect_result_ SCSIPORT_API PVOID NTAPI | ScsiPortGetUncachedExtension (_In_ PVOID HwDeviceExtension, _In_ PPORT_CONFIGURATION_INFORMATION ConfigInfo, _In_ ULONG NumberOfBytes) |
|
_Must_inspect_result_ SCSIPORT_API PVOID NTAPI | ScsiPortGetVirtualAddress (_In_ PVOID HwDeviceExtension, _In_ SCSI_PHYSICAL_ADDRESS PhysicalAddress) |
|
_Must_inspect_result_ | _IRQL_requires_max_ (PASSIVE_LEVEL) SCSIPORT_API ULONG NTAPI ScsiPortInitialize(_In_ PVOID Argument1 |
| Queries information details about a security descriptor.
|
|
SCSIPORT_API VOID NTAPI | ScsiPortIoMapTransfer (_In_ PVOID HwDeviceExtension, _In_ PSCSI_REQUEST_BLOCK Srb, _In_ PVOID LogicalAddress, _In_ ULONG Length) |
|
SCSIPORT_API VOID NTAPI | ScsiPortLogError (_In_ PVOID HwDeviceExtension, _In_opt_ PSCSI_REQUEST_BLOCK Srb, _In_ UCHAR PathId, _In_ UCHAR TargetId, _In_ UCHAR Lun, _In_ ULONG ErrorCode, _In_ ULONG UniqueId) |
|
SCSIPORT_API VOID __cdecl | ScsiPortNotification (_In_ SCSI_NOTIFICATION_TYPE NotificationType, _In_ PVOID HwDeviceExtension,...) |
|
SCSIPORT_API VOID NTAPI | ScsiPortQuerySystemTime (_Out_ PLARGE_INTEGER CurrentTime) |
|
_Must_inspect_result_ SCSIPORT_API ULONG NTAPI | ScsiPortSetBusDataByOffset (_In_ PVOID DeviceExtension, _In_ ULONG BusDataType, _In_ ULONG SystemIoBusNumber, _In_ ULONG SlotNumber, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Offset, _In_ ULONG Length) |
|
SCSIPORT_API VOID NTAPI | ScsiPortStallExecution (_In_ ULONG Delay) |
|
_Must_inspect_result_ SCSIPORT_API BOOLEAN NTAPI | ScsiPortValidateRange (_In_ PVOID HwDeviceExtension, _In_ INTERFACE_TYPE BusType, _In_ ULONG SystemIoBusNumber, _In_ SCSI_PHYSICAL_ADDRESS IoAddress, _In_ ULONG NumberOfBytes, _In_ BOOLEAN InIoSpace) |
|
SCSIPORT_API VOID __cdecl | ScsiDebugPrint (ULONG DebugPrintLevel, PCCHAR DebugMessage,...) |
|
_Must_inspect_result_ SCSIPORT_API UCHAR NTAPI | ScsiPortReadPortUchar (_In_ PUCHAR Port) |
|
_Must_inspect_result_ SCSIPORT_API ULONG NTAPI | ScsiPortReadPortUlong (_In_ PULONG Port) |
|
_Must_inspect_result_ SCSIPORT_API USHORT NTAPI | ScsiPortReadPortUshort (_In_ PUSHORT Port) |
|
SCSIPORT_API VOID NTAPI | ScsiPortReadPortBufferUchar (_In_ PUCHAR Port, _In_ PUCHAR Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortReadPortBufferUlong (_In_ PULONG Port, _In_ PULONG Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortReadPortBufferUshort (_In_ PUSHORT Port, _In_ PUSHORT Buffer, _In_ ULONG Count) |
|
_Must_inspect_result_ SCSIPORT_API UCHAR NTAPI | ScsiPortReadRegisterUchar (_In_ PUCHAR Register) |
|
_Must_inspect_result_ SCSIPORT_API ULONG NTAPI | ScsiPortReadRegisterUlong (_In_ PULONG Register) |
|
_Must_inspect_result_ SCSIPORT_API USHORT NTAPI | ScsiPortReadRegisterUshort (_In_ PUSHORT Register) |
|
SCSIPORT_API VOID NTAPI | ScsiPortReadRegisterBufferUchar (_In_ PUCHAR Register, _In_ PUCHAR Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortReadRegisterBufferUlong (_In_ PULONG Register, _In_ PULONG Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortReadRegisterBufferUshort (_In_ PUSHORT Register, _In_ PUSHORT Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWritePortUchar (_In_ PUCHAR Port, _In_ UCHAR Value) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWritePortUlong (_In_ PULONG Port, _In_ ULONG Value) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWritePortUshort (_In_ PUSHORT Port, _In_ USHORT Value) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWritePortBufferUchar (_In_ PUCHAR Port, _In_ PUCHAR Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWritePortBufferUlong (_In_ PULONG Port, _In_ PULONG Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWritePortBufferUshort (_In_ PUSHORT Port, _In_ PUSHORT Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWriteRegisterUchar (_In_ PUCHAR Register, _In_ UCHAR Value) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWriteRegisterUlong (_In_ PULONG Register, _In_ ULONG Value) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWriteRegisterUshort (_In_ PUSHORT Register, _In_ USHORT Value) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWriteRegisterBufferUchar (_In_ PUCHAR Register, _In_ PUCHAR Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWriteRegisterBufferUlong (_In_ PULONG Register, _In_ PULONG Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortWriteRegisterBufferUshort (_In_ PUSHORT Register, _In_ PUSHORT Buffer, _In_ ULONG Count) |
|
SCSIPORT_API VOID NTAPI | ScsiPortMoveMemory (_In_ PVOID WriteBuffer, _In_ PVOID ReadBuffer, _In_ ULONG Length) |
|
Queries information details about a security descriptor.
Computes the quota size of a security descriptor.
Assigns a security descriptor for a new object.
An extended function that assigns a security descriptor for a new object.
Frees a security descriptor.
An extended function that sets new information data to a security descriptor.
Modifies some information data about a security descriptor.
- Parameters
-
[in] | SecurityInformation | Security information details to be queried from a security descriptor. |
[out] | SecurityDescriptor | The returned security descriptor with security information data. |
[in,out] | Length | The returned length of a security descriptor. |
[in,out] | ObjectsSecurityDescriptor | The returned object security descriptor. |
- Returns
- Returns STATUS_SUCCESS if the operations have been completed successfully and that the specific information about the security descriptor has been queried. STATUS_BUFFER_TOO_SMALL is returned if the buffer size is too small to contain the queried info about the security descriptor.
- Parameters
-
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
- Returns
- See SeSetSecurityDescriptorInfoEx.
- Parameters
-
[in] | Object | If specified, the function will use this arbitrary object that points to an object security descriptor. |
[in] | SecurityInformation | Security information details to be set. |
[in] | SecurityDescriptor | A security descriptor where its info is to be changed. |
[in,out] | ObjectsSecurityDescriptor | The returned pointer to security descriptor objects. |
[in] | AutoInheritFlags | Flags bitmask inheritation, influencing how the security descriptor can be inherited and if it can be in the first place. |
[in] | PoolType | Pool type for the new security descriptor to allocate. |
[in] | GenericMapping | The generic mapping of access rights masks. |
- Returns
- Returns STATUS_SUCCESS if the operations have been completed without problems and that new info has been set to the security descriptor. STATUS_NO_SECURITY_ON_OBJECT is returned if the object does not have a security descriptor. STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the new security descriptor with new info set has failed.
- Parameters
-
[in] | SecurityDescriptor | A security descriptor to be freed from memory. |
- Returns
- Returns STATUS_SUCCESS.
- Parameters
-
[in] | _ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | _ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | ObjectType | The type of the new object. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | AutoInheritFlags | Automatic inheritance flags that influence how access control entries within ACLs from security descriptors are inherited. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
- Returns
- Returns STATUS_SUCCESS if the operations have been completed successfully and that the security descriptor has been assigned to the new object. STATUS_NO_TOKEN is returned if the caller hasn't supplied a valid argument to a security subject context. STATUS_INVALID_OWNER is returned if the caller hasn't supplied a parent descriptor that belongs to the main user (owner). STATUS_INVALID_PRIMARY_GROUP is returned by the same reason as with the previous NTSTATUS code. The two NTSTATUS codes are returned if the calling thread stated that the owner and/or group is defaulted to the parent descriptor (SEF_DEFAULT_OWNER_FROM_PARENT and/or SEF_DEFAULT_GROUP_FROM_PARENT respectively). STATUS_INSUFFICIENT_RESOURCES is returned if memory pool allocation for the descriptor buffer has failed. A failure NTSTATUS is returned otherwise.
- Parameters
-
[in] | ParentDescriptor | A security descriptor of the parent object that is being created. |
[in] | ExplicitDescriptor | An explicit security descriptor that is applied to a new object. |
[out] | NewDescriptor | The new allocated security descriptor. |
[in] | IsDirectoryObject | Set this to TRUE if the newly created object is a directory object, otherwise set this to FALSE. |
[in] | SubjectContext | Security subject context of the new object. |
[in] | GenericMapping | Generic mapping of access mask rights. |
[in] | PoolType | This parameter is unused. |
- Returns
- See SeAssignSecurityEx.
- Parameters
-
[in] | SecurityDescriptor | A security descriptor. |
[out] | QuotaInfoSize | The returned quota size of the given security descriptor to the caller. The function may return 0 to this parameter if the descriptor doesn't have a group or a discretionary access control list (DACL) even. |
- Returns
- Returns STATUS_SUCCESS if the quota size of a security descriptor has been computed successfully. STATUS_UNKNOWN_REVISION is returned if the security descriptor has an invalid revision.
Definition at line 923 of file Messaging.c.
75{
78
79
81 {
83 }
84
85
87 {
89 }
90
91
92
93
94
95
98 {
100 }
101
102
109 0,
110 0,
111 (
PVOID *)&PortObject);
113 {
114
116
117
119
120
127
128
132 0,
136 {
137
139
140
143
144
146 }
147 }
148
150 {
151
153 }
154
156}
static const INTERNET_PORT ServerPort
POBJECT_TYPE ServerPortObjectType
VOID FLTAPI FltObjectDereference(_Inout_ PVOID Object)
NTSTATUS FLTAPI FltObjectReference(_Inout_ PVOID Object)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define NT_SUCCESS(StatCode)
#define InsertTailList(ListHead, Entry)
_Must_inspect_result_ _In_opt_ PFLT_FILTER Filter
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY _In_opt_ PFLT_MESSAGE_NOTIFY MessageNotifyCallback
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY ConnectNotifyCallback
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID ServerPortCookie
_Must_inspect_result_ _Outptr_ PFLT_PORT _In_ POBJECT_ATTRIBUTES _In_opt_ PVOID _In_ PFLT_CONNECT_NOTIFY _In_ PFLT_DISCONNECT_NOTIFY DisconnectNotifyCallback
ULONG FltpObjectPointerReference(_In_ PFLT_OBJECT Object)
VOID FASTCALL ExAcquireFastMutex(IN PFAST_MUTEX FastMutex)
VOID FASTCALL ExReleaseFastMutex(IN PFAST_MUTEX FastMutex)
#define OBJ_KERNEL_HANDLE
static LONG MaxConnections
#define STANDARD_RIGHTS_ALL
NTSTATUS NTAPI ObInsertObject(IN PVOID Object, IN PACCESS_STATE AccessState OPTIONAL, IN ACCESS_MASK DesiredAccess, IN ULONG ObjectPointerBias, OUT PVOID *NewObject OPTIONAL, OUT PHANDLE Handle)
NTSTATUS NTAPI ObCreateObject(IN KPROCESSOR_MODE ProbeMode OPTIONAL, IN POBJECT_TYPE Type, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN KPROCESSOR_MODE AccessMode, IN OUT PVOID ParseContext OPTIONAL, IN ULONG ObjectSize, IN ULONG PagedPoolCharge OPTIONAL, IN ULONG NonPagedPoolCharge OPTIONAL, OUT PVOID *Object)
FLT_MUTEX_LIST_HEAD ConnectionList
PFLT_DISCONNECT_NOTIFY DisconnectNotify
PFLT_MESSAGE_NOTIFY MessageNotify
PFLT_CONNECT_NOTIFY ConnectNotify
#define RtlZeroMemory(Destination, Length)
#define STATUS_INVALID_PARAMETER