Skip to content

Instantly share code, notes, and snippets.

@joeybeninghove
Created May 11, 2009 15:40
Show Gist options
  • Save joeybeninghove/110025 to your computer and use it in GitHub Desktop.
Save joeybeninghove/110025 to your computer and use it in GitHub Desktop.
try
{
_nativeDeviceEmulatorManager.Reset();
while (true)
{
category = new DeviceEmulatorCategory(this);
categoryList.Add(category);
_nativeDeviceEmulatorManager.MoveNext();
}
}
catch (COMException ex)
{
// API signals end-of-data with a No More Data HResult.
if (ex.ErrorCode != END_OF_DATA)
throw ex;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment