IMAPIFormFactory::LockServer

The IMAPIFormFactory::LockServer method keeps an open form server in memory.

Quick Info

See IMAPIFormFactory : IUnknown1NWKAY.

 

HRESULT LockServer(

    ULONG ulFlags,

 

    ULONG fLockServer

 

   )

 

 

Parameters

ulFlags

Reserved; must be zero.

fLockServer

[in] Variable set to TRUE if the lock count is to be incremented, and FALSE otherwise.

 

Return Values

S_OK

The call succeeded and has returned the expected value or values.

 

Remarks

Form viewers call the IMAPIFormFactory::LockServer method to keep an open form server application in memory. Keeping the form server in memory improves its performance when form objects are created and released frequently.