[WIN32K] Add some static specifiers, to prevent exporting FORCEINLINE function outside compilation unit

This commit is contained in:
Hervé Poussineau 2020-03-26 14:48:35 +01:00
parent 8649ed90a8
commit ae5d2dbb9e
2 changed files with 3 additions and 3 deletions

View file

@ -5830,7 +5830,7 @@ NtGdiGetFontFamilyInfo(HDC Dc,
return GotCount; return GotCount;
} }
FORCEINLINE static inline
LONG LONG
ScaleLong(LONG lValue, PFLOATOBJ pef) ScaleLong(LONG lValue, PFLOATOBJ pef)
{ {

View file

@ -343,7 +343,7 @@ DecrementCurrentProcessGdiHandleCount(void)
if (ppi) InterlockedDecrement((LONG*)&ppi->GDIHandleCount); if (ppi) InterlockedDecrement((LONG*)&ppi->GDIHandleCount);
} }
FORCEINLINE static inline
VOID VOID
IncrementGdiHandleCount(ULONG ulProcessId) IncrementGdiHandleCount(ULONG ulProcessId)
{ {
@ -360,7 +360,7 @@ IncrementGdiHandleCount(ULONG ulProcessId)
if (NT_SUCCESS(Status)) ObDereferenceObject(pep); if (NT_SUCCESS(Status)) ObDereferenceObject(pep);
} }
FORCEINLINE static inline
VOID VOID
DecrementGdiHandleCount(ULONG ulProcessId) DecrementGdiHandleCount(ULONG ulProcessId)
{ {