createForUser static method

FileOpenPicker createForUser(
  1. User user
)

Implementation

static FileOpenPicker createForUser(User user) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IFileOpenPickerStatics2);

  try {
    return IFileOpenPickerStatics2.fromRawPointer(activationFactory)
        .createForUser(user);
  } finally {
    free(activationFactory);
  }
}