Bewerken

Delen via


AcxJackCreate function (acxpin.h)

The AcxJackCreate function creates and initializes a new audio jack object.

Syntax

NTSTATUS AcxJackCreate(
  [in]  ACXPIN                 AcxPin,
  [in]  PWDF_OBJECT_ATTRIBUTES Attributes,
  [in]  PACX_JACK_CONFIG       Config,
  [out] ACXJACK                *Jack
);

Parameters

[in] AcxPin

The pin object associated with the jack.

[in] Attributes

A pointer to the WDF_OBJECT_ATTRIBUTES structure to use when creating the jack.

[in] Config

A pointer to an ACX_JACK_CONFIG structure to use when creating the jack.

[out] Jack

A pointer to the newly created jack object.

Return value

The method returns STATUS_SUCCESS if the operation succeeds. Otherwise, this method might return an appropriate NTSTATUS error code.

Remarks

ACX requirements

Minimum ACX version: 1.0

For more information about ACX versions, see ACX version overview.

Requirements

Requirement Value
Header acxpin.h
IRQL PASSIVE_LEVEL

See also