UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | 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 | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:propsys.ICreateObject.CreateObject |
ICreateObject::CreateObject (propsys.h) |
Creates a local object of a specified class and returns a pointer to a specified interface on the object. |
|
shell\ICreateObject_CreateObject.htm |
shell |
72c56de7-4c04-4bcf-b6bb-6e41d12b68a3 |
12/05/2018 |
CreateObject, CreateObject method [Windows Shell], CreateObject method [Windows Shell],ICreateObject interface, ICreateObject interface [Windows Shell],CreateObject method, ICreateObject.CreateObject, ICreateObject::CreateObject, _shell_ICreateObject_CreateObject, propsys/ICreateObject::CreateObject, shell.ICreateObject_CreateObject |
propsys.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Propsys.idl |
Windows |
19H1 |
|
|
|
|
|
|
Creates a local object of a specified class and returns a pointer to a specified interface on the object.
Type: REFCLSID
A reference to a CLSID.
Type: IUnknown*
A pointer to the IUnknown interface that aggregates the object created by this function, or NULL if no aggregation is desired.
Type: REFIID
A reference to the IID of the interface the created object should return.
Type: void**
When this method returns, contains the address of the pointer to the interface requested in riid.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This method can be used with GetPropertyStoreWithCreateObject.