Added missing WINAPIs.

This commit is contained in:
Marcus Meissner 1999-02-21 18:16:08 +00:00 committed by Alexandre Julliard
parent b50272bd75
commit a7f878519a
1 changed files with 84 additions and 84 deletions

View File

@ -57,57 +57,57 @@ struct OLEFontImpl
*/ */
static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc); static OLEFontImpl* OLEFontImpl_Construct(LPFONTDESC fontDesc);
static void OLEFontImpl_Destroy(OLEFontImpl* fontDesc); static void OLEFontImpl_Destroy(OLEFontImpl* fontDesc);
static HRESULT OLEFontImpl_QueryInterface(IFont* iface, REFIID riid, VOID** ppvoid); static HRESULT WINAPI OLEFontImpl_QueryInterface(IFont* iface, REFIID riid, VOID** ppvoid);
static ULONG OLEFontImpl_AddRef(IFont* iface); static ULONG WINAPI OLEFontImpl_AddRef(IFont* iface);
static ULONG OLEFontImpl_Release(IFont* iface); static ULONG WINAPI OLEFontImpl_Release(IFont* iface);
static HRESULT OLEFontImpl_get_Name(IFont* iface, BSTR32* pname); static HRESULT WINAPI OLEFontImpl_get_Name(IFont* iface, BSTR32* pname);
static HRESULT OLEFontImpl_put_Name(IFont* iface, BSTR32 name); static HRESULT WINAPI OLEFontImpl_put_Name(IFont* iface, BSTR32 name);
static HRESULT OLEFontImpl_get_Size(IFont* iface, CY* psize); static HRESULT WINAPI OLEFontImpl_get_Size(IFont* iface, CY* psize);
static HRESULT OLEFontImpl_put_Size(IFont* iface, CY size); static HRESULT WINAPI OLEFontImpl_put_Size(IFont* iface, CY size);
static HRESULT OLEFontImpl_get_Bold(IFont* iface, BOOL32* pbold); static HRESULT WINAPI OLEFontImpl_get_Bold(IFont* iface, BOOL32* pbold);
static HRESULT OLEFontImpl_put_Bold(IFont* iface, BOOL32 bold); static HRESULT WINAPI OLEFontImpl_put_Bold(IFont* iface, BOOL32 bold);
static HRESULT OLEFontImpl_get_Italic(IFont* iface, BOOL32* pitalic); static HRESULT WINAPI OLEFontImpl_get_Italic(IFont* iface, BOOL32* pitalic);
static HRESULT OLEFontImpl_put_Italic(IFont* iface, BOOL32 italic); static HRESULT WINAPI OLEFontImpl_put_Italic(IFont* iface, BOOL32 italic);
static HRESULT OLEFontImpl_get_Underline(IFont* iface, BOOL32* punderline); static HRESULT WINAPI OLEFontImpl_get_Underline(IFont* iface, BOOL32* punderline);
static HRESULT OLEFontImpl_put_Underline(IFont* iface, BOOL32 underline); static HRESULT WINAPI OLEFontImpl_put_Underline(IFont* iface, BOOL32 underline);
static HRESULT OLEFontImpl_get_Strikethrough(IFont* iface, BOOL32* pstrikethrough); static HRESULT WINAPI OLEFontImpl_get_Strikethrough(IFont* iface, BOOL32* pstrikethrough);
static HRESULT OLEFontImpl_put_Strikethrough(IFont* iface, BOOL32 strikethrough); static HRESULT WINAPI OLEFontImpl_put_Strikethrough(IFont* iface, BOOL32 strikethrough);
static HRESULT OLEFontImpl_get_Weight(IFont* iface, short* pweight); static HRESULT WINAPI OLEFontImpl_get_Weight(IFont* iface, short* pweight);
static HRESULT OLEFontImpl_put_Weight(IFont* iface, short weight); static HRESULT WINAPI OLEFontImpl_put_Weight(IFont* iface, short weight);
static HRESULT OLEFontImpl_get_Charset(IFont* iface, short* pcharset); static HRESULT WINAPI OLEFontImpl_get_Charset(IFont* iface, short* pcharset);
static HRESULT OLEFontImpl_put_Charset(IFont* iface, short charset); static HRESULT WINAPI OLEFontImpl_put_Charset(IFont* iface, short charset);
static HRESULT OLEFontImpl_get_hFont(IFont* iface, HFONT32* phfont); static HRESULT WINAPI OLEFontImpl_get_hFont(IFont* iface, HFONT32* phfont);
static HRESULT OLEFontImpl_put_hFont(IFont* iface, HFONT32 hfont); static HRESULT WINAPI OLEFontImpl_put_hFont(IFont* iface, HFONT32 hfont);
static HRESULT OLEFontImpl_Clone(IFont* iface, IFont** ppfont); static HRESULT WINAPI OLEFontImpl_Clone(IFont* iface, IFont** ppfont);
static HRESULT OLEFontImpl_IsEqual(IFont* iface, IFont* pFontOther); static HRESULT WINAPI OLEFontImpl_IsEqual(IFont* iface, IFont* pFontOther);
static HRESULT OLEFontImpl_SetRatio(IFont* iface, long cyLogical, long cyHimetric); static HRESULT WINAPI OLEFontImpl_SetRatio(IFont* iface, long cyLogical, long cyHimetric);
static HRESULT OLEFontImpl_QueryTextMetrics(IFont* iface, TEXTMETRICOLE* ptm); static HRESULT WINAPI OLEFontImpl_QueryTextMetrics(IFont* iface, TEXTMETRICOLE* ptm);
static HRESULT OLEFontImpl_AddRefHfont(IFont* iface, HFONT32 hfont); static HRESULT WINAPI OLEFontImpl_AddRefHfont(IFont* iface, HFONT32 hfont);
static HRESULT OLEFontImpl_ReleaseHfont(IFont* iface, HFONT32 hfont); static HRESULT WINAPI OLEFontImpl_ReleaseHfont(IFont* iface, HFONT32 hfont);
static HRESULT OLEFontImpl_SetHdc(IFont* iface, HDC32 hdc); static HRESULT WINAPI OLEFontImpl_SetHdc(IFont* iface, HDC32 hdc);
/*********************************************************************** /***********************************************************************
* Prototypes for the implementation functions for the IDispatch * Prototypes for the implementation functions for the IDispatch
* interface * interface
*/ */
static HRESULT OLEFontImpl_IDispatch_QueryInterface(IDispatch* iface, static HRESULT WINAPI OLEFontImpl_IDispatch_QueryInterface(IDispatch* iface,
REFIID riid, REFIID riid,
VOID** ppvoid); VOID** ppvoid);
static ULONG OLEFontImpl_IDispatch_AddRef(IDispatch* iface); static ULONG WINAPI OLEFontImpl_IDispatch_AddRef(IDispatch* iface);
static ULONG OLEFontImpl_IDispatch_Release(IDispatch* iface); static ULONG WINAPI OLEFontImpl_IDispatch_Release(IDispatch* iface);
static HRESULT OLEFontImpl_GetTypeInfoCount(IDispatch* iface, static HRESULT WINAPI OLEFontImpl_GetTypeInfoCount(IDispatch* iface,
unsigned int* pctinfo); unsigned int* pctinfo);
static HRESULT OLEFontImpl_GetTypeInfo(IDispatch* iface, static HRESULT WINAPI OLEFontImpl_GetTypeInfo(IDispatch* iface,
UINT32 iTInfo, UINT32 iTInfo,
LCID lcid, LCID lcid,
ITypeInfo** ppTInfo); ITypeInfo** ppTInfo);
static HRESULT OLEFontImpl_GetIDsOfNames(IDispatch* iface, static HRESULT WINAPI OLEFontImpl_GetIDsOfNames(IDispatch* iface,
REFIID riid, REFIID riid,
LPOLESTR32* rgszNames, LPOLESTR32* rgszNames,
UINT32 cNames, UINT32 cNames,
LCID lcid, LCID lcid,
DISPID* rgDispId); DISPID* rgDispId);
static HRESULT OLEFontImpl_Invoke(IDispatch* iface, static HRESULT WINAPI OLEFontImpl_Invoke(IDispatch* iface,
DISPID dispIdMember, DISPID dispIdMember,
REFIID riid, REFIID riid,
LCID lcid, LCID lcid,
@ -385,7 +385,7 @@ ULONG WINAPI OLEFontImpl_Release(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Name( static HRESULT WINAPI OLEFontImpl_get_Name(
IFont* iface, IFont* iface,
BSTR32* pname) BSTR32* pname)
{ {
@ -410,7 +410,7 @@ static HRESULT OLEFontImpl_get_Name(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Name( static HRESULT WINAPI OLEFontImpl_put_Name(
IFont* iface, IFont* iface,
BSTR32 name) BSTR32 name)
{ {
@ -443,7 +443,7 @@ static HRESULT OLEFontImpl_put_Name(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Size( static HRESULT WINAPI OLEFontImpl_get_Size(
IFont* iface, IFont* iface,
CY* psize) CY* psize)
{ {
@ -465,7 +465,7 @@ static HRESULT OLEFontImpl_get_Size(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Size( static HRESULT WINAPI OLEFontImpl_put_Size(
IFont* iface, IFont* iface,
CY size) CY size)
{ {
@ -481,7 +481,7 @@ static HRESULT OLEFontImpl_put_Size(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Bold( static HRESULT WINAPI OLEFontImpl_get_Bold(
IFont* iface, IFont* iface,
BOOL32* pbold) BOOL32* pbold)
{ {
@ -494,7 +494,7 @@ static HRESULT OLEFontImpl_get_Bold(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Bold( static HRESULT WINAPI OLEFontImpl_put_Bold(
IFont* iface, IFont* iface,
BOOL32 bold) BOOL32 bold)
{ {
@ -507,7 +507,7 @@ static HRESULT OLEFontImpl_put_Bold(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Italic( static HRESULT WINAPI OLEFontImpl_get_Italic(
IFont* iface, IFont* iface,
BOOL32* pitalic) BOOL32* pitalic)
{ {
@ -529,7 +529,7 @@ static HRESULT OLEFontImpl_get_Italic(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Italic( static HRESULT WINAPI OLEFontImpl_put_Italic(
IFont* iface, IFont* iface,
BOOL32 italic) BOOL32 italic)
{ {
@ -545,7 +545,7 @@ static HRESULT OLEFontImpl_put_Italic(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Underline( static HRESULT WINAPI OLEFontImpl_get_Underline(
IFont* iface, IFont* iface,
BOOL32* punderline) BOOL32* punderline)
{ {
@ -567,7 +567,7 @@ static HRESULT OLEFontImpl_get_Underline(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Underline( static HRESULT WINAPI OLEFontImpl_put_Underline(
IFont* iface, IFont* iface,
BOOL32 underline) BOOL32 underline)
{ {
@ -583,7 +583,7 @@ static HRESULT OLEFontImpl_put_Underline(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Strikethrough( static HRESULT WINAPI OLEFontImpl_get_Strikethrough(
IFont* iface, IFont* iface,
BOOL32* pstrikethrough) BOOL32* pstrikethrough)
{ {
@ -605,7 +605,7 @@ static HRESULT OLEFontImpl_get_Strikethrough(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Strikethrough( static HRESULT WINAPI OLEFontImpl_put_Strikethrough(
IFont* iface, IFont* iface,
BOOL32 strikethrough) BOOL32 strikethrough)
{ {
@ -621,7 +621,7 @@ static HRESULT OLEFontImpl_put_Strikethrough(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Weight( static HRESULT WINAPI OLEFontImpl_get_Weight(
IFont* iface, IFont* iface,
short* pweight) short* pweight)
{ {
@ -643,7 +643,7 @@ static HRESULT OLEFontImpl_get_Weight(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Weight( static HRESULT WINAPI OLEFontImpl_put_Weight(
IFont* iface, IFont* iface,
short weight) short weight)
{ {
@ -659,7 +659,7 @@ static HRESULT OLEFontImpl_put_Weight(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_Charset( static HRESULT WINAPI OLEFontImpl_get_Charset(
IFont* iface, IFont* iface,
short* pcharset) short* pcharset)
{ {
@ -681,7 +681,7 @@ static HRESULT OLEFontImpl_get_Charset(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_Charset( static HRESULT WINAPI OLEFontImpl_put_Charset(
IFont* iface, IFont* iface,
short charset) short charset)
{ {
@ -697,7 +697,7 @@ static HRESULT OLEFontImpl_put_Charset(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_get_hFont( static HRESULT WINAPI OLEFontImpl_get_hFont(
IFont* iface, IFont* iface,
HFONT32* phfont) HFONT32* phfont)
{ {
@ -710,7 +710,7 @@ static HRESULT OLEFontImpl_get_hFont(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_put_hFont( static HRESULT WINAPI OLEFontImpl_put_hFont(
IFont* iface, IFont* iface,
HFONT32 hfont) HFONT32 hfont)
{ {
@ -723,7 +723,7 @@ static HRESULT OLEFontImpl_put_hFont(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_Clone( static HRESULT WINAPI OLEFontImpl_Clone(
IFont* iface, IFont* iface,
IFont** ppfont) IFont** ppfont)
{ {
@ -736,7 +736,7 @@ static HRESULT OLEFontImpl_Clone(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_IsEqual( static HRESULT WINAPI OLEFontImpl_IsEqual(
IFont* iface, IFont* iface,
IFont* pFontOther) IFont* pFontOther)
{ {
@ -749,7 +749,7 @@ static HRESULT OLEFontImpl_IsEqual(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_SetRatio( static HRESULT WINAPI OLEFontImpl_SetRatio(
IFont* iface, IFont* iface,
long cyLogical, long cyLogical,
long cyHimetric) long cyHimetric)
@ -763,7 +763,7 @@ static HRESULT OLEFontImpl_SetRatio(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_QueryTextMetrics( static HRESULT WINAPI OLEFontImpl_QueryTextMetrics(
IFont* iface, IFont* iface,
TEXTMETRICOLE* ptm) TEXTMETRICOLE* ptm)
{ {
@ -776,7 +776,7 @@ static HRESULT OLEFontImpl_QueryTextMetrics(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_AddRefHfont( static HRESULT WINAPI OLEFontImpl_AddRefHfont(
IFont* iface, IFont* iface,
HFONT32 hfont) HFONT32 hfont)
{ {
@ -789,7 +789,7 @@ static HRESULT OLEFontImpl_AddRefHfont(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_ReleaseHfont( static HRESULT WINAPI OLEFontImpl_ReleaseHfont(
IFont* iface, IFont* iface,
HFONT32 hfont) HFONT32 hfont)
{ {
@ -802,7 +802,7 @@ static HRESULT OLEFontImpl_ReleaseHfont(
* *
* See Windows documentation for more details on IFont methods. * See Windows documentation for more details on IFont methods.
*/ */
static HRESULT OLEFontImpl_SetHdc( static HRESULT WINAPI OLEFontImpl_SetHdc(
IFont* iface, IFont* iface,
HDC32 hdc) HDC32 hdc)
{ {
@ -815,7 +815,7 @@ static HRESULT OLEFontImpl_SetHdc(
* *
* See Windows documentation for more details on IUnknown methods. * See Windows documentation for more details on IUnknown methods.
*/ */
static HRESULT OLEFontImpl_IDispatch_QueryInterface( static HRESULT WINAPI OLEFontImpl_IDispatch_QueryInterface(
IDispatch* iface, IDispatch* iface,
REFIID riid, REFIID riid,
VOID** ppvoid) VOID** ppvoid)
@ -830,7 +830,7 @@ static HRESULT OLEFontImpl_IDispatch_QueryInterface(
* *
* See Windows documentation for more details on IUnknown methods. * See Windows documentation for more details on IUnknown methods.
*/ */
static ULONG OLEFontImpl_IDispatch_Release( static ULONG WINAPI OLEFontImpl_IDispatch_Release(
IDispatch* iface) IDispatch* iface)
{ {
_ICOM_THIS_From_IDispatch(IFont, iface); _ICOM_THIS_From_IDispatch(IFont, iface);
@ -843,7 +843,7 @@ static ULONG OLEFontImpl_IDispatch_Release(
* *
* See Windows documentation for more details on IUnknown methods. * See Windows documentation for more details on IUnknown methods.
*/ */
static ULONG OLEFontImpl_IDispatch_AddRef( static ULONG WINAPI OLEFontImpl_IDispatch_AddRef(
IDispatch* iface) IDispatch* iface)
{ {
_ICOM_THIS_From_IDispatch(IFont, iface); _ICOM_THIS_From_IDispatch(IFont, iface);
@ -856,7 +856,7 @@ static ULONG OLEFontImpl_IDispatch_AddRef(
* *
* See Windows documentation for more details on IDispatch methods. * See Windows documentation for more details on IDispatch methods.
*/ */
static HRESULT OLEFontImpl_GetTypeInfoCount( static HRESULT WINAPI OLEFontImpl_GetTypeInfoCount(
IDispatch* iface, IDispatch* iface,
unsigned int* pctinfo) unsigned int* pctinfo)
{ {
@ -870,7 +870,7 @@ static HRESULT OLEFontImpl_GetTypeInfoCount(
* *
* See Windows documentation for more details on IDispatch methods. * See Windows documentation for more details on IDispatch methods.
*/ */
static HRESULT OLEFontImpl_GetTypeInfo( static HRESULT WINAPI OLEFontImpl_GetTypeInfo(
IDispatch* iface, IDispatch* iface,
UINT32 iTInfo, UINT32 iTInfo,
LCID lcid, LCID lcid,
@ -886,7 +886,7 @@ static HRESULT OLEFontImpl_GetTypeInfo(
* *
* See Windows documentation for more details on IDispatch methods. * See Windows documentation for more details on IDispatch methods.
*/ */
static HRESULT OLEFontImpl_GetIDsOfNames( static HRESULT WINAPI OLEFontImpl_GetIDsOfNames(
IDispatch* iface, IDispatch* iface,
REFIID riid, REFIID riid,
LPOLESTR32* rgszNames, LPOLESTR32* rgszNames,
@ -904,7 +904,7 @@ static HRESULT OLEFontImpl_GetIDsOfNames(
* *
* See Windows documentation for more details on IDispatch methods. * See Windows documentation for more details on IDispatch methods.
*/ */
static HRESULT OLEFontImpl_Invoke( static HRESULT WINAPI OLEFontImpl_Invoke(
IDispatch* iface, IDispatch* iface,
DISPID dispIdMember, DISPID dispIdMember,
REFIID riid, REFIID riid,