StaObjectServer.GetFileHandleRead

This function gets a file handle for read access to a file in the cache duplicated into the specified process. Allows reading the file w/o making an explicit copy as does CopyFile. Objects will be saved first with IPersist interfaces. Caller must call CloseHandle.

Syntax Parameters Return Value
Function StaObjectServer.GetFileHandleRead( _
    key As String, _
    targetProcessId As Long) As Long
  • key [in]

Type: String

  • targetProcessId [in]

Type: Long

Long