This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
'//////////////////////////////////////////////////////////////////////////////////////////////////// | |
' LICENSE | |
'//////////////////////////////////////////////////////////////////////////////////////////////////// | |
'Copyright 2022 Z1000R | |
' | |
'Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
'associated documentation files (the "Software"), to deal in the Software without restriction, | |
'including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Option Explicit | |
'引数は、SAFEARRAY を指すポインタを値渡し | |
Private Declare PtrSafe Function SafeArrayGetDim Lib "oleaut32" (ByVal psa As LongPtr) As Long | |
'Source: | |
' ByRef :Sourceに格納されている「値」をDestinationにコピーする | |
' ByVal :Sourceに格納されている「アドレスにある値」をDestinationにコピーする | |
' ByVal VarPtr(v) + Offset :変数v から Offset 移動したアドレスにある値をDestinationにコピーする | |
'Remarks |