_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
PVOID PVOID PWCHAR PVOID Environment
NTSTATUS NTAPI SmExecuteProgram(_In_ HANDLE SmApiPort, _In_ PUNICODE_STRING Pgm)
This function is used to make the SM start an external process under an already-loaded environment su...
NTSTATUS NTAPI SmQueryInformation(_In_ HANDLE SmApiPort, _In_ SM_INFORMATION_CLASS SmInformationClass, _Inout_ PVOID Data, _In_ ULONG DataLength, _Inout_opt_ PULONG ReturnedDataLength)
Retrieves information about subsystems registered with the SM.
NTSTATUS NTAPI SmLookupSubsystem(_In_ PWSTR Name, _Out_ PWSTR Data, _Inout_ PULONG DataLength, _Out_opt_ PULONG DataType, _In_opt_ PVOID Environment)
Reads from the registry key \Registry\SYSTEM\CurrentControlSet\Control\Session Manager\SubSystems the...