Created
June 5, 2016 19:26
-
-
Save andlabs/d8e41612df4cc4e8c284ce9791cd9817 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
typedef D2D1_SIZE_F *(ID2D1RenderTarget::*__stdcall GetSizeF)(D2D1_SIZE_F *); | |
GetSizeF gs; | |
gs = (GetSizeF) (&(rt->GetSize)); | |
(rt->*gs)(&size); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment