Created
December 24, 2014 22:25
-
-
Save kumatti1/8f5f7ec76dd4ab758285 to your computer and use it in GitHub Desktop.
CoGetApartmentType
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
Option Explicit | |
Private Declare PtrSafe Function CoGetApartmentType Lib "Ole32" (pAptType As Long, pAptQualifier As Long) As Long | |
Sub hoge() | |
Dim arg1&, arg2&, hr& | |
hr = CoGetApartmentType(arg1, arg2) | |
Debug.Print Hex$(hr), arg1, arg2 | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment