Minor SAL annotation simplification

This commit is contained in:
Chuck Walbourn
2022-01-06 16:45:01 -08:00
parent bd18e4516f
commit 6349ef3400
3 changed files with 11 additions and 11 deletions

View File

@@ -843,7 +843,7 @@ namespace
wprintf(L"\n");
}
_Success_(return != false)
_Success_(return)
bool GetDXGIFactory(_Outptr_ IDXGIFactory1** pFactory)
{
if (!pFactory)
@@ -1013,7 +1013,7 @@ namespace
return desc;
}
_Success_(return != false)
_Success_(return)
bool CreateDevice(int adapter, _Outptr_ ID3D11Device** pDevice)
{
if (!pDevice)