From 9012d4e72fa25fdd6179543aa3257156db85b386 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 12 Jun 2007 17:51:53 +0200 Subject: [PATCH] Add API documentation stubs to make winapi_check happy. --- dlls/atl/atl_main.c | 3 +++ dlls/gdiplus/gdiplus.c | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/dlls/atl/atl_main.c b/dlls/atl/atl_main.c index 938df36b51..374b0d26f2 100644 --- a/dlls/atl/atl_main.c +++ b/dlls/atl/atl_main.c @@ -547,6 +547,9 @@ typedef struct ATL_PROPMAP_ENTRY VARTYPE vt; } ATL_PROPMAP_ENTRY; +/*********************************************************************** + * AtlIPersistStreamInit_Load [ATL.@] + */ HRESULT WINAPI AtlIPersistStreamInit_Load( LPSTREAM pStm, ATL_PROPMAP_ENTRY *pMap, void *pThis, IUnknown *pUnk) { diff --git a/dlls/gdiplus/gdiplus.c b/dlls/gdiplus/gdiplus.c index 7ebd848f2e..959bcb0829 100644 --- a/dlls/gdiplus/gdiplus.c +++ b/dlls/gdiplus/gdiplus.c @@ -45,6 +45,9 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved) return TRUE; } +/***************************************************** + * GdiplusStartup [GDIPLUS.@] + */ Status WINAPI GdiplusStartup(ULONG_PTR *token, const struct GdiplusStartupInput *input, struct GdiplusStartupOutput *output) { @@ -65,16 +68,25 @@ Status WINAPI GdiplusStartup(ULONG_PTR *token, const struct GdiplusStartupInput return Ok; } +/***************************************************** + * GdiplusShutdown [GDIPLUS.@] + */ void WINAPI GdiplusShutdown(ULONG_PTR token) { /* FIXME: no object tracking */ } +/***************************************************** + * GdipAlloc [GDIPLUS.@] + */ void* WINGDIPAPI GdipAlloc(SIZE_T size) { return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, size); } +/***************************************************** + * GdipFree [GDIPLUS.@] + */ void WINGDIPAPI GdipFree(void* ptr) { HeapFree(GetProcessHeap(), 0, ptr);