Retrieves the type of the stream from its STATSTG structure.
_StreamGetType(ByRef $oStream)
| $oStream | IStream COM object. |
| Success: | String indicating the stream type ("STGTY_STORAGE", "STGTY_STREAM", "STGTY_LOCKBYTES", "STGTY_PROPERTY"). |
| Failure: | Empty string, sets @error to: 1 - Invalid stream object. 2 - Failed to get STATSTG or create structure. |