WLDP_HOST_INFORMATION structure

A structure identifying the host and source file to be evaluated.

Syntax

typedef struct _WLDP_HOST_INFORMATION {
  DWORD        dwRevision;
  WLDP_HOST_ID dwHostId;
  PCWSTR       szSource;
  HANDLE       hSource;
} WLDP_HOST_INFORMATION, *PWLDP_HOST_INFORMATION;

Members

dwRevision

Must be WLDP_HOST_INFORMATION_REVISION.

dwHostId

Enumeration value from WLDP_HOST_ID that describes the host ID.

szSource

Full path and script name with the extension. NULL for WLDP_HOST_ID_GLOBAL, or manual script execution.

hSource

In addition to the name, the caller can specify a handle to the file used for validation.

Requirements

Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Wldp.h