if ( lpszDeviceName != null ) checkNT2(lpszDeviceName);
return nEnumDisplaySettingsEx(memAddressSafe(lpszDeviceName), iModeNum, lpDevMode.address(), dwFlags);
}
public static int EnumDisplaySettingsEx(CharSequence lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags) {
APIBuffer __buffer = apiBuffer();
<BUG>int lpszDeviceNameEncoded = __buffer.stringParamUTF16(lpszDeviceName, true);
</BUG>
return nEnumDisplaySettingsEx(__buffer.addressSafe(lpszDeviceName, lpszDeviceNameEncoded), iModeNum, lpDevMode.address(), dwFlags);
}
@JavadocExclude

if ( lpszDeviceName != null ) checkNT2(lpszDeviceName);
return nEnumDisplaySettingsEx(memAddressSafe(lpszDeviceName), iModeNum, lpDevMode.address(), dwFlags);
}
public static int EnumDisplaySettingsEx(CharSequence lpszDeviceName, int iModeNum, DEVMODE lpDevMode, int dwFlags) {
APIBuffer __buffer = apiBuffer();
int lpszDeviceNameEncoded = lpszDeviceName == null ? 0 : __buffer.stringParamUTF16(lpszDeviceName, true);
return nEnumDisplaySettingsEx(__buffer.addressSafe(lpszDeviceName, lpszDeviceNameEncoded), iModeNum, lpDevMode.address(), dwFlags);
}
@JavadocExclude
