mirror of
https://github.com/reactos/reactos.git
synced 2024-09-02 16:48:36 +00:00
[KMIXER]
- Set KSCREATE_ITEM_WILDCARD flag to receive all requests in one handler -- Kmixer is now back accessible svn path=/trunk/; revision=41886
This commit is contained in:
parent
6181543561
commit
76d872ed01
|
@ -201,7 +201,7 @@ DispatchCreateKMix(
|
|||
if (Buffer)
|
||||
{
|
||||
/* is the request for a new pin */
|
||||
if (!wcsstr(KS_NAME_PIN, Buffer))
|
||||
if (wcsstr(Buffer, KS_NAME_PIN))
|
||||
{
|
||||
Status = CreatePin(Irp);
|
||||
|
||||
|
@ -254,6 +254,7 @@ KMixAllocateDeviceHeader(
|
|||
/* initialize create item struct */
|
||||
RtlZeroMemory(CreateItem, sizeof(KSOBJECT_CREATE_ITEM));
|
||||
CreateItem->Create = DispatchCreateKMix;
|
||||
CreateItem->Flags = KSCREATE_ITEM_WILDCARD;
|
||||
RtlInitUnicodeString(&CreateItem->ObjectClass, L"KMixer");
|
||||
|
||||
Status = KsAllocateDeviceHeader(&DeviceExtension->KsDeviceHeader,
|
||||
|
|
Loading…
Reference in a new issue