Expand Minimize

KsAcquireResetValue function

The KsAcquireResetValue function retrieves the current reset state from an IOCTL_KS_RESET_STATE IRP.

Syntax


NTSTATUS KsAcquireResetValue(
  _In_   PIRP Irp,
  _Out_  KSRESET *ResetValue
);

Parameters

Irp [in]

Points to the IRP from which to retrieve the reset state.

ResetValue [out]

Points to a caller-allocated buffer, that on successful completion contains the reset value (KSRESET_BEGIN, KSRESET_END) associated with the IRP.

Return value

The KsAcquireResetValue function returns STATUS_SUCCESS if the reset value was obtained.

Requirements

Header

Ks.h (include Ks.h)

Library

Ks.lib

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft