WLDP_HOST_INFORMATION structure (wldp.h)

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

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