Function DocumentPropertiesA calling GDI_CallExtDeviceMode16: If value pDeviceName is "", from GDI_CallExtDeviceMode16 return -1.