msctf/tests: Make EditSession_Constructor() static.
This commit is contained in:
parent
34accb382b
commit
125131aea4
|
@ -1479,10 +1479,11 @@ static const ITfEditSessionVtbl EditSession_EditSessionVtbl =
|
||||||
EditSession_DoEditSession
|
EditSession_DoEditSession
|
||||||
};
|
};
|
||||||
|
|
||||||
HRESULT EditSession_Constructor(ITfEditSession **ppOut)
|
static HRESULT EditSession_Constructor(ITfEditSession **ppOut)
|
||||||
{
|
{
|
||||||
EditSession *This;
|
EditSession *This;
|
||||||
|
|
||||||
|
*ppOut = NULL;
|
||||||
This = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(EditSession));
|
This = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(EditSession));
|
||||||
if (This == NULL)
|
if (This == NULL)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
Loading…
Reference in New Issue