FN_VMB_SERVER_CHANNEL_INIT_SET_TARGET_VTL - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// vmbuskernelmodeclientlibapi.h

FN_VMB_SERVER_CHANNEL_INIT_SET_TARGET_VTL FnVmbServerChannelInitSetTargetVtl;

NTSTATUS FnVmbServerChannelInitSetTargetVtl(
  VMBCHANNEL Channel,
  UINT8 TargetVtl
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-vmbuskernelmodeclientlibapi-fn_vmb_server_channel_init_set_target_vtl)

FN_VMB_SERVER_CHANNEL_INIT_SET_TARGET_VTL callback function

Description

The VmbServerChannelInitSetTargetVtl function sets the target VTL for this channel. The channel will be offered to clients running in the specified VTL and no others.

Parameters

Channel

A handle for the channel. Allocated by VmbChannelAllocate.

TargetVtl

The VTL level where this channel will be offered.

Return value

VmbServerChannelInitSetTargetVtl returns the following status values:

Return code Description
STATUS_INVALID_PARAMETER_1 The Channel parameter was invalid or in an invalid state (Disabled).
STATUS_INVALID_PARAMETER_2 TargetVtl is invalid.

Prototype

//Declaration

FN_VMB_SERVER_CHANNEL_INIT_SET_TARGET_VTL FnVmbServerChannelInitSetTargetVtl;

// Definition

NTSTATUS FnVmbServerChannelInitSetTargetVtl
(
    VMBCHANNEL Channel
    UINT8 TargetVtl
)
{...}

Remarks

[!IMPORTANT] This function is called through the VMBus Kernel Mode Client Library (KMCL) interface, provided by the Vmbkmcl.sys bus driver. This is a server-only function accessed from the KMCL_SERVER_ONLY_METHODS structure.

For more information, see the Remarks section of KMCL_SERVER_ONLY_METHODS.

See also

VmbChannelAllocate