WdsBpInitialize function (wdsbp.h)
Constructs options for the WDS network boot program.
Syntax
DWORD WDSBPAPI WdsBpInitialize(
[in] BYTE bPacketType,
[out] HANDLE *phHandle
);
Parameters
[in] bPacketType
The type of boot program. This parameter may have one of the following values.
[out] phHandle
A pointer to the handle to the packet. This handle can be used by the WdsBpAddOption function to add options for the WDS network boot program. After all the options have been added, use the WdsBpGetOptionBuffer function to add these to the DHCP options list sent to WDS network boot program. The handle must be closed using the WdsBpCloseHandle function.
Return value
If the function succeeds, the return is S_OK.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | wdsbp.h |
Library | Wdsbp.lib |
DLL | Wdsbp.dll |