public IPathLock LockApplicationPath(IDefinitionAppId app) { IntPtr ptr; return new ApplicationPathLock(this._pStore, ptr, this._pStore.LockApplicationPath(0, app, out ptr)); }