mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
1.0 KiB
69 lines
1.0 KiB
#include "windowspch.h"
|
|
#pragma hdrstop
|
|
|
|
|
|
#include <oleacc.h>
|
|
|
|
static
|
|
LRESULT
|
|
STDAPICALLTYPE
|
|
LresultFromObject(
|
|
REFIID riid,
|
|
WPARAM wParam,
|
|
LPUNKNOWN punk
|
|
)
|
|
{
|
|
return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
|
|
}
|
|
|
|
static
|
|
HRESULT
|
|
STDAPICALLTYPE
|
|
AccessibleObjectFromWindow(
|
|
HWND hwnd,
|
|
DWORD dwId,
|
|
REFIID riid,
|
|
void **ppvObject
|
|
)
|
|
{
|
|
return HRESULT_FROM_WIN32(ERROR_MOD_NOT_FOUND);
|
|
}
|
|
|
|
static
|
|
UINT
|
|
STDAPICALLTYPE
|
|
GetRoleTextW(
|
|
DWORD lRole,
|
|
LPWSTR lpszRole,
|
|
UINT cchRoleMax)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static
|
|
HRESULT
|
|
STDAPICALLTYPE
|
|
CreateStdAccessibleObject(
|
|
HWND hwnd,
|
|
LONG idObject,
|
|
REFIID riid,
|
|
void** ppvObject
|
|
)
|
|
{
|
|
*ppvObject = NULL;
|
|
return E_FAIL;
|
|
}
|
|
|
|
|
|
//
|
|
// !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
|
|
//
|
|
DEFINE_PROCNAME_ENTRIES(oleacc)
|
|
{
|
|
DLPENTRY(AccessibleObjectFromWindow)
|
|
DLPENTRY(CreateStdAccessibleObject)
|
|
DLPENTRY(GetRoleTextW)
|
|
DLPENTRY(LresultFromObject)
|
|
};
|
|
|
|
DEFINE_PROCNAME_MAP(oleacc)
|