// ks.h
KSDDKAPI NTSTATUS KsCreateTopologyNode(
[in] HANDLE ParentHandle,
[in] PKSNODE_CREATE NodeCreate,
[in] ACCESS_MASK DesiredAccess,
[out] PHANDLE NodeHandle
);
View the official Windows Driver Kit DDI referenceNo description available.
The KsCreateTopologyNode function creates a handle to a topology node instance. The function can only be called at PASSIVE_LEVEL.
ParentHandle [in]Specifies the handle to the parent on which the node is created.
NodeCreate [in]Specifies topology node create parameters.
DesiredAccess [in]Specifies an ACCESS_MASK indicating the desired access to the object. This is typically GENERIC_READ and/or GENERIC_WRITE.
NodeHandle [out]Location for the topology node handle.
Returns STATUS_SUCCESS, or an error if unable to create a node.
The KSNODE_CREATE structure describes the set of information used to create the node handle.