Partager via


IKsReferenceClock ::GetState, méthode (ks.h)

La méthode IKsReferenceClock ::GetState interroge l’horloge de référence associée pour son état de streaming actuel.

Syntaxe

NTSTATUS GetState(
  [out] PKSSTATE State
);

Paramètres

[out] State

Pointe vers une structure KSSTATE qui indique l’état de streaming de l’horloge sous-jacente.

Valeur de retour

La méthode IKsReferenceClock ::GetState retourne STATUS_SUCCESS ou le code d’erreur retourné par l’horloge appropriée de sa propriété GetState. Voir KSPROPERTY_CLOCK_STATE. Peut retourner STATUS_DEVICE_NOT_READY si aucune horloge n’est affectée.

Remarques

Pour plus d’informations, consultez horloges AVStream.

AVStream utilise la propriété KSPROPERTY_CLOCK_STATE pour récupérer l’heure corrélée.

Exigences

Exigence Valeur
plateforme cible Universel
d’en-tête ks.h (include Ks.h)

Voir aussi

KSSTATE

KsPinGetReferenceClockInterface