if ( lpDevice != null ) checkNT2(lpDevice);
return nEnumDisplayDevices(memAddressSafe(lpDevice), iDevNum, lpDisplayDevice.address(), dwFlags);
}
public static int EnumDisplayDevices(CharSequence lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags) {
APIBuffer __buffer = apiBuffer();
<BUG>int lpDeviceEncoded = __buffer.stringParamUTF16(lpDevice, true);
</BUG>
return nEnumDisplayDevices(__buffer.addressSafe(lpDevice, lpDeviceEncoded), iDevNum, lpDisplayDevice.address(), dwFlags);
}
@JavadocExclude

if ( lpDevice != null ) checkNT2(lpDevice);
return nEnumDisplayDevices(memAddressSafe(lpDevice), iDevNum, lpDisplayDevice.address(), dwFlags);
}
public static int EnumDisplayDevices(CharSequence lpDevice, int iDevNum, DISPLAY_DEVICE lpDisplayDevice, int dwFlags) {
APIBuffer __buffer = apiBuffer();
int lpDeviceEncoded = lpDevice == null ? 0 : __buffer.stringParamUTF16(lpDevice, true);
return nEnumDisplayDevices(__buffer.addressSafe(lpDevice, lpDeviceEncoded), iDevNum, lpDisplayDevice.address(), dwFlags);
}
@JavadocExclude
