Created
June 19, 2015 22:09
-
-
Save kumatti1/cb2c41a4394ebc127e06 to your computer and use it in GitHub Desktop.
InitVariantFromInt32Array
This file contains hidden or 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
Private Declare PtrSafe _ | |
Function InitVariantFromInt32Array Lib "Propsys" ( _ | |
ByRef prgn As Any, _ | |
ByVal cElems As Long, _ | |
ByRef pvar As Variant _ | |
) As Long | |
Sub hoge() | |
Dim hr& | |
Dim arr&(0 To 1) | |
arr(0) = 1& | |
arr(1) = 2& | |
hr = InitVariantFromInt32Array(arr(0), 2, Vnt) | |
Stop | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment