# IsComInitialized

If CoInitialize has not been called this function returns 0x800401f0

```
HRESULT CheckComApartment(VOID)
{
	APTTYPE Type;
	APTTYPEQUALIFIER Qualifier;

	return CoGetApartmentType(&Type, &Qualifier);
}
```

