KsPersistDeviceProfile function (ks.h)

The KsPersistDeviceProfile API commits the profile information to the persistent store.

Syntax

KSDDKAPI NTSTATUS KsPersistDeviceProfile(
  [in] PKSFILTERFACTORY FilterFactory
);

Parameters

[in] FilterFactory

This is the KSFILTERFACTORY that was used to initialize the profile store in KsInitializeDeviceProfile.

Return value

If KsPersistDeviceProfile is called without first initializing the profile store with KsInitializeDeviceProfile the call to KsPersistDeviceProfile will fail with STATUS_INVALID_DEVICE_REQUEST. Furthermore, this API may also fail with STATUS_INSUFFICIENT_RESOURCE if the page pool is exhausted when profile information is being persisted.

Requirements

Requirement Value
Target Platform Universal
Header ks.h (include Ksmedia.h)
Library Ks.lib