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:kcom.KoCreateInstance |
KoCreateInstance function (kcom.h) |
The KoCreateInstance function creates an object of the class with the specified CLSID. |
stream\kocreateinstance.htm |
stream |
04/23/2018 |
|
KoCreateInstance, KoCreateInstance function [Streaming Media Devices], kcom/KoCreateInstance, ksfunc_57c8ab23-3163-4ef8-a381-bd81ce01d18e.xml, stream.kocreateinstance |
kcom.h |
Kcom.h |
Universal |
Ks.lib |
Windows |
|
|
|
|
|
This function is intended for internal use only.
The KoCreateInstance function creates an object of the class with the specified CLSID.
The CLSID of the object to create an instance of.
The outer unknown object to pass to the new instance.
The context in which to create the instance. This must be CLSCTX_KERNEL_SERVER.
Reference to the identifier of the interface that will communicate with the object.
Address of the pointer variable that receives the new interface pointer specified in InterfaceId.
Returns STATUS_SUCCESS if the instance was successfully created. Otherwise, it returns an error.