Declaration
Automation:
void  OpenProcess ( [in]   uint  ProcessId, [in]   long  Start, [in]   ulong  Size, [in]   bool  ReadOnly) ;
Native (C++):
HRESULT  OpenProcess ( [in]   unsigned long  ProcessId, [in]   __int64  Start, [in]   unsigned __int64  Size, [in]   VARIANT_BOOL  ReadOnly) ;
Parameters
ProcessIdProcess IdentifierStartStarting memory addressSizeSize of the range to openReadOnlyTrue to disable the Save command, False otherwise.
Return Value
S_OK or standard OLE error code.
Remarks
Open process memory.