Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 2.16 KB

nf-ks-ksfreeobjectcreateitemsbycontext.md

File metadata and controls

73 lines (56 loc) · 2.16 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:ks.KsFreeObjectCreateItemsByContext
KsFreeObjectCreateItemsByContext function (ks.h)
Frees all create items with a specific context.
stream\ksfreeobjectcreateitemsbycontext.htm
stream
04/23/2018
KsFreeObjectCreateItemsByContext function
KsFreeObjectCreateItemsByContext, KsFreeObjectCreateItemsByContext function [Streaming Media Devices], ks/KsFreeObjectCreateItemsByContext, ksfunc_0ad51072-eff4-4be3-95f4-b54c9267a4a9.xml, stream.ksfreeobjectcreateitemsbycontext
ks.h
Ks.h
Universal
Ks.lib
Windows
KsFreeObjectCreateItemsByContext
ks/KsFreeObjectCreateItemsByContext
APIRef
kbSyntax
LibDef
Ks.lib
Ks.dll
KsFreeObjectCreateItemsByContext

KsFreeObjectCreateItemsByContext function

-description

Frees all create items with a specific context.

-parameters

-param Header [in]

Points to the device header on which the create items are attached.

-param Context [in]

Contains the context of the create items to free. All create items with this context value will be freed.

-returns

Returns STATUS_SUCCESS if the item was freed, else STATUS_OBJECT_NAME_NOT_FOUND.

-remarks

Instead of freeing create items by name as KsFreeObjectCreateItems does, this function will free all create items with a specific context. For example, all create items associated with a filter factory will have the factory as context and can be freed simultaneously with this call instead of one at a time. Note that this function does not assume that the caller is serializing multiple changes to the create entry list.

-see-also

KsFreeObjectCreateItem