// ks.h
void KsPinAcquireControl(
[in] PKSPIN Pin
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsPinAcquireControl function acquires the control mutex for the AVStream pin specified by Pin.
Pin [in]A pointer to the KSPIN for which to acquire the control mutex.
The pin control mutex is the same mutex that is used by Pin's parent. This means that the mutex for Pin is also a filter control mutex. For more information, see Mutexes in AVStream.
KsPinAcquireControl is an inline call to KsAcquireControl with the appropriate typecasting. Minidrivers manipulating pins should call KsPinAcquireControl instead of calling KsAcquireControl directly.