Lines Matching refs:status
83 status_t status = gScreenManager->AcquireScreens(&desktop, NULL, 0,
85 if (status != B_OK) {
87 return status;
121 status_t status = B_ERROR;
125 status = screen->SetMode(mode);
128 if (status != B_OK) {
131 status = screen->SetPreferredMode();
132 if (status == B_OK) {
138 if (status != B_OK)
139 status = screen->SetBestMode(1024, 768, B_RGB32, 60.f);
140 if (status != B_OK)
141 status = screen->SetBestMode(800, 600, B_RGB32, 60.f, false);
142 if (status != B_OK) {
144 strerror(status));
147 return status;