Edit

HCN_NOTIFICATION_CALLBACK

Description

Function type for HNS notification callbacks.

Syntax

typedef void (CALLBACK *HCN_NOTIFICATION_CALLBACK)(
    _In_            DWORD  NotificationType,
    _In_opt_        void*  Context,
    _In_            HRESULT NotificationStatus,
    _In_opt_        PCWSTR NotificationData
    );

Parameters

NotificationType

The type of notification HCN_NOTIFICATIONS.

Context

Handle for context of callback.

NotificationStatus

Notification Status.

NotificationData

Data associated with the notification.

Requirements

Parameter Description
Minimum supported client Windows 10, version 1809
Minimum supported server Windows Server 2019
Target Platform Windows
Header ComputeNetwork.h