OID_GEN_MACHINE_NAME
As a set, the OID_GEN_MACHINE_NAME OID indicates the local computer name to a miniport driver.
Version Information
Windows Vista and later versions of Windows
Supported.
NDIS 6.0 and later miniport drivers
Optional.
NDIS 5.1 miniport drivers
Optional.
NDIS 5.1 miniport drivers
Optional.
Remarks
The information buffer passed in this request contains an array of Unicode characters that represents the local computer name. The InformationBufferLength value that is supplied to the MiniportOidRequest function specifies the length of this array in bytes, not including a NULL terminator.
NDIS sets OID_GEN_MACHINE_NAME only once after a miniport driver completes initialization. Under Windows XP, NDIS does not dynamically notify miniport drivers of a change in the computer name. After changing the computer name, a user must restart the computer so that NDIS notifies miniport drivers of the new computer name.
Requirements
Header |
Ntddndis.h (include Ndis.h) |