Changeset 94921 in vbox
- Timestamp:
- May 8, 2022 7:56:00 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplaySourceBitmapImpl.cpp
r93115 r94921 61 61 m.bitmapFormat = BitmapFormat_Opaque; 62 62 63 int rc = initSourceBitmap(uScreenId, pFBInfo); 64 65 if (RT_FAILURE(rc)) 63 int vrc = initSourceBitmap(uScreenId, pFBInfo); 64 if (RT_FAILURE(vrc)) 66 65 return E_FAIL; 67 66 … … 89 88 HRESULT DisplaySourceBitmap::getScreenId(ULONG *aScreenId) 90 89 { 91 HRESULT hr = S_OK;90 HRESULT hrc = S_OK; 92 91 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 93 92 94 93 *aScreenId = m.uScreenId; 95 return hr ;94 return hrc; 96 95 } 97 96 … … 103 102 BitmapFormat_T *aBitmapFormat) 104 103 { 105 HRESULT hr = S_OK;104 HRESULT hrc = S_OK; 106 105 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 107 106 … … 113 112 *aBitmapFormat = m.bitmapFormat; 114 113 115 return hr ;114 return hrc; 116 115 } 117 116 … … 120 119 { 121 120 RT_NOREF(aScreenId); 122 int rc = VINF_SUCCESS;121 int vrc = VINF_SUCCESS; 123 122 124 123 if (pFBInfo->w == 0 || pFBInfo->h == 0) … … 160 159 if (m.pu8Allocated == NULL) 161 160 { 162 rc = VERR_NO_MEMORY;161 vrc = VERR_NO_MEMORY; 163 162 } 164 163 else … … 168 167 } 169 168 170 if (RT_SUCCESS( rc))169 if (RT_SUCCESS(vrc)) 171 170 { 172 171 m.pu8Address = pAddress; … … 182 181 } 183 182 184 return rc;183 return vrc; 185 184 } 186 185
Note:
See TracChangeset
for help on using the changeset viewer.