Skip to content

Commit f6e9d07

Browse files
authored
Merge pull request #2438 from trympet/patch-1
Document exception if surface creation fails due to unsupported pixel format
2 parents ce6eedc + 035885a commit f6e9d07

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

windows.ui.composition/compositiongraphicsdevice_createdrawingsurface2_1137892861.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The alpha mode of the drawing surface.
2929
Returns the created CompositionDrawingSurface.
3030

3131
## -remarks
32+
If the requested pixel format is unsupported by the graphics device, an exception will be thrown.
3233

3334
## -see-also
3435

windows.ui.composition/compositiongraphicsdevice_createdrawingsurface_428570653.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ How the alpha channel should be handled.
2828
The created [CompositionDrawingSurface](compositiondrawingsurface.md).
2929

3030
## -remarks
31+
If the requested pixel format is unsupported by the graphics device, an exception will be thrown.
3132

3233
## -examples
3334

0 commit comments

Comments
 (0)