KsCreateTopologyNode function

The KsCreateTopologyNode function creates a handle to a topology node instance. The function can only be called at PASSIVE_LEVEL.

Syntax


NTSTATUS KsCreateTopologyNode(
  _In_  HANDLE         ParentHandle,
  _In_  PKSNODE_CREATE NodeCreate,
  _In_  ACCESS_MASK    DesiredAccess,
  _Out_ PHANDLE        NodeHandle
);

Parameters

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.

Return value

Returns STATUS_SUCCESS, or an error if unable to create a node.

Remarks

The KSNODE_CREATE structure describes the set of information used to create the node handle.

Requirements

Target platform

Universal

Header

Ks.h (include Ks.h)

Library

Ks.lib

See also

ACCESS_MASK
KSNODE_CREATE

 

 

Send comments about this topic to Microsoft

Show: