[Overview][Constants][Classes][Procedures and functions][Variables][Index] | Reference for unit '_crw_sharm' (#crwlib)

# TSharedMemory

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

## Declaration

Source position: _crw_sharm.pas line 81

`type TSharedMemory = class(TMasterObject)`
`protected`
`function CheckOk; override;`
`public`
`constructor Create();`
`destructor Destroy; override;`
`procedure AfterConstruction; override;`
`procedure BeforeDestruction; override;`
`property Size: Integer; [r]`
`property Mode: Integer; [r]`
`property Data: Pointer; [r]`
`property Name: LongString; [r]`
`property PathName: LongString; [r]`
`property Capacity: Integer; [r]`
`property AsPtr []: Pointer; default; [r]`
`property AsPChar []: PChar; [r]`
`property AsInteger []: Integer; [rw]`
`property AsDouble []: Double; [rw]`
`procedure Report();`
`procedure SetReporter();`
`class function SysPageSize();`
`class function ValidSize();`
`class function ValidHandle();`
`class procedure InvalidateHandle();`
`class function ValidPointer();`
`class procedure InvalidatePointer();`
`class function ValidName();`
`class procedure InvalidateName();`
`class function ValidateName();`
`end;`

## Inheritance

`TSharedMemory`
`TMasterObject`
`TObject`