As a set, the OID_GEN_MACHINE_NAME OID indicates the local computer name to a miniport driver.
- Windows Vista and later versions of Windows
- Windows XP
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.