@@ -12,47 +12,47 @@ internal unsafe struct IDWriteFactory : IUnknown
12
12
13
13
public int QueryInterface ( Guid * riid , void * * ppvObject )
14
14
{
15
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , Guid * , void * * , int > ) ( lpVtbl [ 0 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , riid , ppvObject ) ;
15
+ return ( ( delegate * unmanaged< IDWriteFactory * , Guid * , void * * , int > ) ( lpVtbl [ 0 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , riid , ppvObject ) ;
16
16
}
17
17
18
18
public uint AddRef ( )
19
19
{
20
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , uint > ) ( lpVtbl [ 1 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) ) ;
20
+ return ( ( delegate * unmanaged< IDWriteFactory * , uint > ) ( lpVtbl [ 1 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) ) ;
21
21
}
22
22
23
23
public uint Release ( )
24
24
{
25
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , uint > ) ( lpVtbl [ 2 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) ) ;
25
+ return ( ( delegate * unmanaged< IDWriteFactory * , uint > ) ( lpVtbl [ 2 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) ) ;
26
26
}
27
27
28
28
public int GetSystemFontCollection ( IDWriteFontCollection * * fontCollection , int checkForUpdates = 0 )
29
29
{
30
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , IDWriteFontCollection * * , int , int > ) ( lpVtbl [ 3 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontCollection , checkForUpdates ) ;
30
+ return ( ( delegate * unmanaged< IDWriteFactory * , IDWriteFontCollection * * , int , int > ) ( lpVtbl [ 3 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontCollection , checkForUpdates ) ;
31
31
}
32
32
33
33
public int CreateCustomFontCollection ( IDWriteFontCollectionLoader * collectionLoader , void * collectionKey , uint collectionKeySize , IDWriteFontCollection * * fontCollection )
34
34
{
35
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , IDWriteFontCollectionLoader * , void * , uint , IDWriteFontCollection * * , int > ) ( lpVtbl [ 4 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , collectionLoader , collectionKey , collectionKeySize , fontCollection ) ;
35
+ return ( ( delegate * unmanaged< IDWriteFactory * , IDWriteFontCollectionLoader * , void * , uint , IDWriteFontCollection * * , int > ) ( lpVtbl [ 4 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , collectionLoader , collectionKey , collectionKeySize , fontCollection ) ;
36
36
}
37
37
38
38
public int RegisterFontCollectionLoader ( IDWriteFontCollectionLoader * fontCollectionLoader )
39
39
{
40
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , IDWriteFontCollectionLoader * , int > ) ( lpVtbl [ 5 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontCollectionLoader ) ;
40
+ return ( ( delegate * unmanaged< IDWriteFactory * , IDWriteFontCollectionLoader * , int > ) ( lpVtbl [ 5 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontCollectionLoader ) ;
41
41
}
42
42
43
43
public int CreateFontFace ( DWRITE_FONT_FACE_TYPE fontFaceType , uint numberOfFiles , IDWriteFontFile * * fontFiles , uint faceIndex , DWRITE_FONT_SIMULATIONS fontFaceSimulationFlags , IDWriteFontFace * * fontFace )
44
44
{
45
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , DWRITE_FONT_FACE_TYPE , uint , IDWriteFontFile * * , uint , DWRITE_FONT_SIMULATIONS , IDWriteFontFace * * , int > ) ( lpVtbl [ 9 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontFaceType , numberOfFiles , fontFiles , faceIndex , fontFaceSimulationFlags , fontFace ) ;
45
+ return ( ( delegate * unmanaged< IDWriteFactory * , DWRITE_FONT_FACE_TYPE , uint , IDWriteFontFile * * , uint , DWRITE_FONT_SIMULATIONS , IDWriteFontFace * * , int > ) ( lpVtbl [ 9 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontFaceType , numberOfFiles , fontFiles , faceIndex , fontFaceSimulationFlags , fontFace ) ;
46
46
}
47
47
48
48
public int RegisterFontFileLoader ( IDWriteFontFileLoader * fontFileLoader )
49
49
{
50
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , IDWriteFontFileLoader * , int > ) ( lpVtbl [ 13 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontFileLoader ) ;
50
+ return ( ( delegate * unmanaged< IDWriteFactory * , IDWriteFontFileLoader * , int > ) ( lpVtbl [ 13 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , fontFileLoader ) ;
51
51
}
52
52
53
53
public int CreateTextAnalyzer ( IDWriteTextAnalyzer * * textAnalyzer )
54
54
{
55
- return ( ( delegate * unmanaged[ Stdcall ] < IDWriteFactory * , IDWriteTextAnalyzer * * , int > ) ( lpVtbl [ 21 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , textAnalyzer ) ;
55
+ return ( ( delegate * unmanaged< IDWriteFactory * , IDWriteTextAnalyzer * * , int > ) ( lpVtbl [ 21 ] ) ) ( ( IDWriteFactory * ) Unsafe . AsPointer ( ref this ) , textAnalyzer ) ;
56
56
}
57
57
}
58
58
}
0 commit comments