// vmbuskernelmodeclientlibapi.h
FN_VMB_SERVER_CHANNEL_INIT_SET_FLAGS FnVmbServerChannelInitSetFlags;
NTSTATUS FnVmbServerChannelInitSetFlags(
VMBCHANNEL Channel,
UINT32 Flags
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The VmbServerChannelInitSetFlags function sets flags unique to server channel endpoints.
ChannelA handle for a channel.
FlagsA collection of bit flags to set.
VmbServerChannelInitSetFlags returns the following status values:
| Return code | Description |
|---|---|
| STATUS_INVALID_PARAMETER_1 | The Channel value was invalid or in an invalid state, such as Disabled. |
| STATUS_INVALID_PARAMETER_2 | The Flags value has invalid bits set. |
//Declaration
FN_VMB_SERVER_CHANNEL_INIT_SET_FLAGS FnVmbServerChannelInitSetFlags;
// Definition
NTSTATUS FnVmbServerChannelInitSetFlags
(
VMBCHANNEL Channel
UINT32 Flags
)
{...}
[!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.