|
#define | TDIKRNLAPI DECLSPEC_IMPORT |
|
#define | TDI_ASSOCIATE_ADDRESS 0x01 |
|
#define | TDI_DISASSOCIATE_ADDRESS 0x02 |
|
#define | TDI_CONNECT 0x03 |
|
#define | TDI_LISTEN 0x04 |
|
#define | TDI_ACCEPT 0x05 |
|
#define | TDI_DISCONNECT 0x06 |
|
#define | TDI_SEND 0x07 |
|
#define | TDI_RECEIVE 0x08 |
|
#define | TDI_SEND_DATAGRAM 0x09 |
|
#define | TDI_RECEIVE_DATAGRAM 0x0A |
|
#define | TDI_SET_EVENT_HANDLER 0x0B |
|
#define | TDI_QUERY_INFORMATION 0x0C |
|
#define | TDI_SET_INFORMATION 0x0D |
|
#define | TDI_ACTION 0x0E |
|
#define | TDI_DIRECT_SEND 0x27 |
|
#define | TDI_DIRECT_SEND_DATAGRAM 0x29 |
|
#define | TDI_TRANSPORT_ADDRESS_FILE 1 |
|
#define | TDI_CONNECTION_FILE 2 |
|
#define | TDI_CONTROL_CHANNEL_FILE 3 |
|
#define | IOCTL_TDI_QUERY_DIRECT_SEND_HANDLER _TDI_CONTROL_CODE(0x80, METHOD_NEITHER) |
|
#define | IOCTL_TDI_QUERY_DIRECT_SENDDG_HANDLER _TDI_CONTROL_CODE(0x81, METHOD_NEITHER) |
|
#define | TDI_EVENT_CONNECT 0 |
|
#define | TDI_EVENT_DISCONNECT 1 |
|
#define | TDI_EVENT_ERROR 2 |
|
#define | TDI_EVENT_RECEIVE 3 |
|
#define | TDI_EVENT_RECEIVE_DATAGRAM 4 |
|
#define | TDI_EVENT_RECEIVE_EXPEDITED 5 |
|
#define | TDI_EVENT_SEND_POSSIBLE 6 |
|
#define | TDI_EVENT_CHAINED_RECEIVE 7 |
|
#define | TDI_EVENT_CHAINED_RECEIVE_DATAGRAM 8 |
|
#define | TDI_EVENT_CHAINED_RECEIVE_EXPEDITED 9 |
|
#define | TDI_EVENT_ERROR_EX 10 |
|
#define | TdiBuildBaseIrp( bIrp, bDevObj, bFileObj, bCompRoutine, bContxt, bIrpSp, bMinor) |
|
#define | TdiBuildAccept( Irp, DevObj, FileObj, CompRoutine, Contxt, RequestConnectionInfo, ReturnConnectionInfo) |
|
#define | TdiBuildAction( Irp, DevObj, FileObj, CompRoutine, Contxt, MdlAddr) |
|
#define | TdiBuildAssociateAddress( Irp, DevObj, FileObj, CompRoutine, Contxt, AddrHandle) |
|
#define | TdiBuildConnect( Irp, DevObj, FileObj, CompRoutine, Contxt, Time, RequestConnectionInfo, ReturnConnectionInfo) |
|
#define | TdiBuildDisassociateAddress( Irp, DevObj, FileObj, CompRoutine, Contxt) |
|
#define | TdiBuildDisconnect( Irp, DevObj, FileObj, CompRoutine, Contxt, Time, Flags, RequestConnectionInfo, ReturnConnectionInfo) |
|
#define | TdiBuildInternalDeviceControlIrp(IrpSubFunction, DeviceObject, FileObject, Event, IoStatusBlock) |
|
#define | TdiBuildListen( Irp, DevObj, FileObj, CompRoutine, Contxt, Flags, RequestConnectionInfo, ReturnConnectionInfo) |
|
#define | TdiBuildQueryInformation( Irp, DevObj, FileObj, CompRoutine, Contxt, QType, MdlAddr) |
|
#define | TdiBuildReceive( Irp, DevObj, FileObj, CompRoutine, Contxt, MdlAddr, InFlags, ReceiveLen) |
|
#define | TdiBuildReceiveDatagram( Irp, DevObj, FileObj, CompRoutine, Contxt, MdlAddr, ReceiveLen, ReceiveDatagramInfo, ReturnInfo, InFlags) |
|
#define | TdiBuildSend( Irp, DevObj, FileObj, CompRoutine, Contxt, MdlAddr, InFlags, SendLen) |
|
#define | TdiBuildSendDatagram( Irp, DevObj, FileObj, CompRoutine, Contxt, MdlAddr, SendLen, SendDatagramInfo) |
|
#define | TdiBuildSetEventHandler( Irp, DevObj, FileObj, CompRoutine, Contxt, InEventType, InEventHandler, InEventContext) |
|
#define | TdiBuildSetInformation( Irp, DevObj, FileObj, CompRoutine, Contxt, SType, MdlAddr) |
|
#define | TDI_CURRENT_MAJOR_VERSION 2 |
|
#define | TDI_CURRENT_MINOR_VERSION 0 |
|
#define | TDI_CURRENT_VERSION |
|
#define | TDI_VERSION_ONE 0x0001 |
|
#define | TDI_PNP_CONTEXT_TYPE_IF_NAME 0x1 |
|
#define | TDI_PNP_CONTEXT_TYPE_IF_ADDR 0x2 |
|
#define | TDI_PNP_CONTEXT_TYPE_PDO 0x3 |
|
#define | TDI_PNP_CONTEXT_TYPE_FIRST_OR_LAST_IF 0x4 |
|
#define | TdiCompleteRequest(Irp, Status) |
|
#define | TdiCopyLookaheadData(Destination, Source, Length, ReceiveFlags) RtlCopyMemory(Destination, Source, Length) |
|
|
typedef struct _TDI_REQUEST_KERNEL | TDI_REQUEST_KERNEL |
|
typedef struct _TDI_REQUEST_KERNEL * | PTDI_REQUEST_KERNEL |
|
typedef struct _TDI_REQUEST_KERNEL_ASSOCIATE | TDI_REQUEST_KERNEL_ASSOCIATE |
|
typedef struct _TDI_REQUEST_KERNEL_ASSOCIATE * | PTDI_REQUEST_KERNEL_ASSOCIATE |
|
typedef TDI_REQUEST_KERNEL | TDI_REQUEST_KERNEL_DISASSOCIATE |
|
typedef TDI_REQUEST_KERNEL * | PTDI_REQUEST_KERNEL_DISASSOCIATE |
|
typedef struct _TDI_REQUEST_KERNEL_ACCEPT | TDI_REQUEST_KERNEL_ACCEPT |
|
typedef struct _TDI_REQUEST_KERNEL_ACCEPT * | PTDI_REQUEST_KERNEL_ACCEPT |
|
typedef TDI_REQUEST_KERNEL | TDI_REQUEST_KERNEL_CONNECT |
|
typedef TDI_REQUEST_KERNEL * | PTDI_REQUEST_KERNEL_CONNECT |
|
typedef TDI_REQUEST_KERNEL | TDI_REQUEST_KERNEL_DISCONNECT |
|
typedef TDI_REQUEST_KERNEL * | PTDI_REQUEST_KERNEL_DISCONNECT |
|
typedef TDI_REQUEST_KERNEL | TDI_REQUEST_KERNEL_LISTEN |
|
typedef TDI_REQUEST_KERNEL * | PTDI_REQUEST_KERNEL_LISTEN |
|
typedef struct _TDI_REQUEST_KERNEL_RECEIVE | TDI_REQUEST_KERNEL_RECEIVE |
|
typedef struct _TDI_REQUEST_KERNEL_RECEIVE * | PTDI_REQUEST_KERNEL_RECEIVE |
|
typedef struct _TDI_REQUEST_KERNEL_RECEIVEDG | TDI_REQUEST_KERNEL_RECEIVEDG |
|
typedef struct _TDI_REQUEST_KERNEL_RECEIVEDG * | PTDI_REQUEST_KERNEL_RECEIVEDG |
|
typedef struct _TDI_REQUEST_KERNEL_SEND | TDI_REQUEST_KERNEL_SEND |
|
typedef struct _TDI_REQUEST_KERNEL_SEND * | PTDI_REQUEST_KERNEL_SEND |
|
typedef struct _TDI_REQUEST_KERNEL_SENDDG | TDI_REQUEST_KERNEL_SENDDG |
|
typedef struct _TDI_REQUEST_KERNEL_SENDDG * | PTDI_REQUEST_KERNEL_SENDDG |
|
typedef struct _TDI_REQUEST_KERNEL_SET_EVENT | TDI_REQUEST_KERNEL_SET_EVENT |
|
typedef struct _TDI_REQUEST_KERNEL_SET_EVENT * | PTDI_REQUEST_KERNEL_SET_EVENT |
|
typedef struct _TDI_REQUEST_KERNEL_QUERY_INFO | TDI_REQUEST_KERNEL_QUERY_INFORMATION |
|
typedef struct _TDI_REQUEST_KERNEL_QUERY_INFO * | PTDI_REQUEST_KERNEL_QUERY_INFORMATION |
|
typedef struct _TDI_REQUEST_KERNEL_SET_INFO | TDI_REQUEST_KERNEL_SET_INFORMATION |
|
typedef struct _TDI_REQUEST_KERNEL_SET_INFO * | PTDI_REQUEST_KERNEL_SET_INFORMATION |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_CONNECT) (_In_opt_ PVOID TdiEventContext, _In_ LONG RemoteAddressLength, _In_reads_bytes_(RemoteAddressLength) PVOID RemoteAddress, _In_ LONG UserDataLength, _In_reads_bytes_opt_(UserDataLength) PVOID UserData, _In_ LONG OptionsLength, _In_reads_bytes_opt_(OptionsLength) PVOID Options, _Out_ CONNECTION_CONTEXT *ConnectionContext, _Out_ PIRP *AcceptIrp) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_DISCONNECT) (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ LONG DisconnectDataLength, _In_reads_bytes_opt_(DisconnectDataLength) PVOID DisconnectData, _In_ LONG DisconnectInformationLength, _In_reads_bytes_opt_(DisconnectInformationLength) PVOID DisconnectInformation, _In_ ULONG DisconnectFlags) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_ERROR) (_In_opt_ PVOID TdiEventContext, _In_ NTSTATUS Status) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_ERROR_EX) (_In_opt_ PVOID TdiEventContext, _In_ NTSTATUS Status, _In_ PVOID Buffer) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_RECEIVE) (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG BytesIndicated, _In_ ULONG BytesAvailable, _Out_ ULONG *BytesTaken, _In_ PVOID Tsdu, _Out_opt_ PIRP *IoRequestPacket) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_RECEIVE_DATAGRAM) (_In_opt_ PVOID TdiEventContext, _In_ LONG SourceAddressLength, _In_reads_bytes_(SourceAddressLength) PVOID SourceAddress, _In_ LONG OptionsLength, _In_reads_bytes_opt_(OptionsLength) PVOID Options, _In_ ULONG ReceiveDatagramFlags, _In_ ULONG BytesIndicated, _In_ ULONG BytesAvailable, _Out_ ULONG *BytesTaken, _In_ PVOID Tsdu, _Out_opt_ PIRP *IoRequestPacket) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_RECEIVE_EXPEDITED) (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG BytesIndicated, _In_ ULONG BytesAvailable, _Out_ ULONG *BytesTaken, _In_ PVOID Tsdu, _Out_opt_ PIRP *IoRequestPacket) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_CHAINED_RECEIVE) (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG ReceiveLength, _In_ ULONG StartingOffset, _In_ PMDL Tsdu, _In_ PVOID TsduDescriptor) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_CHAINED_RECEIVE_DATAGRAM) (_In_opt_ PVOID TdiEventContext, _In_ LONG SourceAddressLength, _In_reads_bytes_(SourceAddressLength) PVOID SourceAddress, _In_ LONG OptionsLength, _In_reads_bytes_opt_(OptionsLength) PVOID Options, _In_ ULONG ReceiveDatagramFlags, _In_ ULONG ReceiveDatagramLength, _In_ ULONG StartingOffset, _In_ PMDL Tsdu, _In_ PVOID TsduDescriptor) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_CHAINED_RECEIVE_EXPEDITED) (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG ReceiveLength, _In_ ULONG StartingOffset, _In_ PMDL Tsdu, _In_ PVOID TsduDescriptor) |
|
typedef NTSTATUS(NTAPI * | PTDI_IND_SEND_POSSIBLE) (_In_opt_ PVOID TdiEventContext, _In_opt_ PVOID ConnectionContext, _In_ ULONG BytesAvailable) |
|
typedef enum _TDI_PNP_OPCODE | TDI_PNP_OPCODE |
|
typedef struct _TDI_PNP_CONTEXT | TDI_PNP_CONTEXT |
|
typedef struct _TDI_PNP_CONTEXT * | PTDI_PNP_CONTEXT |
|
typedef VOID(NTAPI * | TDI_ADD_ADDRESS_HANDLER) (_In_ PTA_ADDRESS Address) |
|
typedef VOID(NTAPI * | TDI_ADD_ADDRESS_HANDLER_V2) (_In_ PTA_ADDRESS Address, _In_ PUNICODE_STRING DeviceName, _In_ PTDI_PNP_CONTEXT Context) |
|
typedef VOID(NTAPI * | TDI_BINDING_HANDLER) (_In_ TDI_PNP_OPCODE PnPOpcode, _In_ PUNICODE_STRING DeviceName, _In_ PWSTR MultiSZBindList) |
|
typedef VOID(NTAPI * | TDI_BIND_HANDLER) (_In_ PUNICODE_STRING DeviceName) |
|
typedef VOID(NTAPI * | TDI_DEL_ADDRESS_HANDLER) (_In_ PTA_ADDRESS Address) |
|
typedef VOID(NTAPI * | TDI_DEL_ADDRESS_HANDLER_V2) (_In_ PTA_ADDRESS Address, _In_ PUNICODE_STRING DeviceName, _In_ PTDI_PNP_CONTEXT Context) |
|
typedef NTSTATUS(NTAPI * | TDI_PNP_POWER_HANDLER) (_In_ PUNICODE_STRING DeviceName, _In_ PNET_PNP_EVENT PowerEvent, _In_ PTDI_PNP_CONTEXT Context1, _In_ PTDI_PNP_CONTEXT Context2) |
|
typedef VOID(NTAPI * | TDI_UNBIND_HANDLER) (_In_ PUNICODE_STRING DeviceName) |
|
typedef VOID(NTAPI * | ProviderPnPPowerComplete) (_In_ PNET_PNP_EVENT NetEvent, _In_ NTSTATUS ProviderStatus) |
|
typedef struct _TDI20_CLIENT_INTERFACE_INFO | TDI20_CLIENT_INTERFACE_INFO |
|
typedef struct _TDI20_CLIENT_INTERFACE_INFO * | PTDI20_CLIENT_INTERFACE_INFO |
|
typedef TDI20_CLIENT_INTERFACE_INFO | TDI_CLIENT_INTERFACE_INFO |
|
typedef TDI_CLIENT_INTERFACE_INFO * | PTDI_CLIENT_INTERFACE_INFO |
|
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultConnectHandler (_In_opt_ PVOID TdiEventContext, _In_ LONG RemoteAddressLength, _In_reads_bytes_(RemoteAddressLength) PVOID RemoteAddress, _In_ LONG UserDataLength, _In_reads_bytes_opt_(UserDataLength) PVOID UserData, _In_ LONG OptionsLength, _In_reads_bytes_opt_(OptionsLength) PVOID Options, _Out_ CONNECTION_CONTEXT *ConnectionContext, _Out_ PIRP *AcceptIrp) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultDisconnectHandler (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ LONG DisconnectDataLength, _In_reads_bytes_opt_(DisconnectDataLength) PVOID DisconnectData, _In_ LONG DisconnectInformationLength, _In_reads_bytes_opt_(DisconnectInformationLength) PVOID DisconnectInformation, _In_ ULONG DisconnectFlags) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultErrorHandler (_In_opt_ PVOID TdiEventContext, _In_ NTSTATUS Status) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultReceiveHandler (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG BytesIndicated, _In_ ULONG BytesAvailable, _Out_ ULONG *BytesTaken, _In_ PVOID Tsdu, _Out_opt_ PIRP *IoRequestPacket) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultRcvDatagramHandler (_In_opt_ PVOID TdiEventContext, _In_ LONG SourceAddressLength, _In_reads_bytes_(SourceAddressLength) PVOID SourceAddress, _In_ LONG OptionsLength, _In_reads_bytes_opt_(OptionsLength) PVOID Options, _In_ ULONG ReceiveDatagramFlags, _In_ ULONG BytesIndicated, _In_ ULONG BytesAvailable, _Out_ ULONG *BytesTaken, _In_ PVOID Tsdu, _Out_opt_ PIRP *IoRequestPacket) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultRcvExpeditedHandler (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG BytesIndicated, _In_ ULONG BytesAvailable, _Out_ ULONG *BytesTaken, _In_ PVOID Tsdu, _Out_opt_ PIRP *IoRequestPacket) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultChainedReceiveHandler (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG ReceiveLength, _In_ ULONG StartingOffset, _In_ PMDL Tsdu, _In_ PVOID TsduDescriptor) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultChainedRcvDatagramHandler (_In_opt_ PVOID TdiEventContext, _In_ LONG SourceAddressLength, _In_reads_bytes_(SourceAddressLength) PVOID SourceAddress, _In_ LONG OptionsLength, _In_reads_bytes_opt_(OptionsLength) PVOID Options, _In_ ULONG ReceiveDatagramFlags, _In_ ULONG ReceiveDatagramLength, _In_ ULONG StartingOffset, _In_ PMDL Tsdu, _In_ PVOID TsduDescriptor) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultChainedRcvExpeditedHandler (_In_opt_ PVOID TdiEventContext, _In_opt_ CONNECTION_CONTEXT ConnectionContext, _In_ ULONG ReceiveFlags, _In_ ULONG ReceiveLength, _In_ ULONG StartingOffset, _In_ PMDL Tsdu, _In_ PVOID TsduDescriptor) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDefaultSendPossibleHandler (_In_opt_ PVOID TdiEventContext, _In_opt_ PVOID ConnectionContext, _In_ ULONG BytesAvailable) |
|
TDIKRNLAPI VOID NTAPI | TdiBuildNetbiosAddress (_In_ PUCHAR NetbiosName, _In_ BOOLEAN IsGroupName, _Inout_ PTA_NETBIOS_ADDRESS NetworkName) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiBuildNetbiosAddressEa (_Out_ PUCHAR Buffer, _In_ BOOLEAN IsGroupName, _In_ PUCHAR NetbiosName) |
|
| _IRQL_requires_max_ (DISPATCH_LEVEL) TDIKRNLAPI NTSTATUS NTAPI TdiCopyBufferToMdl(_In_ PVOID SourceBuffer |
|
_In_ ULONG | _Out_writes_bytes_ (DestinationBufferSize) PVOID DestinationBuffer |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiDeregisterAddressChangeHandler (_In_ HANDLE BindingHandle) |
|
| _IRQL_requires_max_ (APC_LEVEL) TDIKRNLAPI NTSTATUS NTAPI TdiDeregisterDeviceObject(_In_ HANDLE DevRegistrationHandle) |
|
| _IRQL_requires_max_ (PASSIVE_LEVEL) TDIKRNLAPI VOID NTAPI TdiInitialize(VOID) |
| Queries information details about a security descriptor.
|
|
TDIKRNLAPI VOID NTAPI | TdiMapBuffer (_In_ PMDL MdlChain) |
|
TDIKRNLAPI BOOLEAN NTAPI | TdiMatchPdoWithChainedReceiveContext (_In_ PVOID TsduDescriptor, _In_ PVOID PDO) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiRegisterAddressChangeHandler (_In_ TDI_ADD_ADDRESS_HANDLER AddHandler, _In_ TDI_DEL_ADDRESS_HANDLER DeleteHandler, _Out_ HANDLE *BindingHandle) |
|
TDIKRNLAPI NTSTATUS NTAPI | TdiRegisterNotificationHandler (_In_ TDI_BIND_HANDLER BindHandler, _In_ TDI_UNBIND_HANDLER UnbindHandler, _Out_ HANDLE *BindingHandle) |
|
TDIKRNLAPI VOID NTAPI | TdiUnmapBuffer (_In_ PMDL MdlChain) |
|
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