def getOverlayFlag(self, ulOverlayHandle, eOverlayFlag):
        """Sets flag setting for a given overlay"""

        fn = self.function_table.getOverlayFlag
        pbEnabled = openvr_bool()
        result = fn(ulOverlayHandle, eOverlayFlag, byref(pbEnabled))
        return result, pbEnabled