KsFreeObjectCreateItem function (ks.h)

Frees the slot for the specified create item.

Syntax

KSDDKAPI NTSTATUS KsFreeObjectCreateItem(
  [in] KSDEVICE_HEADER Header,
  [in] PUNICODE_STRING CreateItem
);

Parameters

[in] Header

Points to the device header on which the create item is attached.

[in] CreateItem

Contains the name of the create item to free.

Return value

Returns STATUS_SUCCESS if the item was freed, else STATUS_OBJECT_NAME_NOT_FOUND.

Remarks

This function does not assume that the caller is serializing multiple changes to the create entry list.

Requirements

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

See also

KsFreeObjectCreateItemsByContext