===== GetDialogIndex ===== Returns the current dialog id. ELITEAPI_API unsigned short __stdcall GetDialogIndex(void* apiObject); **Parameters** *//apiObject// [in] * A handle to an EliteAPI object. **Return Value** Returns the current dialog selection index. If an error occurs or no dialog is open, the return is 0.