Sdílet prostřednictvím


KSMETHOD structure

The KSMETHOD structure specifies a single kernel streaming method within a method set.

The KSEVENT, KSMETHOD, and KSPROPERTY structures are aliases for the KSIDENTIFIER structure. Proto jsou jejich definice identické.

Syntax

struct KSMETHOD {
  GUID Set;
  ULONG Id;
  ULONG Flags;
};

Members

Set

Určuje identifikátor GUID, který identifikuje sadu metod streamování jádra.

For more information about method set GUIDs, see the Remarks section below.

Id

Určuje člen sady metod.

Flags

Určuje typ požadavku. Also, see the KSMETHOD_TYPE_Xxx flags for KSMETHOD_ITEM).

Požadavek může obsahovat kombinaci hodnot uvedených v následující tabulce.

Value Typ požadavku metody
KSMETHOD_TYPE_BASICSUPPORT Označuje dotaz na minidriver určit, zda podporuje zadanou metodu sady metod.
KSMETHOD_TYPE_SEND Označuje, že minidriver by měl spustit zadanou metodu. Účinek metody na dané parametry musí být znám klientovi, tj. zda se parametry čtou, zapisují do obou nebo ani do nich. The minidriver uses the KSMETHOD_ITEM structure to specify the method's effect on the parameters.
KSMETHOD_TYPE_SETSUPPORT Označuje dotaz na minidriver určit, zda podporuje zadanou sadu metod.
KSMETHOD_TYPE_TOPOLOGY Indicates that the specified method is of type KSM_NODE, where the NodeId member is the identifier of the topology node. Nenastavujte tento příznak samostatně; místo toho NEBO s jinými příznaky z tohoto seznamu.

Remarks

Microsoft poskytuje několik identifikátorů GUID sady metod definovaných systémem. Minidrivers specify one of these GUIDs in the Set member. Kernel streaming method sets typically begin with a KSMETHODSETID prefix. Kernel streaming method sets are defined in ks.h, ksmedia.h, bdamedia.h, and possibly other header files.

Další informace oudálostch

Klient může použít požadavek IOCTL_KS_METHOD spolu se strukturou KSMETHOD ke spouštění metod na objektu streamování jádra, který minidriver zpracovává. For more information, see KS Methods.

Requirements

Header: ks.h (include Ks.h)

See also

KSEVENT

KSPROPERTY

KSIDENTIFIER

KSMETHOD_ITEM

KSE_NODE