|
ReactOS 0.4.16-dev-1875-g3000d45
|


Go to the source code of this file.
Classes | |
| struct | _HW_TIME_CONTEXT |
| struct | _HW_EVENT_DESCRIPTOR |
| struct | _HW_CLOCK_OBJECT |
| struct | _HW_STREAM_OBJECT |
| struct | _HW_STREAM_HEADER |
| struct | _HW_STREAM_INFORMATION |
| struct | _HW_STREAM_DESCRIPTOR |
| struct | _STREAM_TIME_REFERENCE |
| struct | _STREAM_DATA_INTERSECT_INFO |
| struct | _STREAM_PROPERTY_DESCRIPTOR |
| struct | _STREAM_METHOD_DESCRIPTOR |
| struct | KSSCATTER_GATHER |
| struct | _HW_STREAM_REQUEST_BLOCK |
| union | _HW_STREAM_REQUEST_BLOCK::_CommandData |
| struct | _ACCESS_RANGE |
| struct | _PORT_CONFIGURATION_INFORMATION |
| struct | _HW_INITIALIZATION_DATA |
Macros | |
| #define | STREAMAPI __stdcall |
| #define | STREAM_SYSTEM_TIME_MASK ((STREAM_SYSTEM_TIME)0x00000001FFFFFFFF) |
| #define | DebugPrint(x) |
| #define | DEBUG_BREAKPOINT() |
| #define | DEBUG_ASSERT(exp) |
| #define | CLOCK_SUPPORT_CAN_SET_ONBOARD_CLOCK 0x1 |
| #define | CLOCK_SUPPORT_CAN_READ_ONBOARD_CLOCK 0x2 |
| #define | CLOCK_SUPPORT_CAN_RETURN_STREAM_TIME 0x4 |
| #define | STREAM_REQUEST_BLOCK_SIZE sizeof(STREAM_REQUEST_BLOCK) |
| #define | SRB_HW_FLAGS_DATA_TRANSFER 0x01 |
| #define | SRB_HW_FLAGS_STREAM_REQUEST 0x2 |
| #define | STREAM_CLASS_VERSION_20 0x0200 |
| #define | StreamClassRegisterMinidriver StreamClassRegisterAdapter |
| #define STREAM_SYSTEM_TIME_MASK ((STREAM_SYSTEM_TIME)0x00000001FFFFFFFF) |
| #define StreamClassRegisterMinidriver StreamClassRegisterAdapter |
| typedef struct _ACCESS_RANGE ACCESS_RANGE |
| typedef struct _HW_CLOCK_OBJECT HW_CLOCK_OBJECT |
| typedef struct _HW_STREAM_HEADER HW_STREAM_HEADER |
| typedef struct _HW_STREAM_OBJECT HW_STREAM_OBJECT |
| typedef struct _HW_TIME_CONTEXT HW_TIME_CONTEXT |
| typedef struct _ACCESS_RANGE * PACCESS_RANGE |
| typedef VOID(STREAMAPI * PHW_CANCEL_SRB) (IN PHW_STREAM_REQUEST_BLOCK SRB) |
| typedef VOID(STREAMAPI * PHW_CLOCK_FUNCTION) (IN PHW_TIME_CONTEXT HwTimeContext) |
| typedef struct _HW_CLOCK_OBJECT * PHW_CLOCK_OBJECT |
| typedef struct _HW_EVENT_DESCRIPTOR * PHW_EVENT_DESCRIPTOR |
| typedef NTSTATUS(STREAMAPI * PHW_EVENT_ROUTINE) (IN PHW_EVENT_DESCRIPTOR EventDescriptor) |
| typedef VOID(STREAMAPI * PHW_QUERY_CLOCK_ROUTINE) (IN PHW_TIME_CONTEXT TimeContext) |
| typedef VOID(STREAMAPI * PHW_RECEIVE_DEVICE_SRB) (IN PHW_STREAM_REQUEST_BLOCK SRB) |
| typedef VOID(STREAMAPI * PHW_RECEIVE_STREAM_CONTROL_SRB) (IN struct _HW_STREAM_REQUEST_BLOCK *SRB) |
| typedef VOID(STREAMAPI * PHW_RECEIVE_STREAM_DATA_SRB) (IN struct _HW_STREAM_REQUEST_BLOCK *SRB) |
| typedef VOID(STREAMAPI * PHW_REQUEST_TIMEOUT_HANDLER) (IN PHW_STREAM_REQUEST_BLOCK SRB) |
| typedef struct _HW_STREAM_DESCRIPTOR * PHW_STREAM_DESCRIPTOR |
| typedef struct _HW_STREAM_HEADER * PHW_STREAM_HEADER |
| typedef struct _HW_STREAM_OBJECT * PHW_STREAM_OBJECT |
| typedef struct _HW_TIME_CONTEXT * PHW_TIME_CONTEXT |
| typedef struct KSSCATTER_GATHER * PKSSCATTER_GATHER |
| typedef enum _STREAM_MINIDRIVER_DEVICE_NOTIFICATION_TYPE * PSTREAM_MINIDRIVER_DEVICE_NOTIFICATION_TYPE |
| typedef enum _STREAM_MINIDRIVER_STREAM_NOTIFICATION_TYPE * PSTREAM_MINIDRIVER_STREAM_NOTIFICATION_TYPE |
| typedef PHYSICAL_ADDRESS * PSTREAM_PHYSICAL_ADDRESS |
| typedef enum _STREAM_PRIORITY * PSTREAM_PRIORITY |
| typedef enum _SRB_COMMAND SRB_COMMAND |
| typedef enum _STREAM_PRIORITY STREAM_PRIORITY |
Definition at line 171 of file strmini.h.
| Enumerator | |
|---|---|
| ReadyForNextDeviceRequest | |
| DeviceRequestComplete | |
| SignalMultipleDeviceEvents | |
| SignalDeviceEvent | |
| DeleteDeviceEvent | |
| SignalMultipleDeviceInstanceEvents | |
| DeviceNotificationMaximum | |
Definition at line 328 of file strmini.h.
| Enumerator | |
|---|---|
| ReadyForNextStreamDataRequest | |
| ReadyForNextStreamControlRequest | |
| HardwareStarved | |
| StreamRequestComplete | |
| SignalMultipleStreamEvents | |
| SignalStreamEvent | |
| DeleteStreamEvent | |
| StreamNotificationMaximum | |
Definition at line 317 of file strmini.h.
| Enumerator | |
|---|---|
| PerRequestExtension | |
| DmaBuffer | |
| SRBDataBuffer | |
| Enumerator | |
|---|---|
| DebugLevelFatal | |
| DebugLevelError | |
| DebugLevelWarning | |
| DebugLevelInfo | |
| DebugLevelTrace | |
| DebugLevelVerbose | |
| DebugLevelMaximum | |
Definition at line 11 of file strmini.h.
| Enumerator | |
|---|---|
| TIME_GET_STREAM_TIME | |
| TIME_READ_ONBOARD_CLOCK | |
| TIME_SET_ONBOARD_CLOCK | |
Definition at line 41 of file strmini.h.
| _IRQL_requires_max_ | ( | APC_LEVEL | ) |
Probes and locks virtual pages in memory for the specified process.
| [in,out] | MemoryDescriptorList | Memory Descriptor List (MDL) containing the buffer to be probed and locked. |
| [in] | Process | The process for which the buffer should be probed and locked. |
| [in] | AccessMode | Access mode for probing the pages. Can be KernelMode or UserMode. |
| [in] | LockOperation | The type of the probing and locking operation. Can be IoReadAccess, IoWriteAccess or IoModifyAccess. |
Probes and locks virtual pages in memory for the specified process.
Frees previously reserved amount of memory in system virtual address space.
| [in] | NumberOfBytes | Size, in bytes, of memory to reserve. |
| [in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
| [in] | BaseAddress | A pointer to the 1st memory block of the reserved buffer. |
| [in] | PoolTag | Pool Tag identifying the buffer. Usually consists from 4 characters in reversed order. |
Definition at line 37 of file cddata.c.
| _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 347 of file common.c.
| _IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
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.
| [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. |
| [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. |
| [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. |
| [in] | SecurityDescriptor | A security descriptor to be freed from memory. |
| [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. |
| [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. |
| [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. |
Definition at line 923 of file Messaging.c.
| VOID StreamClassAbortOutstandingRequests | ( | _In_ PVOID | HwDeviceExtension, |
| _In_opt_ PHW_STREAM_OBJECT | HwStreamObject, | ||
| _In_ NTSTATUS | Status | ||
| ) |
| VOID STREAMAPI StreamClassCallAtNewPriority | ( | _In_opt_ PHW_STREAM_OBJECT | StreamObject, |
| _In_ PVOID | HwDeviceExtension, | ||
| _In_ STREAM_PRIORITY | Priority, | ||
| _In_ PHW_PRIORITY_ROUTINE | PriorityRoutine, | ||
| _In_ PVOID | Context | ||
| ) |
| VOID STREAMAPI StreamClassCompleteRequestAndMarkQueueReady | ( | _In_ PHW_STREAM_REQUEST_BLOCK | Srb | ) |
| __analysis_noreturn VOID STREAMAPI StreamClassDebugAssert | ( | _In_ PCHAR | File, |
| _In_ ULONG | Line, | ||
| _In_ PCHAR | AssertText, | ||
| _In_ ULONG | AssertValue | ||
| ) |
| VOID __cdecl StreamClassDebugPrint | ( | _In_ STREAM_DEBUG_LEVEL | DebugPrintLevel, |
| _In_ PCCHAR | DebugMessage, | ||
| ... | |||
| ) |
| VOID __cdecl StreamClassDeviceNotification | ( | IN STREAM_MINIDRIVER_DEVICE_NOTIFICATION_TYPE | NotificationType, |
| IN PVOID | HwDeviceExtension, | ||
| IN PHW_STREAM_REQUEST_BLOCK | pSrb, | ||
| IN PKSEVENT_ENTRY | EventEntry, | ||
| IN GUID * | EventSet, | ||
| IN ULONG | EventId | ||
| ) |
Definition at line 265 of file driver.c.
| VOID STREAMAPI StreamClassFilterReenumerateStreams | ( | _In_ PVOID | HwInstanceExtension, |
| _In_ ULONG | StreamDescriptorSize | ||
| ) |
| PKSEVENT_ENTRY StreamClassGetNextEvent | ( | _In_opt_ PVOID | HwInstanceExtension_OR_HwDeviceExtension, |
| _In_opt_ PHW_STREAM_OBJECT | HwStreamObject, | ||
| _In_opt_ GUID * | EventGuid, | ||
| _In_ ULONG | EventItem, | ||
| _In_opt_ PKSEVENT_ENTRY | CurrentEvent | ||
| ) |
| STREAM_PHYSICAL_ADDRESS STREAMAPI StreamClassGetPhysicalAddress | ( | _In_ PVOID | HwDeviceExtension, |
| _In_opt_ PHW_STREAM_REQUEST_BLOCK | HwSRB, | ||
| _In_ PVOID | VirtualAddress, | ||
| _In_ STREAM_BUFFER_TYPE | Type, | ||
| _Out_ ULONG * | Length | ||
| ) |
| VOID StreamClassQueryMasterClock | ( | _In_ PHW_STREAM_OBJECT | HwStreamObject, |
| _In_ HANDLE | MasterClockHandle, | ||
| _In_ TIME_FUNCTION | TimeFunction, | ||
| _In_ PHW_QUERY_CLOCK_ROUTINE | ClockCallbackRoutine | ||
| ) |
| VOID STREAMAPI StreamClassReenumerateStreams | ( | _In_ PVOID | HwDeviceExtension, |
| _In_ ULONG | StreamDescriptorSize | ||
| ) |
| VOID STREAMAPI StreamClassScheduleTimer | ( | _In_opt_ PHW_STREAM_OBJECT | StreamObject, |
| _In_ PVOID | HwDeviceExtension, | ||
| _In_ ULONG | NumberOfMicroseconds, | ||
| _In_ PHW_TIMER_ROUTINE | TimerRoutine, | ||
| _In_ PVOID | Context | ||
| ) |
| VOID __cdecl StreamClassStreamNotification | ( | _In_ STREAM_MINIDRIVER_STREAM_NOTIFICATION_TYPE | NotificationType, |
| _In_ PHW_STREAM_OBJECT | StreamObject, | ||
| ... | |||
| ) |
| _In_ PVOID _In_ PHW_INITIALIZATION_DATA HwInitializationData |
Definition at line 505 of file strmini.h.
Referenced by DECLARE_INTERFACE_(), EnumerateAudioFilter(), CKsProxy::GetPinName(), KsRegisterFilterWithNoKSPins(), MMixerAllocateTopology(), MMixerCreateTopology(), MMixerGetTopologyPinCount(), MMixerHandleAlternativeMixers(), MMixerInitializeMidiForFilter(), MMixerInitializeWaveInfo(), PcCreateSubdeviceDescriptor(), RtlAtomTestThread(), RtlQueryAtomInAtomTable(), test_NtAtom(), test_NtIntAtom(), and test_NtRefPinAtom().
| __GNU_EXTENSION typedef unsigned __int64 * PSTREAM_SYSTEM_TIME |
| __GNU_EXTENSION typedef unsigned __int64 * PSTREAM_TIMESTAMP |
Definition at line 479 of file strmini.h.
Referenced by CONSOLE_ConInKey(), CONSOLE_ConInKeyPeek(), continue_binding(), DECLARE_INTERFACE_(), GetProtoGetNextEnt(), HwReadWriteData(), InternalGetBinaryType(), InternalIsOS2OrOldWin(), LoadColumnsStream(), LoadImageFromFileHandle(), CDefView::LoadViewState(), MimeProtocol_Read(), MimeProtocolSink_ReportData(), NtfsGetFreeClusters(), OslpGetSetBootStatusData(), PciReadWriteConfigSpace(), Protocol_Continue(), Protocol_Read(), Protocol_Start(), ProtocolEmul_Continue(), ProtocolEmul_Read(), ProtocolSink_ReportData(), ProtocolSink_ReportProgress(), RtlGetSetBootStatusData(), RxGetRegistryParameters(), Stream_Read(), StreamClassReadWriteConfig(), test_BindToStorage(), test_CreateBinding(), test_StreamLoad(), thread_proc(), and WdmAudReadWrite().
| __GNU_EXTENSION typedef unsigned __int64 STREAM_SYSTEM_TIME |
| __GNU_EXTENSION typedef unsigned __int64 STREAM_TIMESTAMP |
| _Inout_ PHW_TIME_CONTEXT TimeContext |